PYQ Vault

NDA Maths · Differentiation

Core Techniques — Standard Derivatives, Rules, Chain & Logarithmic

The everyday toolkit: the derivative as a limit, the standard-derivative table, the product/quotient/chain rules, and logarithmic differentiation for variable exponents.

Why this matters

This subtopic carries the bulk of the chapter. Almost every question is 'recognise which tool applies' — a standard derivative, the chain rule, log-differentiation for a power tower, or a simplify-first move on an inverse-trig mess. Get these reflexes right and most of Differentiation becomes mechanical.

Test yourself — a quick 18-question Differentiation recall quiz, instant score.

Concept 1 of 9: The derivative as a limit (first principles)

The derivative is the limit of the slope of a chord as its two points slide together — the instantaneous rate of change. Every rule below is a shortcut for this one limit, so a question that writes the limit out is really just asking for the derivative.

Definition

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h} — the slope of the tangent at xx. Equivalently f′(a)=lim⁡x→af(x)−f(a)x−af'(a)=\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a}. Geometrically it is the slope of the tangent line; physically, a rate of change.

  • Read the definition backwards too: a limit of the shape lim⁡h→0f(a+h)−f(a)h\lim_{h\to0}\dfrac{f(a+h)-f(a)}{h} or lim⁡x→af(x)−f(a)x−a\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a} IS f′(a)f'(a) — e.g. lim⁡x→π/2sin⁡x−1x−π/2=cos⁡π2=0\lim_{x\to\pi/2}\dfrac{\sin x-1}{x-\pi/2}=\cos\tfrac\pi2=0, and lim⁡h→0f(a+2h)−f(a)h=2f′(a)\lim_{h\to0}\dfrac{f(a+2h)-f(a)}{h}=2f'(a).
  • From slope to line and angle: the tangent at (x1,y1)(x_1,y_1) is y−y1=f′(x1)(x−x1)y-y_1=f'(x_1)(x-x_1), the normal has slope −1/f′(x1)-1/f'(x_1). The tangent's angle of inclination θ∈[0,π)\theta\in[0,\pi) with the positive x-axis satisfies tan⁡θ=f′(x1)\tan\theta=f'(x_1) — so a negative slope means an OBTUSE angle, θ=π−tan⁡−1∣f′∣\theta=\pi-\tan^{-1}|f'|, and the angle with the y-axis is π2−θ\tfrac\pi2-\theta (or θ−π2\theta-\tfrac\pi2).

First-principles definition

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
PQtangent: slope = f′(x)secant → tangent as Q→P

Worked example

Find f′(x)f'(x) for f(x)=x2f(x)=x^2 from first principles.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q73Moderate

Example 1 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

If l1=ddx(esin⁡x)l_1 = \dfrac{d}{dx}(e^{\sin x}), l2=lim⁡h→0esin⁡(x+h)−esin⁡xhl_2 = \lim_{h \to 0}\dfrac{e^{\sin(x+h)} - e^{\sin x}}{h}, l3=∫esin⁡xcos⁡x dxl_3 = \displaystyle\int e^{\sin x}\cos x\,dx, then which one of the following is correct?

Concept 2 of 9: Standard derivatives to memorise

A fixed table of derivatives underlies everything. Know it cold — power, trig, exponential, logarithmic, and inverse-trig — so that the rules below just stitch these together. Most EASY marks are a single lookup from this table.

Definition

Memorise these; the rules (product, quotient, chain) combine them. Angles are in radians — a degree argument must be converted first.

