Mathematics · Book 2 · Grades 10–12

High School Mathematics

High School Mathematics · Grades 10–12

12Differentiation: A First Course

How fast does a function change? The answer at a single point is the derivative, the single most useful number in all of applied mathematics. This chapter constructs it from average rates of change, computes it for the reference functions, and uses its sign to read the variations of a function. Everything here is extended and deepened in Chapter 22.

12.1 The average rate of change

Definition 12.1 (Average rate of change)

Let ff be defined on an interval II, and aba \neq b in II. The average rate of change of ff between aa and bb is

f(b)f(a)ba.\frac{f(b) - f(a)}{b - a}.

It is the slope of the secant line through the points (a,f(a))\bigl(a, f(a)\bigr) and (b,f(b))\bigl(b, f(b)\bigr) of the curve.

Example 12.2

A car travels 140140 km between 2 p.m. and 4 p.m.: its average speed is 1402=70\frac{140}{2} = 70 km/h. The speedometer, however, displays an instantaneous speed at every moment — that is exactly the notion that the derivative makes precise.

12.2 The derivative at a point

Definition 12.3 (Derivative at a point)

Let ff be defined on an interval containing aa. For h0h \neq 0, form the average rate of change between aa and a+ha + h:

r(h)=f(a+h)f(a)h.r(h) = \frac{f(a+h) - f(a)}{h}.

If r(h)r(h) approaches a single fixed number as hh gets arbitrarily close to 00, we say that ff is differentiable at aa; this number is the derivative of ff at aa, written f(a)f'(a):

f(a)=limh0f(a+h)f(a)h.f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}.

Example 12.4

Let f(x)=x2f(x) = x^2 and a=1a = 1. For h0h \neq 0:

f(1+h)f(1)h=(1+h)21h=1+2h+h21h=h(2+h)h=2+h.\frac{f(1+h) - f(1)}{h} = \frac{(1+h)^2 - 1}{h} = \frac{1 + 2h + h^2 - 1}{h} = \frac{h(2 + h)}{h} = 2 + h .

As hh approaches 00, this approaches 22: the function x2x^2 is differentiable at 11 and f(1)=2f'(1) = 2. Note the strategy: simplify the quotient until hh no longer appears in a denominator, then let h0h \to 0.

Example 12.5 (A non-differentiable point)

Let f(x)=xf(x) = \abs{x} and a=0a = 0. Then f(h)f(0)h=hh\frac{f(h) - f(0)}{h} = \frac{\abs h}{h}, which equals 11 for h>0h > 0 and 1-1 for h<0h < 0: no single number is approached, and x\abs x is not differentiable at 00. Its curve has a corner there.

12.3 The tangent line

Definition 12.6 (Tangent)

If ff is differentiable at aa, the tangent to the curve at the point A=(a,f(a))A = \bigl(a, f(a)\bigr) is the line through AA with slope f(a)f'(a). Its equation is

y=f(a)+f(a)(xa).y = f(a) + f'(a)(x - a).

The tangent is the limiting position of the secants through AA: as h0h \to 0, the second point (a+h,f(a+h))\bigl(a+h, f(a+h)\bigr) slides along the curve towards AA, and the secant’s slope f(a+h)f(a)h\frac{f(a+h)-f(a)}{h} approaches f(a)f'(a).

The secant through A and B = (a+h, f(a+h) ) has slope f(a+h)-f(a)/h. As B slides towards A, the secant tilts into the tangent, whose slope is f'(a).
The secant through AA and B=(a+h,f(a+h))B = \bigl(a+h, f(a+h)\bigr) has slope f(a+h)f(a)h\frac{f(a+h)-f(a)}{h}. As BB slides towards AA, the secant tilts into the tangent, whose slope is f(a)f'(a).

Example 12.7

For f(x)=x2f(x) = x^2 at a=1a = 1: f(1)=1f(1) = 1 and f(1)=2f'(1) = 2 (Example 12.4), so the tangent is

y=1+2(x1)=2x1.y = 1 + 2(x - 1) = 2x - 1 .

This is the line d2d_2 found by pure algebra in Exercise 10.11.

12.4 Derivatives of the reference functions

Proposition 12.8

On their domains of differentiability:

(c)=0,(x)=1,(x2)=2x,(x3)=3x2,(1x)=1x2,(x)=12x (x>0).(c)' = 0, \quad (x)' = 1, \quad (x^2)' = 2x, \quad (x^3)' = 3x^2, \quad \left(\frac1x\right)' = -\frac{1}{x^2}, \quad (\sqrt x\,)' = \frac{1}{2\sqrt x} \ (x > 0).

