GATE 2020 PH – Question 5
Define $[x]$ as the greatest integer less than or equal to x, for each $x\in(-\infty,\infty)$. If $y=[x]$, find the area under y for $x\in[1,4]$.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) 6
Explanation
The floor function is 1 on [1,2), 2 on [2,3), and 3 on [3,4). Each interval has width 1. The integral is therefore $1+2+3=\mathbf6$. The isolated value at x=4 contributes no area. **Answer: D.**
More Quantitative Aptitude: Algebra, Geometry and Mensuration questions
- GATE 2020 MA Q5
- GATE 2020 MA Q9
- GATE 2025 CS (CS1) Q7
- GATE 2025 CS (CS2) Q3
- GATE 2025 CS (CS2) Q9
- GATE 2024 CS (CS1) Q2
All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →