NDA Mathematics · 64 questions · 2017 to 2026

NDA Definite Integrals previous year questions with solutions

Definite integrals give three to four of the 120 questions in a Mathematics paper, up from two or three before 2021, and since 2023 UPSC has preferred linked pairs built on one integrand. Every question UPSC has set on it since 2017, solved. Grouped by the method each needs, newest first; open a question for its answer and worked solution.

24.1 Evaluating a definite integral: the fundamental theorem, substitution and parts (21)24.2 Splitting the range: modulus, signum and greatest integer integrands (17)24.3 The reflection properties: f(a - x) and f(a + b - x) (15)24.4 Symmetric intervals: odd and even integrands (7)24.5 Periodic integrands (4)

24.1 Evaluating a definite integral: the fundamental theorem, substitution and parts

1. NDA 2026 (II)
What is ∫01 dx(ax + bx + c)2 equal to?
Answer and solution

Answer: (d) 1c(a + b + c)

Method. ∫ dx(px + c)2 = -1p(px + c) with p = a + b

ax + bx + c = (a + b)x + c; write p = a + b.
∫01
dx(px + c)2 = [-1p(px + c)]01 = 1p(1c − 1p + c) = 1p · pc(p + c).
=
1c(a + b + c).

2. NDA 2026 (II)
What is ∫12 xx(1 + ln x) dx equal to?
Answer and solution

Answer: (b) 3

Method. the integrand is the derivative of xx

y = xx ⇒ ln y = x ln x ⇒ y'y = ln x + 1, so ddxxx = xx(1 + ln x).
∫12 xx(1 + ln x) dx = [xx]12 = 22 - 11 = 3.

3. NDA 2025 (II)
If I1 = ∫ee2 dxln x and I2 = ∫12 exx dx, then which one of the following is correct?
Answer and solution

Answer: (a) I1 - I2 = 0

Method. substitution x = et in I1

In I1 put x = et: dx = et dt, ln x = t; x: e → e2 gives t: 1 → 2.
I1 = ∫12
ett dt, which is I2 (the variable name does not matter).
So I1 - I2 = 0.

4. NDA 2024 (II)
Direction: Consider the following for the two (02) items that follow:
Let I = ∫0π/⁠2
f(x)g(x) dx, where f(x) = sin x and g(x) = sin x + cos x + 1.
What is ∫0π/⁠2 dxg(x) equal to?
Answer and solution

Answer: (c) ln2

Method. half-angle substitution t = tanx2

Put t = tanx2: sin x = 2t1 + t2, cos x = 1 − t21 + t2, dx = 2dt1 + t2; x: 0 → π2 gives t: 0 → 1.
g(x) = 1 + sin x + cos x =
(1 + t2) + 2t + (1 − t2)1 + t2 = 2(1 + t)1 + t2.
∫0π/⁠2
dxg(x) = ∫01 1 + t22(1 + t) · 2dt1 + t2 = ∫01 dt1 + t = [ln(1 + t)]01 = ln 2.

5. NDA 2024 (II)
What is I equal to?
Answer and solution

Answer: (c) π4 − ln22

Method. property ∫0a f(x) dx = ∫0a f(a − x) dx, then the previous item

Put x → π2 − x: g is unchanged, so I = ∫0π/⁠2 cos xg(x) dx as well.
Adding: 2I = ∫0π/⁠2
sin x + cos x1 + sin x + cos x dx = ∫0π/⁠2 (1 − 1g(x)) dx = π2 − ln 2 (previous item).
I =
π4 − ln 22.

6. NDA 2023 (I)
Consider the following for the next three (03) items that follow:
Let f(x) = Pex + Qe2x + Re3x, where P, Q, R are real numbers. Further f(0) = 6, f'(ln 3) = 282 and ∫0ln2 f(x)dx = 11
What is the value of Q?
Answer and solution

Answer: (b) 2

Method. form three linear equations in P, Q, R from the three conditions and solve

f(0) = P + Q + R = 6.
f'(x) = Pex + 2Qe2x + 3Re3x; with eln 3 = 3: f'(ln 3) = 3P + 18Q + 81R = 282, i.e. P + 6Q + 27R = 94.
∫0ln2 f(x)dx = P(2 −⁠ 1) +
Q2(4 − 1) + R3(8 − 1) = P + 3Q2 + 7R3 = 11, i.e. 6P + 9Q + 14R = 66.
Eliminate P = 6 − Q − R: 5Q + 26R = 88 and 3Q + 8R = 30.
From these, 3(5Q + 26R) − 5(3Q + 8R) = 264 − 150, so 38R = 114, R = 3; then Q =
30 − 243 = 2 and P = 6 − 2 − 3 = 1.
Check: 1 + 2 + 3 = 6; 3 + 36 + 243 = 282; 1 + 3 + 7 = 11.
Q = 2.
Answer: option (b).

7. NDA 2023 (I)
What is the value of R?
Answer and solution

Answer: (c) 3

Method. same linear system in P, Q, R as the previous item

f(0) = P + Q + R = 6.
f'(x) = Pex + 2Qe2x + 3Re3x; with eln 3 = 3: f'(ln 3) = 3P + 18Q + 81R = 282, i.e. P + 6Q + 27R = 94.
∫0ln2 f(x)dx = P(2 −⁠ 1) +
Q2(4 − 1) + R3(8 − 1) = P + 3Q2 + 7R3 = 11, i.e. 6P + 9Q + 14R = 66.
Eliminate P = 6 − Q − R: 5Q + 26R = 88 and 3Q + 8R = 30.
From these, 3(5Q + 26R) − 5(3Q + 8R) = 264 − 150, so 38R = 114, R = 3; then Q =
30 − 243 = 2 and P = 6 − 2 − 3 = 1.
R = 3.
Answer: option (c).

