NDA Mathematics · 73 questions · 2017 to 2026

NDA Differentiation previous year questions with solutions

Differentiation gives three to five of a paper's 120 questions, sitting after sitting, and the mix has moved: modulus and corner-point questions, implicit forms with a variable in the exponent and linked pairs now carry most of the weight. 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.

21.1 The derivative as a limit (7)21.2 Rules of differentiation: sum, product, quotient and chain (20)21.3 Trigonometric and inverse trigonometric functions (7)21.4 Implicit and logarithmic differentiation (14)21.5 Parametric forms and the derivative of one function with respect to another (8)21.6 Modulus, piecewise and greatest-integer functions: differentiability at a point (12)21.7 Higher-order derivatives and differential relations (5)

21.1 The derivative as a limit

1. NDA 2026 (II)
Let f be a differentiable function such that f(x + y) = f(x) + f(y) for all x, y ∈ R. Which of the following statements is/⁠are correct?
I. If f(x) = x g(x), then the derivative of f(x) with respect to x is equal to g(0).
II. If f(x) = x2g(x), then the derivative of f(x) with respect to x is equal to 0.
(Here g is a continuous function)
Select the answer using the code given below.
Answer and solution

Answer: (c) Both I and II

Method. Cauchy equation: f'(x) is constant = f'(0)

f(0 + 0) = 2f(0) gives f(0) = 0, and f'(x) = limh→0 f(x + h) − f(x)h = limh→0 f(h)h = f'(0) for every x.
I: f'(0) = limh→0
h g(h)h = limh→0 g(h) = g(0) (g continuous). So f'(x) = g(0): correct.
II: f'(0) = limh→0
h2 g(h)h = limh→0 h g(h) = 0 · g(0) = 0. So f'(x) = 0: correct.
Both I and II.

2. NDA 2018 (II)
If f(x) = ⁠√(25⁠ −⁠ x2), then what is limx → 1 f(x) − f(1)x − 1 equal to?
Answer and solution

Answer: (a) -1⁠√24⁠

Method. the limit is the definition of f'(1)

The limit is f'(1).
f'(x) =
-2x2⁠√(25⁠ −⁠ x2) = -x⁠√(25⁠ −⁠ x2).
f'(1) = -
1⁠√24.⁠
(Note 4⁠√3⁠ = ⁠√48,⁠ so (c) is a different number.)

3. NDA 2018 (II)
Let f(x + y) = f(x)f(y) and f(x) = 1 + xg(x)φ(x), where limx → 0 g(x) = a and limx → 0 φ(x) = b. Then what is f'(x) equal to?
Answer and solution

Answer: (d) abf(x)

Method. first-principles derivative with f(x + h) = f(x)f(h)

f'(x) = limh → 0 f(x + h) − f(x)h = f(x) limh → 0 f(h) − 1h.
f(h) − 1 = h g(h) φ(h), so
f(h) − 1h = g(h) φ(h) → ab.
Hence f'(x) = ab f(x).

4. NDA 2018 (I)
If f(x) is an even function, where f(x) ≠ 0, then which one of the following is correct?
Answer and solution

Answer: (b) f'(x) is an odd function

Method. differentiate the identity f(-x) = f(x)

f even: f(-x) = f(x) for all x.
Differentiate both sides (chain rule on the left): -f'(-x) = f'(x).
So f'(-x) = -f'(x): f' is an odd function.

5. NDA 2017 (II)
If
l1 =
ddx (esin x)
l2 = limh → 0
esin(x + h) - esin xh
l3 = ∫ esin x cos x dx
then which one of the following is correct?
Answer and solution

Answer: (b) ddx (l3) = l2

Method. l1 and l2 are the same derivative; l3 is an antiderivative of it

l1 = ddx (esin x) = esin x cos x.
l2 is the first-principles definition of the same derivative, so l2 = esin x cos x = l1; (a) is false.
l3 = ∫ esin x cos x dx = esin x + C(put t = sin x); so l2 ≠ l3 and (d) is false.
ddx (l3) = esin x cos x = l2, so (b) holds.

6. NDA 2017 (I)
If F(x) = ⁠√(9⁠ −⁠ x2), then what is limx → 1 F(x) − F(1)x − 1 equal to?
Answer and solution

Answer: (c) -12⁠√2⁠

Method. the limit is the definition of F′(1)

The limit limx → 1 F(x) − F(1)x − 1 is F′(1).
F′(x) =
-2x2⁠√(9⁠ −⁠ x2) = -x⁠√(9⁠ −⁠ x2).
F′(1) = -
1⁠√8⁠ = -12⁠√2.⁠

7. NDA 2017 (I)
Let f(x + y) = f(x)f(y) for all x and y. Then what is f'(5) equal to [where f'(x) is the derivative of f(x)]?
Answer and solution

Answer: (a) f(5)f'(0)

Method. first-principles derivative using f(x + y) = f(x)f(y)

Put x = y = 0: f(0) = f(0)2, so f(0) = 1 (f(0) = 0 would force f(x) = f(x)f(0) = 0 for every x, the trivial function, for which the result below also holds).
f'(5) = limh → 0
f(5 + h) − f(5)h = limh → 0 f(5)f(h) − f(5)h = f(5) limh → 0 f(h) − f(0)h.
The last limit is f'(0), so f'(5) = f(5)f'(0).

