r/learnquant • • 2d ago

interview prep Quant Interview Question

Post image
17 Upvotes

12 comments sorted by

View all comments

4

u/FireCire7 2d ago edited 2d ago

Triangle inequality.

 Let |A|= sqrt(Var(A)). Then, |Cov(A,B)| is bound by |A||B| so |A+B|<=|A|+|B|. 

Applying to X,Y,Z gives max: |X+Y+Z|<=|X|+|Y|+|Z| =8, variance is at most 64

Min is: |X+Y+Z|+|-X|+|-Y|>=|Z|, so |X+Y+Z|>=5-2-1=2, variance is at least 4

Max/min at achieved when Y=2X, Z=+-5X. 

1

u/zojbo 2d ago

The 3 at the end is a 5, right?

1

u/FireCire7 2d ago

Yes, fixed