Function f(x)Derivative f′(x)
xnx^nn xn−1n\,x^{n-1}
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x
tan⁡x\tan xsec⁡2x\sec^2 x
sec⁡x\sec xsec⁡xtan⁡x\sec x\tan x
exe^xexe^x
axa^xaxln⁡aa^x\ln a
The ln⁡a\ln a factor is the most-forgotten part of the table.
ln⁡x\ln x1x\dfrac{1}{x}
log⁡ax\log_a x1xln⁡a\dfrac{1}{x\ln a}
sin⁡−1x\sin^{-1} x11−x2\dfrac{1}{\sqrt{1-x^2}}
tan⁡−1x\tan^{-1} x11+x2\dfrac{1}{1+x^2}
cot⁡x\cot x−csc⁡2x-\csc^2 x
csc⁡x\csc x−csc⁡xcot⁡x-\csc x\cot x
The co-functions (cos, cot, cosec) all carry a MINUS sign.
cos⁡−1x\cos^{-1} x−11−x2-\dfrac{1}{\sqrt{1-x^2}}
cot⁡−1x\cot^{-1} x−11+x2-\dfrac{1}{1+x^2}
sec⁡−1x\sec^{-1} x1∣x∣x2−1\dfrac{1}{|x|\sqrt{x^2-1}}
ln⁡∣x∣\ln|x|1x\dfrac{1}{x} for all x≠0x\neq0
x2x2−a2−a22ln⁡∣x+x2−a2∣\tfrac{x}{2}\sqrt{x^2-a^2}-\tfrac{a^2}{2}\ln\big|x+\sqrt{x^2-a^2}\big|x2−a2\sqrt{x^2-a^2}
The antiderivative of √(x²−a²), read backwards — a 'standard form' the PYQs quote without proof; the +a² sibling differentiates to √(x²+a²).
Radians only. The chain rule extends each of these to a composite argument.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2023 · Q94Moderate

Example 2 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

What is the derivative of cosec⁡(x∘)\cosec(x^{\circ})?

Degrees must be converted to radians first

ddxsin⁡(x∘)=π180cos⁡(x∘)\frac{d}{dx}\sin(x^{\circ}) = \frac{\pi}{180}\cos(x^{\circ}), NOT cos⁡(x∘)\cos(x^{\circ}). The standard table holds only for radian arguments; a degree symbol injects a π/180\pi/180 factor by the chain rule.

Don't power-rule an exponential

ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x\ln a, NOT x ax−1x\,a^{x-1}. The power rule ddx(xn)=nxn−1\frac{d}{dx}(x^n)=nx^{n-1} applies only when the BASE is the variable. When the variable is in the EXPONENT, the derivative carries the base unchanged and picks up a ln⁡a\ln a factor. (And ddxex=ex\frac{d}{dx}e^x = e^x, since ln⁡e=1\ln e = 1.)

Derivative of ln⁡x\ln x is 1/x1/x, not ln⁡x\ln x or xx