More generally, (xn)=nxn1(x^n)' = n\,x^{n-1} for every integer n1n \geq 1.

Proof. Each proof follows the strategy of Example 12.4: simplify the rate, then let h0h \to 0. Fix aa in the domain.

Constant and identity. cch=0\frac{c - c}{h} = 0 and (a+h)ah=1\frac{(a+h) - a}{h} = 1 for all hh: the limits are 00 and 11.

Square. (a+h)2a2h=2ah+h2h=2a+h2a\frac{(a+h)^2 - a^2}{h} = \frac{2ah + h^2}{h} = 2a + h \to 2a.

Cube. (a+h)3=a3+3a2h+3ah2+h3(a+h)^3 = a^3 + 3a^2h + 3ah^2 + h^3, so the rate is 3a2+3ah+h23a23a^2 + 3ah + h^2 \to 3a^2.

Reciprocal. For a0a \neq 0 and hh small enough that a+h0a + h \neq 0:

1h(1a+h1a)=1ha(a+h)a(a+h)=1a(a+h)h01a2.\frac{1}{h}\left(\frac{1}{a+h} - \frac{1}{a}\right) = \frac{1}{h} \cdot \frac{a - (a+h)}{a(a+h)} = \frac{-1}{a(a+h)} \xrightarrow[h \to 0]{} -\frac{1}{a^2}.

Square root. For a>0a > 0, multiply by the conjugate:

a+hah=(a+h)ah(a+h+a)=1a+h+ah012a.\frac{\sqrt{a+h} - \sqrt a}{h} = \frac{(a + h) - a}{h\,(\sqrt{a+h} + \sqrt a)} = \frac{1}{\sqrt{a+h} + \sqrt a} \xrightarrow[h \to 0]{} \frac{1}{2\sqrt a}.

General power. The pattern 2a2a, 3a23a^2 continues: expanding (a+h)n(a+h)^n, the terms after an+nan1ha^n + n\,a^{n-1}h all carry h2h^2, so the rate tends to nan1n\,a^{n-1}. (A complete induction is given in Chapter 22.)

12.5 Differentiation rules

Theorem 12.9 (Operations)

Let uu and vv be differentiable on II and λR\lambda \in \R. Then u+vu + v, λu\lambda u, uvuv are differentiable on II, as is uv\frac{u}{v} wherever v0v \neq 0, and

(u+v)=u+v,(λu)=λu,(uv)=uv+uv,(uv)=uvuvv2.(u+v)' = u' + v', \qquad (\lambda u)' = \lambda u', \qquad (uv)' = u'v + uv', \qquad \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}.

Proof of the first three rules. Fix aIa \in I and abbreviate Δu=u(a+h)u(a)\Delta u = u(a+h) - u(a), Δv=v(a+h)v(a)\Delta v = v(a+h) - v(a).

Sum. The rate of u+vu + v is Δu+Δvh=Δuh+Δvhu(a)+v(a)\frac{\Delta u + \Delta v}{h} = \frac{\Delta u}{h} + \frac{\Delta v}{h} \to u'(a) + v'(a).

Multiple. The rate of λu\lambda u is λΔuhλu(a)\lambda \frac{\Delta u}{h} \to \lambda u'(a).

Product. Add and subtract the mixed term u(a+h)v(a)u(a+h)\,v(a):

u(a+h)v(a+h)u(a)v(a)h=u(a+h)v(a+h)u(a+h)v(a)+u(a+h)v(a)u(a)v(a)h=u(a+h)Δvh+v(a)Δuh.\begin{align*} \frac{u(a+h)v(a+h) - u(a)v(a)}{h} &= \frac{u(a+h)v(a+h) - u(a+h)v(a) + u(a+h)v(a) - u(a)v(a)}{h}\\ &= u(a+h)\,\frac{\Delta v}{h} + v(a)\,\frac{\Delta u}{h}. \end{align*}

As h0h \to 0: Δvhv(a)\frac{\Delta v}{h} \to v'(a), Δuhu(a)\frac{\Delta u}{h} \to u'(a), and u(a+h)u(a)u(a+h) \to u(a) (its rate has a limit, so Δu=hΔuh0\Delta u = h \cdot \frac{\Delta u}{h} \to 0). The rate therefore tends to u(a)v(a)+v(a)u(a)u(a)v'(a) + v(a)u'(a).

The quotient rule is proved along the same lines; it is admitted at this level and proved in Chapter 22.

Example 12.10

Polynomial. f(x)=3x35x2+7x2f(x) = 3x^3 - 5x^2 + 7x - 2:

