ps5_solution_W19 University of California, San Diego ECE 250
1 view 0 purchase
Course
ECE 250
Institution
ECE 250
UNIVERSITY OF CALIFORNIA, SAN DIEGO
Electrical & Computer Engineering Department
ECE 250 - Winter Quarter 2019
Random Processes
Solutions to P.S. #5
1. Cauchy–Schwartz inequality.
(a) Prove the following inequality: (E(XY ))2 ≤ E(X2
)E(Y
2
). (Hint: Use the fact that for
any real t, E...
san diego electrical amp computer engineering department ece 250 winter quarter 2019 random processes soluti
Written for
ECE 250
All documents for this subject (1)
Seller
Follow
Themanehoppe
Reviews received
Content preview
UNIVERSITY OF CALIFORNIA, SAN DIEGO
Electrical & Computer Engineering Department
ECE 250 - Winter Quarter 2019
Random Processes
Solutions to P.S. #5
1. Cauchy–Schwartz inequality.
(a) Prove the following inequality: (E(XY ))2 ≤ E(X 2 )E(Y 2 ). (Hint: Use the fact that for
any real t, E((X + tY )2 ) ≥ 0.)
(b) Prove that equality holds if and only if X = cY for some constant c. Find c in terms of
the second moments of X and Y .
(c) Use the Cauchy–Schwartz inequality to show the correlation coefficient |ρX,Y | ≤ 1.
p p p
(d) Prove the triangle inequality: E((X + Y )2 ) ≤ E(X 2 ) + E(Y 2 ).
Solution:
(a) We have, for every t ∈ R, E[(X + tY )2 ] ≥ 0, i.e., min t2 E[Y 2 ] + 2tE[XY ] + E[X 2 ] ≥ 0.
t∈R
From calculus, we see that the expression on the left attains its minimum value when
E[XY ]
t=− , and this minimum value is given by
E[Y 2 ]
(E[XY ])2
E[X 2 ] − . Thus, since E[Y 2 ] is non-negative, we have
E[Y 2 ]
E[X 2 ]E[Y 2 ] − (E[XY ])2 ≥ 0, i.e.
(E[XY ])2 ≤ E[X 2 ]E[Y 2 ].
(b) For the “if” part, we see that if X = cY for some constant c, then E[X 2 ] = c2 E[Y 2 ] and
E[XY ] = cE[Y 2 ], thus
2. Neural net. Let Y = X + Z, where the signal X ∼ U[−1, 1] and noise Z ∼ N(0, 1) are
independent.
(a) Find the function g(y) that minimizes
MSE = E (sgn(X) − g(Y ))2 ,
where (
−1 x ≤ 0
sgn(x) =
+1 x > 0.
(b) Plot g(y) vs. y.
Solution: The minimum MSE is achieved when g(Y ) = E(sgn(X) | Y ). We have
Z ∞
g(y) = E(sgn(X) | Y = y) = sgn(x)fX|Y (x|y) dx .
−∞
To find the conditional pdf of X given Y , we use
(1
fY |X (y|x)fX (x) 2 −1 ≤ x ≤ 1
fX|Y (x|y) = , where fX (x) =
fY (y) 0 otherwise.
2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Themanehoppe. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.