ddx(ln⁡x)=1x\frac{d}{dx}(\ln x) = \dfrac{1}{x}. It is neither ln⁡x\ln x (that's its own integral mistake) nor xx. For a general base, ddx(log⁡ax)=1xln⁡a\frac{d}{dx}(\log_a x) = \dfrac{1}{x\ln a} — the extra ln⁡a\ln a lives in the DENOMINATOR here, the opposite of where it sits for axa^x.

Concept 3 of 9: Product and quotient rules

Differentiating a product is not the product of derivatives. Use (uv)′=u′v+uv′(uv)' = u'v + uv' for products and the quotient rule for ratios. Linearity handles sums: constants pull out, and (u±v)′=u′±v′(u\pm v)' = u' \pm v'.

Definition

  • Product: (uv)′=u′v+uv′(uv)' = u'v + uv'.
  • Quotient: (uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2}.
  • Linearity: (au±bv)′=au′±bv′(au \pm bv)' = au' \pm bv'.
  • A determinant whose entries are functions of xx is a sum of products, so the product rule applies row by row: ddx∣R1;R2;R3∣=∣R1′;R2;R3∣+∣R1;R2′;R3∣+∣R1;R2;R3′∣\dfrac{d}{dx}|R_1;R_2;R_3| = |R_1';R_2;R_3| + |R_1;R_2';R_3| + |R_1;R_2;R_3'| (differentiate ONE row at a time, keep the others). For a 2×22\times2 or 3×33\times3 with simple entries it is usually faster to expand first and then differentiate — full treatment in the Matrices & Determinants notes (linked below).

Product and quotient rules

(uv)′=u′v+uv′,(uv)′=u′v−uv′v2(uv)' = u'v + uv', \qquad \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}

Worked example

Differentiate y=x2sin⁡xy = x^2 \sin x.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2019 · Q93Easy

Example 3 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

Directions for the following three (03) items : Read the following information and answer the three items that follow : Let f(x)=x2+2x−5f(x) = x^{2} + 2x - 5 and g(x)=5x+30g(x) = 5x + 30.
If h(x)=5f(x)−xg(x)h(x) = 5f(x) - xg(x), then what is the derivative of h(x)h(x) ?

The product rule is not the product of derivatives

(uv)′≠u′v′(uv)' \neq u'v'. The correct rule is (uv)′=u′v+uv′(uv)' = u'v + uv' — differentiate one factor at a time and add. For x2sin⁡xx^2\sin x, the answer is 2xsin⁡x+x2cos⁡x2x\sin x + x^2\cos x, not (2x)(cos⁡x)(2x)(\cos x).

Quotient rule — order and sign in the numerator matter

(uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2}, NOT uv′−u′vv2\dfrac{uv' - u'v}{v^2} and NOT u′v+uv′v2\dfrac{u'v + uv'}{v^2}. The derivative-of-the-top term comes first and the two terms are SUBTRACTED. Flipping the order negates the whole answer.

Concept 4 of 9: The chain rule (composite functions)

To differentiate a function of a function, differentiate the outer function (leaving the inner alone) and multiply by the derivative of the inner. Peel the layers from outside in — this single rule is the most-used tool in the chapter.

Definition

ddxf(g(x))=f′(g(x))⋅g′(x)\dfrac{d}{dx}f(g(x)) = f'(g(x))\cdot g'(x). For nested layers, multiply each layer's derivative: ddxf(g(h(x)))=f′(g(h(x))) g′(h(x)) h′(x)\dfrac{d}{dx}f(g(h(x))) = f'(g(h(x)))\,g'(h(x))\,h'(x).

  • Recognisable chain-rule patterns: u u′+v v′=12ddx(u2+v2)u\,u'+v\,v'=\tfrac12\dfrac{d}{dx}(u^2+v^2) (so sin⁡xcos⁡x+…\sin x\cos x+\dots sums often collapse); ddxln⁡∣x∣=1x\dfrac{d}{dx}\ln|x|=\dfrac1x for EVERY x≠0x\ne0 — for x<0x<0, ln⁡∣x∣=ln⁡(−x)\ln|x|=\ln(-x) and the chain rule gives −1−x=1x\dfrac{-1}{-x}=\dfrac1x, so the sign does NOT flip; ddx∣x∣=x∣x∣=sgn⁡x\dfrac{d}{dx}|x|=\dfrac{x}{|x|}=\operatorname{sgn}x.
  • Parity passes to the derivative, flipped: if ff is even then f′f' is odd, and if ff is odd then f′f' is even (differentiate f(−x)=±f(x)f(-x)=\pm f(x) by the chain rule: −f′(−x)=±f′(x)-f'(-x)=\pm f'(x)). An odd f′f' has f′(0)=0f'(0)=0.

Chain rule

ddx f(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}\,f(g(x)) = f'(g(x))\cdot g'(x)

Worked example

Differentiate y=sin⁡(3x2)y = \sin(3x^2).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2018 · Q98Moderate

Example 4 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

If y=ex2sin⁡2xy=e^{x^2}\sin 2x, what is dy/dx at x=πx=\pi?

Don't forget the derivative of the inner function

ddxsin⁡(3x2)=cos⁡(3x2)⋅6x\frac{d}{dx}\sin(3x^2) = \cos(3x^2)\cdot 6x, NOT just cos⁡(3x2)\cos(3x^2). The chain rule multiplies by the inner derivative 6x6x; leaving it out is the single most common slip in the chapter. Every layer contributes its own factor.

Concept 5 of 9: Logarithmic differentiation

When the variable is in the exponent (xxx^x, f(x)g(x)f(x)^{g(x)}) or you face a long product/quotient of powers, take ln⁡\ln of both sides first. Logs convert powers to products and products to sums, after which you differentiate implicitly. It also cracks infinite power towers.

Definition

Take ln⁡y\ln y, simplify with log laws, then differentiate (the left side gives 1ydydx\frac{1}{y}\frac{dy}{dx}):

  • Variable exponent: y=f(x)g(x)⇒ln⁡y=g(x)ln⁡f(x)y = f(x)^{g(x)} \Rightarrow \ln y = g(x)\ln f(x).
  • Product of powers: ln⁡y\ln y splits into a sum, each term differentiated alone.
  • Power tower: y=(f(x))y⇒ln⁡y=yln⁡f(x)y = (f(x))^{y} \Rightarrow \ln y = y\ln f(x) (the exponent is the whole yy again).

Logarithmic differentiation

y=f(x)g(x)  ⇒  1ydydx=g′(x)ln⁡f(x)+g(x)f′(x)f(x)y = f(x)^{g(x)} \;\Rightarrow\; \frac{1}{y}\frac{dy}{dx} = g'(x)\ln f(x) + g(x)\frac{f'(x)}{f(x)}

