JEE Main 2026 · 28 January · evening · Single correct · +4 / −1

Let [.] denote the greatest integer function. Then
∫_(-π/2)^(π/2)(12(3+[x])/(3+[sin x]+[cos x]))dx
is equal to :

  1. (a) 12π+5
  2. (b) 11π+2
  3. (c) 15π+4
  4. (d) 13π+1
Answer and solution

Answer (b) 11π+2

Solution

Maths sir · 4 steps

Break the interval wherever any of the three floor functions jumps, then each piece is just a constant.

  1. Find the break points. On [-π/2, π/2], [x] jumps at x = -1, 0, 1. [sin x] and [cos x] change only at x = 0. Single points do not change an integral, so the value at x = 0 can be ignored.
  2. Denominator. For x < 0: [sin x] = -1 and [cos x] = 0, so the denominator is 3 - 1 + 0 = 2. For x > 0: [sin x] = 0 and [cos x] = 0, so the denominator is 3.
    Interval[x]IntegrandLengthContribution
    (-π/2, -1)-2(12 × 1)/2 = 6π/2 - 13π - 6
    (-1, 0)-1(12 × 2)/2 = 12112
    (0, 1)0(12 × 3)/3 = 12112
    (1, π/2)1(12 × 4)/3 = 16π/2 - 18π - 16
  3. Add the pieces. The π terms give 3π + 8π = 11π. The constants give -6 + 12 + 12 - 16 = 2.
  4. So. The integral equals 11π + 2, which is option (b).

The idea to keep. With greatest integer functions inside an integral, list every point where any of them jumps, split there, and integrate a constant on each piece. The jump points themselves never matter.

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.