Skip to content

← Grade 11 Mathematics

Derivatives

Unit 18 · Calculus

Hide the stories, facts, photos, activities and interactives, for revising before an exam
What this builds on from class
In this unit 10 sections
  1. 18.1 Derivative of a function
  2. 18.2 Derivatives from the definition
  3. 18.3 Rules of differentiation
  4. 18.4 Derivatives of parametric and implicit functions
  5. 18.5 Higher order derivatives
  6. 18.6 Geometric interpretation of derivative
  7. 18.7 Monotonicity of a function and interval of monotonicity
  8. 18.8 Extreme values of a function
  9. 18.9 Concavity and points of inflection
  10. Exercise

Water for Upper Tamakoshi, the biggest power station in Nepal when it opened in 2021, drops more than 800 m through shafts and a steel pipe and leaves a nozzle at well over 100 m/s, straight into the cups of a Pelton wheel. If the cups move too slowly, the water splashes off still carrying much of its energy. If they move as fast as the jet, the water never catches them and gives them nothing. Somewhere in between is the speed that takes the most power.

So here is this unit’s question: how fast should the cups move? To answer it you need two things: how quickly a quantity changes at one instant, its derivative, and how the derivative finds the top of a curve without drawing it. The answer comes at the end of 18.8.
Head, speed and units: ANDRITZ Hydronews 35 (2021).

A large metal Pelton wheel standing on a post outside a building, with about twenty double cups around its rim
Figure 18.1 A Pelton wheel’s runner on show in Karlsruhe, Germany. The jet strikes the ridge between each pair of cups and is turned back on itself; Upper Tamakoshi’s six wheels work the same way. Photo: Dietmar Rabich, CC BY-SA 4.0

18.1 Derivative of a function

How fast, at one instant

Drop a stone from a high bridge. Ignoring the air, it has fallen s=4.9t2 s = 4.9t^2 meters after t seconds. How fast is it going at t = 1?

Speed is distance over time, but at one instant no time passes: 00 \frac{0}{0} . So take a short time instead, from t = 1 to t = 1 + h, and find the average speed over it:
s(1+h)−s(1)h=4.9(1+h)2−4.9h=4.9(2h+h2)h=9.8+4.9h \frac{s(1 + h) - s(1)}{h} = \frac{4.9(1 + h)^2 - 4.9}{h} = \frac{4.9(2h + h^2)}{h} = 9.8 + 4.9h

Time taken, h (s) 1 0.1 0.01 0.001
Average speed (m/s) 14.7 10.29 9.849 9.8049

As h shrinks, the averages head for 9.8 m/s. That is the speed at the instant t = 1: not any one average, but the limit they approach as the time shrinks to nothing. (Limits, and why 00 \frac{0}{0} can still have a limit, are Unit 17.)

The same question can be asked of anything that changes: how fast a tank fills at 10 o’clock, how fast a price rises in March, how steeply a road climbs at one bend. Each is a rate of change at an instant, and each is found the same way.

The derivative

For a function y = f(x), let x change by a small amount h. Then y changes by f(x + h) − f(x), and the average rate of change over that interval is
f(x+h)−f(x)h \frac{f(x + h) - f(x)}{h}
On the graph it is the slope of the line through P(x, f(x)) and Q(x + h, f(x + h)), a secant (a line cutting the curve at two points).

The derivative of f at x is the limit of that average as h → 0:
f′(x)=lim⁡h→0f(x+h)−f(x)h f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}
provided the limit exists. If it does, f is differentiable at x. Finding a derivative is differentiation, and finding it from this limit is differentiation from the definition, or from first principles.

As h → 0, Q slides along the curve to P, and the secant turns into the tangent at P. So the derivative is also the slope of the tangent: the steepness of the curve at that one point.

Try it

Watch a secant become a tangent

Shrink h: the secant PQ settles on the tangent. Then try |x| from both sides.

−1123123XYOPQ

f(x) = x2 at x = 1

Q on the:
━ Slope of PQ
3.000
┅ Slope of the tangent
f′(1) = 2

The slope of PQ is 2 + h: it heads for 2 from either side, the tangent’s slope.

Many books write the definition with δx \delta x (“a small change in x”) for h: if y = f(x), then y+δy=f(x+δx) y + \delta y = f(x + \delta x) , so δy=f(x+δx)−f(x) \delta y = f(x + \delta x) - f(x) and
dydx=lim⁡δx→0δyδx \frac{dy}{dx} = \lim_{\delta x \to 0} \frac{\delta y}{\delta x}
It is the same limit, and either form gets full marks.

Notation. The derivative of y = f(x) is written f′(x) (read “f dash x”), dydx \dfrac{dy}{dx} (“d y by d x”), y′, y₁, or ddxf(x) \dfrac{d}{dx} f(x) . In dydx \frac{dy}{dx} , ddx \frac{d}{dx} means “the derivative with respect to x of”; it is one symbol, not a fraction to cancel. Its value at a point is f′(a) or dydx∣x=a \left. \frac{dy}{dx} \right|_{x = a} .

Which of these is the derivative of f at x = a?

Pick an answer to see why.

When there is no derivative