Worked example

Differentiate y=xxy = x^x.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2021 · Q72Moderate

Example 5 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

If y=cos⁡x⋅cos⁡4x⋅cos⁡8xy=\cos x\cdot\cos 4x\cdot\cos 8x, then what is 1ydydx\frac{1}{y}\frac{dy}{dx} at x=π4x=\frac{\pi}{4} equal to?

Concept 6 of 9: Derivative of one function with respect to another

'Differentiate uu with respect to vv' is NOT dudx\frac{du}{dx}. Treat both as functions of xx, differentiate each w.r.t. xx, and divide: dudv=du/dxdv/dx\frac{du}{dv} = \frac{du/dx}{dv/dx}.

Definition

To find dudv\dfrac{du}{dv} where u=u(x)u=u(x) and v=v(x)v=v(x): compute dudx\dfrac{du}{dx} and dvdx\dfrac{dv}{dx}, then dudv=du/dxdv/dx\dfrac{du}{dv} = \dfrac{du/dx}{dv/dx}. It is the same idea as parametric differentiation, with xx as the hidden parameter.

Derivative of u w.r.t. v

dudv=du/dxdv/dx\frac{du}{dv} = \frac{du/dx}{dv/dx}

Worked example

Find the derivative of x2x^2 with respect to x3x^3.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2021 · Q91Moderate

Example 6 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

What is the derivative of exe^x with respect to xex^e?

Concept 7 of 9: Simplify the inverse-trig first, then differentiate

A messy inverse-trig expression almost always collapses before you differentiate. The standard move: substitute x=tan⁡θx=\tan\theta (or x=sin⁡θx=\sin\theta), recognise a double-angle or sum identity, and reduce the whole thing to a simple multiple of an angle. Differentiating the simplified form is trivial.

Definition