f(x)=3×3x25×2x+7=9x210x+7.f'(x) = 3 \times 3x^2 - 5 \times 2x + 7 = 9x^2 - 10x + 7 .

Quotient. g(x)=2x+1x2+1g(x) = \frac{2x+1}{x^2+1}: with u=2x+1u = 2x + 1, v=x2+1v = x^2 + 1,

g(x)=2(x2+1)(2x+1)2x(x2+1)2=2x22x+2(x2+1)2.g'(x) = \frac{2(x^2+1) - (2x+1)\,2x}{(x^2+1)^2} = \frac{-2x^2 - 2x + 2}{(x^2+1)^2}.

Product. k(x)=xxk(x) = x\sqrt x for x>0x > 0: k(x)=1×x+x×12x=x+x2=3x2k'(x) = 1 \times \sqrt x + x \times \frac{1}{2\sqrt x} = \sqrt x + \frac{\sqrt x}{2} = \frac{3\sqrt x}{2}.

12.6 Sign of the derivative and variations

Theorem 12.11 (Derivative and variations)

Let ff be differentiable on an interval II.

  1. If f0f' \geq 0 on II, then ff is increasing on II.
  2. If f0f' \leq 0 on II, then ff is decreasing on II.
  3. If f>0f' > 0 on II (except possibly at finitely many points where it vanishes), then ff is strictly increasing on II.

Proof. The intuition is clear — a curve whose tangents all point upward must climb — but a rigorous proof needs the mean value theorem. The result is admitted at this level; see Theorem 22.7.

Proposition 12.12 (Extrema)

If ff' changes sign at aa from ++ to -, then ff has a local maximum at aa; from - to ++, a local minimum. At such a point, f(a)=0f'(a) = 0 and the tangent is horizontal.

Proof. If f0f' \geq 0 on an interval ending at aa and f0f' \leq 0 on an interval starting at aa, then ff increases up to f(a)f(a) and decreases afterwards (Theorem 12.11): f(a)f(a) is largest nearby. Since ff' changes sign at aa and is defined there, f(a)=0f'(a) = 0.

Method 12.13 (Studying a function)

  1. Compute f(x)f'(x) and simplify it — ideally into a factored form.
  2. Determine the sign of f(x)f'(x) on each interval (for a quadratic ff', use Theorem 10.11).
  3. Record the results in a variation table: one row for the sign of ff', one row of arrows for ff, with the values of ff at the turning points.
  4. Conclude: extrema, number of solutions of f(x)=kf(x) = k, inequalities.

Example 12.14

Study f(x)=x33x+1f(x) = x^3 - 3x + 1 on R\R. First, f(x)=3x23=3(x1)(x+1)f'(x) = 3x^2 - 3 = 3(x-1)(x+1): a quadratic with roots 1-1 and 11, positive outside them. So ff is increasing on (,1]\intoc{-\infty}{-1}, decreasing on [1,1]\intcc{-1}{1}, increasing on [1,+)\intco{1}{+\infty}, with a local maximum f(1)=1+3+1=3f(-1) = -1 + 3 + 1 = 3 and a local minimum f(1)=13+1=1f(1) = 1 - 3 + 1 = -1.

The curve of f(x) = x3 - 3x + 1 (): horizontal tangents (orange) at the local maximum (-1, 3) and the local minimum (1, -1), where f' changes sign.
The curve of f(x)=x33x+1f(x) = x^3 - 3x + 1 (Example 12.14): horizontal tangents (orange) at the local maximum (1,3)(-1, 3) and the local minimum (1,1)(1, -1), where ff' changes sign.

Example 12.15 (Optimization)

An open box is made from a 12×1212 \times 12 cm sheet by cutting a square of side xx from each corner and folding. Its volume is V(x)=x(122x)2V(x) = x(12 - 2x)^2 for 0<x<60 < x < 6. Expanding, V(x)=4x348x2+144xV(x) = 4x^3 - 48x^2 + 144x, so

V(x)=12x296x+144=12(x28x+12)=12(x2)(x6).V'(x) = 12x^2 - 96x + 144 = 12(x^2 - 8x + 12) = 12(x - 2)(x - 6).

On (0,6)\intoo{0}{6}, the factor x6x - 6 is negative, so V(x)V'(x) has the sign of (x2)-(x-2): positive before 22, negative after. The volume is maximal for x=2x = 2 cm, giving V(2)=2×82=128V(2) = 2 \times 8^2 = 128 cm3^3.

12.7 Exercises

Exercise 12.1