The limit can fail to exist. Take f(x) = |x| at x = 0:
f(0+h)−f(0)h=∣h∣h={1,h>0−1,h<0 \frac{f(0 + h) - f(0)}{h} = \frac{|h|}{h} = \begin{cases} 1, & h > 0 \\ -1, & h < 0 \end{cases}
From the right the slope is always 1, from the left always −1. The two one-sided limits differ, so |x| has no derivative at 0, though it is continuous there. The graph has a corner (Figure 18.2): no single line touches it there.

−3−2−1123123XYO
Figure 18.2 y = |x|: slope −1 on the left, 1 on the right, and a corner at O where no tangent fits.

A function is not differentiable at x = a when its graph has

  • a break there (it isn’t continuous),
  • a corner (the one-sided slopes differ, as |x| at 0), or
  • a vertical tangent (the slopes grow without bound: x3 \sqrt[3]{x} at 0, where h1/3h=h−2/3→∞ \frac{h^{1/3}}{h} = h^{-2/3} \to \infty ).

Differentiable means continuous. If f′(a) exists, then

  1. f(a+h)−f(a)=f(a+h)−f(a)h×h f(a + h) - f(a) = \dfrac{f(a + h) - f(a)}{h} \times h for h ≠ 0 (multiply and divide by h);
  2. as h → 0 the right side tends to f′(a) × 0 = 0 (the limit of a product is the product of the limits);
  3. so f(a + h) → f(a): f is continuous at a.

The converse is false: |x| is continuous at 0 but not differentiable there.

f(x) = |x − 3|. At x = 3, f is:

Pick an answer to see why.

18.2 Derivatives from the definition

Every derivative in this section is found straight from f′(x)=lim⁡h→0f(x+h)−f(x)h f'(x) = \lim\limits_{h \to 0} \frac{f(x + h) - f(x)}{h} , with only the limits of Unit 17: lim⁡x→axn−anx−a=nan−1 \lim\limits_{x \to a} \frac{x^n - a^n}{x - a} = na^{n - 1} , lim⁡θ→0sin⁡θθ=1 \lim\limits_{\theta \to 0} \frac{\sin \theta}{\theta} = 1 , lim⁡h→0eh−1h=1 \lim\limits_{h \to 0} \frac{e^h - 1}{h} = 1 , lim⁡h→0ah−1h=ln⁡a \lim\limits_{h \to 0} \frac{a^h - 1}{h} = \ln a and lim⁡t→0ln⁡(1+t)t=1 \lim\limits_{t \to 0} \frac{\ln(1 + t)}{t} = 1 . The trick each time is the same: rewrite f(x + h) − f(x) until an h cancels or one of those limits appears.

Algebraic functions

A constant. If f(x) = c, then f(x + h) − f(x) = c − c = 0, so ddx(c)=0 \frac{d}{dx}(c) = 0 : a flat line has slope 0.

xn x^n . Let f(x)=xn f(x) = x^n , n any rational number, and x > 0 (for a whole number n, any x).

  1. f′(x)=lim⁡h→0(x+h)n−xnh f'(x) = \lim\limits_{h \to 0} \dfrac{(x + h)^n - x^n}{h} (the definition).
  2. Put z = x + h; as h → 0, z → x, and h = z − x: f′(x)=lim⁡z→xzn−xnz−x f'(x) = \lim\limits_{z \to x} \dfrac{z^n - x^n}{z - x} .
  3. That is the standard limit, nxn−1 nx^{n - 1} . So

ddx(xn)=nxn−1 \frac{d}{dx}(x^n) = nx^{n - 1}

So ddx(x5)=5x4 \frac{d}{dx}(x^5) = 5x^4 , ddx(x)=ddx(x1/2)=12x−1/2=12x \frac{d}{dx}(\sqrt{x}) = \frac{d}{dx}\left(x^{1/2}\right) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}} , and ddx(1x)=ddx(x−1)=−1x2 \frac{d}{dx}\left(\frac{1}{x}\right) = \frac{d}{dx}(x^{-1}) = -\frac{1}{x^2} .

A question that says “from the definition” wants the working, not the rule. For a fraction, take the common denominator; for a root, rationalize:

Trigonometric functions

Angles are in radians throughout: sin⁡θθ→1 \frac{\sin \theta}{\theta} \to 1 only then.

sin x.

  1. sin⁡(x+h)−sin⁡x=2cos⁡(x+h2)sin⁡h2 \sin(x + h) - \sin x = 2\cos\left(x + \frac{h}{2}\right)\sin\frac{h}{2} (sin⁡C−sin⁡D=2cos⁡C+D2sin⁡C−D2 \sin C - \sin D = 2\cos\frac{C + D}{2}\sin\frac{C - D}{2} ).
  2. So sin⁡(x+h)−sin⁡xh=cos⁡(x+h2)⋅sin⁡(h/2)h/2 \dfrac{\sin(x + h) - \sin x}{h} = \cos\left(x + \frac{h}{2}\right) \cdot \dfrac{\sin(h/2)}{h/2} (divide by h=2⋅h2 h = 2 \cdot \frac{h}{2} ).
  3. As h → 0, cos⁡(x+h2)→cos⁡x \cos\left(x + \frac{h}{2}\right) \to \cos x (cos is continuous) and sin⁡(h/2)h/2→1 \frac{\sin(h/2)}{h/2} \to 1 . So

ddx(sin⁡x)=cos⁡x \frac{d}{dx}(\sin x) = \cos x