Common collapses (memorise the substitutions):

  • tan⁡−1 ⁣2x1−x2, sin⁡−1 ⁣2x1+x2, cos⁡−1 ⁣1−x21+x2\tan^{-1}\!\dfrac{2x}{1-x^2},\ \sin^{-1}\!\dfrac{2x}{1+x^2},\ \cos^{-1}\!\dfrac{1-x^2}{1+x^2}: put x=tan⁡θ⇒2θ=2tan⁡−1xx=\tan\theta\Rightarrow 2\theta = 2\tan^{-1}x.
  • cos⁡−1(sin⁡x)=π2−x\cos^{-1}(\sin x) = \tfrac{\pi}{2}-x; tan⁡−1 ⁣a−b1+ab=tan⁡−1a−tan⁡−1b\tan^{-1}\!\dfrac{a-b}{1+ab}=\tan^{-1}a-\tan^{-1}b.
  • Complementary pairs are constants, so their derivative is 0: sin⁡−1x+cos⁡−1x=tan⁡−1x+cot⁡−1x=sec⁡−1x+csc⁡−1x=π2\sin^{-1}x+\cos^{-1}x=\tan^{-1}x+\cot^{-1}x=\sec^{-1}x+\csc^{-1}x=\tfrac\pi2. Hence ddxcos⁡−1x=−11−x2\dfrac{d}{dx}\cos^{-1}x=-\dfrac{1}{\sqrt{1-x^2}} and ddxcot⁡−1x=−11+x2\dfrac{d}{dx}\cot^{-1}x=-\dfrac{1}{1+x^2} — the co-function's derivative is the negative of its partner's.
  • Reciprocal arguments: sec⁡−1z=cos⁡−11z\sec^{-1}z=\cos^{-1}\tfrac1z, csc⁡−1z=sin⁡−11z\csc^{-1}z=\sin^{-1}\tfrac1z, cot⁡−1z=tan⁡−11z\cot^{-1}z=\tan^{-1}\tfrac1z (for z>0z>0); so y=sec⁡−1 ⁣(12x2−1)=cos⁡−1(2x2−1)=2cos⁡−1xy=\sec^{-1}\!\big(\tfrac{1}{2x^2-1}\big)=\cos^{-1}(2x^2-1)=2\cos^{-1}x on [0,1][0,1].
  • Un-collapsing on the wrong branch: cos⁡−1(cos⁡x)=x\cos^{-1}(\cos x)=x only on [0,π][0,\pi]; on [−π,0][-\pi,0] it is −x-x, so cos⁡−1(cos⁡x)=∣x∣\cos^{-1}(\cos x)=|x| on [−π,π][-\pi,\pi] and its derivative is −1-1 for x<0x<0. Likewise sin⁡−1(sin⁡x)=π−x\sin^{-1}(\sin x)=\pi-x on [π2,3π2][\tfrac\pi2,\tfrac{3\pi}2], derivative −1-1.

Differentiate the collapsed form (often ±1\pm 1, ±2/(1+x2)\pm 2/(1+x^2), etc.).

Standard inverse-trig collapses

tan⁡−12x1−x2=2tan⁡−1xsin⁡−12x1+x2=2tan⁡−1xcos⁡−11−x21+x2=2tan⁡−1xcos⁡−1(sin⁡x)=π2−xtan⁡−1a−b1+ab=tan⁡−1a−tan⁡−1b\tan^{-1}\dfrac{2x}{1-x^2} = 2\tan^{-1}x \qquad \sin^{-1}\dfrac{2x}{1+x^2} = 2\tan^{-1}x \qquad \cos^{-1}\dfrac{1-x^2}{1+x^2} = 2\tan^{-1}x \qquad \cos^{-1}(\sin x) = \dfrac{\pi}{2} - x \qquad \tan^{-1}\dfrac{a-b}{1+ab} = \tan^{-1}a - \tan^{-1}b

Worked example

Differentiate y=tan⁡−1 ⁣(2x1−x2)y = \tan^{-1}\!\left(\dfrac{2x}{1-x^2}\right).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q82Moderate

Example 7 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

If y=cos⁡−1 ⁣(2x1+x2)y = \cos^{-1}\!\left(\dfrac{2x}{1+x^2}\right), then dydx\dfrac{dy}{dx} is equal to

Don't quotient-rule the raw inverse-trig

Differentiating tan⁡−12x1−x2\tan^{-1}\frac{2x}{1-x^2} directly with the chain + quotient rule is slow and error-prone. The intended path is the x=tan⁡θx=\tan\theta collapse to 2tan⁡−1x2\tan^{-1}x first.

Concept 8 of 9: Differentiating functional equations

When a function is defined by a rule like f(x+y)=f(x)f(y)f(x+y)=f(x)f(y) rather than a formula, differentiate the relation (or use first principles) to extract f′f'. The exponential law f(x+y)=f(x)f(y)f(x+y)=f(x)f(y) forces f′(x)=f′(0) f(x)f'(x)=f'(0)\,f(x).

Definition

For f(x+y)=f(x)f(y)f(x+y)=f(x)f(y): from first principles f′(x)=f(x)lim⁡h→0f(h)−1h=f′(0) f(x)f'(x)=f(x)\lim_{h\to 0}\dfrac{f(h)-1}{h}=f'(0)\,f(x). More generally, differentiate the given relation w.r.t. one variable and substitute convenient values (often y=0y=0) to expose f′f'.

Exponential functional equation

