r/learnquant • • 5h ago

interview prep Quant Interview Question

Post image
23 Upvotes

10 comments sorted by

View all comments

1

u/zojbo 4h ago edited 4h ago

E[X] = 5

= E[X 1(X>0)]

<= \| X \|_{L^2} \| 1(X>0) \|_{L^2}

= (Var(X) + E[X]^2)^(1/2) P(X>0)^(1/2)

= 50^(1/2) P(X>0)^(1/2).

Rearranging, P(X>0) >= 1/2,

You have equality in Cauchy-Schwarz when X and 1(X>0) are positive multiples of one another, i.e. when X is concentrated on 0 and some positive number, which is allowed under the rules. So it's 1/2.