Using the definition (rate of change, then h0h \to 0), compute f(2)f'(2) for f(x)=x2f(x) = x^2, then g(1)g'(1) for g(x)=x2+3xg(x) = x^2 + 3x.

Solution

Solution of Exercise 12.1.

For f(x)=x2f(x) = x^2 at a=2a = 2:

(2+h)24h=4h+h2h=4+hh04,\frac{(2+h)^2 - 4}{h} = \frac{4h + h^2}{h} = 4 + h \xrightarrow[h\to0]{} 4,

so f(2)=4f'(2) = 4. For g(x)=x2+3xg(x) = x^2 + 3x at a=1a = 1: g(1)=4g(1) = 4 and

(1+h)2+3(1+h)4h=5h+h2h=5+hh05,\frac{(1+h)^2 + 3(1+h) - 4}{h} = \frac{5h + h^2}{h} = 5 + h \xrightarrow[h\to0]{} 5,

so g(1)=5g'(1) = 5.

Exercise 12.2

Differentiate:

f(x)=4x32x2+x7,g(x)=5x+3x,h(x)=(2x+1)(x23).f(x) = 4x^3 - 2x^2 + x - 7, \qquad g(x) = 5\sqrt{x} + \frac{3}{x}, \qquad h(x) = (2x+1)(x^2 - 3) .
Solution

Solution of Exercise 12.2.

f(x)=12x24x+1f'(x) = 12x^2 - 4x + 1.

g(x)=52x3x2g'(x) = \frac{5}{2\sqrt x} - \frac{3}{x^2} (on (0,+)\intoo{0}{+\infty}).

h(x)=2(x23)+(2x+1)(2x)=2x26+4x2+2x=6x2+2x6h'(x) = 2(x^2 - 3) + (2x+1)(2x) = 2x^2 - 6 + 4x^2 + 2x = 6x^2 + 2x - 6 (product rule).

Exercise 12.3

Give the equation of the tangent to the curve of ff at the point of abscissa aa:

f(x)=x23x, a=2;f(x)=1x, a=1;f(x)=x, a=4.f(x) = x^2 - 3x, \ a = 2; \qquad f(x) = \frac1x, \ a = 1; \qquad f(x) = \sqrt x, \ a = 4 .
Solution

Solution of Exercise 12.3.

f(x)=x23xf(x) = x^2 - 3x, a=2a = 2: f(2)=2f(2) = -2, f(x)=2x3f'(x) = 2x - 3 so f(2)=1f'(2) = 1; tangent y=2+(x2)=x4y = -2 + (x - 2) = x - 4.

f(x)=1xf(x) = \frac1x, a=1a = 1: f(1)=1f(1) = 1, f(1)=1f'(1) = -1; tangent y=1(x1)=2xy = 1 - (x - 1) = 2 - x.

f(x)=xf(x) = \sqrt x, a=4a = 4: f(4)=2f(4) = 2, f(4)=124=14f'(4) = \frac{1}{2\sqrt4} = \frac14; tangent y=2+14(x4)=x4+1y = 2 + \frac14(x - 4) = \frac{x}{4} + 1.

Exercise 12.4

Differentiate the quotients:

f(x)=x+2x1,g(x)=x2x2+1,h(x)=1x2+x+1.f(x) = \frac{x+2}{x-1}, \qquad g(x) = \frac{x^2}{x^2+1}, \qquad h(x) = \frac{1}{x^2 + x + 1} .
Solution

Solution of Exercise 12.4.

f(x)=(x1)(x+2)(x1)2=3(x1)2f'(x) = \frac{(x-1) - (x+2)}{(x-1)^2} = \frac{-3}{(x-1)^2}.

g(x)=2x(x2+1)x2×2x(x2+1)2=2x(x2+1)2g'(x) = \frac{2x(x^2+1) - x^2 \times 2x}{(x^2+1)^2} = \frac{2x}{(x^2+1)^2}.

h(x)=2x+1(x2+x+1)2h'(x) = -\frac{2x+1}{(x^2+x+1)^2} (quotient rule with u=1u = 1).

Exercise 12.5 ★★

Study the variations of f(x)=x36x2+9x2f(x) = x^3 - 6x^2 + 9x - 2 on R\R (variation table, local extrema).

Solution

Solution of Exercise 12.5.

f(x)=3x212x+9=3(x24x+3)=3(x1)(x3)f'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x-1)(x-3): positive outside [1,3]\intcc{1}{3}, negative inside. So ff is increasing on (,1]\intoc{-\infty}{1}, decreasing on [1,3]\intcc{1}{3}, increasing on [3,+)\intco{3}{+\infty}, with a local maximum f(1)=16+92=2f(1) = 1 - 6 + 9 - 2 = 2 and a local minimum f(3)=2754+272=2f(3) = 27 - 54 + 27 - 2 = -2.