f(x+y)=f(x)f(y)  ⇒  f′(x)=f′(0) f(x)f(x+y)=f(x)f(y) \;\Rightarrow\; f'(x) = f'(0)\,f(x)

Worked example

If f(x+y)=f(x)f(y)f(x+y)=f(x)f(y) for all x,yx,y and f′(0)=2f'(0)=2, express f′(x)f'(x).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q89Moderate

Example 8 · Differentiation · Differentiation Techniques — Chain Rule, Logarithmic, Composite Functions

Let f(x+y)=f(x)f(y)f(x+y)=f(x)f(y) for all xx and yy. Then what is f′(5)f'(5) equal to [where f′(x)f'(x) is the derivative of f(x)f(x)]?

Concept 9 of 9: Trigonometric Simplification Toolkit

Across calculus a 'hard' derivative is often just an unsimplified trig expression. Before differentiating, scan for these standard forms and collapse them first — a root becomes a plain sum, a quotient becomes a single tangent, a product becomes one angle.

Definition

Keep these collapses in reflex memory:

  • Half-angle of 1±cos⁡x1\pm\cos x: 1−cos⁡x=2sin⁡2x21-\cos x = 2\sin^2\tfrac{x}{2}, 1+cos⁡x=2cos⁡2x21+\cos x = 2\cos^2\tfrac{x}{2}; so 1−cos⁡x1+cos⁡x=tan⁡2x2\dfrac{1-\cos x}{1+\cos x}=\tan^2\tfrac{x}{2}, 11−cos⁡x=12csc⁡2x2\dfrac{1}{1-\cos x}=\tfrac12\csc^2\tfrac{x}{2}, 11+cos⁡x=12sec⁡2x2\dfrac{1}{1+\cos x}=\tfrac12\sec^2\tfrac{x}{2}.
  • Power-reduction (double angle): 1−cos⁡2x=2sin⁡2x1-\cos 2x = 2\sin^2 x, 1+cos⁡2x=2cos⁡2x1+\cos 2x = 2\cos^2 x, sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x.
  • Perfect square under a root: 1±sin⁡2x=(sin⁡x±cos⁡x)21\pm\sin 2x=(\sin x\pm\cos x)^2 and 1±sin⁡θ=(cos⁡θ2±sin⁡θ2)21\pm\sin\theta=\left(\cos\tfrac\theta2\pm\sin\tfrac\theta2\right)^2, so 1±sin⁡2x=∣sin⁡x±cos⁡x∣\sqrt{1\pm\sin 2x}=|\sin x\pm\cos x| — keep the modulus; its sign depends on the interval.
  • sec⁡±tan⁡\sec\pm\tan: sec⁡x+tan⁡x=1+sin⁡xcos⁡x=tan⁡ ⁣(π4+x2)\sec x+\tan x=\dfrac{1+\sin x}{\cos x}=\tan\!\left(\tfrac\pi4+\tfrac x2\right), sec⁡x−tan⁡x=tan⁡ ⁣(π4−x2)\sec x-\tan x=\tan\!\left(\tfrac\pi4-\tfrac x2\right).
  • Harmonic form: asin⁡x+bcos⁡x=a2+b2 sin⁡(x+α)a\sin x+b\cos x=\sqrt{a^2+b^2}\,\sin(x+\alpha), so its extreme values are ±a2+b2\pm\sqrt{a^2+b^2}.
  • Weierstrass t=tan⁡x2t=\tan\tfrac{x}{2}: sin⁡x=2t1+t2\sin x=\dfrac{2t}{1+t^2}, cos⁡x=1−t21+t2\cos x=\dfrac{1-t^2}{1+t^2} — useful whenever a rational function of sin⁡x,cos⁡x\sin x,\cos x must be handled in one variable.
  • The elementary ones, which the exotic collapses assume: sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1, 1+tan⁡2x=sec⁡2x1+\tan^2x=\sec^2x, 1+cot⁡2x=csc⁡2x1+\cot^2x=\csc^2x. They are how sec⁡2(tan⁡−1x)=1+x2\sec^2(\tan^{-1}x)=1+x^2 and cos⁡(tan⁡−1x)=11+x2\cos(\tan^{-1}x)=\dfrac{1}{\sqrt{1+x^2}} are read off.
  • Algebraic collapses before differentiating (take logs of a product only AFTER simplifying it): (1−x)(1+x)(1+x2)(1+x4)⋯(1+x2k−1)=1−x2k(1-x)(1+x)(1+x^2)(1+x^4)\cdots(1+x^{2^{k-1}})=1-x^{2^k} (telescoping difference of squares); 1+x4+x8=(1+x2+x4)(1−x2+x4)1+x^4+x^8=(1+x^2+x^4)(1-x^2+x^4), from a4+a2b2+b4=(a2+ab+b2)(a2−ab+b2)a^4+a^2b^2+b^4=(a^2+ab+b^2)(a^2-ab+b^2); x4+1=(x2+2x+1)(x2−2x+1)x^4+1=(x^2+\sqrt2x+1)(x^2-\sqrt2x+1).