8. NDA 2023 (I)
What is f'(0) equal to?
Answer and solution

Answer: (d) 14

Method. solve for P, Q, R, then f'(0) = P + 2Q + 3R

f(0) = P + Q + R = 6.
f'(x) = Pex + 2Qe2x + 3Re3x; with eln 3 = 3: f'(ln 3) = 3P + 18Q + 81R = 282, i.e. P + 6Q + 27R = 94.
∫0ln2 f(x)dx = P(2 −⁠ 1) +
Q2(4 − 1) + R3(8 − 1) = P + 3Q2 + 7R3 = 11, i.e. 6P + 9Q + 14R = 66.
Eliminate P = 6 − Q − R: 5Q + 26R = 88 and 3Q + 8R = 30.
From these, 3(5Q + 26R) − 5(3Q + 8R) = 264 − 150, so 38R = 114, R = 3; then Q =
30 − 243 = 2 and P = 6 − 2 − 3 = 1.
f'(0) = P + 2Q + 3R = 1 + 4 + 9 = 14.
Answer: option (d).

9. NDA 2022 (I)
What is ∫0π/⁠4 dx(sin x + cos x)2 equal to?
Answer and solution

Answer: (b) 12

Method. divide by cos2 x and substitute t = 1 + tan x

(sin x + cos x)2 = cos2 x (tan x + 1)2, so the integrand is sec2 x(1 + tan x)2.
Put t = 1 + tan x, dt = sec2 x dx; x = 0 gives t = 1, x =
π4 gives t = 2.
∫12
dtt2 = [-1t]12 = -12 + 1 = 12.
Answer: option (b).

10. NDA 2021 (II)
If f(x) satisfies f(1) = f(4), then what is ∫14 f'(x) dx equal to?
Answer and solution

Answer: (b) 0

Method. fundamental theorem of calculus: ∫ab f'(x)dx = f(b) − f(a)

∫14 f'(x) dx = f(4) − f(1).
Given f(1) = f(4), this is 0.
Answer: option (b).

11. NDA 2021 (II)
What is ∫0π/⁠2 eln (cos x) dx equal to?
Answer and solution

Answer: (c) 1

Method. eln t = t for t > 0

For 0 ≤ x < π2, cos x > 0, so eln(cos x) = cos x (the single point x = π2 does not affect the integral).
∫0π/⁠2 cos x dx = [sin x]0π/⁠2 = 1 − 0 = 1.
Answer: option (c).

12. NDA 2021 (II)
If f(x) = 2x, then what is ∫210 f'(x)f(x) dx equal to?
Answer and solution

Answer: (d) 8ln2

Method. f'(x)f(x) = ddx ln f(x); here ln 2x = x ln 2

f(x) = 2x, f'(x) = 2x ln 2, so f'(x)f(x) = ln 2.
∫210 ln 2 dx = (10 − 2) ln 2 = 8 ln 2.
Answer: option (d).

13. NDA 2020 (I)
What is the value of ∫0π/⁠4 (tan3 x + tan x) dx?
Answer and solution

Answer: (b) 12

Method. factor tan x(tan2 x + 1) = tan x sec2 x, then t = tan x

tan3 x + tan x = tan x(1 + tan2 x) = tan x sec2 x.
Put t = tan x, dt = sec2 x dx; x = 0 gives t = 0, x =
π4 gives t = 1.
∫01 t dt =
12.
Answer: option (b).

14. NDA 2019 (I)
∫0π/⁠2 esin x cos x dx is equal to
Answer and solution

Answer: (b) e − 1

Method. substitution t = sin x

Put t = sin x, dt = cos x dx; x = 0 gives t = 0, x = π2 gives t = 1.
∫0π/⁠2 esin x cos x dx = ∫01 et dt = e − 1.
Answer: option (b).

15. NDA 2018 (II)
What is ∫-11 {ddx(tan-1 1x)} dx equal to?
Answer and solution

Answer: (c) -π2

Method. differentiate first: ddxtan-11x = -11 + x2 for x ≠ 0

For x ≠ 0: ddxtan-11x = 11 + 1x2·(-1x2) = -11 + x2.
The integrand is -
11 + x2 (except at the single point x = 0), so
∫-11 (-
11 + x2) dx = -[tan-1 x]-11 = -(π4 + π4) = -π2.
Trap: writing [tan-1
1x]-11 = π4 − (-π4) = π2 is wrong, because tan-11x jumps from -π2 to π2 at x = 0, so it is not an antiderivative on the whole of [-1, 1].
Answer: -
π2, option (c).

16. NDA 2018 (I)
What is ∫0π ex sin x dx equal to?
Answer and solution

Answer: (a) eπ + 12

Method. standard result ∫ ex sin x dx = ex2(sin x − cos x)

Integrating by parts twice, ∫ ex sin x dx = ex2(sin x − cos x) + C.
At x = π:
eπ2(0 − (-1)) = eπ2.
At x = 0:
12(0 − 1) = -12.
∫0π ex sin x dx =
eπ2 + 12 = eπ + 12.
Answer: option (a).

17. NDA 2018 (I)
What is ∫1e x ln x dx equal to?
Answer and solution

Answer: (b) e2 + 14