21.2 Rules of differentiation: sum, product, quotient and chain

8. NDA 2026 (II)
If
f(x) = xn-1 + xn-2 + xn-3 + … + 1
then what is f'(2) equal to?
Answer and solution

Answer: (a) n2n-1 - 2n + 1

Method. sum the GP, then quotient rule

f(x) = xn - 1x − 1 (x ≠ 1).
f'(x) =
n xn-1(x − 1) − (xn - 1)(x − 1)2.
At x = 2: f'(2) =
n 2n-1 · 1 − (2n - 1)1 = n2n-1 - 2n + 1.
Check n = 2: f = x + 1, f'(2) = 1 = 4 − 4 + 1.

9. NDA 2026 (I)
If ∜y = x + ⁠√(x2⁠ + 4), then what is ⁠√(x2⁠ + 4) dydx equal to?
Answer and solution

Answer: (d) 4y

Method. chain rule; the inner derivative simplifies to the function over ⁠√(x2⁠ + 4)

y = (x + ⁠√(x2⁠ + 4))4.
ddx(x + ⁠√(x2⁠ + 4)) = 1 + x⁠√(x2⁠ + 4) = x + ⁠√(x2⁠ + 4)⁠√(x2⁠ + 4).
dydx = 4(x + ⁠√(x2⁠ + 4))3 · x + ⁠√(x2⁠ + 4)⁠√(x2⁠ + 4) = 4y⁠√(x2⁠ + 4).
So ⁠√(x2⁠ + 4)
dydx = 4y.

10. NDA 2024 (II)
Direction: Consider the following for the two (02) items that follow:
Let f: (-1, 1) → R be a differentiable function with f(0) = -1 and f'(0) = 1. Let h(x) = f(2f(x) + 2) and g(x) = (h(x))2.
What is h'(0) equal to?
Answer and solution

Answer: (d) 2

Method. chain rule for a composite function

h'(x) = f'(2f(x) + 2) · 2f'(x).
At x = 0: 2f(0) + 2 = 2(-1) + 2 = 0.
h'(0) = f'(0) · 2f'(0) = 1 · 2 · 1 = 2.

11. NDA 2024 (II)
What is g'(0) equal to?
Answer and solution

Answer: (a) -4

Method. chain rule for a square: g' = 2h h'

g'(x) = 2h(x) h'(x).
h(0) = f(2f(0) + 2) = f(0) = -1, and h'(0) = 2 (previous item: f'(0) · 2f'(0)).
g'(0) = 2(-1)(2) = -4.

12. NDA 2023 (II)
If f'(x) = cos (ln x) and y = f(2x − 3x), then what is dydx equal to?
Answer and solution

Answer: (c) 3x2 cos (ln (2x − 3x))

Method. chain rule with f' given

Let u = 2x − 3x = 2 − 3x, so dudx = 3x2.
dydx = f'(u) · dudx = cos (ln u) · 3x2
=
3x2 cos (ln (2x − 3x)).

13. NDA 2022 (II)
If y = x⁠√(x2⁠ - 16)2 − 8 ln|x + ⁠√(x2⁠ - 16)|, then what is dydx equal to?
Answer and solution

Answer: (c) ⁠√(x2⁠ - 16)

Method. differentiate term by term; recognise ∫⁠√(x2⁠ - a2) dx with a = 4

ddx[x⁠√(x2⁠ - 16)2] = ⁠√(x2⁠ - 16)2 + x22⁠√(x2⁠ - 16).
ddx[8 ln|x + ⁠√(x2⁠ - 16)|] = 8x + ⁠√(x2⁠ - 16)·(1 + x⁠√(x2⁠ - 16)) = 8⁠√(x2⁠ - 16).
dydx = ⁠√(x2⁠ - 16)2 + x2 - 162⁠√(x2⁠ - 16) = ⁠√(x2⁠ - 16)2 + ⁠√(x2⁠ - 16)2 = ⁠√(x2⁠ - 16).

Shortcut. y is the standard antiderivative x2⁠√(x2⁠ - a2) − a22 ln|x + ⁠√(x2⁠ - a2)| with a2 = 16, so y' = ⁠√(x2⁠ - 16).

14. NDA 2022 (II)
If y = ln2(x2 - x + 1x2 + x + 1), then what is dydx at x = 0 equal to?
Answer and solution

Answer: (b) 0

Method. chain rule; the inner logarithm vanishes at x = 0

Let u = x2 - x + 1x2 + x + 1; y = (ln u)2.
dydx = 2 ln u · 1u dudx.
At x = 0, u = 1 and ln u = 0, while
dudx is finite there.
So
dydx = 0 at x = 0.

15. NDA 2022 (II)
If ddx(1 + x4 + x81 − x2 + x4) = ax + bx3, then which one of the following is correct?
Answer and solution

Answer: (d) 2a = b

Method. factor 1 + x4 + x8 = (1 + x2 + x4)(1 − x2 + x4)

1 + x4 + x8 = (1 + x4)2 - x4 = (1 + x2 + x4)(1 − x2 + x4).
So
1 + x4 + x81 − x2 + x4 = 1 + x2 + x4.
ddx(1 + x2 + x4) = 2x + 4x3, so a = 2, b = 4.
Hence b = 2a, i.e. 2a = b.