Exercise 12.6 ★★

Study the variations of f(x)=x2+3x+1f(x) = \frac{x^2 + 3}{x + 1} on (1,+)\intoo{-1}{+\infty}.

Solution

Solution of Exercise 12.6.

On (1,+)\intoo{-1}{+\infty}:

f(x)=2x(x+1)(x2+3)(x+1)2=x2+2x3(x+1)2=(x+3)(x1)(x+1)2.f'(x) = \frac{2x(x+1) - (x^2+3)}{(x+1)^2} = \frac{x^2 + 2x - 3}{(x+1)^2} = \frac{(x+3)(x-1)}{(x+1)^2}.

For x>1x > -1, both x+3x + 3 and (x+1)2(x+1)^2 are positive, so f(x)f'(x) has the sign of x1x - 1: ff is decreasing on (1,1]\intoc{-1}{1} and increasing on [1,+)\intco{1}{+\infty}, with minimum f(1)=42=2f(1) = \frac{4}{2} = 2.

Exercise 12.7 ★★

Let f(x)=x24x+5f(x) = x^2 - 4x + 5.

  1. Find the point of the curve where the tangent is horizontal.
  2. Find the point(s) where the tangent is parallel to the line y=2x+1y = 2x + 1.
Solution

Solution of Exercise 12.7.

f(x)=2x4f'(x) = 2x - 4.

1. Horizontal tangent: f(x)=0f'(x) = 0 at x=2x = 2; the point is (2,f(2))=(2,1)(2, f(2)) = (2, 1) (the vertex of the parabola).

2. Parallel to y=2x+1y = 2x + 1 means slope 22: 2x4=22x - 4 = 2, so x=3x = 3, giving the point (3,f(3))=(3,2)(3, f(3)) = (3, 2).

Exercise 12.8 ★★

A rectangular enclosure is built against a wall with 6060 m of fence (three sides). Express the area as a function of the width xx, and use the derivative to find the dimensions of maximal area. (Compare with the vertex method of Chapter 10.)

Solution

Solution of Exercise 12.8.

With width xx (two fenced sides) and length 602x60 - 2x: A(x)=x(602x)=60x2x2A(x) = x(60 - 2x) = 60x - 2x^2 on (0,30)\intoo{0}{30}. Then A(x)=604xA'(x) = 60 - 4x, positive before x=15x = 15 and negative after: the area is maximal for x=15x = 15, giving a 15×3015 \times 30 m enclosure of area 450450 m2^2. The vertex formula α=602×(2)=15\alpha = -\frac{60}{2 \times (-2)} = 15 of Chapter 10 gives the same answer without calculus.

Exercise 12.9 ★★

Show that for all x>0x > 0, xx+12\sqrt{x} \leq \frac{x + 1}{2}, by studying the function f(x)=x+12xf(x) = \frac{x+1}{2} - \sqrt x on (0,+)\intoo{0}{+\infty}.

Solution

Solution of Exercise 12.9.

Let f(x)=x+12xf(x) = \frac{x+1}{2} - \sqrt x on (0,+)\intoo{0}{+\infty}. Then

f(x)=1212x=x12x,f'(x) = \frac12 - \frac{1}{2\sqrt x} = \frac{\sqrt x - 1}{2\sqrt x},

which has the sign of x1\sqrt x - 1: negative on (0,1)\intoo{0}{1}, positive on (1,+)\intoo{1}{+\infty}. So ff decreases then increases, with minimum f(1)=11=0f(1) = 1 - 1 = 0. Hence f(x)0f(x) \geq 0 for all x>0x > 0, that is xx+12\sqrt x \leq \frac{x+1}{2}, with equality only at x=1x = 1.

Exercise 12.10 ★★

A cylindrical can must hold 500500 cm3^3. Its surface area (two disks plus the side) is S=2πr2+2πrhS = 2\pi r^2 + 2\pi r h with πr2h=500\pi r^2 h = 500. Express SS as a function of rr alone, and show that S(r)=4πr1000r2S'(r) = 4\pi r - \frac{1000}{r^2}. Deduce the radius that minimizes the surface, as an exact expression.

Solution

Solution of Exercise 12.10.

From πr2h=500\pi r^2 h = 500, h=500πr2h = \frac{500}{\pi r^2}, so

