JEE Main 2026 · 22 January · morning · Single correct · +4 / −1

The value of ∫_(-π/2)^(π/2)(1/([x]+4))dx, where [·] denotes the greatest integer function, is

  1. (a) 1/60(21π-1)
  2. (b) 1/60(π-7)
  3. (c) 7/60(π-3)
  4. (d) 7/60(3π-1)
Answer and solution

Answer (d) 7/60(3π-1)

Solution

Maths sir · 3 steps

Split the interval at every integer: on each piece [x] is constant, so the integrand is just a number.

  1. Find the break points. Since π/2 ≈ 1.57, the interval [-π/2, π/2] crosses the integers -1, 0 and 1. Split it there. On each piece [x] is fixed, so the integral of that piece is just (constant value) × (length of the piece).
    Piece[x]Integrand 1/([x]+4)Length
    [-π/2, -1)-21/2π/2 - 1
    [-1, 0)-11/31
    [0, 1)01/41
    [1, π/2]11/5π/2 - 1
  2. Add the pieces. The two end pieces have the same length, so group them together. The two middle pieces each have length 1.

    (π/2-1)(1/2+1/5)+1/3+1/4 = 7π/20-7/10+7/12 = 7π/20-7/60

  3. So. Over the common denominator 60 this is (21π - 7)/60 = 7/60(3π - 1). That is option (d).

The idea to keep. With [x] inside an integral, split the limits at every integer in the range. Each piece is then a constant times a length, and the end pieces usually have non-integer lengths.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Definite Integration

Asked about 230 times in JEE Main since 2020. This question is from 2026.