Geometry & Spatial Aptitude
![Question 2, GATE 2022: Find the area under y(x) on [0,1], where y=2 on [0,1/3), y=3 on [1/3,3/4), and y=1 on [3/4,1]. A 5/6; B 6/5; C 13/6; D 6/13.](../../assets/questions/CS-2022-Q2-1.webp)
Your answer
Answer & solution
Official answer: C
Integrate each constant piece: area=2(1/3)+3(3/4−1/3)+1(1−3/4)=2/3+5/4+1/4=13/6. The values at the breakpoints do not affect area. Thus C.
The three rectangle widths are 1/3, 3/4−1/3=5/12, and 1/4. Multiply widths by their respective heights before adding; averaging 2,3,1 without weighting would be wrong because the intervals differ in length.