📘 Calculus · Chapter MN12🎯 NDA Level : High Priority
Differentiation is the process of finding the rate at which a function changes. It is the operational core of calculus — every question on tangents, rates, maxima, and minima builds on derivatives. For NDA, this chapter is high-yield: questions are direct, formula-driven, and reward systematic application of the differentiation rules.
📌 What to expect in NDA (based on 2022–2024 papers): (1) Finding dy/dx for standard functions (xn, sin x, ex, ln x) directly; (2) Applying product rule to products like x² sin x or ex ln x; (3) Quotient rule for fractions like sin x / x or (x²+1)/(x−1); (4) Chain rule for composite functions like sin(x²), esin x, ln(cos x); (5) Implicit differentiation when y is not isolated (x² + y² = r² type); (6) Parametric differentiation when x = f(t) and y = g(t); (7) Logarithmic differentiation for xx or y = (sin x)cos x; (8) Second derivative d²y/dx² — finding it from dy/dx.
Topics at a Glance
① First Principles
Limit definition, slope of tangent
② Standard Derivatives
xn, sin x, cos x, ex, ln x, ax
③ Differentiation Rules
Sum, product, quotient, chain
④ Implicit Differentiation
Differentiate both sides w.r.t. x
⑤ Parametric & Log Diff.
dy/dx = (dy/dt)/(dx/dt); log both sides
⑥ Higher-Order Derivatives
d²y/dx², finding nth derivative
1. Derivative by First Principles
1.1
The Fundamental Definition of a Derivative
The derivative is the slope of the tangent — found as the limit of a difference quotient
The derivative of f(x) at x = a is the instantaneous rate of change — geometrically, the slope of the tangent line to the curve at that point. It is defined as a limit.
⚡ Derivative — First Principles Definition
f′(x) = lim[h→0] [f(x + h) − f(x)] / h (standard form)
Also written as:
dy/dx = lim[δx→0] δy / δx = lim [f(x+δx) − f(x)] / δx
Equivalent notations for the derivative:
f′(x) = dy/dx = y′ = D[f(x)] = (d/dx) f(x)
Geometric meaning:
f′(a) = slope of tangent to y = f(x) at the point (a, f(a))
Positive f′(a) → function is increasing at x = a
Negative f′(a) → function is decreasing at x = a
f′(a) = 0 → possible maximum, minimum, or inflection point
For NDA, first principles is mostly tested for simple functions (x², x³, sin x) to derive the formula, not to evaluate complex derivatives. Know the definition and how to apply it for 2–3 step problems.
Fig 1: As h → 0, Q approaches P and the secant PQ becomes the tangent at P. The slope of the tangent = f′(x) = dy/dx.
Worked Example — Derivative of x² from First Principles
Four rules that let you differentiate any combination of standard functions
➕ Sum / Difference Rule
d/dx [f ± g] = f′ ± g′
d/dx[x² + sin x] = 2x + cos x
✖ Product Rule (uv)
d/dx[uv] = u′v + uv′
d/dx[x² sin x] = 2x sin x + x² cos x
÷ Quotient Rule (u/v)
d/dx[u/v] = (u′v − uv′) / v²
d/dx[sin x / x] = (x cos x − sin x) / x²
🔗 Chain Rule (composite)
d/dx[f(g(x))] = f′(g(x)) ⋅ g′(x)
d/dx[sin(x²)] = cos(x²) ⋅ 2x
⚡ Rules Expanded — Careful Form
PRODUCT RULE:
If y = u ⋅ v where u, v are functions of x:
dy/dx = u (dv/dx) + v (du/dx)
Memory: "first times derivative of second, plus second times derivative of first"
QUOTIENT RULE:
If y = u/v:
dy/dx = [v(du/dx) − u(dv/dx)] / v²
Memory: "bottom times d(top) minus top times d(bottom), all over bottom squared"
Note: denominator is v² (NOT v), numerator sign is MINUS (NOT plus)
CHAIN RULE — Step by Step:
Step 1: Identify outer function f and inner function g(x)
Step 2: Differentiate outer f, keeping inner unchanged
Step 3: Multiply by derivative of inner g′(x)
Example: y = (3x²+1)&sup5;
Outer: u&sup5; where u = 3x²+1
dy/dx = 5(3x²+1)⁴ ⋅ 6x = 30x(3x²+1)⁴
Chain rule is by far the most tested rule in NDA. Any function of a function — sin(x²), e3x, ln(cos x), (x²+1)&sup5; — requires the chain rule. Always write outer derivative first, then multiply by inner derivative.
Worked Example — Product Rule
Find dy/dx if y = x² ln x.
u = x², u′ = 2x. v = ln x, v′ = 1/x.
dy/dx = u′v + uv′ = 2x ⋅ ln x + x² ⋅ (1/x) = 2x ln x + x = x(2 ln x + 1).
Answer: (a) 1/(1+sec x)
u=tan x, u′=sec²x; v=1+sec x, v′=sec x tan x.
dy/dx = [sec²x(1+sec x) − tan x ⋅ sec x tan x] / (1+sec x)²
= [sec²x + sec³x − sec x tan²x] / (1+sec x)².
Using tan²x = sec²x−1: numerator = sec²x + sec x(sec²x−(sec²x−1)) = sec²x + sec x = sec x(sec x+1).
dy/dx = sec x(1+sec x)/(1+sec x)² = sec x/(1+sec x). Option (b).
Q7. d/dx [ln(sin x)] = ?
(a) cos x / sin x (b) 1/sin x (c) cot x (d) −cot x
Answer: (c) cot x
Chain rule: outer = ln(u), inner u = sin x.
d/dx = (1/sin x) ⋅ cos x = cos x/sin x = cot x.
🔥 TRICKY QUESTIONS
Rules — Nested Chain & Mixed Rules
🤯 T1. Find d/dx[ln(sin(ex))].
Three-layer chain rule: outer = ln(u), middle = sin(v), inner = ex.
d/dx = (1/sin(ex)) ⋅ cos(ex) ⋅ ex
= ex cos(ex) / sin(ex) = ex cot(ex). Strategy: Work layer by layer from outside in. Each time, multiply by the derivative of the next inner layer.
🤯 T2. If y = x sin x cos x, find dy/dx.
First rewrite: y = x ⋅ (sin x cos x) = (x/2) sin(2x) using sin(2x) = 2 sin x cos x.
dy/dx = (1/2)[sin(2x) + x ⋅ 2cos(2x)] = (1/2)[sin 2x + 2x cos 2x]
= (sin 2x)/2 + x cos 2x.
Alternatively by product rule twice: y = x ⋅ u where u = sin x cos x. u′ = cos²x − sin²x = cos 2x.
dy/dx = sin x cos x + x cos 2x = (sin 2x)/2 + x cos 2x. Same answer ✓.
4. Implicit Differentiation
4.1
Differentiating When y Cannot Be Isolated
Differentiate every term w.r.t. x; treat y as a function of x using the chain rule
When a curve is given in implicit form F(x, y) = 0, we cannot write y explicitly as f(x). Instead, differentiate both sides of the equation with respect to x, applying the chain rule to every term involving y.
⚡ Implicit Differentiation — Method
Key rule: d/dx[yⁿ] = n y^(n-1) ⋅ dy/dx (chain rule applied to y)
General procedure:
Step 1: Differentiate every term of F(x, y) = 0 with respect to x.
Step 2: For any term with y:
• d/dx (y) = dy/dx
• d/dx (y²) = 2y ⋅ dy/dx
• d/dx (y³) = 3y² ⋅ dy/dx
• d/dx (sin y) = cos y ⋅ dy/dx
• d/dx (xy) = x ⋅ dy/dx + y [product rule + chain]
Step 3: Collect all terms with dy/dx on one side.
Step 4: Factor out dy/dx and solve.
The only difference from explicit differentiation is that y-terms always carry a factor of dy/dx from the chain rule. Collect and solve algebraically at the end.
Worked Example — Circle x² + y² = r²
Find dy/dx for x² + y² = r².
Differentiate both sides w.r.t. x:
2x + 2y ⋅ dy/dx = 0.
2y ⋅ dy/dx = −2x.
dy/dx = −x/y. (Geometric: slope of tangent to circle = −x/y.)
Worked Example — Mixed Implicit
Find dy/dx if x² + xy + y² = 7.
Differentiate: 2x + (y + x⋅dy/dx) + 2y⋅dy/dx = 0.
2x + y + dy/dx(x + 2y) = 0.
dy/dx = −(2x + y) / (x + 2y).
📝 TOPIC-WISE PYQ
Implicit Differentiation — NDA-Pattern Questions
Q8. If x² + y² = 25, find dy/dx at (3, 4).
(a) −3/4 (b) 3/4 (c) −4/3 (d) 4/3
Answer: (a) −3/4
From implicit differentiation: dy/dx = −x/y.
At (3, 4): dy/dx = −3/4 = −3/4.
🤯 T3. If y = √(x + √(x + √x ...)) (infinite nested radical), find dy/dx.
Since the radical repeats infinitely: y = √(x + y). (The pattern repeats, so y appears inside itself.)
Squaring: y² = x + y.
Implicit differentiation: 2y⋅dy/dx = 1 + dy/dx.
dy/dx(2y − 1) = 1.
dy/dx = 1/(2y − 1). Key insight: Recognise the infinite nested pattern and express y in terms of itself. This is a classic trick that appears in NDA and competitive exams.
5. Parametric & Logarithmic Differentiation
5.1
Parametric Differentiation — dy/dx via a Parameter t
When x = f(t) and y = g(t), divide dy/dt by dx/dt
⚡ Parametric Differentiation Formula
If x = f(t) and y = g(t), then:
dy/dx = (dy/dt) / (dx/dt) provided dx/dt ≠ 0
Steps:
1. Find dy/dt (differentiate y w.r.t. t)
2. Find dx/dt (differentiate x w.r.t. t)
3. Divide: dy/dx = (dy/dt) ÷ (dx/dt)
Standard parametric pairs:
Circle: x = r cos t, y = r sin t → dy/dx = −sin t / cos t = −tan t
Parabola: x = at², y = 2at → dy/dx = 2a / 2at = 1/t
Ellipse: x = a cos t, y = b sin t → dy/dx = −b cos t / (a sin t)
Parametric is tested in NDA typically with the cycloid or circle. The formula dy/dx = (dy/dt)/(dx/dt) is a direct division of two ordinary derivatives — simple to apply once both dt derivatives are found.
Worked Example — Parametric
x = a(t − sin t), y = a(1 − cos t). Find dy/dx.
dx/dt = a(1 − cos t). dy/dt = a sin t.
dy/dx = a sin t / a(1 − cos t) = sin t / (1 − cos t).
Using half-angle: sin t = 2 sin(t/2) cos(t/2), 1−cos t = 2 sin²(t/2).
Logarithmic Differentiation — For xx and Exponential-Form Functions
Take ln of both sides, differentiate, then multiply by y
Logarithmic differentiation is used when the function has a variable both in the base and the exponent, like y = xx or y = (sin x)cos x. Taking ln first converts the exponent into a product.
⚡ Logarithmic Differentiation — Method
For y = [f(x)]^[g(x)]:
Step 1: Take ln of both sides: ln y = g(x) ⋅ ln[f(x)]
Step 2: Differentiate both sides w.r.t. x:
(1/y) ⋅ dy/dx = g′(x) ⋅ ln[f(x)] + g(x) ⋅ f′(x)/f(x)
Step 3: Multiply both sides by y:
dy/dx = y ⋅ [g′(x) ⋅ ln f(x) + g(x) ⋅ f′(x)/f(x)]
Special case — y = xˣ:
ln y = x ln x
(1/y) dy/dx = ln x + x ⋅ (1/x) = ln x + 1
dy/dx = xˣ(1 + ln x)
Also useful for products/quotients of many functions:
y = [u(x) ⋅ v(x)] / w(x)
ln y = ln u + ln v − ln w
(1/y) dy/dx = u′/u + v′/v − w′/w
Logarithmic differentiation is tested in NDA for xx-type derivatives and for simplifying products of many functions. Always take ln, differentiate, then multiply back by y.
Worked Example — y = (sin x)tan x
Find dy/dx for y = (sin x)tan x.
ln y = tan x ⋅ ln(sin x).
(1/y) dy/dx = sec²x ⋅ ln(sin x) + tan x ⋅ (cos x/sin x).
= sec²x ln(sin x) + tan x ⋅ cot x = sec²x ln(sin x) + 1.
(a) −b cos t / (a sin t) (b) b cos t / (a sin t) (c) −(b/a) cot t (d) (b/a) cot t
Answer: (a) −b cos t / (a sin t)
dx/dt = −a sin t, dy/dt = b cos t.
dy/dx = b cos t / (−a sin t) = −(b/a) cot t. (Options (a) and (c) are equivalent.)
Q11. If y = xx, then dy/dx is:
(a) xx−1 (b) xx ln x (c) xx(1 + ln x) (d) xx(ln x − 1)
Answer: (c) xx(1 + ln x)
ln y = x ln x. (1/y) dy/dx = ln x + x(1/x) = ln x + 1.
dy/dx = y(1 + ln x) = xx(1 + ln x).
Common trap: (a) xx−1 uses the power rule — ONLY valid when the exponent is a constant, not variable.
Let u = xsin x and v = (sin x)x. Then y = u + v → dy/dx = du/dx + dv/dx. For u = xsin x:
ln u = sin x ⋅ ln x → (1/u)du/dx = cos x ln x + sin x/x.
du/dx = xsin x[cos x ln x + sin x/x]. For v = (sin x)x:
ln v = x ln(sin x) → (1/v)dv/dx = ln(sin x) + x cot x.
dv/dx = (sin x)x[ln(sin x) + x cot x].
dy/dx = xsin x[cos x ln x + sin x/x] + (sin x)x[ln(sin x) + x cot x].
🤯 T5. If y = xxx (x to the power x to the power x), find dy/dx.
Let z = xx so y = xz.
ln y = z ln x = xx ln x.
(1/y) dy/dx = d/dx[xx ln x].
= ln x ⋅ d/dx(xx) + xx ⋅ d/dx(ln x)
= ln x ⋅ xx(1+ln x) + xx ⋅ (1/x)
= xx[ln x(1+ln x) + 1/x].
dy/dx = y ⋅ xx[ln x + ln²x + 1/x] = xxx ⋅ xx[ln x(1+ln x) + 1/x].
6. Higher-Order Derivatives
6.1
Second Derivative & nth Order Derivatives
Differentiate the derivative again to get the second derivative
⚡ Higher Derivatives — Notation & Method
Second derivative:
d²y/dx² = d/dx(dy/dx) = f′′(x) = y′′ (differentiate dy/dx once more)
Third derivative:
d³y/dx³ = f′′′(x) (differentiate again)
General n-th derivative:
dⁿy/dxⁿ = f^(n)(x)
Standard n-th derivatives (important for NDA):
dⁿ/dxⁿ (xⁿ) = n! (constant after n differentiations)
dⁿ/dxⁿ (eˣ) = eˣ (unchanged under any order)
dⁿ/dxⁿ (sin x) = sin(x + nπ/2)
dⁿ/dxⁿ (cos x) = cos(x + nπ/2)
dⁿ/dxⁿ (aˣ) = aˣ (ln a)ⁿ
Physical meanings of second derivative:
In kinematics: d²s/dt² = acceleration
In geometry: f′′(x) > 0 → curve is concave up (cup shape)
f′′(x) < 0 → curve is concave down (cap shape)
The second derivative test for maxima/minima: if f′(a)=0 and f′′(a)>0 → local minimum. If f′′(a)<0 → local maximum. This is tested in application questions in NDA.
Worked Example — Second Derivative
Find d²y/dx² if y = x&sup4; − 3x² + 5.
dy/dx = 4x³ − 6x.
d²y/dx² = d/dx(4x³ − 6x) = 12x² − 6 = 6(2x² − 1).
Worked Example — Verifying a Differential Equation
If y = A sin x + B cos x, show that d²y/dx² + y = 0.
dy/dx = A cos x − B sin x.
d²y/dx² = −A sin x − B cos x = −(A sin x + B cos x) = −y.
This material is for personal NDA exam preparation only.
Unauthorised reproduction or distribution is prohibited.
All rights reserved. · ODEA.Classes@gmail.com