cos x. The same way, with cos⁡C−cos⁡D=−2sin⁡C+D2sin⁡C−D2 \cos C - \cos D = -2\sin\frac{C + D}{2}\sin\frac{C - D}{2} :
cos⁡(x+h)−cos⁡xh=−sin⁡(x+h2)⋅sin⁡(h/2)h/2→−sin⁡x,ddx(cos⁡x)=−sin⁡x \frac{\cos(x + h) - \cos x}{h} = -\sin\left(x + \frac{h}{2}\right) \cdot \frac{\sin(h/2)}{h/2} \to -\sin x, \qquad \frac{d}{dx}(\cos x) = -\sin x

tan x.

  1. tan⁡(x+h)−tan⁡x=sin⁡(x+h)cos⁡x−cos⁡(x+h)sin⁡xcos⁡(x+h)cos⁡x=sin⁡hcos⁡(x+h)cos⁡x \tan(x + h) - \tan x = \dfrac{\sin(x + h)\cos x - \cos(x + h)\sin x}{\cos(x + h)\cos x} = \dfrac{\sin h}{\cos(x + h)\cos x} (sin (A − B) on top).
  2. So tan⁡(x+h)−tan⁡xh=sin⁡hh⋅1cos⁡(x+h)cos⁡x→1⋅1cos⁡2x \dfrac{\tan(x + h) - \tan x}{h} = \dfrac{\sin h}{h} \cdot \dfrac{1}{\cos(x + h)\cos x} \to 1 \cdot \dfrac{1}{\cos^2 x} .

ddx(tan⁡x)=sec⁡2x \frac{d}{dx}(\tan x) = \sec^2 x

Inverse trigonometric functions

sin⁡−1x \sin^{-1} x , for −1 < x < 1.

  1. Let y=sin⁡−1x y = \sin^{-1} x and y+k=sin⁡−1(x+h) y + k = \sin^{-1}(x + h) . Then x =  sin y and x + h =  sin (y + k), so h =  sin (y + k) −  sin y.
  2. sin⁡−1 \sin^{-1} is continuous, so as h → 0, k → 0 too.
  3. sin⁡−1(x+h)−sin⁡−1xh=ksin⁡(y+k)−sin⁡y=1/sin⁡(y+k)−sin⁡yk \dfrac{\sin^{-1}(x + h) - \sin^{-1} x}{h} = \dfrac{k}{\sin(y + k) - \sin y} = 1 \Big/ \dfrac{\sin(y + k) - \sin y}{k} .
  4. As k → 0, sin⁡(y+k)−sin⁡yk→cos⁡y \frac{\sin(y + k) - \sin y}{k} \to \cos y (the derivative of sine, found above), so the limit is 1cos⁡y \frac{1}{\cos y} .
  5. y lies in (−π2,π2) \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) , where cos y > 0: cos⁡y=1−sin⁡2y=1−x2 \cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2} .

ddx(sin⁡−1x)=11−x2,−1<x<1 \frac{d}{dx}(\sin^{-1} x) = \frac{1}{\sqrt{1 - x^2}}, \quad -1 < x < 1

tan⁡−1x \tan^{-1} x , for every x. The same steps with x =  tan y, h =  tan (y + k) −  tan y: the limit is 1/sec⁡2y=11+tan⁡2y 1 \big/ \sec^2 y = \frac{1}{1 + \tan^2 y} .
ddx(tan⁡−1x)=11+x2 \frac{d}{dx}(\tan^{-1} x) = \frac{1}{1 + x^2}

Exponential and logarithmic functions

ex e^x . ex+h−exh=ex⋅eh−1h→ex⋅1 \dfrac{e^{x + h} - e^x}{h} = e^x \cdot \dfrac{e^h - 1}{h} \to e^x \cdot 1 .
ddx(ex)=ex \frac{d}{dx}(e^x) = e^x
Apart from its own multiples, the only function that is its own slope: at every point, ex e^x climbs as steeply as it is high.

ax a^x (a > 0). ax+h−axh=ax⋅ah−1h→axln⁡a \dfrac{a^{x + h} - a^x}{h} = a^x \cdot \dfrac{a^h - 1}{h} \to a^x \ln a .
ddx(ax)=axln⁡a \frac{d}{dx}(a^x) = a^x \ln a

ln⁡x \ln x (x > 0; ln⁡x=log⁡ex \ln x = \log_e x ).

  1. ln⁡(x+h)−ln⁡x=ln⁡x+hx=ln⁡(1+hx) \ln(x + h) - \ln x = \ln\dfrac{x + h}{x} = \ln\left(1 + \dfrac{h}{x}\right) (a log of a quotient).
  2. Put t=hx t = \frac{h}{x} , so h = xt and t → 0 as h → 0: ln⁡(1+t)xt=1x⋅ln⁡(1+t)t→1x \dfrac{\ln(1 + t)}{xt} = \dfrac{1}{x} \cdot \dfrac{\ln(1 + t)}{t} \to \dfrac{1}{x} .

ddx(ln⁡x)=1x \frac{d}{dx}(\ln x) = \frac{1}{x}

log⁡ax \log_a x . log⁡ax=ln⁡xln⁡a \log_a x = \frac{\ln x}{\ln a} (change of base), a constant times ln⁡x \ln x , so the same steps give
ddx(log⁡ax)=1xln⁡a=log⁡aex \frac{d}{dx}(\log_a x) = \frac{1}{x \ln a} = \frac{\log_a e}{x}