16. NDA 2022 (I)
If the derivative of the function f(x) = mx + 2nx + 1 vanishes at x = 2, then what is the value of m + 8n?
Answer and solution

Answer: (d) Cannot be determined due to insufficient data

Method. set f'(2) = 0 and see what it fixes

f'(x) = -mx2 + 2n.
f'(2) = 0 gives -
m4 + 2n = 0, i.e. m = 8n.
Then m + 8n = 16n, which depends on n; the condition fixes only m − 8n = 0.
So m + 8n cannot be determined from the data.

17. NDA 2021 (II)
If
y = (1 + x)(1 + x2)(1 + x4)(1 + x8)(1 + x16)
then what is
dydx at x = 0 equal to?
Answer and solution

Answer: (b) 1

Method. collapse the product with (1 − x)(1 + x)(1 + x2)… = 1 − x32

Multiply and divide by (1 − x): y = 1 − x321 − x = 1 + x + x2 + … + x31 (x ≠ 1).
dydx = 1 + 2x + 3x2 + … + 31x30.
At x = 0:
dydx = 1.

Shortcut. Product rule at x = 0: every factor equals 1 there and only (1 + x) has non-zero derivative (1), so y'(0) = 1.

18. NDA 2021 (II)
Let f(x) be a polynomial function such that f ∘ f(x) = x4. What is f'(1) equal to?
Answer and solution

Answer: (c) 2

Method. find the polynomial f from degree comparison, then differentiate

If deg f = n, deg f(f(x)) = n2 = 4, so n = 2. Let f(x) = ax2 + bx + c.
Leading term of f(f(x)) is a·a2x4, so a3 = 1, a = 1.
The x3 term of (x2 + bx + c)2 is 2bx3 and nothing else gives x3, so b = 0.
Then f(f(x)) = (x2 + c)2 + c = x4 + 2cx2 + c2 + c, so c = 0 and f(x) = x2.
f'(x) = 2x, f'(1) = 2.

19. NDA 2021 (I)
What is the derivative of sin(ln x) + cos(ln x) with respect to x at x = e?
Answer and solution

Answer: (a) cos 1 − sin 1e

Method. chain rule with ln x inside

ddx[sin(ln x) + cos(ln x)] = cos(ln x)x − sin(ln x)x = cos(ln x) − sin(ln x)x.
At x = e, ln e = 1:
cos 1 − sin 1e.

20. NDA 2019 (II)
Directions for the following three (03) items:
Read the following information and answer the three items that follow:
A curve y = memx where m > 0 intersects y-axis at a point P.
What is the slope of the curve at the point of intersection P?
Answer and solution

Answer: (b) m2

Method. slope = dy/⁠dx at the y-intercept

On the y-axis x = 0, so P = (0, m e0) = (0, m).
dydx = m · m emx = m2 emx.
At x = 0: slope = m2.

21. NDA 2019 (II)
How much angle does the tangent at P make with y-axis?
Answer and solution

Answer: (c) sin-1(1⁠√(1⁠ + m4))

Method. angle with the y-axis is the complement of the inclination

Slope at P is m2 (previous item), so the tangent makes angle α = tan-1 m2 with the x-axis.
The angle with the y-axis is β =
π2 − α, so tan β = cot α = 1m2, with 0 < β < π2 since m > 0.
In a right triangle with opposite side 1 and adjacent side m2, hypotenuse = ⁠√(1⁠ + m4), so sin β =
1⁠√(1⁠ + m4).
β = sin-1 (
1⁠√(1⁠ + m4)).
((a) and (d) both equal α, the angle with the x-axis.)

22. NDA 2019 (II)
What is the equation of tangent to the curve at P?
Answer and solution

Answer: (d) y = m2x + m

Method. point-slope form of the tangent

P = (0, m) and slope at P = m2.
y − m = m2 (x − 0), i.e. y = m2x + m.

23. NDA 2019 (I)
If f(x) = sin (cos x), then f'(x) is equal to
Answer and solution

Answer: (d) (- sin x) cos (cos x)

Method. chain rule

f'(x) = cos (cos x) · ddx (cos x) = cos (cos x) · (-sin x).
So f'(x) = (- sin x) cos (cos x).

24. NDA 2018 (II)
If u = eax sin bx and v = eax cos bx, then what is u dudx + v dvdx equal to?
Answer and solution

Answer: (a) a e2ax

Method. u u' + v v' = (1/⁠2) d/⁠dx (u2 + v2)

u dudx + v dvdx = 12 ddx (u2 + v2).
u2 + v2 = e2ax (sin2 bx + cos2 bx) = e2ax.
12 ddx (e2ax) = 12 · 2a e2ax = a e2ax.

25. NDA 2018 (I)
What is the derivative of the function f(x) = etan x + ln (sec x) − eln x at x = π4?
Answer and solution

Answer: (c) 2e

Method. simplify eln x = x, then differentiate term by term

eln x = x (x > 0), so f(x) = etan x + ln (sec x) − x.
f'(x) = etan x sec2 x +
sec x tan xsec x − 1 = etan x sec2 x + tan x − 1.
At x =
π4: tan x = 1, sec2 x = 2, so f'(π4) = 2e + 1 − 1 = 2e.

26. NDA 2018 (I)
If y = ex2 sin 2x, then what is dydx at x = π equal to?
Answer and solution