Method. integration by parts with u = ln x, dv = x dx

∫ x ln x dx = x22 ln x - ∫ x22·1x dx = x22 ln x − x24.
At x = e:
e22 − e24 = e24.
At x = 1: 0 −
14 = -14.
∫1e x ln x dx =
e24 + 14 = e2 + 14.
Answer: option (b).

18. NDA 2018 (I)
If ∫ab x3 dx = 0 and ∫ab x2 dx = 23, then what are the values of a and b respectively?
Answer and solution

Answer: (a) -1, 1

Method. evaluate both integrals and solve b4 = a4, b3 - a3 = 2

∫ab x3 dx = b4 - a44 = 0, so b4 = a4, i.e. b = a or b = -a.
∫ab x2 dx =
b3 - a33 = 23, so b3 - a3 = 2.
b = a would give 0 ≠ 2, so b = -a: -a3 - a3 = 2, a3 = -1, a = -1, b = 1.
Check: ∫-11 x3 dx = 0 and ∫-11 x2 dx =
23.
Answer: a = -1, b = 1, option (a).

Shortcut. Test the options: for (a), x3 is odd so ∫-11 x3 = 0 and ∫-11 x2 = 23; (b), (c) give 0 for the second integral and (d) gives -163.

19. NDA 2018 (I)
What is ∫01 x(1 − x)9 dx equal to?
Answer and solution

Answer: (a) 1/⁠110

Method. property ∫01 h(x)dx = ∫01 h(1 − x)dx, then power rule

Replace x by 1 − x: ∫01 x(1 − x)9 dx = ∫01 (1 − x)x9 dx.
= ∫01 (x9 - x10) dx =
110 − 111.
=
11 − 10110 = 1110.
Answer: option (a).

20. NDA 2017 (II)
What is ∫02π ⁠√(1⁠ + sin ⁠x2⁠) dx equal to?
Answer and solution

Answer: (a) 8

Method. write 1 + sin t as a perfect square (sint2 + cost2)2

Put x = 2t, dx = 2dt; t runs from 0 to π: I = 2∫0π ⁠√(1⁠ + sin t) dt.
1 + sin t = sin2
t2 + cos2t2 + 2sint2cost2 = (sint2 + cost2)2.
For 0 ≤ t ≤ π, both sin
t2 and cost2 are ≥ 0, so ⁠√(1⁠ + sin t) = sint2 + cost2.
∫0π (sin
t2 + cost2)dt = [-2cost2 + 2sint2]0π = (0 + 2) − (-2 + 0) = 4.
I = 2 × 4 = 8.
Answer: 8, option (a).

21. NDA 2017 (I)
What is ∫0π/⁠2 dθ1 + cos θ equal to?
Answer and solution

Answer: (b) 1

Method. half-angle identity 1 + cos θ = 2cos2(θ/⁠2)

1 + cos θ = 2cos2θ2, so 11 + cos θ = 12sec2θ2.
∫
12sec2θ2 dθ = tanθ2.
∫0π/⁠2
dθ1 + cos θ = tanπ4 − tan 0 = 1 − 0 = 1.
Answer: 1, option (b).

24.2 Splitting the range: modulus, signum and greatest integer integrands

22. NDA 2025 (II)
What is ∫nn+1 (x - [x]) dx, where [·] is the greatest integer function and n is natural number?
Answer and solution

Answer: (c) 12

Method. x - [x] = x − n on [n, n + 1)

For n ≤ x < n + 1, [x] = n, so x - [x] = x − n.
∫nn+1 (x − n) dx = [
(x − n)22]nn+1 = 12.

23. NDA 2025 (I)
Consider the following for the two (02) items that follow:
Let f(x) = [x2], where [·] is the greatest integer function.
What is ∫⁠√2√3⁠ f(x) dx equal to?
Answer and solution

Answer: (b) 2(⁠√3⁠ - ⁠√2)⁠

Method. [x2] is constant on [⁠√2,⁠ ⁠√3)⁠

For ⁠√2⁠ ≤ x < ⁠√3:⁠ 2 ≤ x2 < 3, so f(x) = [x2] = 2.
∫⁠√2√3⁠ 2 dx = 2(⁠√3⁠ - ⁠√2).⁠

24. NDA 2025 (I)
What is ∫⁠√22⁠ f(x) dx equal to?
Answer and solution

Answer: (a) 6 - ⁠√3⁠ − 2⁠√2⁠

Method. split at ⁠√3,⁠ where [x2] jumps from 2 to 3

⁠√2⁠ ≤ x < ⁠√3:⁠ 2 ≤ x2 < 3, f(x) = 2.
⁠√3⁠ ≤ x < 2: 3 ≤ x2 < 4, f(x) = 3.
∫⁠√22⁠ f(x) dx = 2(⁠√3⁠ - ⁠√2)⁠ + 3(2 - ⁠√3)⁠ = 2⁠√3⁠ − 2⁠√2⁠ + 6 − 3⁠√3⁠ = 6 - ⁠√3⁠ − 2⁠√2.⁠

25. NDA 2024 (II)
Direction: Consider the following for the two (02) items that follow:
Let f(x) = |x2 - x − 2|.
What is ∫02 f(x) dx equal to?
Answer and solution

Answer: (d) 10/⁠3

Method. sign of x2 - x − 2 = (x − 2)(x + 1) on [0, 2]

