Differentiation revision

Differentiation revision

Choose your study page

Basic rules and the chain rule →

Implicit and parametric differentiation →

Inverse trigonometric and higher derivatives →

Learn with SJMathTube

Earlier revision notes and first-principles practice

What is a derivative?

A derivative describes how a function changes as its input changes. Geometrically, it gives the slope of the tangent line at a point.

\[\displaystyle f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\]

Use the definition when the limit exists. For standard functions, the rules below make calculation faster.

Core rules at a glance

Sum and constant multiple

\[\displaystyle \frac{d}{dx}(u+v)=u'+v'\]
\[\displaystyle \frac{d}{dx}(cu)=cu'\]

Here c is constant with respect to x.

Power rule

\[\displaystyle \frac{d}{dx}(x^n)=nx^{n-1}\]

For constant n, apply where the function is differentiable.

Product and quotient

\[\displaystyle (uv)'=u'v+uv'\]
\[\displaystyle \left(\frac{u}{v}\right)'=\frac{vu'-uv'}{v^2},\qquad v\ne0\]

Chain rule

\[\displaystyle \frac{d}{dx}f(g(x))=f'(g(x))g'(x)\]

Differentiate the outer function, then multiply by the derivative of the inner function.

Implicit differentiation

When y depends on x, differentiate both sides with respect to x and apply the chain rule to terms involving y.

\[\displaystyle \frac{d}{dx}(y^2)=2y\frac{dy}{dx}\]

Practise from SJMathTube

These two questions are from SJMathTube’s published Basic Differentiation Techniques lesson.

Problem 1

Find the derivative, treating a as a constant.

\[\displaystyle y=3x^7+4\sin x-3\ln x+\sqrt{a}\]
Show solution
\[\displaystyle \frac{dy}{dx}=21x^6+4\cos x-\frac{3}{x}\]

The derivative of √a is zero because a is constant. The real-valued expression requires x > 0 and a ≥ 0.

Problem 2

Find the derivative, treating b as a constant.

\[\displaystyle y=\sqrt[3]{x}+3\tan x-\sin b\]
Show solution
\[\displaystyle \frac{dy}{dx}=\frac{1}{3x^{2/3}}+3\sec^2x\]

Use x ≠ 0 and cos x ≠ 0 for this derivative; sin b is constant.

More practice: first principles

These six exercises come from SJMathTube’s published first-principles lesson. Try each one before opening the answer. For trigonometric functions, angles are measured in radians.

The starting point

\[\displaystyle f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]

Substitute the function, simplify the difference quotient, and then take the limit.

Differentiate from first principles

\[\displaystyle f(x)=x^2\]
Show solution
\[\displaystyle f'(x)=\lim_{h\to 0}\frac{(x+h)^2-x^2}{h}=\lim_{h\to 0}(2x+h)=2x\]

Expand the square and cancel the common factor h before taking the limit.

Differentiate from first principles

\[\displaystyle f(x)=x^3\]
Show solution
\[\displaystyle f'(x)=\lim_{h\to 0}\frac{(x+h)^3-x^3}{h}=\lim_{h\to 0}(3x^2+3xh+h^2)=3x^2\]

Expand the cube, cancel h, and take the limit.

Differentiate from first principles

\[\displaystyle f(x)=\sin x\]
Show solution

Use the sine addition formula and the standard limits below.

\[\displaystyle f'(x)=\lim_{h\to 0}\left(\sin x\,\frac{\cos h-1}{h}+\cos x\,\frac{\sin h}{h}\right)=\cos x\]

Differentiate from first principles

\[\displaystyle f(x)=\cos x\]
Show solution

Use the cosine addition formula and the same standard limits.

\[\displaystyle f'(x)=\lim_{h\to 0}\left(\cos x\,\frac{\cos h-1}{h}-\sin x\,\frac{\sin h}{h}\right)=-\sin x\]

Differentiate from first principles

\[\displaystyle f(x)=\tan x\]
Show solution

Using the sine difference identity and taking the limit gives:

\[\displaystyle f'(x)=\lim_{h\to 0}\frac{\sin h}{h\cos(x+h)\cos x}=\frac{1}{\cos^2 x}=\sec^2 x\]

Valid where \(\cos x\ne 0\).

Differentiate from first principles

\[\displaystyle f(x)=\cot x\]
Show solution

Apply the sine difference identity and take the limit:

\[\displaystyle f'(x)=\lim_{h\to 0}\frac{-\sin h}{h\sin(x+h)\sin x}=-\frac{1}{\sin^2 x}=-\csc^2 x\]

Valid where \(\sin x\ne 0\).

Two standard limits

\[\displaystyle \lim_{h\to 0}\frac{\sin h}{h}=1,\qquad \lim_{h\to 0}\frac{\cos h-1}{h}=0\]

These limits use radians.

Chain rule

From SJMathTube’s handwritten notes: differentiate the outside function, then the inside function.

Worked example from the notes
\[\displaystyle y=\sin^5 x\]
Show the steps
\[\displaystyle y=(\sin x)^5\]
\[\displaystyle \frac{dy}{dx}=5(\sin x)^4\cdot\cos x\]
\[\displaystyle \frac{dy}{dx}=5\sin^4x\cos x\]
Your turn · similar practice
\[\displaystyle y=\sin^4 x\]
Reveal the steps
\[\displaystyle y=(\sin x)^4\]
\[\displaystyle \frac{dy}{dx}=4(\sin x)^3\cdot\cos x\]
\[\displaystyle \frac{dy}{dx}=4\sin^3x\cos x\]

Implicit differentiation

Worked example from the notes

Find the derivative, treating a as constant.

\[\displaystyle x^2+y^2=a^2\]
Show the steps

Differentiate both sides with respect to x.

\[\displaystyle 2x+2y\frac{dy}{dx}=0\]
\[\displaystyle 2y\frac{dy}{dx}=-2x\]
\[\displaystyle \frac{dy}{dx}=-\frac{x}{y}\]

Where \(y\ne0\).

Your turn · similar practice
\[\displaystyle x^2+2y^2=8\]
Reveal the steps
\[\displaystyle 2x+4y\frac{dy}{dx}=0\]
\[\displaystyle 4y\frac{dy}{dx}=-2x\]
\[\displaystyle \frac{dy}{dx}=-\frac{x}{2y}\]

Where \(y\ne0\).

Parametric differentiation

\[\displaystyle \frac{dy}{dx}=\frac{\frac{dy}{dt}}{\frac{dx}{dt}}\]

Use this when the parameter derivatives exist and \(\frac{dx}{dt}\ne0\).

Worked example from the notes
\[\displaystyle x=a\sin t,\qquad y=a\cos t\]
Show the steps
\[\displaystyle \frac{dx}{dt}=a\cos t\]
\[\displaystyle \frac{dy}{dt}=-a\sin t\]
\[\displaystyle \frac{dy}{dx}=\frac{-a\sin t}{a\cos t}\]
\[\displaystyle \frac{dy}{dx}=-\tan t\]

Where \(a\cos t\ne0\).

Your turn · similar practice
\[\displaystyle x=2\sin t,\qquad y=3\cos t\]
Reveal the steps
\[\displaystyle \frac{dx}{dt}=2\cos t,\qquad \frac{dy}{dt}=-3\sin t\]
\[\displaystyle \frac{dy}{dx}=\frac{-3\sin t}{2\cos t}\]
\[\displaystyle \frac{dy}{dx}=-\frac{3}{2}\tan t\]

Where \(\cos t\ne0\).

Higher-order derivatives

Worked example from the notes

Find the second derivative.

\[\displaystyle y=x^3-x+1\]
Show the steps
\[\displaystyle \frac{dy}{dx}=3x^2-1+0\]
\[\displaystyle \frac{dy}{dx}=3x^2-1\]
\[\displaystyle \frac{d^2y}{dx^2}=3\cdot2x-0\]
\[\displaystyle \frac{d^2y}{dx^2}=6x\]
Your turn · similar practice

Find the second derivative.

\[\displaystyle y=x^4-2x\]
Reveal the steps
\[\displaystyle \frac{dy}{dx}=4x^3-2\]
\[\displaystyle \frac{d^2y}{dx^2}=12x^2\]
‹
Formulae

Available Formula Sheets

⌂ Home
Latest
Latest Content Auto
Home