Answer: (c) 2eπ2

Method. product rule with chain rule

dydx = 2x ex2 sin 2x + 2 ex2 cos 2x.
At x = π: sin 2π = 0, cos 2π = 1.
dydx = 0 + 2 eπ2 = 2eπ2.

27. NDA 2017 (I)
What is the derivative of log10 (5x2 + 3) with respect to x?
Answer and solution

Answer: (c) 10x log10 e5x2 + 3

Method. change of base, then chain rule

log10 (5x2 + 3) = ln (5x2 + 3)ln 10 = log10 e · ln (5x2 + 3).
ddx = log10 e · 10x5x2 + 3 = 10x log10 e5x2 + 3.
(Option (d) has loge 10 =
1log10 e, the reciprocal factor.)

21.3 Trigonometric and inverse trigonometric functions

28. NDA 2023 (I)
What is the derivative of cosec(x°)?
Answer and solution

Answer: (b) -π180 cosec (x°) cot (x°)

Method. convert degrees to radians, then chain rule

x° = πx180 radians, so cosec(x°) = cosec(πx180).
ddx cosec(πx180) = -cosec(πx180) cot(πx180) · π180
= -
π180 cosec(x°) cot(x°).

29. NDA 2021 (II)
What is the slope of the tangent of y = cos-1 (cos x) at x = -π4?
Answer and solution

Answer: (a) -1

Method. cos-1(cos x) = -x for -π ≤ x ≤ 0

Principal value of cos-1 lies in [0, π]. For -π ≤ x ≤ 0, -x ∈ [0, π] and cos(-x) = cos x.
So y = cos-1(cos x) = -x near x = -
π4.
Slope =
dydx = -1.

30. NDA 2019 (I)
What is the derivative of sec2 (tan-1 x) with respect to x?
Answer and solution

Answer: (a) 2x

Method. simplify with sec2 θ = 1 + tan2 θ before differentiating

Let θ = tan-1 x, so tan θ = x.
sec2 (tan-1 x) = 1 + tan2 θ = 1 + x2.
ddx (1 + x2) = 2x.

31. NDA 2018 (II)
Let the slope of the curve y = cos-1 (sin x) be tan θ. Then the value of θ in the interval (0, π) is
Answer and solution

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

Method. derivative of cos-1(sin x); its sign depends on the sign of cos x

y = cos-1 (sin x), dydx = -cos x⁠√(1⁠ −⁠ sin2 x) = -cos x|cos x|.
For -
π2 < x < π2 (cos x > 0): slope = -1, tan θ = -1, θ = 3π4.
For
π2 < x < 3π2 (cos x < 0): slope = +1, tan θ = 1, θ = π4.
The question names no x, so both
3π4 (b) and π4 (c) occur.

The slope of y = cos-1(sin x) is -cos x/⁠|cos x|, i.e. -1 where cos x > 0 and +1 where cos x < 0, so with no point specified both (b) 3π/⁠4 and (c) π/⁠4 are correct; the evident intended reading (x in the principal interval -π/⁠2 < x < π/⁠2, where y = π/⁠2 − x) gives (b).

32. NDA 2018 (II)
If y = tan-1 (5 − 2 tan ⁠√x2⁠ + 5 tan ⁠√x),⁠ then what is dydx equal to?
Answer and solution

Answer: (a) -12⁠√x⁠

Method. write the fraction as tan(α - ⁠√x)⁠ with tan α = 5/⁠2

Divide numerator and denominator by 2: 5 − 2 tan ⁠√x2⁠ + 5 tan ⁠√x⁠ = 52 − tan ⁠√x1⁠ + 52 tan ⁠√x.⁠
With tan α =
52, this is tan α − tan ⁠√x1⁠ + tan α tan ⁠√x⁠ = tan (α - ⁠√x).⁠
So y = α - ⁠√x⁠ (up to an added constant multiple of π), with α constant.
dydx = -12⁠√x.⁠

33. NDA 2017 (II)
If y = sec-1 (x + 1x − 1) + sin-1 (x − 1x + 1), then dydx is equal to
Answer and solution

Answer: (a) 0

Method. sec-1 t = cos-1(1/⁠t), then sin-1 u + cos-1 u = π/⁠2

sec-1 (x + 1x − 1) = cos-1 (x − 1x + 1).
So … =
π2 wherever both terms are defined (x ≥ 0, x ≠ 1)..
y is constant, so
dydx = 0.

34. NDA 2017 (II)
If y = cos-1 (2x1 + x2), then dydx is equal to
Answer and solution

Answer: (a) -21 + x2 for all |x| < 1

Method. substitute x = tan θ and use the principal-value range of sin-1

Put x = tan θ, θ ∈ (-π2, π2): 2x1 + x2 = sin 2θ.
y = cos-1 (sin 2θ) =
π2 − sin-1 (sin 2θ).
For |x| < 1, 2θ ∈ (-
π2, π2), so sin-1 (sin 2θ) = 2θ and y = π2 − 2 tan-1 x.
Hence
dydx = -21 + x2 for |x| < 1.
(For |x| > 1, sin-1 (sin 2θ) = ±π − 2θ, giving +
21 + x2; so (b) is false.)

21.4 Implicit and logarithmic differentiation

35. NDA 2026 (I)
For the next two (02) items that follow:
Let (ey)x - y = 0, where y is a function of x whose domain is (0, 10].
What is dydx equal to?
Answer and solution