S(r)=2πr2+2πr500πr2=2πr2+1000r,S(r)=4πr1000r2.S(r) = 2\pi r^2 + 2\pi r \cdot \frac{500}{\pi r^2} = 2\pi r^2 + \frac{1000}{r}, \qquad S'(r) = 4\pi r - \frac{1000}{r^2}.

S(r)=0S'(r) = 0 when 4πr3=10004\pi r^3 = 1000, i.e. r3=250πr^3 = \frac{250}{\pi}, so r=250/π3r = \sqrt[3]{250/\pi} (4.3\approx 4.3 cm). Since S(r)=4πr31000r2S'(r) = \frac{4\pi r^3 - 1000}{r^2} is negative before this value and positive after, it is a minimum.

Exercise 12.11 ★★★

How many tangents to the parabola y=x2y = x^2 pass through the external point P(1,3)P(1, -3)? Determine their equations. (Let aa be the abscissa of the contact point and express that the tangent at aa passes through PP.)

Solution

Solution of Exercise 12.11.

The tangent to y=x2y = x^2 at the point of abscissa aa is y=a2+2a(xa)=2axa2y = a^2 + 2a(x - a) = 2ax - a^2. It passes through P(1,3)P(1, -3) when 3=2aa2-3 = 2a - a^2, i.e. a22a3=0a^2 - 2a - 3 = 0, whose roots are a=3a = 3 and a=1a = -1 (Δ=16\Delta = 16). There are therefore two tangents through PP:

y=6x9(a=3),y=2x1(a=1).y = 6x - 9 \quad (a = 3), \qquad y = -2x - 1 \quad (a = -1).

Exercise 12.12 ★★★

Let f(x)=x33x+1f(x) = x^3 - 3x + 1 (see Example 12.14). Using the variation table, determine the number of solutions of the equation f(x)=kf(x) = k according to the value of the real number kk.

Solution

Solution of Exercise 12.12.

From Example 12.14, ff increases up to the local maximum f(1)=3f(-1) = 3, decreases to the local minimum f(1)=1f(1) = -1, then increases again; for xx large positive (resp. negative), x3x^3 dominates and ff takes arbitrarily large (resp. small) values. Reading horizontal lines y=ky = k across the variation table:

  • k>3k > 3 or k<1k < -1: the line meets the curve once — 11 solution;
  • k=3k = 3 or k=1k = -1: the line touches a turning point and crosses one other branch — 22 solutions;
  • 1<k<3-1 < k < 3: the line crosses all three branches — 33 solutions.

12.8 Problem: The tangent’s three jobs

Problem 12.1

Weekend problem — the parabolic mirror proved, Newton’s root-finding machine, and the strongest beam in the log

A derivative draws tangents; that sounds like a modest talent. This problem shows the tangent holding three jobs at once: it proves the headlight theorem left pending in Problem 10.1 (every ray parallel to a parabola’s axis reflects through the focus), it powers the fastest equation-solving algorithm in common use — inside every calculator and neural network — and it finds the strongest rectangular beam that a round log can yield.