x2 - x − 2 = (x − 2)(x + 1) ≤ 0 for -1 ≤ x ≤ 2, so on [0, 2] f(x) = 2 + x − x2.
∫02 (2 + x − x2) dx = [2x +
x22 − x33]02 = 4 + 2 − 83 = 103.

26. NDA 2024 (II)
What is ∫13 f(x) dx equal to?
Answer and solution

Answer: (b) 3

Method. split at the root x = 2 where x2 - x − 2 changes sign

On [1, 2]: f(x) = 2 + x − x2; on [2, 3]: f(x) = x2 - x − 2.
∫12 (2 + x − x2) dx = [2x +
x22 − x33]12 = 103 − 136 = 76.
∫23 (x2 - x − 2) dx = [
x33 − x22 − 2x]23 = (9 − 92 − 6) − (83 − 2 − 4) = -32 + 103 = 116.
Total =
76 + 116 = 3.

27. NDA 2024 (I)
Let p = ∫ab f(x) dx and q = ∫ab |f(x)| dx. If f(x) = e-x, then which one of the following is correct?
Answer and solution

Answer: (d) p = q

Method. |f(x)| = f(x) when f(x) > 0

e-x > 0 for every real x, so |f(x)| = |e-x| = e-x = f(x).
Then q = ∫ab |f(x)| dx = ∫ab f(x) dx = p, i.e. p = q.
(Here p = e-a - e-b ≠ 0 for a ≠ b, so p = 2q, p = -q and 4p = q all fail.)

28. NDA 2024 (I)
Consider the following for the next two (02) items that follow:
Let f(x) = |x − 1|, g(x) = [x] and h(x) = f(x)g(x) where [.] is greatest integer function.
What is ∫-10 h(x) dx equal to?
Answer and solution

Answer: (a) -32

Method. on [-1, 0) the greatest integer [x] = -1

For -1 ≤ x < 0: [x] = -1 and x − 1 < 0, so |x − 1| = 1 − x and h(x) = -(1 − x) = x − 1.
∫-10 (x − 1) dx = [
x22 − x]-10 = 0 − (12 + 1) = -32.

29. NDA 2024 (I)
What is ∫02 h(x) dx equal to?
Answer and solution

Answer: (d) 12

Method. split [0, 2] at the integer 1

0 ≤ x < 1: [x] = 0, so h(x) = 0.
1 ≤ x < 2: [x] = 1 and x − 1 ≥ 0, so h(x) = x − 1.
∫02 h(x) dx = 0 + ∫12 (x − 1) dx = [
(x − 1)22]12 = 12.

30. NDA 2023 (I)
Consider the following for the next two (02) items that follow:
Let l = ∫ab
|x|x dx , a < b
What is l equal to when a < 0 < b?
Answer and solution

Answer: (a) a + b

Method. split at 0: |x|x = -1 for x < 0 and 1 for x > 0

For a < 0 < b: l = ∫a0 (-1) dx + ∫0b 1 dx.
= -(0 − a) + (b − 0) = a + b.

31. NDA 2023 (I)
What is l equal to when a < b < 0?
Answer and solution

Answer: (b) a − b

Method. |x|x = -1 throughout when x < 0

For a < b < 0 the whole interval is negative, so |x|x = -1.
l = ∫ab (-1) dx = -(b − a) = a − b.

32. NDA 2022 (I)
What is ∫-2-1 x|x| dx equal to?
Answer and solution

Answer: (b) -1

Method. for x < 0, |x| = -x, so x|x| = -1

On [-2, -1], x < 0, so |x| = -x and x|x| = -1.
∫-2-1 (-1) dx = -(-1 − (-2)) = -1.
Answer: option (b).

33. NDA 2021 (II)
If ∫-20 f(x) dx = k, then ∫-20 |f(x)| dx is
Answer and solution

Answer: (d) greater than or equal to k

Method. |∫ f| ≤ ∫ |f|, together with k ≤ |k|

Since -|f(x)| ≤ f(x) ≤ |f(x)|, integrating over [-2, 0] gives ∫-20 f(x) dx ≤ ∫-20 |f(x)| dx.
So ∫-20 |f(x)| dx ≥ k.
Equality is possible (for example when f(x) ≥ 0 on [-2, 0]), so 'greater than k' is not always true; the correct statement is 'greater than or equal to k'.
Answer: option (d).

34. NDA 2019 (I)
∫0π/⁠2 |sin x − cos x| dx is equal to
Answer and solution

Answer: (b) 2(⁠√2⁠ − 1)

Method. split at x = π4, where sin x = cos x

On [0, π4], cos x ≥ sin x; on [π4, π2], sin x ≥ cos x.
∫0π/⁠4 (cos x − sin x) dx = [sin x + cos x]0π/⁠4 = ⁠√2⁠ − 1.
∫π/⁠4π/⁠2 (sin x − cos x) dx = [-cos x − sin x]π/⁠4π/⁠2 = -1 + ⁠√2⁠ = ⁠√2⁠ − 1.
Total = 2(⁠√2⁠ − 1).
Answer: option (b).

35. NDA 2018 (II)
What is ∫ab [x] dx + ∫ab [-x] dx equal to, where [.] is the greatest integer function?
Answer and solution

Answer: (b) a − b

Method. [x] + [-x] = -1 when x is not an integer, 0 when x is an integer

If x is an integer, [x] + [-x] = x − x = 0.
If x is not an integer, write x = n + f with 0 < f < 1: [x] = n and [-x] = [-n − f] = -n − 1, so [x] + [-x] = -1.
On [a, b] the integers are finitely many points, which do not change the integral.
∫ab [x] dx + ∫ab [-x] dx = ∫ab ([x] + [-x]) dx = ∫ab (-1) dx = -(b − a) = a − b.
Answer: option (b).