ddx(tan⁡−1x) \frac{d}{dx}(\tan^{-1} x) is:

Pick an answer to see why.

Using lim⁡h→0ah−1h=ln⁡a \lim\limits_{h \to 0} \frac{a^h - 1}{h} = \ln a , the derivative of 2x 2^x is:

Pick an answer to see why.

18.3 Rules of differentiation

Working from the definition every time would be slow. The rules below are each proved once from the definition, and then they do the work. Throughout, u and v are functions of x with derivatives u′ and v′, and c is a constant.

Sum, difference and constant multiple

(u±v)′=u′±v′,(cu)′=cu′ (u \pm v)' = u' \pm v', \qquad (cu)' = cu'

  1. [u(x+h)±v(x+h)]−[u(x)±v(x)]h=u(x+h)−u(x)h±v(x+h)−v(x)h \dfrac{[u(x + h) \pm v(x + h)] - [u(x) \pm v(x)]}{h} = \dfrac{u(x + h) - u(x)}{h} \pm \dfrac{v(x + h) - v(x)}{h} (regroup).
  2. Each fraction tends to its derivative (the limit of a sum is the sum of the limits). For cu, the c comes out of the fraction and the limit the same way.

So a polynomial is differentiated term by term, after writing roots and fractions as powers: ddx(4x3−5x+7x2)=ddx(4x3−5x1/2+7x−2)=12x2−52x−14x3 \frac{d}{dx}\left(4x^3 - 5\sqrt{x} + \frac{7}{x^2}\right) = \frac{d}{dx}\left(4x^3 - 5x^{1/2} + 7x^{-2}\right) = 12x^2 - \frac{5}{2\sqrt{x}} - \frac{14}{x^3} .

Product rule

(uv)′=uv′+vu′ (uv)' = uv' + vu'

  1. Add and take away u(x + h)v(x) on top: u(x + h)v(x + h) − u(x)v(x) = u(x + h)[v(x + h) − v(x)] + v(x)[u(x + h) − u(x)].
  2. Divide by h: u(x+h)v(x+h)−v(x)h+v(x)u(x+h)−u(x)h u(x + h)\dfrac{v(x + h) - v(x)}{h} + v(x)\dfrac{u(x + h) - u(x)}{h} .
  3. As h → 0, u(x + h) → u(x) (u is differentiable, so continuous), and the fractions tend to v′ and u′.

Quotient rule

(uv)′=vu′−uv′v2,v≠0 \left( \frac{u}{v} \right)' = \frac{vu' - uv'}{v^2}, \quad v \neq 0

  1. u(x+h)v(x+h)−u(x)v(x)=v(x)u(x+h)−u(x)v(x+h)v(x)v(x+h) \dfrac{u(x + h)}{v(x + h)} - \dfrac{u(x)}{v(x)} = \dfrac{v(x)u(x + h) - u(x)v(x + h)}{v(x)v(x + h)} (common denominator).
  2. Add and take away u(x)v(x) on top: it becomes v(x)[u(x + h) − u(x)] − u(x)[v(x + h) − v(x)].
  3. Divide by h and let h → 0: the top tends to vu′ − uv′, the bottom to v⋅v=v2 v \cdot v = v^2 .

Chain rule

A composite function is a function of a function: y=sin⁡(x2) y = \sin(x^2) is y =  sin u with u=x2 u = x^2 . Its derivative is the product of the two rates:
dydx=dydu⋅dudx \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}
If u changes 3 times as fast as x, and y 2 times as fast as u, then y changes 2 × 3 = 6 times as fast as x.

Why it holds: let x change by δx \delta x , u by δu \delta u and y by δy \delta y .

  1. δyδx=δyδu⋅δuδx \dfrac{\delta y}{\delta x} = \dfrac{\delta y}{\delta u} \cdot \dfrac{\delta u}{\delta x} (when δu≠0 \delta u \neq 0 ).
  2. As δx→0 \delta x \to 0 , δu→0 \delta u \to 0 too (u is continuous), so δyδu→dydu \frac{\delta y}{\delta u} \to \frac{dy}{du} and δuδx→dudx \frac{\delta u}{\delta x} \to \frac{du}{dx} .

(A proof that also covers a u whose change is 0 at points near x needs one more step; the rule holds all the same.)