Part I — Tangent fluency.

  1. Differentiate f(x)=3x25x+1f(x) = 3x^2 - 5x + 1 and g(x)=x312xg(x) = x^3 - 12x (Theorem 12.9); and recover (x2)\left(x^2 \right)' at x=1x = 1 from the definition (rate of change, then h0h \to 0).
  2. Find the tangent to y=x312xy = x^3 - 12x at a=2a = 2. What is special about it, and what does that signal (Proposition 12.12)?
  3. Establish the general tangent to the parabola y=x2y = x^2 at the point (a,a2)(a, a^2):

    y=2axa2.y = 2ax - a^2 .
  4. Where does that tangent cross the yy-axis? Deduce the draftsman’s recipe: to draw the tangent at a point PP of height hh on the parabola, join PP to the point of the axis at depth … below the origin. State it.
  5. Build the complete variation table of g(x)=x312xg(x) = x^3 - 12x (sign of gg', local extrema and their values, Method 12.13).

Part II — The mirror theorem. Let P(a,a2)P(a, a^2) be a point of the parabola y=x2y = x^2 (take a0a \neq 0), F(0,14)F\left(0, \frac14\right) the focus, and TT the point where the tangent at PP crosses the yy-axis (question 4). Recall from Problem 10.1 that PF=a2+14PF = a^2 + \frac14.

  1. Compute the distance FTFT.
  2. Conclude that the triangle FPTFPT is isosceles at FF. Which two angles are therefore equal?
  3. The incoming ray through PP, parallel to the axis, is parallel to the line (TF)(TF) (both vertical). Using alternate angles, show that the tangent at PP makes equal angles with the incoming vertical ray and with the segment [PF][PF].
  4. Physics: light reflects off a curve as off its tangent, leaving at the same angle it arrived (the law of reflection). Conclude the mirror theorem: every ray parallel to the axis reflects through the focus — and, reversing time, a bulb at the focus beams out parallel light. The dish and the headlight of Problem 10.1 are now theorems.
  5. Check the isosceles triangle numerically at a=1a = 1: compute TT, FPFP and FTFT.

Part III — Newton’s machine. To solve f(x)=0f(x) = 0, Newton proposed: start from a guess x0x_0, follow the tangent at x0x_0 down to the axis, and let its xx-intercept be the next guess.

  1. Derive the formula of the method:

    xn+1=xnf(xn)f(xn).x_{n + 1} = x_n - \frac{f(x_n)}{f'(x_n)} .
  2. Run it on f(x)=x22f(x) = x^2 - 2 from x0=1x_0 = 1: compute x1x_1, x2x_2, x3x_3 as exact fractions. Which two-thousand-year-old sequence — and which machine from Problem 3.1 — have you just rebuilt? Prove the identity behind the coincidence:

    xx222x=12(x+2x).x - \frac{x^2 - 2}{2x} = \frac12\left(x + \frac2x\right).
  3. Solve x3=100x^3 = 100 (the savings crossover of Problem 4.1): apply two Newton steps to f(x)=x3100f(x) = x^3 - 100 from x0=5x_0 = 5 (four decimals), and compare with the calculator’s 1003\sqrt[3]{100}.
  4. Sabotage: try to launch the method on f(x)=x312xf(x) = x^3 - 12x at x0=2x_0 = 2. What goes wrong, and why (question 2)? State the practical caveat.
  5. In question 12 the correct decimals went roughly 1361 \to 3 \to 6. Compare with bisection (halving an interval each step) and say in one sentence why calculators, GPS receivers and neural-network training all run on Newton’s idea.

Part IV — The strongest beam. A rectangular beam of width ww and depth dd is sawn from a round log of diameter 3030 cm, so w2+d2=900w^2 + d^2 = 900. A beam’s stiffness is proportional to wd2w d^2 (depth counts twice: joists stand on edge!).

  1. Express the stiffness as a function of ww alone: S(w)=900ww3S(w) = 900w - w^3, on which interval?
  2. Differentiate, build the variation table, and find the optimal ww and dd (exact values, then to the millimeter).
  3. Show that the optimal proportions satisfy d=w2d = w\sqrt2 — the old carpenters’ ratio. (Bonus lore: dividing the log’s diameter in three equal parts and raising perpendiculars to the circle constructs exactly this rectangle.)
  4. The naive choice is the square beam (w=dw = d). Compute its stiffness and the optimal beam’s, and give the carpenter’s gain in percent.
  5. Finale — the tangent’s three jobs, one sentence each: geometry (the mirror theorem), numerics (Newton’s machine), optimization (the beam), all powered by the same object. And the forward pointer: grade 12 adds convexity — the tangent’s side of the curve — to sharpen all three.
Solution

Solution of Problem 12.1.

1. f(x)=6x5f'(x) = 6x - 5; g(x)=3x212g'(x) = 3x^2 - 12. Definition: (1+h)21h=2+h2\frac{(1 + h)^2 - 1}{h} = 2 + h \to 2: the derivative of x2x^2 at 11 is 22.

2. g(2)=824=16g(2) = 8 - 24 = -16 and g(2)=1212=0g'(2) = 12 - 12 = 0: the tangent is the horizontal line y=16y = -16. A horizontal tangent signals a critical point — here a local minimum, as the variation table of question 5 confirms.

3. Slope 2a2a at (a,a2)(a, a^2): y=a2+2a(xa)=2axa2y = a^2 + 2a(x - a) = 2ax - a^2.

4. At x=0x = 0: y=a2y = -a^2: the tangent crosses the axis at depth a2a^2 below the origin — exactly as far below zero as PP sits above it. Recipe: to draw the tangent at a point of height hh, join it to the axis point at depth hh below the origin. (No derivative needed at the drawing board.)

5. g(x)=3(x24)g'(x) = 3(x^2 - 4): positive on (,2)\intoo{-\infty}{-2}, negative on (2,2)\intoo{-2}{2}, positive beyond. gg increases to a local maximum g(2)=16g(-2) = 16, falls to a local minimum g(2)=16g(2) = -16, then increases.

6. F(0,14)F\left(0, \frac14\right) and T(0,a2)T(0, -a^2): FT=14+a2FT = \frac14 + a^2.

7. FP=a2+14=FTFP = a^2 + \frac14 = FT: isosceles at FF, so the base angles are equal: FTP^=FPT^\widehat{FTP} = \widehat{FPT}.

8. The incoming ray at PP is vertical, hence parallel to the line (TF)(TF) (the yy-axis). The tangent (TP)(TP) crosses both parallels, so the angle between the ray and the tangent equals FTP^\widehat{FTP} (alternate angles) — which equals FPT^\widehat{FPT}, the angle between [PF][PF] and the tangent. Equal angles on the two sides of the tangent at PP.

9. By the law of reflection, the ray arriving vertically at PP leaves along the line making the equal angle on the other side — by question 8, along [PF][PF]: through the focus, whatever aa is. Reversed, light born at FF leaves every point of the mirror parallel to the axis. Dishes collect, headlights beam: proved.

10. a=1a = 1: tangent y=2x1y = 2x - 1, T(0,1)T(0, -1); FP=1+(114)2=2516=54FP = \sqrt{1 + \left(1 - \frac14\right)^2} = \sqrt{\frac{25}{16}} = \frac54; FT=14+1=54FT = \frac14 + 1 = \frac54: isosceles, as promised.

11. The tangent at xnx_n is y=f(xn)+f(xn)(xxn)y = f(x_n) + f'(x_n)(x - x_n); it crosses y=0y = 0 where x=xnf(xn)f(xn)x = x_n - \frac{f(x_n)}{f'(x_n)}.

12. x1=112=32x_1 = 1 - \frac{-1}{2} = \frac32; x2=321/43=1712x_2 = \frac32 - \frac{1/4}{3} = \frac{17}{12}; x3=577408x_3 = \frac{577}{408}: Heron’s approximations of 2\sqrt2, i.e. the fixed-point machine of Problem 3.1. Identity: xx222x=2x2x2+22x=x2+22x=12(x+2x)x - \frac{x^2 - 2}{2x} = \frac{2x^2 - x^2 + 2}{2x} = \frac{x^2 + 2}{2x} = \frac12\left(x + \frac2x\right) — Heron’s recipe is Newton’s method applied to x22x^2 - 2, two millennia early.

13. x1=512510075=1434.6667x_1 = 5 - \frac{125 - 100}{75} = \frac{14}{3} \approx 4.6667; x24.66671.6365.334.6417x_2 \approx 4.6667 - \frac{1.63}{65.33} \approx 4.6417. Calculator: 1003=4.6416\sqrt[3]{100} = 4.6416\ldots — four correct decimals in two steps.

14. f(2)=0f'(2) = 0: the tangent at the starting point is horizontal (question 2) and never crosses the axis — the formula divides by zero. Caveat: start Newton away from critical points (and, more generally, close enough to the root you want).

15. Bisection gains one binary digit per step; Newton roughly doubles the number of correct digits each step (1361 \to 3 \to 6 here). When each step is costly — millions of parameters, real-time navigation — doubling beats inching, which is why the tangent line runs inside so much silicon.

16. d2=900w2d^2 = 900 - w^2, so S(w)=w(900w2)=900ww3S(w) = w(900 - w^2) = 900w - w^3, for 0<w<300 < w < 30.

17. S(w)=9003w2=0S'(w) = 900 - 3w^2 = 0 at w=300=10317.3w = \sqrt{300} = 10\sqrt3 \approx 17.3 cm (S>0S' > 0 before, <0< 0 after: a maximum). Then d=600=10624.5d = \sqrt{600} = 10\sqrt6 \approx 24.5 cm.

18. d2w2=600300=2\frac{d^2}{w^2} = \frac{600}{300} = 2, so d=w2d = w\sqrt2: depth is width times 2\sqrt2 — the carpenter’s ratio (and the diameter-in-thirds construction delivers it with a compass, no algebra on site).

19. Square beam: w=d=45021.2w = d = \sqrt{450} \approx 21.2 cm, stiffness w3=4503/29546w^3 = 450^{3/2} \approx 9\,546. Optimal beam: S=103×600=6000310392S = 10\sqrt3 \times 600 = 6\,000\sqrt3 \approx 10\,392. Gain: about 8.9%8.9\,\% stiffer from the same log — the derivative pays for the sawmill.

20. Geometry: the tangent’s equal angles turned a paraboloid into a light-gatherer. Numerics: sliding down tangents solves equations at digit-doubling speed. Optimization: a vanishing derivative found the log’s strongest rectangle. One object, three trades — and grade 12’s convexity will tell, in addition, on which side of every tangent the curve lies.