Answer: (c) y21 − xy

Method. take logs, then implicit differentiation

(ey)x = exy = y, so xy = ln y.
Differentiate: y + x
dydx = 1ydydx.
dydx(1y − x) = y, so dydx = y1 − xyy = y21 − xy.

The stated domain (0, 10] is not attainable: since x = ln y / y, real y exists only for 0 < x ≤ 1/⁠e; the formula holds wherever the curve exists.

36. NDA 2026 (I)
What is dydx equal to, given that y = y0 when x = 1?
Answer and solution

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

Method. previous result evaluated at x = 1, using ey0 = y0

At x = 1 the relation reads ey0 = y0.
But ey > y for every real y (ey - y has minimum value 1 at y = 0), so no real y0 exists and the derivative at x = 1 is undefined.
Intended working: from the previous item,
dydx = y021 − y0; replacing y0 by ey0 in one factor and in the denominator gives y0 ey01 − ey0.

Defective as printed: at x = 1 the relation exy = y needs ey0 = y0, which no real y0 satisfies (ey - y ≥ 1 for all real y; indeed x = ln y / y never exceeds 1/⁠e), so the curve has no point with x = 1. Substituting ey0 = y0 formally into y02/⁠(1 − y0) gives option (d).

37. NDA 2025 (I)
Consider the following for the two (02) items that follow:
Let (x + y)p+q = xp yq, where p, q are positive integers.
The derivative of y with respect to x
Answer and solution

Answer: (d) is independent of both p and q

Method. logarithmic differentiation of an implicit relation

