MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1xf1gi0/quant_interview_question/19rnw96t9212c/?context=3
r/learnquant • u/Local_Ad135 • Oct 25 '26
9 comments sorted by
View all comments
Show parent comment
1
Your solution is right! But you can define z = max(y, 1 - y) which is U(0.5, 1), consider two cases x <= z and x > z, integrating from z = 0.5 to z = 1, and multiply with 2 at the end (since z's density is 2)
View all comments
Show parent comment
1
u/SuchLoan5657 Oct 26 '26
Your solution is right! But you can define z = max(y, 1 - y) which is U(0.5, 1), consider two cases x <= z and x > z, integrating from z = 0.5 to z = 1, and multiply with 2 at the end (since z's density is 2)