563489578934
714 Probability and Random Variables Appendix B Example B–11 PDF FOR THE SUM OF TWO RANDOM VARIABLES Suppose that we have a circuit configuration (such as an operational amplifier) that sums two inputs—x 1 and x 2 —to produce the output y = A(x 1 + x 2 ) (B–102) where A is the gain of the circuit. Assume that f(x 1 , x 2 ) is known and that we wish to obtain a formula for the PDF of the output in terms of the joint PDF for the inputs. We can use the theorem described by Eq. (B–99) to solve this problem. However, for two inputs, we need two outputs in order to satisfy the assumptions of the theorem. This is achieved by defining an auxiliary variable for the output, (say, y 2 ). Thus, y 1 = h 1 (x) = A(x 1 + x 2 ) (B–103) y 2 = h 2 (x) = Ax 1 (B–104) The choice of the equation to use for the auxiliary variable, Eq. (B–104), is immaterial, provided that it is an independent equation so that the determinant, J(yx), is not zero. However, the equation is usually selected to simplify the ensuing mathematics. Using Eqs. (B–103) and (B–104), we get J = Det c A A A 0 d = -A2 Substituting this into Eq. (B–99) yields or (B–105) f y (y 1 , y 2 ) = 1 (B–106) A 2 f xa y 2 A , 1 A (y 1 - y 2 )b We want to find a formula for f y1 (y 1 ), since y 1 = A(x 1 + x 2 ). This is obtained by evaluating the marginal PDF from Eq. (B–106). or f y (y 1 , y 2 ) = f x(x 1 , x 2 ) |-A 2 | q f y1 (y 1 ) = f y (y 1 , y 2 ) dy 2 L -q q f y1 (y 1 ) = 1 (B–107) A 2 f x a y 2 L-q A , 1 A (y 1 - y 2 )bdy 2 This general result relates the PDF of y = y 1 to the joint PDF of x where y = A(x 1 + x 2 ). If x 1 and x 2 are independent and A = 1, Eq. (B–107) becomes q f(y) = f x1 (l)f x2 (y - l) dl L -q ` x = h -1 (y) or f(y) = f x1 (y) * f x2 (y) (B–108) where * denotes the convolution operation. Similarly, if we sum N independent random variables, the PDF for the sum is the (N - 1)-fold convolution of the one-dimensional PDFs for the N random variables.
- Page 1426: B-5 Cumulative Distribution Functio
- Page 1430: B-5 Cumulative Distribution Functio
- Page 1434: B-6 Ensemble Average and Moments 69
- Page 1438: B-7 Examples of Important Distribut
- Page 1442: B-7 Examples of Important Distribut
- Page 1446: B-7 Examples of Important Distribut
- Page 1450: B-7 Examples of Important Distribut
- Page 1454: B-7 Examples of Important Distribut
- Page 1458: B-8 Functional Transformations of R
- Page 1462: B-8 Functional Transformations of R
- Page 1466: B-9 Multivariate Statistics 709 B-9
- Page 1470: B-9 Multivariate Statistics 711 Pro
- Page 1474: B-9 Multivariate Statistics 713 x 1
- Page 1480: 716 Probability and Random Variable
- Page 1484: 718 Probability and Random Variable
- Page 1488: 720 Probability and Random Variable
- Page 1492: 722 Probability and Random Variable
- Page 1496: 724 Using MATLAB Appendix C Of cour
- Page 1500: 726 Using MATLAB Appendix C 6. The
- Page 1504: 728 References AT&T, FT-2000 OC-48
- Page 1508: 730 References COUCH, L. W., Digita
- Page 1512: 732 References HAMMING, R. W., “E
- Page 1516: 734 References LIN, D. W., C. CHEN,
- Page 1520: 736 References PRITCHARD, W. L., an
- Page 1524: 738 References UNGERBOECK, G., “C
714<br />
Probability and Random Variables<br />
Appendix B<br />
Example B–11 PDF FOR THE SUM OF TWO RANDOM VARIABLES<br />
Suppose that we have a circuit configuration (such as an operational amplifier) that sums two<br />
inputs—x 1 and x 2 —to produce the output<br />
y = A(x 1 + x 2 )<br />
(B–102)<br />
where A is the gain of the circuit. Assume that f(x 1 , x 2 ) is known and that we wish to obtain a<br />
formula for the PDF of the output in terms of the joint PDF for the inputs.<br />
We can use the theorem described by Eq. (B–99) to solve this problem. However, for two<br />
inputs, we need two outputs in order to satisfy the assumptions of the theorem. This is achieved<br />
by defining an auxiliary variable for the output, (say, y 2 ). Thus,<br />
y 1 = h 1 (x) = A(x 1 + x 2 )<br />
(B–103)<br />
y 2 = h 2 (x) = Ax 1<br />
(B–104)<br />
The choice of the equation to use for the auxiliary variable, Eq. (B–104), is immaterial, provided<br />
that it is an independent equation so that the determinant, J(yx), is not zero. However, the equation<br />
is usually selected to simplify the ensuing mathematics. Using Eqs. (B–103) and (B–104), we get<br />
J = Det c A A<br />
A 0 d = -A2<br />
Substituting this into Eq. (B–99) yields<br />
or<br />
(B–105)<br />
f y (y 1 , y 2 ) = 1 (B–106)<br />
A 2 f xa y 2<br />
A , 1<br />
A (y 1 - y 2 )b<br />
We want to find a formula for f y1 (y 1 ), since y 1 = A(x 1 + x 2 ). This is obtained by evaluating<br />
the marginal PDF from Eq. (B–106).<br />
or<br />
f y (y 1 , y 2 ) = f x(x 1 , x 2 )<br />
|-A 2 |<br />
q<br />
f y1 (y 1 ) = f y (y 1 , y 2 ) dy 2<br />
L<br />
-q<br />
q<br />
f y1 (y 1 ) = 1 (B–107)<br />
A 2 f x a y 2<br />
L-q<br />
A , 1<br />
A (y 1 - y 2 )bdy 2<br />
This general result relates the PDF of y = y 1 to the joint PDF of x where y = A(x 1 + x 2 ). If x 1 and<br />
x 2 are independent and A = 1, Eq. (B–107) becomes<br />
q<br />
f(y) = f x1 (l)f x2 (y - l) dl<br />
L<br />
-q<br />
`<br />
x = h -1 (y)<br />
or<br />
f(y) = f x1 (y) * f x2 (y)<br />
(B–108)<br />
where * denotes the convolution operation. Similarly, if we sum N independent random variables,<br />
the PDF for the sum is the (N - 1)-fold convolution of the one-dimensional PDFs for the<br />
N random variables.