Show that EX c 2 is minimized by taking c EXSolutionConside
Show that E(X c)^ 2 is minimized by taking c = E(X).
Solution
Consider
E(X-c)2
= E(x2-2x c+c2) ( by expansing the square
Use lienar property of Expectation
= E(X2)-2cE(X)+E(C2)
= E(X2)-2cE(X)+n(C2)
Let f(c) = E(X2)-2cE(X)+(C2)
To find maximum or minimum use first derivative =0 and second der = positive
f\'(c) = 0-2E(X)+2c
f\"(C) = 0+2>0
Equate f\'(c) =0 to get E(x) = c
Hence f(c) i.e.
E(X c)^ 2 is minimized by taking c = E(X).