36. NDA 2018 (II)
What is ∫28 |x − 5| dx equal to?
Answer and solution

Answer: (d) 9

Method. split |x − 5| at x = 5

For 2 ≤ x ≤ 5, |x − 5| = 5 − x; for 5 ≤ x ≤ 8, |x − 5| = x − 5.
∫25 (5 − x) dx = [5x −
x22]25 = 252 − 8 = 92.
∫58 (x − 5) dx = [
x22 − 5x]58 = -8 − (-252) = 92.
Total =
92 + 92 = 9.
Answer: option (d).

Shortcut. The graph of |x − 5| on [2, 8] is two triangles of base 3 and height 3: area = 2 × 12 × 3 × 3 = 9.

37. NDA 2018 (I)
What is ∫0⁠√2⁠ [x2] dx equal to (where [.] is the greatest integer function)?
Answer and solution

Answer: (a) ⁠√2⁠ − 1

Method. split the range where [x2] is constant

For 0 ≤ x < 1: 0 ≤ x2 < 1, so [x2] = 0.
For 1 ≤ x < ⁠√2:⁠ 1 ≤ x2 < 2, so [x2] = 1.
∫0⁠√2⁠ [x2] dx = ∫01 0 dx + ∫1⁠√2⁠ 1 dx = ⁠√2⁠ − 1.
Answer: option (a).

38. NDA 2017 (I)
What is ∫e-1e2 |ln xx| dx equal to?
Answer and solution

Answer: (b) 52

Method. substitution u = ln x, then split |u| at u = 0

Put u = ln x, du = dxx; x = e-1 gives u = -1, x = e2 gives u = 2.
The integral becomes ∫-12 |u| du.
= ∫-10 (-u)du + ∫02 u du =
12 + 42 = 12 + 2 = 52.
Answer:
52, option (b).

24.3 The reflection properties: f(a - x) and f(a + b - x)

39. NDA 2026 (I)
For the next two (02) items that follow:
Let ∫0π/⁠2
a sin x + b cos x(a + b)(sin x + cos x) dx = k
What is the value of k?
Answer and solution

Answer: (a) π4

Method. property ∫0a f(x) dx = ∫0a f(a − x) dx

Let J = ∫0π/⁠2 a sin x + b cos xsin x + cos x dx, so k = Ja + b.
Put x →
π2 − x: J = ∫0π/⁠2 a cos x + b sin xsin x + cos x dx.
Adding: 2J = ∫0π/⁠2
(a + b)(sin x + cos x)sin x + cos x dx = (a + b)π2, so J = (a + b)π4.
k =
Ja + b = π4.

40. NDA 2026 (I)
What is ∫0π/⁠2 a cos x + b sin xsin x + cos x dx equal to?
Answer and solution

Answer: (c) k(a + b)

Method. property ∫0a f(x) dx = ∫0a f(a − x) dx links the integral to k

Put x → π2 − x in the required integral: ∫0π/⁠2 a cos x + b sin xsin x + cos x dx = ∫0π/⁠2 a sin x + b cos xcos x + sin x dx.
By the definition of k, ∫0π/⁠2
a sin x + b cos xsin x + cos x dx = k(a + b).
So the required integral = k(a + b) (=
(a + b)π4).

41. NDA 2026 (I)
For the next two (02) items that follow:
Let
f(x) = sin x and g(x) − f(x) = f(4 − x).
What is ∫04 f(x)g(x) dx equal to?
Answer and solution

No correct option. This question is defective as printed in UPSC's paper.

