Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 05 / 12Limits, Continuity and Differentiability

Rules of Differentiation and Derivatives of Standard Functions

First-principles derivatives of x^n, sin x, e^x and ln x, the sum, product, quotient and chain rules, derivatives of trigonometric, inverse trigonometric, exponential and logarithmic functions, and simplifying inverse trigonometric expressions by substitution before differentiating.

Derivatives of the basic functions come from the definition and the standard limits. ddxxn=nxn−1\frac{d}{dx}x^{n} = nx^{n-1} (for any real nn, where defined), from lim⁡(x+h)n−xnh\lim\frac{(x + h)^{n} - x^{n}}{h}. ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x: sin⁡(x+h)−sin⁡xh=2cos⁡(x+h/2)sin⁡(h/2)h→cos⁡x\frac{\sin(x + h) - \sin x}{h} = \frac{2\cos(x + h/2)\sin(h/2)}{h} \to \cos x. ddxex=ex\frac{d}{dx}e^{x} = e^{x}: ex+h−exh=exeh−1h→ex\frac{e^{x + h} - e^{x}}{h} = e^{x}\frac{e^{h} - 1}{h} \to e^{x}. This is the property that makes ee the natural base. ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x} for x>0x > 0, and more generally ddxln⁡∣x∣=1x\frac{d}{dx}\ln|x| = \frac{1}{x} for x≠0x \neq 0. Rules. Linearity: (af+bg)′=af′+bg′(af + bg)' = af' + bg'. Product: (fg)′=f′g+fg′(fg)' = f'g + fg'. For three factors, (fgh)′=f′gh+fg′h+fgh′(fgh)' = f'gh + fg'h + fgh'. Quotient: (fg)′=f′g−fg′g2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^{2}} where g≠0g \neq 0. Chain: ddxf(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}f(g(x)) = f'(g(x)) \cdot g'(x), or in Leibniz notation dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. Differentiate the outer function at the inner value, then multiply by the derivative of the inner function; for nested compositions, keep multiplying. Table of standard derivatives. ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x = -\sin x; ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^{2}x; ddxcot⁡x=−csc⁡2x\frac{d}{dx}\cot x = -\csc^{2}x; ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x\tan x; ddxcsc⁡x=−csc⁡xcot⁡x\frac{d}{dx}\csc x = -\csc x\cot x. ddxax=axln⁡a\frac{d}{dx}a^{x} = a^{x}\ln a; ddxlog⁡ax=1xln⁡a\frac{d}{dx}\log_{a}x = \frac{1}{x\ln a}. ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^{2}}} and ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1 - x^{2}}} for ∣x∣<1|x| < 1. ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^{2}} and ddxcot⁡−1x=−11+x2\frac{d}{dx}\cot^{-1}x = -\frac{1}{1 + x^{2}}. ddxsec⁡−1x=1∣x∣x2−1\frac{d}{dx}\sec^{-1}x = \frac{1}{|x|\sqrt{x^{2} - 1}} for ∣x∣>1|x| > 1. The inverse derivatives follow from the inverse function rule dxdy=1dy/dx\frac{dx}{dy} = \frac{1}{dy/dx}. For y=sin⁡−1xy = \sin^{-1}x, x=sin⁡yx = \sin y, so dxdy=cos⁡y=1−x2\frac{dx}{dy} = \cos y = \sqrt{1 - x^{2}} (positive, since y∈[−π2,π2]y \in [-\frac{\pi}{2}, \frac{\pi}{2}]). Simplify inverse trigonometric expressions before differentiating. Substitutions such as x=tan⁡θx = \tan\theta, x=sin⁡θx = \sin\theta or x=cos⁡2θx = \cos 2\theta often collapse the expression. For example, y=tan⁡−12x1−x2y = \tan^{-1}\frac{2x}{1 - x^{2}}: with x=tan⁡θx = \tan\theta, 2x1−x2=tan⁡2θ\frac{2x}{1 - x^{2}} = \tan 2\theta, so y=2θ=2tan⁡−1xy = 2\theta = 2\tan^{-1}x when ∣x∣<1|x| < 1, and dydx=21+x2\frac{dy}{dx} = \frac{2}{1 + x^{2}}. The range restriction matters: for x>1x > 1, 2θ∈(π2,π)2\theta \in (\frac{\pi}{2}, \pi) and y=2tan⁡−1x−πy = 2\tan^{-1}x - \pi, which has the same derivative, but for expressions like sin⁡−12x1+x2\sin^{-1}\frac{2x}{1 + x^{2}} the derivative changes sign across ∣x∣=1|x| = 1: it is 21+x2\frac{2}{1 + x^{2}} for ∣x∣<1|x| < 1 and −21+x2-\frac{2}{1 + x^{2}} for ∣x∣>1|x| > 1. Derivative of a function with respect to another function: d(f(x))d(g(x))=f′(x)g′(x)\frac{d(f(x))}{d(g(x))} = \frac{f'(x)}{g'(x)}. Key Takeaways: - (fg)′=f′g+fg′(fg)' = f'g + fg'; (fg)′=f′g−fg′g2(\frac{f}{g})' = \frac{f'g - fg'}{g^{2}}; (f∘g)′=f′(g)g′(f \circ g)' = f'(g)g'. - (ex)′=ex(e^{x})' = e^{x}; (ax)′=axln⁡a(a^{x})' = a^{x}\ln a; (ln⁡∣x∣)′=1x(\ln|x|)' = \frac{1}{x}. - (tan⁡x)′=sec⁡2x(\tan x)' = \sec^{2}x; (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x\tan x. - (sin⁡−1x)′=11−x2(\sin^{-1}x)' = \frac{1}{\sqrt{1 - x^{2}}}; (tan⁡−1x)′=11+x2(\tan^{-1}x)' = \frac{1}{1 + x^{2}}; (sec⁡−1x)′=1∣x∣x2−1(\sec^{-1}x)' = \frac{1}{|x|\sqrt{x^{2} - 1}}. - Simplify inverse trigonometric expressions with a substitution, then watch the interval. - dfdg=f′(x)g′(x)\frac{df}{dg} = \frac{f'(x)}{g'(x)}. - Pitfall: forgetting the inner derivative in the chain rule, for example writing (sin⁡3x)′=cos⁡3x(\sin 3x)' = \cos 3x. Brain-Teaser 1: Differentiate y=sin⁡−1(2x1−x2)y = \sin^{-1}(2x\sqrt{1 - x^{2}}) for 12<x<1\frac{1}{\sqrt{2}} < x < 1. Solution: Put x=sin⁡θx = \sin\theta with θ∈(π4,π2)\theta \in (\frac{\pi}{4}, \frac{\pi}{2}). Then 2x1−x2=2sin⁡θcos⁡θ=sin⁡2θ2x\sqrt{1 - x^{2}} = 2\sin\theta\cos\theta = \sin 2\theta, with 2θ∈(π2,π)2\theta \in (\frac{\pi}{2}, \pi). The principal value sin⁡−1(sin⁡2θ)\sin^{-1}(\sin 2\theta) is π−2θ\pi - 2\theta on that interval. So y=π−2sin⁡−1xy = \pi - 2\sin^{-1}x and dydx=−21−x2\frac{dy}{dx} = -\frac{2}{\sqrt{1 - x^{2}}}. For ∣x∣<12|x| < \frac{1}{\sqrt{2}} the answer would be +21−x2+\frac{2}{\sqrt{1 - x^{2}}}. The substitution works only if you track which branch of sin⁡−1\sin^{-1} applies. Brain-Teaser 2: Find the derivative of sin⁡2x\sin^{2}x with respect to ecos⁡xe^{\cos x}. Solution: d(sin⁡2x)dx=2sin⁡xcos⁡x\frac{d(\sin^{2}x)}{dx} = 2\sin x\cos x and d(ecos⁡x)dx=−sin⁡x ecos⁡x\frac{d(e^{\cos x})}{dx} = -\sin x\,e^{\cos x}. The ratio is 2sin⁡xcos⁡x−sin⁡x ecos⁡x=−2cos⁡x e−cos⁡x\frac{2\sin x\cos x}{-\sin x\,e^{\cos x}} = -2\cos x\,e^{-\cos x}. Differentiating both with respect to the common variable xx and dividing is the whole method. Brain-Teaser 3: Using first principles, show that ddxx=12x\frac{d}{dx}\sqrt{x} = \frac{1}{2\sqrt{x}} and explain why the derivative fails at x=0x = 0. Solution: x+h−xh=(x+h)−xh(x+h+x)=1x+h+x→12x\frac{\sqrt{x + h} - \sqrt{x}}{h} = \frac{(x + h) - x}{h(\sqrt{x + h} + \sqrt{x})} = \frac{1}{\sqrt{x + h} + \sqrt{x}} \to \frac{1}{2\sqrt{x}} for x>0x > 0. At x=0x = 0 only the right-hand quotient exists: hh=1h→∞\frac{\sqrt{h}}{h} = \frac{1}{\sqrt{h}} \to \infty. So the graph has a vertical tangent at the origin and x\sqrt{x} is not differentiable there, although it is continuous. The formula 12x\frac{1}{2\sqrt{x}} blowing up at 00 is the algebraic sign of the vertical tangent.