JEE Main 2022 · 25 July · morning · Single correct · +4 / −1
For any real number x, let [x] denote the largest integer less than equal to x. Let f be a real valued function defined on the interval [-10,10] by f(x)={x-[x], if [x] is odd; 1+[x]-x, if [x] is even . Then the value of π²/10 ∫₋₁₀¹⁰ f(x) cos π x d x is :
- (a) 4
- (b) 2
- (c) 1
- (d) 0
Answer and solution
Answer (a) 4
Solution
Maths sir · 4 steps
Sketch f first: it is a zigzag with period 2, so the whole integral is 10 copies of one period.
- Find the shape. On [-1, 0), [x] = -1 is odd, so f(x) = x + 1. On [0, 1), [x] = 0 is even, so f(x) = 1 - x. Together f(x) = 1 - |x| on [-1, 1], which is even. The same pattern repeats every 2 units.
- Use period and symmetry. Both f(x) and cos π x have period 2, and [-10, 10] holds 10 full periods. Both are even, so each period gives twice the integral over [0, 1]: ∫₋₁₀¹⁰ f(x)cos π x dx = 10 × 2∫₀¹ (1 - x)cos π x dx.
∫₀¹ (1-x)cos π x dx = [((1-x)sin π x)/π]₀¹ + ∫₀¹ (sin π x)/π dx = 0 + [-(cos π x)/π²]₀¹ = 2/π²
- Put it together. The integral is 20 × 2/π² = 40/π². Multiplying by π²/10 gives 4.
- So. The value is 4, which is option (a).
The idea to keep. When a function is built from [x], sketch one period first. If the integrand repeats with period T, the integral over nT is n times the integral over one period. Then use evenness to halve the work.
Answer from the NTA final answer key. Solution by PrepWiser.