Take logs of the moduli: (p + q) ln|x + y| = p ln|x| + q ln|y| (the derivative of ln|u| is u'/⁠u, so the rest of the working is unchanged).
Differentiate:
(p + q)(1 + y')x + y = px + qy y'.
Collect terms:
p + qx + y − px = y'(qy − p + qx + y), i.e. qx − pyx(x + y) = y' · qx − pyy(x + y).
Hence
dydx = yx, which contains neither p nor q.

Shortcut. Both sides are homogeneous of degree p + q, so the relation forces y/⁠x to be constant; then dydx = yx.

38. NDA 2025 (I)
If p + q = 10, then what is dydx equal to?
Answer and solution

Answer: (a) yx

Method. result of the previous item

From the previous item, dydx = yx for every positive p, q.
In particular, with p + q = 10,
dydx = yx.

39. NDA 2022 (II)
If y = (xx)x, then which one of the following is correct?
Answer and solution

Answer: (b) dydx − xy(1 + 2ln x) = 0

Method. (xx)x = xx2; logarithmic differentiation

y = xx2, so ln y = x2 ln x.
1y dydx = 2x ln x + x = x(1 + 2 ln x).
dydx = xy(1 + 2 ln x), i.e. dydx − xy(1 + 2 ln x) = 0.

40. NDA 2022 (I)
If xyyx = 1, then what is dydx at (1, 1) equal to?
Answer and solution

Answer: (a) -1

Method. take logs, differentiate implicitly, substitute (1, 1)

Take ln: y ln x + x ln y = 0.
Differentiate:
dydx ln x + yx + ln y + xy dydx = 0.
At (1, 1): ln 1 = 0, so 0 + 1 + 0 +
dydx = 0.
dydx = -1.

41. NDA 2022 (I)
If y = (xx)x, then what is the value of dydx at x = 1?
Answer and solution

Answer: (b) 1

Method. (xx)x = xx2; logarithmic differentiation

y = xx2, so ln y = x2 ln x.
1y dydx = 2x ln x + x2·1x = x(1 + 2 ln x).
At x = 1: y = 1, so
dydx = 1.1·(1 + 0) = 1.

42. NDA 2021 (II)
If y = cos x · cos 4x · cos 8x, then what is 1y dydx at x = π4 equal to?
Answer and solution

Answer: (a) -1

Method. logarithmic differentiation of a product

ln y = ln cos x + ln cos 4x + ln cos 8x (at x = π4, y = 1⁠√2·(-1)·1⁠ ≠ 0).
1y dydx = -tan x − 4 tan 4x − 8 tan 8x.
At x =
π4: tan π4 = 1, tan π = 0, tan 2π = 0.
1y dydx = -1 − 0 − 0 = -1.

43. NDA 2020 (I)
If eθφ = c + 4θφ, where c is an arbitrary constant and φ is a function of θ, then what is φ dθ equal to?
Answer and solution

Answer: (b) - θ dφ

Method. differentiate the relation in u = θφ; u must be constant

Write u = θφ, so eu - 4u = c.
The function eu - 4u takes the value c only at isolated points, so u = θφ is a constant.
Hence d(θφ) = φ dθ + θ dφ = 0 (equivalently, differentiating gives (eu - 4) du = 0).
So φ dθ = - θ dφ.

44. NDA 2020 (I)
If xmyn = am+n, then what is dydx equal to?
Answer and solution

Answer: (b) -mynx

Method. logarithmic differentiation

Take ln: m ln x + n ln y = (m + n) ln a.
Differentiate:
mx + ny dydx = 0.
dydx = -mynx.

45. NDA 2019 (II)
Directions for the following two (02) items:
Read the following information and answer the two items that follow:
Consider the equation xy = ex-y
What is dydx at x = 1 equal to?
Answer and solution

Answer: (a) 0

Method. take logs and make y explicit, then the quotient rule

Take ln of both sides: y ln x = x − y, so y(1 + ln x) = x and y = x1 + ln x.
dydx = (1 + ln x)·1 − x·1x(1 + ln x)2 = ln x(1 + ln x)2.
At x = 1: ln 1 = 0, so
dydx = 01 = 0.

46. NDA 2019 (II)
What is d2ydx2 at x = 1 equal to?
Answer and solution

Answer: (b) 1

Method. differentiate y' = ln x (1 + ln x)-2 once more

From the previous item, dydx = ln x · (1 + ln x)-2.
d2ydx2 = 1x(1 + ln x)-2 + ln x · (-2)(1 + ln x)-3 · 1x.
At x = 1, ln 1 = 0:
d2ydx2 = 1 · 1 + 0 = 1.

47. NDA 2018 (II)
If y = |sin x||x|, then what is the value of dydx at x = -π6?
Answer and solution

Answer: (a) 2-π6 (6 ln 2 - ⁠√3π)6⁠

Method. remove the moduli near x = -π/⁠6, then logarithmic differentiation

Near x = -π6: x < 0 and sin x < 0, so |x| = -x and |sin x| = -sin x; y = (-sin x)-x.
ln y = -x ln (-sin x).
1y dydx = -ln (-sin x) − x · -cos x-sin x = -ln (-sin x) − x cot x.
At x = -
π6: -sin x = 12, so -ln 12 = ln 2; cot (-π6) = -⁠√3,⁠ so -x cot x = -π6 · ⁠√3⁠ = -⁠√3π6.⁠
1y dydx = ln 2 − ⁠√3π6⁠ = 6 ln 2 - ⁠√3π6.⁠
y = (
12)π/⁠6 = 2-π6, so dydx = 2-π6 (6 ln 2 - ⁠√3π)6.⁠

48. NDA 2017 (II)
If y = (cos x)(cos x)(cos x)⋯∞, then dydx is equal to
Answer and solution

Answer: (a) -y2 tan x1 − y ln(cos x)

Method. infinite power tower: y = (cos x)y, then logarithmic differentiation

The tower repeats itself, so y = (cos x)y.
ln y = y ln(cos x).
Differentiate:
1y dydx = dydx ln(cos x) + y · -sin xcos x = dydx ln(cos x) − y tan x.
Multiply by y:
dydx (1 − y ln(cos x)) = -y2 tan x.
dydx = -y2 tan x1 − y ln(cos x).

21.5 Parametric forms and the derivative of one function with respect to another

49. NDA 2025 (I)
Consider the following for the two (02) items that follow:
Let x = sec θ − cos θ and y = sec4 θ − cos4 θ.
What is (dydx)2 equal to?
Answer and solution

Answer: (c) 16(y2 + 4)(x2 + 4)

Method. parametric differentiation, then express in x and y

dxdθ = sec θ tan θ + sin θ = tan θ (sec θ + cos θ).
dydθ = 4sec4 θ tan θ + 4cos3 θ sin θ = 4tan θ (sec4 θ + cos4 θ).
dydx = 4(sec4 θ + cos4 θ)sec θ + cos θ.
Since sec θ cos θ = 1: (sec θ + cos θ)2 = (sec θ − cos θ)2 + 4 = x2 + 4, and (sec4 θ + cos4 θ)2 = (sec4 θ − cos4 θ)2 + 4 = y2 + 4.
(
dydx)2 = 16(y2 + 4)(x2 + 4).

50. NDA 2025 (I)
What is (x2 + 4y2 + 4) dydx [(x2 + 4) d2ydx2 − 16y] equal to?
Answer and solution

Answer: (c) -16x

Method. differentiate the relation from the previous item implicitly

From the previous item: (x2 + 4)(dydx)2 = 16(y2 + 4).
Differentiate in x: 2x(
dydx)2 + 2(x2 + 4)dydxd2ydx2 = 32ydydx.
Divide by 2
dydx: (x2 + 4)d2ydx2 − 16y = -xdydx.
So the expression = (
x2 + 4y2 + 4) dydx (-xdydx) = -x · (x2 + 4)(dydx)2y2 + 4 = -x · 16 = -16x.

51. NDA 2023 (I)
What is the derivative of sin2x with respect to cos2x?
Answer and solution

Answer: (a) -1

Method. derivative of one function with respect to another: (du/⁠dx) ÷ (dv/⁠dx)

Let u = sin2x and v = cos2x.
dudx = 2 sin x cos x, dvdx = -2 cos x sin x.
dudv = 2 sin x cos x-2 sin x cos x = -1.

Shortcut. u = 1 − v, so dudv = -1 at once.

52. NDA 2021 (II)
What is the derivative of eex with respect to ex?
Answer and solution

Answer: (a) eex

Method. substitute u = ex

Let u = ex; the function is eu.
d(eu)du = eu = eex.

53. NDA 2021 (I)
If x = et cos t and y = et sin t, then what is dxdy at t = 0 equal to?
Answer and solution

Answer: (b) 1

Method. parametric differentiation: dxdy = dx/⁠dtdy/⁠dt

dxdt = et(cos t − sin t), dydt = et(sin t + cos t).
dxdy = cos t − sin tsin t + cos t.
At t = 0:
1 − 00 + 1 = 1.

54. NDA 2021 (I)
What is the derivative of ex with respect to xe?
Answer and solution

Answer: (a) xexexe

Method. derivative of u with respect to v = du/⁠dxdv/⁠dx

ddx ex = ex; ddx xe = e xe − 1 (power rule, e is a constant).
d(ex)d(xe) = exe xe − 1 = x exe xe.

55. NDA 2020 (I)
What is the derivative of tan-1 x with respect to cot-1 x?
Answer and solution

Answer: (a) -1

Method. tan-1 x + cot-1 x = π2

Let u = tan-1 x and v = cot-1 x. Then u + v = π2, so u = π2 − v.
dudv = -1.

Shortcut. dudx ÷ dvdx = 11 + x2 ÷ (-11 + x2) = -1.

56. NDA 2019 (II)
What is the derivative of 2(sin x)2 with respect to sin x?
Answer and solution

Answer: (a) sin x 2(sin x)2 ln 4

Method. substitute t = sin x and differentiate au by the chain rule

Let t = sin x; the function is 2t2.
ddt 2t2 = 2t2 ln 2 · 2t = t · 2t2 · 2 ln 2 = t · 2t2 ln 4.
Putting t = sin x: sin x · 2(sin x)2 ln 4.

21.6 Modulus, piecewise and greatest-integer functions: differentiability at a point

57. NDA 2026 (II)
Consider the following statements:
I.
ddx ln|x| = -1x if x < 0
II.
ddx ln|x| = 1x if x > 0
Which of the statements given above is/⁠are correct?
Answer and solution

Answer: (b) II only

Method. derivative of ln|x| is 1/⁠x on both sides of 0

For x > 0: ln|x| = ln x, derivative 1x. So II is correct.
For x < 0: ln|x| = ln(-x), derivative
1-x · (-1) = 1x, not -1x. So I is wrong.

58. NDA 2026 (II)
If y = |sin(π4 − x)|, then what is dydx at x = π4 equal to?
Answer and solution

Answer: (d) It does not exist

Method. the modulus of a function that changes sign with non-zero slope has a corner

At x = π4, sin(π4 − x) = 0 and it changes sign there.
For x slightly less than
π4: y = sin(π4 − x), y' = -cos(π4 − x) → -1.
For x slightly more than
π4: y = -sin(π4 − x), y' = cos(π4 − x) → 1.
Left derivative -1 ≠ right derivative 1, so
dydx does not exist at x = π4.

59. NDA 2026 (I)
What is the derivative of x|x| with respect to x, where x < 0?
Answer and solution

Answer: (b) 0

Method. simplify the modulus before differentiating

For x < 0, |x| = -x, so x|x| = x-x = -1.
The derivative of the constant -1 is 0.

60. NDA 2025 (II)
For the following two (02) items:
Let the function f(x) = |x − 3| + |x − 4| be defined on the interval [0, 5].
What is dydx at x = 3.5 equal to?
Answer and solution

Answer: (a) 0

Method. open the modulus on the interval containing the point (y = f(x))

For 3 < x < 4: |x − 3| = x − 3 and |x − 4| = 4 − x.
So f(x) = (x − 3) + (4 − x) = 1 on (3, 4).
x = 3.5 lies in (3, 4), so
dydx = 0 there.

61. NDA 2025 (II)
Consider the following statements:
I. The function is differentiable at x = 3.
II. The function is differentiable at x = 4.
Which of the statements given above is/⁠are correct?
Answer and solution

Answer: (d) Neither I nor II

Method. compare left and right derivatives at the corners

On [0, 3): f(x) = (3 − x) + (4 − x) = 7 − 2x, slope -2.
On (3, 4): f(x) = 1, slope 0.
On (4, 5]: f(x) = (x − 3) + (x − 4) = 2x − 7, slope 2.
At x = 3: Lf' = -2 ≠ Rf' = 0; at x = 4: Lf' = 0 ≠ Rf' = 2.
Not differentiable at either point, so neither I nor II.

62. NDA 2023 (II)
If f(x) = |ln|x|| where 0 < x < 1, then what is f'(0.5) equal to?
Answer and solution

Answer: (a) -2

Method. remove the modulus signs using the sign of ln x on (0, 1)

For 0 < x < 1: |x| = x and ln x < 0, so f(x) = |ln x| = -ln x.
f'(x) = -
1x.
f'(0.5) = -
10.5 = -2.

63. NDA 2023 (I)
Consider the following for the next three (03) items that follow:
Let f(x) = |lnx|, x ≠ 1
What is the derivative of f(x) at x = 0.5?
Answer and solution

Answer: (a) -2

Method. remove the modulus by the sign of ln x

At x = 0.5, ln x < 0, so near this point f(x) = -ln x.
f'(x) = -
1x; f'(0.5) = -10.5 = -2.

64. NDA 2023 (I)
What is the derivative of f(x) at x = 2?
Answer and solution

Answer: (c) 12

Method. remove the modulus by the sign of ln x

At x = 2, ln x > 0, so near this point f(x) = ln x.
f'(x) =
1x; f'(2) = 12.

65. NDA 2023 (I)
What is the derivative of f∘f(x), where 1 < x < 2?
Answer and solution

Answer: (d) -1x lnx

Method. f∘f(x) = |ln(ln x)| with 0 < ln x < 1 on (1, 2)

For 1 < x < 2: ln x > 0, so f(x) = ln x, and 0 < ln x < ln 2 < 1.
f(f(x)) = |ln(ln x)|, and ln(ln x) < 0 because ln x < 1, so f(f(x)) = -ln(ln x).
ddx[-ln(ln x)] = -1ln x·1x = -1x ln x.

66. NDA 2022 (I)
Let y = [x + 1], -4 < x < -3 where [.] is the greatest integer function. What is the derivative of y with respect to x at x = -3.5?
Answer and solution

Answer: (d) 0

Method. greatest integer function is constant on the interval

For -4 < x < -3, x + 1 lies in (-3, -2), so y = [x + 1] = -3 throughout.
y is constant on the interval, so
dydx = 0 at x = -3.5.

67. NDA 2018 (II)
What is d⁠√(1⁠ −⁠ sin 2x)dx equal to, where π4 < x < π2?
Answer and solution

Answer: (a) cos x + sin x

Method. write 1 − sin 2x as a perfect square and fix the sign on the interval

1 − sin 2x = sin2 x + cos2 x − 2 sin x cos x = (sin x − cos x)2.
⁠√(1⁠ −⁠ sin 2x) = |sin x − cos x|.
For
π4 < x < π2, sin x > cos x, so ⁠√(1⁠ −⁠ sin 2x) = sin x − cos x.
ddx (sin x − cos x) = cos x + sin x.

68. NDA 2017 (II)
A function is defined in (0, ∞) by
f(x) = {1 − x2 for 0 < x ≤ 1; ln x for 1 < x ≤ 2; ln 2 − 1 + 0.5x for 2 < x < ∞}
Which one of the following is correct in respect of the derivative of the function, i.e., f'(x)?
Answer and solution

Answer: (c) f'(x) = - 2x for 0 < x < 1

Method. differentiate piece by piece and test the joining point x = 1

On 0 < x < 1: f(x) = 1 − x2, so f'(x) = -2x; (a) is wrong in sign.
At x = 1: left derivative = -2(1) = -2; right derivative from ln x is
11 = 1.
They differ, so f'(1) does not exist and (b), which includes x = 1, is wrong.
(d) is wrong since f' is not zero (e.g. -2x on (0, 1)).
Hence f'(x) = -2x for 0 < x < 1.

21.7 Higher-order derivatives and differential relations

69. NDA 2026 (I)
Let f(x) =  3x2 cos x -sin x 6 -1 0 q q2 q3 
where q is any constant, then what is
d2dx2 (f(x)) at x = 0 equal to?
Answer and solution

Answer: (b) 0

Method. differentiate a determinant row-wise (only row 1 depends on x)

Only the first row contains x, so d2fdx2 =  6 -cos x sin x 6 -1 0 q q2 q3 .
At x = 0 the first row is (6, -1, 0), identical to the second row.
A determinant with two equal rows is 0, so f''(0) = 0.
(Check by expansion: f(x) = -3q3x2 - 6q3 cos x − (6q2 + q) sin x, f''(0) = -6q3 + 6q3 = 0.)

70. NDA 2022 (II)
Let f(x) be a function such that f'(x) = g(x) and f''(x) = -f(x). Let h(x) = {f(x)}2 + {g(x)}2. Then consider the following statements:
1. h'(3) = 0
2. h(1) = h(2)
Which of the statements given above is/⁠are correct?
Answer and solution

Answer: (c) Both 1 and 2

Method. show h'(x) = 0 for all x, so h is constant

h'(x) = 2f(x)f'(x) + 2g(x)g'(x).
f'(x) = g(x) and g'(x) = f''(x) = -f(x).
h'(x) = 2f(x)g(x) − 2g(x)f(x) = 0 for every x.
So h'(3) = 0 (statement 1 true) and h is constant, giving h(1) = h(2) (statement 2 true).

71. NDA 2019 (I)
If y = a cos 2x + b sin 2x, then
Answer and solution

Answer: (d) d2ydx2 + 4y = 0

Method. differentiate twice and compare with y

dydx = -2a sin 2x + 2b cos 2x.
d2ydx2 = -4a cos 2x − 4b sin 2x = -4y.
So
d2ydx2 + 4y = 0.

72. NDA 2018 (II)
If y = sin (ln x), then which one of the following is correct?
Answer and solution

Answer: (c) x2 d2ydx2 + x dydx + y = 0

Method. differentiate twice, clearing the 1/⁠x factor first

dydx = cos (ln x)x, so x dydx = cos (ln x).
Differentiate again:
dydx + x d2ydx2 = -sin (ln x)x = -yx.
Multiply by x: x2
d2ydx2 + x dydx + y = 0.

73. NDA 2017 (I)
What is d2xdy2 equal to?
Answer and solution

Answer: (c) -(d2ydx2) (dydx)-3

Method. derivative of the inverse function, differentiated a second time

dxdy = (dydx)-1.
d2xdy2 = ddx[(dydx)-1] · dxdy = -(dydx)-2 d2ydx2 · (dydx)-1.
So
d2xdy2 = -(d2ydx2) (dydx)-3.

Take a free NDA paperBrowse exam prep

← Limits, Continuity and DifferentiabilityApplications of Derivatives →