Method. property ∫0a f(x) dx = ∫0a f(a − x) dx (King's rule), checked against where g vanishes

g(x) = sin x + sin(4 − x) = 2 sin 2 cos(x − 2), and g(4 − x) = g(x).
Formally, with x → 4 − x: ∫04
f(x)g(x) dx = ∫04 f(4 − x)g(x) dx, and adding gives 2∫04 f(x)g(x) dx = ∫04 1 dx = 4, i.e. the value 2.
But g(x) = 0 where cos(x − 2) = 0, i.e. at x = 2 −
π2 ≈ 0.429 and x = 2 + π2 ≈ 3.571, both inside [0, 4], while sin x ≠ 0 there (sin(2 ∓ π2) = ∓cos 2 ≈ ±0.416).
Near each such point
f(x)g(x) behaves like cx − x0 with c ≠ 0, so the integral diverges; the value 2 is only a principal value.

g(x) = sin x + sin(4 − x) = 2 sin 2 cos(x − 2) vanishes at x = 2 ± π/⁠2 inside [0, 4] where sin x ≠ 0, so the integrand has non-integrable poles and the integral does not exist; the evident intended King's-rule reading gives 2, option (c).

42. NDA 2026 (I)
What is ∫04 f(4 − x)g(4 − x) dx equal to?
Answer and solution

No correct option. This question is defective as printed in UPSC's paper.

Method. substitution x → 4 − x reduces it to the previous item

With u = 4 − x (dx = -du, limits 4 → 0): ∫04 f(4 − x)g(4 − x) dx = ∫04 f(u)g(u) du, the integral of the previous item.
Formally that equals 2 (King's rule), but g(u) = 2 sin 2 cos(u − 2) vanishes at u = 2 ±
π2 inside [0, 4] while sin u ≠ 0 there, so the integrand has simple poles and the integral diverges.

The integral equals ∫04 f(x)/⁠g(x) dx, whose integrand has non-integrable poles at x = 2 ± π/⁠2 (where g = 2 sin 2 cos(x − 2) = 0 but sin x ≠ 0), so it does not exist; the evident intended reading gives 2, option (c).

43. NDA 2024 (I)
What is ∫0π/⁠2 a + sin x2a + sin x + cos x dx equal to?
Answer and solution

Answer: (a) π4

Method. property ∫0a f(x) dx = ∫0a f(a − x) dx

Let I = ∫0π/⁠2 a + sin x2a + sin x + cos x dx.
Put x →
π2 − x: sin ↔ cos, the denominator is unchanged, so I = ∫0π/⁠2 a + cos x2a + sin x + cos x dx.
Adding: 2I = ∫0π/⁠2
2a + sin x + cos x2a + sin x + cos x dx = ∫0π/⁠2 1 dx = π2.
Optionally append to the working: "(valid whenever 2a + sin x + cos x ≠ 0 on [0, π/⁠2], i.e. a ∉ [-1/⁠√2,⁠ -1/⁠2]; the question intends such a.)"

44. NDA 2023 (I)
Consider the following for the next three (03) items that follow:
Let I1 = ∫0π
x1 + cos2 x dx and
I2 = ∫0π
11 + sin2 x dx
What is the value of I1 + I2I1 - I2?
Answer and solution

No correct option. This question is defective as printed in UPSC's paper.

Method. property ∫0a x f(x) dx = a2∫0a f(x) dx when f(a − x) = f(x), then the ratio I1/⁠I2

I2 = 2∫0π/⁠2 dx1 + sin2 x = 2∫0π/⁠2 sec2 x dx1 + 2tan2 x = 2 · 1⁠√2[tan-1(√2⁠ tan x)]0π/⁠2 = π⁠√2.⁠
In I1, put x → π − x: I1 = ∫0π
π − x1 + cos2 x dx, so 2I1 = π∫0π dx1 + cos2 x = π · π⁠√2⁠ (the same value as I2, since cos2 x and sin2 x run through the same values over a full period π).
So I1 =
π22⁠√2⁠ = π2 I2.
I1 + I2I1 - I2 = π/⁠2 + 1π/⁠2 − 1 = π + 2π − 2 ≈ 4.504.
The options are 1, π ≈ 3.142, π2 ≈ 9.870 and
π + 1π − 1 ≈ 1.934: none equals π + 2π − 2.

With I1 = π2/⁠(2⁠√2)⁠ and I2 = π/⁠√2⁠ as printed, the ratio is (π + 2)/⁠(π − 2), which is none of the options; option (d) (π + 1)/⁠(π − 1) would follow if I1 = πI2, e.g. if I2 were taken over [0, π/⁠2] (value π/⁠(2⁠√2)).⁠

45. NDA 2023 (I)
What is the value of 8I12?
Answer and solution

Answer: (d) π4

Method. property ∫0a x f(x) dx = a2∫0a f(x) dx with f(π − x) = f(x)

Put x → π − x: I1 = ∫0π π − x1 + cos2 x dx; adding, 2I1 = π∫0π dx1 + cos2 x.
∫0π
dx1 + cos2 x = 2∫0π/⁠2 sec2 x dxsec2 x + 1 = 2∫0π/⁠2 sec2 x dx2 + tan2 x = 2 · 1⁠√2[tan-1tan⁠ x⁠√2]0π/⁠2⁠ = π⁠√2.⁠
So I1 =
π22⁠√2,⁠ I12 = π48.
8I12 = π4.

46. NDA 2023 (I)
What is the value of I2?
Answer and solution

Answer: (a) π⁠√2⁠

Method. substitution t = tan x after writing the integral over [0, π/⁠2]

sin2(π − x) = sin2 x, so I2 = 2∫0π/⁠2 dx1 + sin2 x.
Divide by cos2 x:
sec2 xsec2 x + tan2 x = sec2 x1 + 2tan2 x.
Put t = tan x (0 → ∞): I2 = 2∫0∞
dt1 + 2t2 = 2 · 1⁠√2[tan-1(√2⁠ t)]0∞ = 2⁠√2⁠ · π2.
I2 =
π⁠√2.⁠

47. NDA 2022 (II)
What is ∫01 ln(1x − 1) dx equal to?
Answer and solution

Answer: (b) 0

Method. ln(1 − xx) changes sign under x → 1 − x

1x − 1 = 1 − xx, so I = ∫01 ln(1 − xx) dx (an improper integral that converges, as ∫01 ln x dx = -1 does).
Replace x by 1 − x: I = ∫01 ln(
x1 − x) dx = -I.
So 2I = 0, I = 0.
Answer: option (b).

48. NDA 2021 (II)
What is ∫0π ln(tan x2) dx equal to?
Answer and solution

Answer: (a) 0

Method. substitution x = 2t, then ∫0π/⁠2 ln(tan t)dt = 0 by t → π2 − t

Put x = 2t, dx = 2dt; t runs from 0 to π2: I = 2∫0π/⁠2 ln(tan t) dt.
Let J = ∫0π/⁠2 ln(tan t) dt. Replace t by
π2 − t: J = ∫0π/⁠2 ln(cot t) dt = -∫0π/⁠2 ln(tan t) dt = -J.
So 2J = 0, J = 0, and I = 0.
Answer: option (a).

Shortcut. Directly: replacing x by π − x turns tanx2 into cotx2, so I = -I and I = 0.

49. NDA 2021 (I)
What is ∫0a f(a − x)f(x) + f(a − x) dx equal to?
Answer and solution

Answer: (d) a2

Method. property ∫0a h(x)dx = ∫0a h(a − x)dx, then add

Let I = ∫0a f(a − x)f(x) + f(a − x) dx (with f(x) + f(a − x) ≠ 0 on [0, a]).
Replace x by a − x: I = ∫0a
f(x)f(a − x) + f(x) dx.
Adding: 2I = ∫0a
f(a − x) + f(x)f(x) + f(a − x) dx = ∫0a 1 dx = a.
I =
a2.
Answer: option (d).

50. NDA 2019 (II)
Directions for the following two (02) items:
Read the following information and answer the two items that follow:
Consider the integrals
I1 = ∫0π
x dx1 + sin x and I2 = ∫0π (π − x)dx1 − sin(π + x)
What is the value of I1?
Answer and solution

Answer: (c) π

Method. property ∫0π x h(sin x)dx = π2∫0π h(sin x)dx

Replace x by π − x (sin(π − x) = sin x): I1 = ∫0π (π − x)dx1 + sin x.
Adding: 2I1 = π∫0π
dx1 + sin x.
11 + sin x = 1 − sin xcos2 x = sec2 x − sec x tan x, with antiderivative tan x − sec x.
∫0π
dx1 + sin x = (tan π − sec π) − (tan 0 − sec 0) = (0 + 1) − (0 − 1) = 2 (the integrand is continuous on [0, π] and tan x − sec x = sin x − 1cos x → 0 at x = π2, so the antiderivative is continuous there).
2I1 = 2π, so I1 = π.
Answer: option (c).

51. NDA 2019 (II)
What is the value of I1 + I2?
Answer and solution

Answer: (a) 2π

Method. sin(π + x) = -sin x, then x → π − x shows I2 = I1

sin(π + x) = -sin x, so I2 = ∫0π (π − x)dx1 + sin x.
Replace x by π − x (sin(π − x) = sin x): I2 = ∫0π
x dx1 + sin x = I1.
From the previous item, I1 = π.
I1 + I2 = 2π.
Answer: option (a).

52. NDA 2017 (II)
The value of ∫0π/⁠4 ⁠√(tan⁠ x) dx + ∫0π/⁠4 ⁠√(cot⁠ x) dx is equal to
Answer and solution

Answer: (d) π⁠√2⁠

Method. combine into sin x + cos x⁠√(sin⁠ x cos x) and substitute u = sin x − cos x

⁠√(tan⁠ x) + ⁠√(cot⁠ x) = sin x + cos x⁠√(sin⁠ x cos x) on (0, π4].
(sin x − cos x)2 = 1 − 2sin x cos x, so sin x cos x =
1 − (sin x − cos x)22.
So the sum of the integrals is I = ⁠√2⁠ ∫0π/⁠4
(sin x + cos x)dx⁠√(1⁠ −⁠ (sin x −⁠ cos x)2).
Put u = sin x − cos x, du = (cos x + sin x)dx; x = 0 gives u = -1, x =
π4 gives u = 0.
I = ⁠√2⁠ ∫-10
du⁠√(1⁠ −⁠ u2) = ⁠√2⁠ [sin-1 u]-10 = ⁠√2⁠ (0 + π2) = π⁠√2.⁠
Answer: option (d).

53. NDA 2017 (I)
If f(x) and g(x) are continuous functions satisfying f(x) = f(a − x) and g(x) + g(a − x) = 2, then what is ∫0a f(x)g(x)dx equal to?
Answer and solution

Answer: (b) ∫0a f(x)dx

Method. property ∫0a h(x)dx = ∫0a h(a − x)dx

Let I = ∫0a f(x)g(x)dx.
Replace x by a − x: I = ∫0a f(a − x)g(a − x)dx = ∫0a f(x)[2 − g(x)]dx, using f(a − x) = f(x) and g(a − x) = 2 − g(x).
So I = 2∫0a f(x)dx - ∫0a f(x)g(x)dx = 2∫0a f(x)dx − I.
2I = 2∫0a f(x)dx, so I = ∫0a f(x)dx.
Answer: option (b).

24.4 Symmetric intervals: odd and even integrands

54. NDA 2026 (II)
If f(x + y) = f(x) + f(y), then what is ∫-11 f(x)dx equal to?
Answer and solution

Answer: (a) 0

Method. f(x + y) = f(x) + f(y) forces f(0) = 0 and f(-x) = -f(x), so f is odd

Put x = y = 0: f(0) = 2f(0), so f(0) = 0.
Put y = -x: f(0) = f(x) + f(-x), so f(-x) = -f(x); f is odd.
The integral of an odd function over [-1, 1] is 0.

55. NDA 2024 (I)
What is ∫-11 (3 sin x − sin 3x) cos2 x dx equal to?
Answer and solution

Answer: (b) 0

Method. integral of an odd function over [-a, a] is 0

Let f(x) = (3 sin x − sin 3x) cos2 x.
f(-x) = (-3 sin x + sin 3x) cos2 x = -f(x), so f is odd.
Hence ∫-11 f(x) dx = 0.

56. NDA 2023 (II)
Consider the following for the next two (02) items that follow:
Let I = ∫-2π2π
sin4 x + cos4 x1 + 3x dx
What is ∫0π (sin4 x + cos4 x) dx equal to?
Answer and solution

Answer: (b) 3π4

Method. sin4 x + cos4 x = 1 − 12sin2 2x

sin4 x + cos4 x = (sin2 x + cos2 x)2 - 2sin2 x cos2 x = 1 − 12sin2 2x = 1 − 1 − cos 4x4 = 34 + cos 4x4.
∫0π (
34 + cos 4x4) dx = 3π4 + 116[sin 4x]0π = 3π4.

57. NDA 2023 (II)
What is I equal to?
Answer and solution

Answer: (c) 3π2

Method. ∫-aa g(x)1 + bx dx = ∫0a g(x) dx for even g

Let g(x) = sin4 x + cos4 x (even). Put x → -x: I = ∫-2π2π g(x)1 + 3-x dx = ∫-2π2π 3x g(x)3x + 1 dx.
Adding the two forms: 2I = ∫-2π2π g(x) dx = 2∫02π g(x) dx, so I = ∫02π g(x) dx.
g has period π/⁠2, so ∫02π g = 2∫0π g = 2 ·
3π4 (previous item).
I =
3π2.

58. NDA 2022 (II)
What is ∫-π/⁠2π/⁠2 (ecos xsin x + esin xcos x)dx equal to?
Answer and solution

Answer: (a) e2 - 1e

Method. the ecos x sin x part is odd and integrates to 0; the other part is ∫ etdt with t = sin x

ecos(-x) sin(-x) = -ecos x sin x, so ecos x sin x is odd and ∫-π/⁠2π/⁠2 ecos x sin x dx = 0.
For the second part put t = sin x, dt = cos x dx; x = -
π2 gives t = -1, x = π2 gives t = 1.
∫-11 et dt = e − e-1 =
e2 - 1e.
Total = 0 +
e2 - 1e.
Answer: option (a).

59. NDA 2021 (I)
If
∫0a [f(x) + f(-x)] dx = ∫-aa g(x) dx
then what is g(x) equal to?
Answer and solution

Answer: (a) f(x)

Method. substitute x → -x in ∫0a f(-x)dx to turn it into ∫-a0 f(x)dx

∫0a [f(x) + f(-x)] dx = ∫0a f(x) dx + ∫0a f(-x) dx.
In the second, put x = -t, dx = -dt: ∫0a f(-x) dx = ∫0-a f(t)(-dt) = ∫-a0 f(t) dt.
So the left side = ∫-a0 f(x) dx + ∫0a f(x) dx = ∫-aa f(x) dx.
After 'Hence g(x) = f(x) satisfies the equation for every f.' add: 'The equation fixes only the integral of g, not g itself (g(x) = f(-x) would also do), so the question is read as asking which listed option works for every f; only (a) does.'
Option (b) would give ∫-aa [f(x) + f(-x)] dx = 2∫0a [f(x) + f(-x)] dx, twice the left side, and (c) gives its negative.
Answer: option (a).

60. NDA 2018 (I)
What is the value of ∫-π/⁠4π/⁠4 (sin x − tan x) dx?
Answer and solution

Answer: (c) 0

Method. integral of an odd function over [-a, a] is 0

Let h(x) = sin x − tan x. Then h(-x) = -sin x + tan x = -h(x), so h is odd.
h is continuous on [-
π4, π4] (tan x is defined there).
So ∫-π/⁠4π/⁠4 (sin x − tan x) dx = 0.
Answer: option (c).

24.5 Periodic integrands

61. NDA 2024 (I)
Consider the following for the next two (02) items that follow:
Let φ(a) = ∫aa+100π |sin x| dx
What is φ(a) equal to?
Answer and solution

Answer: (d) 200

Method. periodicity: |sin x| has period π, so the integral over any π-long interval is the same

For a periodic function of period π, ∫aa + π |sin x| dx = ∫0π |sin x| dx = [-cos x]0π = 2, whatever a is.
[a, a + 100π] is 100 such intervals: φ(a) = 100 × 2 = 200.

62. NDA 2024 (I)
What is φ'(a) equal to?
Answer and solution

Answer: (a) 0

Method. φ(a) is constant (or Leibniz rule)

From the previous item φ(a) = 200 for every a, so φ'(a) = 0.
Check by the Leibniz rule: φ'(a) = |sin(a + 100π)| · 1 − |sin a| · 1 = |sin a| − |sin a| = 0.

63. NDA 2023 (II)
What is ∫08π |sin x| dx equal to?
Answer and solution

Answer: (d) 16

Method. periodicity: |sin x| has period π

∫0π |sin x| dx = ∫0π sin x dx = [-cos x]0π = 2.
[0, 8π] holds 8 periods, so ∫08π |sin x| dx = 8 × 2 = 16.

64. NDA 2022 (II)
If ∫0π/⁠2 (sin4x + cos4x)dx = k, then what is the value of ∫020π (sin4x + cos4x)dx?
Answer and solution

Answer: (d) 40k

Method. sin4x + cos4x has period π2; ∫ over n periods = n × ∫ over one period

sin4x + cos4x = (sin2x + cos2x)2 - 2sin2x cos2x = 1 − 12sin2 2x = 34 + 14cos 4x.
cos 4x has period
2π4 = π2, so the integrand has period π2.
[0, 20π] is made of
20ππ/⁠2 = 40 such periods, each contributing ∫0π/⁠2 (sin4x + cos4x)dx = k.
∫020π (sin4x + cos4x)dx = 40k.
Answer: option (d).

Take a free NDA paperBrowse exam prep

← Indefinite IntegralsArea under Curves →