The collapses you reach for most

1+cos⁡x=2cos⁡2x2,1−cos⁡x=2sin⁡2x2,1±sin⁡2x=∣sin⁡x±cos⁡x∣1+\cos x = 2\cos^2\tfrac{x}{2},\quad 1-\cos x = 2\sin^2\tfrac{x}{2},\quad \sqrt{1\pm\sin 2x}=|\sin x\pm\cos x|
  • x2\tfrac{x}{2}half-angle — appears whenever you collapse 1±cos⁡x1\pm\cos x
  • ∣⋯∣|\cdots|the root of a perfect square is a MODULUS; fix the sign on the given interval

Worked example

Simplify 1+sin⁡2x\sqrt{1+\sin 2x} for 0<x<π40<x<\tfrac{\pi}{4}, then differentiate it.
Practice this conceptself-check · 4 quick reps

1±cos⁡x1\pm\cos x (half-angle) vs 1±cos⁡2x1\pm\cos 2x (power-reduction)

Different collapses: 1−cos⁡x=2sin⁡2x21-\cos x = 2\sin^2\tfrac{x}{2} but 1−cos⁡2x=2sin⁡2x1-\cos 2x = 2\sin^2 x. Read the angle inside the cosine before choosing the factor — the wrong one halves or doubles the argument.

The root of a perfect square is a MODULUS

(sin⁡x−cos⁡x)2=∣sin⁡x−cos⁡x∣\sqrt{(\sin x-\cos x)^2} = |\sin x-\cos x|, not sin⁡x−cos⁡x\sin x-\cos x. Resolve the sign on the given interval: on (π4,π2)(\tfrac\pi4,\tfrac\pi2) it is +(sin⁡x−cos⁡x)+(\sin x-\cos x); on (0,π4)(0,\tfrac\pi4) it is −(sin⁡x−cos⁡x)-(\sin x-\cos x). Dropping the modulus flips the sign of the whole derivative.

sec⁡±tan⁡\sec\pm\tan — mind which way the half-angle shifts