With the chain rule every rule of 18.2 grows: ddx(sin⁡u)=cos⁡u⋅u′ \frac{d}{dx}(\sin u) = \cos u \cdot u' , ddx(eu)=euu′ \frac{d}{dx}(e^u) = e^u u' , ddx(ln⁡u)=u′u \frac{d}{dx}(\ln u) = \frac{u'}{u} , and the general power rule
ddx(un)=nun−1u′ \frac{d}{dx}(u^n) = nu^{n - 1}u'

The other trigonometric and inverse functions

The rules finish the list. Write each as a quotient, or as a known inverse turned round:

  • cot⁡x=cos⁡xsin⁡x \cot x = \frac{\cos x}{\sin x} : (cot⁡x)′=sin⁡x(−sin⁡x)−cos⁡xcos⁡xsin⁡2x=−1sin⁡2x=−csc⁡2x (\cot x)' = \frac{\sin x(-\sin x) - \cos x \cos x}{\sin^2 x} = -\frac{1}{\sin^2 x} = -\csc^2 x .
  • sec⁡x=1cos⁡x \sec x = \frac{1}{\cos x} : (sec⁡x)′=0−1⋅(−sin⁡x)cos⁡2x=sec⁡xtan⁡x (\sec x)' = \frac{0 - 1 \cdot (-\sin x)}{\cos^2 x} = \sec x \tan x .
  • csc⁡x=1sin⁡x \csc x = \frac{1}{\sin x} : (csc⁡x)′=−csc⁡xcot⁡x (\csc x)' = -\csc x \cot x .
  • cos⁡−1x=π2−sin⁡−1x \cos^{-1} x = \frac{\pi}{2} - \sin^{-1} x : (cos⁡−1x)′=−11−x2 (\cos^{-1} x)' = -\frac{1}{\sqrt{1 - x^2}} , −1 < x < 1.
  • cot⁡−1x=π2−tan⁡−1x \cot^{-1} x = \frac{\pi}{2} - \tan^{-1} x : (cot⁡−1x)′=−11+x2 (\cot^{-1} x)' = -\frac{1}{1 + x^2} .
  • sec⁡−1x=cos⁡−11x \sec^{-1} x = \cos^{-1}\frac{1}{x} : (sec⁡−1x)′=−11−1/x2⋅(−1x2)=1∣x∣x2−1 (\sec^{-1} x)' = -\frac{1}{\sqrt{1 - 1/x^2}} \cdot \left(-\frac{1}{x^2}\right) = \frac{1}{|x|\sqrt{x^2 - 1}} , |x| > 1.
  • csc⁡−1x=π2−sec⁡−1x \csc^{-1} x = \frac{\pi}{2} - \sec^{-1} x : (csc⁡−1x)′=−1∣x∣x2−1 (\csc^{-1} x)' = -\frac{1}{|x|\sqrt{x^2 - 1}} , |x| > 1.

(csc⁡x \csc x is the same as cosec⁡x \operatorname{cosec} x , which most Nepali books write.)

Worked examples

If y=ln⁡(cos⁡x) y = \ln(\cos x) , then dydx \frac{dy}{dx} is:

Pick an answer to see why.

ddx[(x2+1)3] \frac{d}{dx}\left[ (x^2 + 1)^3 \right] is:

Pick an answer to see why.

18.4 Derivatives of parametric and implicit functions

Parametric functions

Some curves are easiest to write with a third variable, a parameter: a point’s x and y are both given by t. A small stone stuck in a bicycle tyre’s tread, as the wheel of radius a rolls, traces x = a(θ −  sin θ), y = a(1 −  cos θ), where θ is the angle the wheel has turned (a cycloid). To find its slope there is no need to get rid of θ.

If x = f(t) and y = g(t), the chain rule gives dydt=dydx⋅dxdt \frac{dy}{dt} = \frac{dy}{dx} \cdot \frac{dx}{dt} , so
dydx=dy/dtdx/dt,dxdt≠0 \frac{dy}{dx} = \frac{dy/dt}{dx/dt}, \quad \frac{dx}{dt} \neq 0

Implicit functions

y=x2+1 y = x^2 + 1 gives y explicitly. An equation such as x2+y2=25 x^2 + y^2 = 25 or x3+y3=3xy x^3 + y^3 = 3xy ties x and y together without solving for y: it defines y implicitly. To find dydx \frac{dy}{dx} , differentiate both sides with respect to x, treating y as a function of x, so the chain rule gives
ddx(y2)=2ydydx,ddx(xy)=xdydx+y,ddx(sin⁡y)=cos⁡ydydx \frac{d}{dx}(y^2) = 2y\frac{dy}{dx}, \qquad \frac{d}{dx}(xy) = x\frac{dy}{dx} + y, \qquad \frac{d}{dx}(\sin y) = \cos y\frac{dy}{dx}
then solve for dydx \frac{dy}{dx} .

The slope of the curve x2+xy+y2=7 x^2 + xy + y^2 = 7 at the point (1, 2) is:

Pick an answer to see why.

If x=t2 x = t^2 and y = 2t, then dydx \frac{dy}{dx} is:

Pick an answer to see why.

18.5 Higher order derivatives

f′(x) is a function too, so it has a derivative: the second derivative,
f′′(x)=ddx(dydx)=d2ydx2(also y′′ or y2) f''(x) = \frac{d}{dx}\left( \frac{dy}{dx} \right) = \frac{d^2y}{dx^2} \quad (\text{also } y'' \text{ or } y_2)
then the third, f′′′(x)=d3ydx3 f'''(x) = \frac{d^3y}{dx^3} (y₃), and the nth, dnydxn \frac{d^ny}{dx^n} (yn y_n ).

What it means: the first derivative is how fast y changes; the second is how fast that rate itself changes. If s is a car’s position at time t, dsdt \frac{ds}{dt} is its velocity and d2sdt2 \frac{d^2s}{dt^2} its acceleration Grade 11: Grade 11 Physics, Kinematics. On a graph, f′′ says how the slope is changing: whether the curve bends up or down (18.9).

If y = A cos 3x + B sin 3x, then d2ydx2 \frac{d^2y}{dx^2} is:

Pick an answer to see why.

The second derivative of a parametric curve. d2ydx2 \frac{d^2y}{dx^2} is the derivative with respect to x of dydx \frac{dy}{dx} , which is a function of t. By the chain rule,
d2ydx2=ddt(dydx)÷dxdt \frac{d^2y}{dx^2} = \frac{d}{dt}\left( \frac{dy}{dx} \right) \div \frac{dx}{dt}

If y=x4−3x2+2 y = x^4 - 3x^2 + 2 , the value of d2ydx2 \frac{d^2y}{dx^2} at x = 1 is:

Pick an answer to see why.

18.6 Geometric interpretation of derivative

The derivative f′(a) is the slope of the tangent to y = f(x) at P(a, f(a)). If the tangent makes an angle ψ \psi with the positive X-axis (measured anticlockwise, 0≤ψ<π 0 \le \psi < \pi ), then
f′(a)=dydx∣x=a=tan⁡ψ f'(a) = \left. \frac{dy}{dx} \right|_{x = a} = \tan\psi

2341234XYOPT
Figure 18.4 The tangent to y=x24 y = \frac{x^2}{4} at P(2, 1) meets the X-axis at T at ψ=45° \psi = 45° : the slope there is tan⁡45°=1 \tan 45° = 1 , and f′(2)=22=1 f'(2) = \frac{2}{2} = 1 .

So the sign and size of the derivative can be read off the curve:

  • f′(a) > 0: ψ \psi is acute, the curve rises through P;
  • f′(a) < 0: ψ \psi is obtuse, the curve falls;
  • f′(a) = 0: ψ=0 \psi = 0 , the tangent is parallel to the X-axis (a flat spot);
  • dydx \frac{dy}{dx} growing without bound (dxdy=0 \frac{dx}{dy} = 0 ): ψ=90° \psi = 90° , the tangent is parallel to the Y-axis, and there is no derivative.

The bigger |f′(a)|, the steeper the curve. Grade 12 builds on this slope: the equations of the tangent and the normal through P, and rates of change such as how fast a balloon’s radius grows.

At which point of y=x2−4x+5 y = x^2 - 4x + 5 does the tangent make an angle of 45° with the positive X-axis?

Pick an answer to see why.

The tangent to y=x3−2x y = x^3 - 2x at x = 1 makes an angle with the positive X-axis of:

Pick an answer to see why.

18.7 Monotonicity of a function and interval of monotonicity

A function is increasing on an interval if, as x goes right, f(x) goes up: for any x₁ < x₂ in the interval, f(x₁) < f(x₂). It is decreasing if f(x₁) > f(x₂) whenever x₁ < x₂. (Some books call these strictly increasing and decreasing, and use “increasing” for f(x₁) ≤ f(x₂).) A function that is only increasing, or only decreasing, on an interval is monotonic there, and that interval is an interval of monotonicity.

Unit 4 judged this from a graph. The derivative decides it from the formula, because a curve whose tangents all slope upward must climb:

On an interval where f′(x) > 0, f is increasing; where f′(x) < 0, f is decreasing.

(The proof uses the mean value theorem, met in higher mathematics. f′ may be 0 at single points without spoiling it: x3 x^3 has f′(0) = 0 but increases everywhere, and x +  sin x, with f′(x) = 1 +  cos x ≥ 0, pauses at x=π,3π,… x = \pi, 3\pi, \dots but never goes back down.)

Try it

A function and its derivative, linked

Slide x: above, f and its tangent; below, its slope f′. Green: f′ > 0, f rises. Watch where f′ crosses 0, then try x3 x^3 and the third curve.

−22−2−11248−2−112y = f(x)y = f′(x)maxmin

f(x) = x3 − 3x,  f′(x) = 3x2 − 3

f(x)
−1.38
f′(x), the slope
−2.25
f″(x), the bend
3.00

f′ < 0, so f is falling; f″ > 0, so its slope is growing: concave up.

To find the intervals of monotonicity:

  1. Find f′(x), and factorize it.
  2. Find where f′(x) = 0 or doesn’t exist: these points cut the domain into intervals.
  3. In each interval, find the sign of f′(x) (from its factors, or one test value).
  4. +: increasing; −: decreasing.

On which interval is f(x)=x3−12x f(x) = x^3 - 12x decreasing?

Pick an answer to see why.

f(x)=x3+x+1 f(x) = x^3 + x + 1 . How many real roots does f(x) = 0 have?

Pick an answer to see why.

18.8 Extreme values of a function

A function has a local maximum at x = c if f(c) ≥ f(x) for every x near c (on both sides), and a local minimum if f(c) ≤ f(x) there. Either is an extreme value (or extremum), and c is a point of extremum. “Local” matters: a hilltop is the highest point near it, not necessarily the highest point on the map.

Look at the tops and bottoms in Figure 18.5 and the widget above. At each one, the tangent is flat. That is always so where there is a tangent:

If f has a local extreme at c and f′(c) exists, then f′(c) = 0.

  1. Say f(c) is a local maximum. For small h > 0, f(c + h) ≤ f(c), so f(c+h)−f(c)h≤0 \frac{f(c + h) - f(c)}{h} \le 0 , and its limit, f′(c), is ≤ 0.
  2. For small h < 0, the top is still ≤ 0 but now the bottom is negative, so f(c+h)−f(c)h≥0 \frac{f(c + h) - f(c)}{h} \ge 0 , and f′(c) ≥ 0.
  3. Both, so f′(c) = 0. (A minimum is the same with the signs swapped.)

A point where f′(c) = 0 or f′(c) doesn’t exist is a critical point; f′(c) = 0 alone makes it a stationary point. Every local extreme is at a critical point. But not every critical point is an extreme: x3 x^3 has f′(0) = 0 and no extreme there. A test is needed.

First derivative test

Let c be a critical point. Look at the sign of f′ just left and just right of c:

  • + then − (rising, then falling): a local maximum;
  • − then + (falling, then rising): a local minimum;
  • the same sign on both sides: no extreme (x3 x^3 at 0).

It works at corners too: |x| has no derivative at 0, but f′ = −1 on the left and + 1 on the right, so 0 is a local minimum.

Second derivative test

At a stationary point, f′(c) = 0:

  • f′′(c) < 0: the slope is decreasing through 0, from + to −: a local maximum;
  • f′′(c) > 0: the slope is increasing through 0: a local minimum;
  • f′′(c) = 0: the test says nothing. Go back to the first derivative test.

Greatest and least values on a closed interval

On a closed interval [a, b], a continuous function has a greatest and a least value (the absolute maximum and minimum). Each is either at a critical point inside, or at an end of the interval, where the curve can be highest just because it stops there. So: find f at the critical points in (a, b) and at a and b, and compare.

Problems of the best

“The most”, “the least”, “the largest”, “the cheapest” are maximum and minimum questions. Write the quantity to make best as a function of one variable, using the condition to remove any other, then find its extreme.

Back to the Pelton wheel

The answer: the cups should move at half the speed of the jet. Here is why. Say the jet arrives at speed v and the cups move away from it at speed u.

  1. Riding on a cup, you see the water arrive at v − u. The cup turns it right round, so it leaves at v − u backwards.
  2. Each kilogram of water has its velocity (as the cup sees it) changed by 2(v − u), so the push on the cups is F=2ρQ(v−u) F = 2\rho Q(v - u) , where ρQ \rho Q is the mass of water arriving each second.
  3. Power is force × speed: P(u)=Fu=2ρQ(v−u)u P(u) = Fu = 2\rho Q(v - u)u .
  4. P′(u)=2ρQ(v−2u)=0 P'(u) = 2\rho Q(v - 2u) = 0 at u=v2 u = \frac{v}{2} , and P′′(u)=−4ρQ<0 P''(u) = -4\rho Q < 0 : a maximum.

At u=v2 u = \frac{v}{2} the water leaves the cups at speed v−u=v2 v - u = \frac{v}{2} backwards, as seen from a cup moving forwards at v2 \frac{v}{2} : it simply drops, its kinetic energy all given to the wheel. That is why every Pelton wheel is designed with its cups moving at close to half the jet’s speed.

f′(c) = 0 and f′′(c) = 0. What can you conclude?

Pick an answer to see why.

The greatest value of x(10 − x) is:

Pick an answer to see why.

18.9 Concavity and points of inflection

A curve can rise in two ways: faster and faster, bending upward, or slower and slower, bending over. The first derivative can’t tell them apart (both are positive); the second can.

A curve is concave upward (or convex) on an interval if its slope increases there: it bends up like a cup, and lies above its tangents. It is concave downward if its slope decreases: it bends down like a cap, and lies below its tangents. Since f′′ is the rate of change of the slope:

f′′(x) > 0 on an interval: concave up. f′′(x) < 0: concave down.

A point of inflection is a point of the curve where its concavity changes, from up to down or from down to up. There, if f′′ exists, f′′(c) = 0. But again, not the other way round: x4 x^4 has f′′(0) = 0 and is concave up on both sides. An inflection needs f′′ to change sign.

12312345XYOI(2, 3)
Figure 18.6 y=x3−6x2+9x+1 y = x^3 - 6x^2 + 9x + 1 : concave down (a cap) left of I(2, 3), concave up (a cup) right of it. At the inflection I the curve crosses its own tangent, y = −3x + 9.

To find concavity and inflections: find f′′, find where it is 0 or doesn’t exist, find its sign on each piece, and keep only the points where the sign changes.

The points of inflection of y=x4−6x2 y = x^4 - 6x^2 are:

Pick an answer to see why.

On which interval is y=x3−3x2 y = x^3 - 3x^2 concave upward?

Pick an answer to see why.

Exercise

Choose the correct option

ddx(sec⁡x) \frac{d}{dx}(\sec x) is:

Pick an answer to see why.

A point where f′(x) = 0 is called:

Pick an answer to see why.

If f′′(x) < 0 on an interval, the curve y = f(x) is there:

Pick an answer to see why.

ddx(ex2) \frac{d}{dx}\left(e^{x^2}\right) is:

Pick an answer to see why.

If x=asec⁡θ x = a\sec\theta and y = b tan θ, then dydx \frac{dy}{dx} is:

Pick an answer to see why.

If xy = 4, then dydx \frac{dy}{dx} is:

Pick an answer to see why.

The function f(x)=e−x f(x) = e^{-x} is:

Pick an answer to see why.

The slope of the tangent to the curve x=t2 x = t^2 , y=t3 y = t^3 at t = 2 is:

Pick an answer to see why.

The least value of x2−6x+10 x^2 - 6x + 10 is:

Pick an answer to see why.

x3−3x+k=0 x^3 - 3x + k = 0 has three different real roots exactly when:

Pick an answer to see why.

f is differentiable with f′(x) > 0 for every x, and g(x) = f(−x). Then g is:

Pick an answer to see why.

Short questions

1.

From the definition, find the derivative of

  • a.cos 2x (2 marks)
  • b.1x \dfrac{1}{\sqrt{x}} (2 marks)
  • c.ln⁡2x \ln 2x , x > 0 (1 mark)
Hint
Answer
2.

Differentiate with respect to x:

  • a.(x2+1)tan⁡−1x (x^2 + 1)\tan^{-1} x (1 mark)
  • b.1−cos⁡x1+cos⁡x \dfrac{1 - \cos x}{1 + \cos x} (2 marks)
  • c.sin⁡−1(3x−4x3) \sin^{-1}(3x - 4x^3) , for ∣x∣<12 |x| < \frac{1}{2} (2 marks)
Hint
Answer
3.

A curve is given by x = a( cos t + t sin t), y = a( sin t − t cos t).

  • a.Show that dydx=tan⁡t \dfrac{dy}{dx} = \tan t . (2 marks)
  • b.Find d2ydx2 \dfrac{d^2y}{dx^2} . (3 marks)
Hint
Answer
4.

If xy=ex−y x^y = e^{x - y} , show that dydx=ln⁡x(1+ln⁡x)2 \dfrac{dy}{dx} = \dfrac{\ln x}{(1 + \ln x)^2} . (5 marks)

Hint
Answer
5.

If y=e−xcos⁡x y = e^{-x}\cos x , show that d2ydx2+2dydx+2y=0 \dfrac{d^2y}{dx^2} + 2\dfrac{dy}{dx} + 2y = 0 . (5 marks)

Answer
6.

For f(x)=x3−3x2−9x+5 f(x) = x^3 - 3x^2 - 9x + 5 :

  • a.find the points where the tangent is parallel to the X-axis; (2 marks)
  • b.find the intervals in which f is increasing and decreasing. (3 marks)
Answer
7.

Find the intervals of concavity and the points of inflection of f(x)=x4−4x3+10 f(x) = x^4 - 4x^3 + 10 . (5 marks)

Answer
8.

Prove that x>ln⁡(1+x) x > \ln(1 + x) for every x > 0. (5 marks)

Hint
Answer

Long questions

9.

f(x)=2x3−3x2−12x+5 f(x) = 2x^3 - 3x^2 - 12x + 5 .

  • a.Find the intervals of monotonicity of f. (2 marks)
  • b.Find its local maximum and minimum values by the second derivative test. (2 marks)
  • c.Find the intervals of concavity and the point of inflection. (2 marks)
  • d.Find the greatest and least values of f on [ −2, 3]. (2 marks)
Answer
10.

A closed cylindrical water tank is to hold a volume V.

  • a.Show that the least sheet metal is used when its height equals its diameter. (5 marks)
  • b.Find the radius and height of such a tank holding 1000 liters (1 m³), to the nearest centimeter. (3 marks)
Hint
Answer

Project work

Using what you learned

Our own questions of the kind IOE’s Section B sets: two- and three-step problems on the unit’s ideas.

An open tank with a square base and upright sides is to hold 32 m³ of water, using the least sheet metal. Its base side and its height are:

Pick an answer to see why.

The tangent to the curve y=x3 y = x^3 at (1, 1) meets the curve again at:

Pick an answer to see why.

Where these facts come from
  • Upper Tamakoshi: total output 456 MW from six units of 76 MW, net head 805 m, speed 600 rpm, completed 2021 (the opening, 18.8): ANDRITZ, Hydronews 35 (2021), “Upper Tamakoshi, Nepal”; its six units are Pelton turbines, and its gross head 822 m: Power Technology, “Upper Tamakoshi Hydroelectric Project”, read November 2026.
  • A Pelton wheel gives the most power when its cups move at half the jet’s speed (18.8): Wikipedia, “Pelton wheel”, Design and “Optimal wheel speed”, read November 2026.
  • Bhāskara II’s tātkālika gati in the Siddhānta Śiromaṇi (1150), and his rule for the sine read as the derivative of the sine, though he made no general notion of a derivative (18.1): K. Plofker, Mathematics in India (2009), pp. 186–188 and 196–197, and R. Cooke, The History of Mathematics: A Brief Course (1997), pp. 213–215, as cited in Wikipedia, “Bhāskara II”, Calculus, read November 2026; his dates: MacTutor, “Bhaskara II”.
  • Leibniz’s Nova Methodus pro Maximis et Minimis, itemque Tangentibus in Acta Eruditorum, 1684, with the familiar d notation (18.1): MacTutor, “Gottfried Wilhelm von Leibniz”.
  • The slope of the bending moment is the shear force, dMdx=Q \frac{dM}{dx} = Q , and the moment has a local maximum or minimum where the shear crosses zero (18.8): Wikipedia, “Shear and moment diagram”, read November 2026.
  • The S-shaped (logistic) growth curve and its point of inflection, which we apply to a total of cases (18.9): OpenStax, Calculus Volume 2, 4.4 “The Logistic Equation”.
  • Definitions and the tests checked against OpenStax, Calculus Volume 1, Chapters 3 and 4 (CC BY 4.0).
  • The unit’s items and project work: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, 6.2 and sample projects 13 and 15; the marks: CDC, Specification Grid 2078, Mathematics, Grade 11; IOE, BE/BArch Entrance Syllabus 2083, Mathematics 5.2.

Found a mistake? Please tell us.