sec⁡x+tan⁡x=tan⁡ ⁣(π4+x2)\sec x+\tan x=\tan\!\left(\tfrac\pi4+\tfrac x2\right) but sec⁡x−tan⁡x=tan⁡ ⁣(π4−x2)\sec x-\tan x=\tan\!\left(\tfrac\pi4-\tfrac x2\right). Useful check: (sec⁡x+tan⁡x)(sec⁡x−tan⁡x)=sec⁡2x−tan⁡2x=1(\sec x+\tan x)(\sec x-\tan x)=\sec^2x-\tan^2x=1.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (8)

  • The derivative as a limit (first principles)

    First-principles definition

    f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
  • Product and quotient rules

    Product and quotient rules

    (uv)′=u′v+uv′,(uv)′=u′v−uv′v2(uv)' = u'v + uv', \qquad \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}
  • The chain rule (composite functions)

    Chain rule

    ddx f(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}\,f(g(x)) = f'(g(x))\cdot g'(x)
  • Logarithmic differentiation

    Logarithmic differentiation

    y=f(x)g(x)  ⇒  1ydydx=g′(x)ln⁡f(x)+g(x)f′(x)f(x)y = f(x)^{g(x)} \;\Rightarrow\; \frac{1}{y}\frac{dy}{dx} = g'(x)\ln f(x) + g(x)\frac{f'(x)}{f(x)}
  • Derivative of one function with respect to another

    Derivative of u w.r.t. v

    dudv=du/dxdv/dx\frac{du}{dv} = \frac{du/dx}{dv/dx}
  • Simplify the inverse-trig first, then differentiate

    Standard inverse-trig collapses

    tan⁡−12x1−x2=2tan⁡−1xsin⁡−12x1+x2=2tan⁡−1xcos⁡−11−x21+x2=2tan⁡−1xcos⁡−1(sin⁡x)=π2−xtan⁡−1a−b1+ab=tan⁡−1a−tan⁡−1b\tan^{-1}\dfrac{2x}{1-x^2} = 2\tan^{-1}x \qquad \sin^{-1}\dfrac{2x}{1+x^2} = 2\tan^{-1}x \qquad \cos^{-1}\dfrac{1-x^2}{1+x^2} = 2\tan^{-1}x \qquad \cos^{-1}(\sin x) = \dfrac{\pi}{2} - x \qquad \tan^{-1}\dfrac{a-b}{1+ab} = \tan^{-1}a - \tan^{-1}b
  • Differentiating functional equations

    Exponential functional equation

    f(x+y)=f(x)f(y)  ⇒  f′(x)=f′(0) f(x)f(x+y)=f(x)f(y) \;\Rightarrow\; f'(x) = f'(0)\,f(x)
  • Trigonometric Simplification Toolkit

    The collapses you reach for most

    1+cos⁡x=2cos⁡2x2,1−cos⁡x=2sin⁡2x2,1±sin⁡2x=∣sin⁡x±cos⁡x∣1+\cos x = 2\cos^2\tfrac{x}{2},\quad 1-\cos x = 2\sin^2\tfrac{x}{2},\quad \sqrt{1\pm\sin 2x}=|\sin x\pm\cos x|

Reference tables (1)

Standard derivatives to memorise18 rows
Function f(x)Derivative f′(x)
xnx^nn xn−1n\,x^{n-1}
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x
tan⁡x\tan xsec⁡2x\sec^2 x
sec⁡x\sec xsec⁡xtan⁡x\sec x\tan x
exe^xexe^x
axa^xaxln⁡aa^x\ln a
The ln⁡a\ln a factor is the most-forgotten part of the table.
ln⁡x\ln x1x\dfrac{1}{x}
log⁡ax\log_a x1xln⁡a\dfrac{1}{x\ln a}
sin⁡−1x\sin^{-1} x11−x2\dfrac{1}{\sqrt{1-x^2}}
tan⁡−1x\tan^{-1} x11+x2\dfrac{1}{1+x^2}
cot⁡x\cot x−csc⁡2x-\csc^2 x
csc⁡x\csc x−csc⁡xcot⁡x-\csc x\cot x
The co-functions (cos, cot, cosec) all carry a MINUS sign.
cos⁡−1x\cos^{-1} x−11−x2-\dfrac{1}{\sqrt{1-x^2}}
cot⁡−1x\cot^{-1} x−11+x2-\dfrac{1}{1+x^2}
sec⁡−1x\sec^{-1} x1∣x∣x2−1\dfrac{1}{|x|\sqrt{x^2-1}}
ln⁡∣x∣\ln|x|1x\dfrac{1}{x} for all x≠0x\neq0
x2x2−a2−a22ln⁡∣x+x2−a2∣\tfrac{x}{2}\sqrt{x^2-a^2}-\tfrac{a^2}{2}\ln\big|x+\sqrt{x^2-a^2}\big|x2−a2\sqrt{x^2-a^2}
The antiderivative of √(x²−a²), read backwards — a 'standard form' the PYQs quote without proof; the +a² sibling differentiates to √(x²+a²).
Radians only. The chain rule extends each of these to a composite argument.

Watch out for (10)

Test yourself on Differentiation

15 past NDA questions from this chapter, timed at 19 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes