←
Mathematics — Grade 12, Part I
APPLICATION OF DERIVATIVES · 6 / 6
⌕
Chapter 6 of 6

APPLICATION OF DERIVATIVES

13 sections · 6,191 words

Chapter 6: Application of Derivatives

43 words · 1 min read

Chapter 6

Application of Derivatives

Big idea: the derivative measures how fast something changes. Once you can measure change, you can ask the most useful questions: when is it rising, when is it falling, and when is it at its highest or lowest?

6.1 Introduction

278 words · 1 min read

In Chapter 5 you learned to find the derivative. In this chapter you will use it. A derivative tells you the slope of a graph at a point, and a slope tells you a lot:

  • A positive slope means the value is going up. A negative slope means it is going down.
  • A slope of zero means the graph is level for a moment. That is where a hill top or a valley bottom can be.
  • A large slope means a fast change. A small slope means a slow change.

Look at the curve below. Moving from left to right, it rises, then falls, then rises again. The two turning points are marked.

Rising parts (teal) have a positive slope. The falling part (orange) has a negative slope. At the peak and the valley, the slope is zero.

The curve is y=x3−6x2+9xy = x^{3} - 6 x^{2} + 9 x. Its derivative is y′=3x2−12x+9y' = 3 x^{2} - 12 x + 9, which is zero at x=1x = 1 and x=3x = 3, exactly where the peak and the valley are.

In this chapter you will learn: how to measure a rate of change in real situations; how to find where a function is increasing or decreasing; how to find peaks and valleys (maxima and minima); and how to find the largest and smallest values in a given interval, which solves real "best choice" problems.

6.2 Rate of Change of Quantities

693 words · 3 min read

A car travels 120 km in 2 hours. Its average speed is 1202=60\frac{120}{2} = 60 km/h. But the speedometer does not show an average. It shows the speed at this moment. That is an instant rate of change.

The derivative gives exactly this instant rate. For a quantity yy that depends on xx, the number dydx\frac{dy}{dx} is the rate of change of yy with respect to xx. Let us see how an average rate turns into an instant rate. Take y=x2y = x^2 and look at the average rate between x=3x = 3 and x=3+hx = 3 + h for smaller and smaller hh:

Step size hhAverage rate (3+h)2−32h\frac{(3+h)^2 - 3^2}{h}
1177
0.10.16.16.1
0.010.016.016.01
0.0010.0016.0016.001

The average rates move closer and closer to 66. And indeed ddxx2=2x\frac{d}{dx}x^2 = 2x, which is 66 at x=3x = 3. The instant rate is the number that the average rates approach.

Read the sign. A positive rate means the quantity is growing. A negative rate means it is shrinking. Always say the units, for example cm²/s or m/s.

Often two or more quantities change with time tt at the same time, and they are linked by a formula. The chain rule links their rates:

dydt=dydx⋅dxdt\frac{dy}{dt} = \frac{dy}{dx} \cdot \frac{dx}{dt}

How to solve a rate problem:

  1. Draw a picture and name each changing quantity with a letter.
  2. Write a formula that links the quantities.
  3. Differentiate both sides with respect to time tt. Use the chain rule.
  4. Only now put in the numbers for the moment you are asked about.
  5. Write the answer with its sign and its units.
Do not substitute numbers too early. If you put the number into the formula before you differentiate, a changing quantity becomes a constant and its rate is lost.

A square metal plate expands when heated. Its side xx grows at 0.20.2 cm/s. How fast is its area growing when the side is 1010 cm?

The area is A=x2A = x^2. Differentiate with respect to tt: dAdt=2x⋅dxdt\frac{dA}{dt} = 2x \cdot \frac{dx}{dt}. Now put in x=10x = 10 and dxdt=0.2\frac{dx}{dt} = 0.2:

dAdt=2⋅10⋅0.2=4 cm2/s\frac{dA}{dt} = 2 \cdot 10 \cdot 0.2 = 4 \text{ cm}^2/\text{s}

The radius rr of a spherical soap bubble grows at 0.50.5 mm/s. How fast is its volume growing when r=6r = 6 mm?

The volume is V=43πr3V = \frac{4}{3}\pi r^3. Differentiating gives dVdt=4πr2⋅drdt\frac{dV}{dt} = 4\pi r^2 \cdot \frac{dr}{dt}. At r=6r = 6:

dVdt=4π⋅36⋅0.5=72π≈226.19 mm3/s\frac{dV}{dt} = 4\pi \cdot 36 \cdot 0.5 = 72\pi \approx 226.19 \text{ mm}^3/\text{s}

A ladder 55 m long leans on a wall. The bottom slides away from the wall at 0.30.3 m/s. How fast does the top slide down when the bottom is 33 m from the wall?

Let xx be the distance of the bottom from the wall and yy the height of the top. The ladder, wall and floor form a right triangle, so x2+y2=25x^2 + y^2 = 25. Differentiate with respect to tt: 2xdxdt+2ydydt=02x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0, so

dydt=−xy⋅dxdt\frac{dy}{dt} = -\frac{x}{y}\cdot\frac{dx}{dt}

When x=3x = 3, we have y=4y = 4 (because 9+16=259 + 16 = 25). So dydt=−34⋅0.3=−0.225\frac{dy}{dt} = -\frac{3}{4} \cdot 0.3 = -0.225 m/s. The minus sign means the top is moving down, at 0.2250.225 m/s.

The cost, in cost units, of making xx items is C(x)=0.05x2+4x+120C(x) = 0.05 x^{2} + 4 x + 120. The marginal cost is the rate of change of cost with respect to the number of items: C′(x)=0.1x+4C'(x) = 0.1 x + 4.

At x=20x = 20 the marginal cost is C′(20)=6C'(20) = 6. Compare this with the true extra cost of making the 21st item: C(21)−C(20)=226.05−220=6.05C(21) - C(20) = 226.05 - 220 = 6.05. The marginal cost (66) is a very good estimate of the cost of one more item (6.056.05).

Common mistake: forgetting the chain rule. In Example 1 the area depends on xx, and xx depends on tt. Writing dAdt=2x\frac{dA}{dt} = 2x leaves out the factor dxdt\frac{dx}{dt}.

EXERCISE 6.1

329 words · 1 min read
  1. Find the rate of change of the area of a circle with respect to its radius rr when r=4r = 4 cm.
  2. The side of a square grows at 0.50.5 cm/s. How fast is the area growing when the side is 66 cm?
  3. The edge of a cube grows at 22 cm/s. How fast is the volume growing when the edge is 33 cm?
  4. A stone dropped in still water makes a circular ripple whose radius grows at 44 cm/s. How fast is the enclosed area growing when the radius is 1010 cm?
  5. Air is pumped into a spherical balloon at 100100 cm³/s. How fast is the radius growing when r=5r = 5 cm?
  6. A ladder 1313 m long leans on a wall. Its bottom slides away at 0.20.2 m/s. How fast does the top slide down when the bottom is 55 m from the wall?
  7. The revenue from selling xx items is R(x)=3x2+36x+5R(x) = 3x^2 + 36x + 5 (in revenue units). Find the marginal revenue when x=15x = 15.
  8. A point moves on the curve y=x3+2y = x^3 + 2. Find the points where the yy-coordinate changes 33 times as fast as the xx-coordinate.

Answers

  1. dAdr=2πr\frac{dA}{dr} = 2\pi r. At r=4r = 4 it equals 8π≈25.13278\pi \approx 25.1327 cm²/cm.
  2. dAdt=2xdxdt=2(6)(0.5)=6\frac{dA}{dt} = 2x\frac{dx}{dt} = 2(6)(0.5) = 6 cm²/s.
  3. dVdt=3x2dxdt=3(9)(2)=54\frac{dV}{dt} = 3x^2 \frac{dx}{dt} = 3(9)(2) = 54 cm³/s.
  4. dAdt=2πrdrdt=2π(10)(4)=80π≈251.33\frac{dA}{dt} = 2\pi r \frac{dr}{dt} = 2\pi(10)(4) = 80\pi \approx 251.33 cm²/s.
  5. From dVdt=4πr2drdt\frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt}: drdt=1004π⋅25=1π≈0.3183\frac{dr}{dt} = \frac{100}{4\pi \cdot 25} = \frac{1}{\pi} \approx 0.3183 cm/s.
  6. x2+y2=169x^2 + y^2 = 169, so dydt=−xydxdt\frac{dy}{dt} = -\frac{x}{y}\frac{dx}{dt}. With x=5x = 5, y=12y = 12: −512(0.2)≈−0.0833-\frac{5}{12}(0.2) \approx -0.0833 m/s. The top moves down at about 0.08330.0833 m/s.
  7. R′(x)=6x+36R'(x) = 6x + 36. At x=15x = 15 it equals 126126 revenue units per item.
  8. We need dydt=3dxdt\frac{dy}{dt} = 3\frac{dx}{dt}, and dydt=3x2dxdt\frac{dy}{dt} = 3x^2\frac{dx}{dt}. So 3x2=33x^2 = 3, which gives x=±1x = \pm 1. The points are (1,3)(1, 3) and (−1,1)(-1, 1).

6.3 Increasing and Decreasing Functions

725 words · 3 min read

Imagine walking from left to right along a graph. If you are going uphill, the function is increasing. If you are going downhill, it is decreasing. In exact words, on an interval:

  • A function is increasing if a larger input always gives a larger output: x1<x2x_1 < x_2 means f(x1)<f(x2)f(x_1) < f(x_2).
  • A function is decreasing if a larger input always gives a smaller output: x1<x2x_1 < x_2 means f(x1)>f(x2)f(x_1) > f(x_2).

You do not need to draw the graph. The sign of the slope tells you:

Sign of f′(x)f'(x) on an intervalWhat the function does
f′(x)>0f'(x) > 0 (positive)increasing
f′(x)<0f'(x) < 0 (negative)decreasing
f′(x)=0f'(x) = 0 at every pointconstant

If f′(x)f'(x) is zero only at a few separate points and has the same sign everywhere else, the function is still increasing (or decreasing) through those points. For example, y=x3y = x^3 has slope 00 at x=0x = 0 but still climbs the whole time.

  1. Find f′(x)f'(x).
  2. Solve f′(x)=0f'(x) = 0. These points cut the number line into intervals.
  3. Choose one test point inside each interval and find the sign of f′f' there.
  4. Write down where ff is increasing and where it is decreasing.

Find where f(x)=2x3−9x2+12xf(x) = 2 x^{3} - 9 x^{2} + 12 x is increasing and decreasing.

Step 1. f′(x)=6x2−18x+12=6(x−1)(x−2)f'(x) = 6 x^{2} - 18 x + 12 = 6(x - 1)(x - 2).

Step 2. f′(x)=0f'(x) = 0 at x=1x = 1 and x=2x = 2. These split the line into three intervals.

IntervalTest pointSign of f′f'Behaviour of ff
x<1x < 1x=0x = 01212 (positive)increasing
1<x<21 < x < 2x=1.5x = 1.5−1.5-1.5 (negative)decreasing
x>2x > 2x=3x = 31212 (positive)increasing

So ff is increasing on (−∞,1](-\infty, 1] and on [2,∞)[2, \infty), and decreasing on [1,2][1, 2]. The values at the turning points are f(1)=5f(1) = 5 and f(2)=4f(2) = 4.

The slope is positive on the teal parts and negative on the orange part. The curve turns at (1, 5) and (2, 4).

Find where f(x)=x4−8x2f(x) = x^{4} - 8 x^{2} is increasing and decreasing.

f′(x)=4x3−16x=4x(x−2)(x+2)f'(x) = 4 x^{3} - 16 x = 4x(x - 2)(x + 2), which is zero at x=−2,0,2x = -2, 0, 2. Test points: at x=−3x = -3 the slope is −60-60 (negative); at x=−1x = -1 it is 1212 (positive); at x=1x = 1 it is −12-12 (negative); at x=3x = 3 it is 6060 (positive).

IntervalSign of f′f'Behaviour
(−∞,−2](-\infty, -2]negativedecreasing
[−2,0][-2, 0]positiveincreasing
[0,2][0, 2]negativedecreasing
[2,∞)[2, \infty)positiveincreasing

For f(x)=e−xf(x) = e^{-x} we get f′(x)=−e−xf'(x) = -e^{-x}. An exponential e(⋅)e^{(\cdot)} is always positive, so f′(x)<0f'(x) < 0 for every xx. The function is decreasing on the whole real line. This is the pattern of a battery that loses a fixed fraction of its charge every hour.

Show that f(x)=x−sin⁡xf(x) = x - \sin x is increasing on the whole real line. We have f′(x)=1−cos⁡xf'(x) = 1 - \cos x. Since cos⁡x≤1\cos x \le 1, we get f′(x)≥0f'(x) \ge 0 always. It equals 00 only at x=0,±2π,…x = 0, \pm 2\pi, \dots, which are separate points. So ff is increasing everywhere.

For f(x)=x2−6x+5f(x) = x^{2} - 6 x + 5 we get f′(x)=2x−6f'(x) = 2x - 6. This is negative when x<3x < 3 and positive when x>3x > 3. So ff is decreasing on (−∞,3](-\infty, 3] and increasing on [3,∞)[3, \infty). The lowest point of the parabola is at x=3x = 3.

Be careful with gaps. The function f(x)=−1xf(x) = \frac{-1}{x} has f′(x)=1x2>0f'(x) = \frac{1}{x^{2}} > 0 at every x≠0x \neq 0. Still, it is not increasing on its whole domain: f(−1)=1f(-1) = 1 is larger than f(1)=−1f(1) = -1. The graph has two separate pieces, and each piece is increasing on its own.

EXERCISE 6.2

353 words · 2 min read
  1. Find the intervals where f(x)=x2+4x−1f(x) = x^{2} + 4 x - 1 is increasing and decreasing.
  2. Find the intervals where f(x)=x3−12xf(x) = x^{3} - 12 x is increasing and decreasing.
  3. Find the intervals where f(x)=x4−2x2f(x) = x^{4} - 2 x^{2} is increasing and decreasing.
  4. Show that f(x)=e2xf(x) = e^{2 x} is increasing on the whole real line.
  5. Find the intervals where f(x)=xe−xf(x) = x e^{-x} is increasing and decreasing.
  6. For x>0x > 0, find where f(x)=x−2ln⁡xf(x) = x - 2 \ln x is increasing and decreasing.
  7. Show that f(x)=x3−6x2+15x+3f(x) = x^{3} - 6 x^{2} + 15 x + 3 is increasing on the whole real line.
  8. Show that f(x)=cos⁡xf(x) = \cos x is decreasing on the interval (0,π)(0, \pi).
  9. Find all values of kk for which f(x)=x2+kx+3f(x) = x^2 + kx + 3 is increasing on [2,∞)[2, \infty).

Answers

  1. f′(x)=2x+4f'(x) = 2 x + 4. Decreasing on (−∞,−2](-\infty, -2]; increasing on [−2,∞)[-2, \infty).
  2. f′(x)=3(x−2)(x+2)f'(x) = 3(x-2)(x+2). Increasing on (−∞,−2](-\infty, -2] and [2,∞)[2, \infty); decreasing on [−2,2][-2, 2].
  3. f′(x)=4x(x−1)(x+1)f'(x) = 4x(x-1)(x+1). Decreasing on (−∞,−1](-\infty, -1] and [0,1][0, 1]; increasing on [−1,0][-1, 0] and [1,∞)[1, \infty).
  4. f′(x)=2e2xf'(x) = 2 e^{2 x}, which is positive for every xx because e2x>0e^{2x} > 0.
  5. f′(x)=(1−x)e−xf'(x) = (1 - x)e^{-x} and e−x>0e^{-x} > 0. So f′(x)>0f'(x) > 0 for x<1x < 1 and f′(x)<0f'(x) < 0 for x>1x > 1. Increasing on (−∞,1](-\infty, 1]; decreasing on [1,∞)[1, \infty).
  6. f′(x)=1−2x=x−2xf'(x) = 1 - \frac{2}{x} = \frac{x - 2}{x}. Decreasing on (0,2](0, 2]; increasing on [2,∞)[2, \infty).
  7. f′(x)=3x2−12x+15=3((x−2)2+1)f'(x) = 3x^2 - 12x + 15 = 3\left((x-2)^2 + 1\right). Because (x−2)2≥0(x-2)^2 \ge 0, we get f′(x)≥3>0f'(x) \ge 3 > 0 for every xx.
  8. f′(x)=−sin⁡xf'(x) = -\sin x. On (0,π)(0, \pi) we have sin⁡x>0\sin x > 0, so f′(x)<0f'(x) < 0.
  9. f′(x)=2x+kf'(x) = 2x + k, which is smallest at x=2x = 2, where it equals 4+k4 + k. We need 4+k≥04 + k \ge 0, so k≥−4k \ge -4. Check: for k=−4k = -4, f(x)=x2−4x+3f(x) = x^{2} - 4 x + 3 is increasing on [2,∞)[2, \infty). For k=−5k = -5 the slope at x=2.1x = 2.1 is 2(2.1)−5=−0.8<02(2.1) - 5 = -0.8 < 0, so it fails.

6.4 Maxima and Minima

804 words · 4 min read

A local maximum is the top of a small hill on the graph: nearby points are all lower. A local minimum is the bottom of a small valley: nearby points are all higher. The word extremum means either of them. "Local" means we compare only with nearby points, so a local maximum need not be the highest point of the whole graph.

A critical point of ff is a point x=cx = c inside the domain where either f′(c)=0f'(c) = 0 or ff is not differentiable. Peaks and valleys can only happen at critical points.

Common mistake: thinking that f′(c)=0f'(c) = 0 always means a peak or a valley. It only means the graph is level at cc. The curve y=x3y = x^3 has slope 00 at x=0x = 0, yet it keeps rising there, so x=0x = 0 is neither a peak nor a valley.

Move from left to right through a critical point cc and watch the sign of f′f':

Sign of f′f' just left of ccSign of f′f' just right of ccWhat happens at cc
positive (going up)negative (going down)local maximum
negative (going down)positive (going up)local minimum
same sign on both sidessame sign on both sidesneither

Suppose f′(c)=0f'(c) = 0 and the second derivative exists at cc. The second derivative tells how the slope itself is changing:

ConditionMeaningConclusion
f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0slope falls from positive to negativelocal maximum at cc
f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0slope rises from negative to positivelocal minimum at cc
f′(c)=0f'(c) = 0 and f′′(c)=0f''(c) = 0the test cannot decideuse the first derivative test
Which test to use? The second derivative test is quick when f′′f'' is easy to find. The first derivative test always works, and it is the only choice when f′′(c)=0f''(c) = 0 or when ff is not differentiable at cc.

Find the local maximum and minimum values of f(x)=x3−3x2−9x+5f(x) = x^{3} - 3 x^{2} - 9 x + 5.

f′(x)=3x2−6x−9=3(x−3)(x+1)f'(x) = 3 x^{2} - 6 x - 9 = 3(x - 3)(x + 1), so the critical points are x=−1x = -1 and x=3x = 3. The second derivative is f′′(x)=6x−6f''(x) = 6 x - 6.

Critical pointf′′(x)f''(x)ConclusionValue of ff
x=−1x = -1−12-12 (negative)local maximumf(−1)=10f(-1) = 10
x=3x = 31212 (positive)local minimumf(3)=−22f(3) = -22
The curve of the function in Example 1. The local maximum is 10 at x = -1, and the local minimum is -22 at x = 3.

Remember that these are local values. The curve goes on rising to very large values for large xx, so the local maximum (1010) is not the largest value of the function. A local value is only the best one nearby.

Look at f(x)=x4f(x) = x^4. Here f′(x)=4x3f'(x) = 4x^3 is zero at x=0x = 0, and f′′(x)=12x2f''(x) = 12x^2 is also 00 at x=0x = 0. The second derivative test cannot decide. Use the first derivative test: for x<0x < 0 the slope 4x34x^3 is negative, and for x>0x > 0 it is positive. The slope changes from negative to positive, so x=0x = 0 is a local minimum.

Now compare f(x)=x3f(x) = x^3. Again f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0. But f′(x)=3x2f'(x) = 3x^2 is positive on both sides of 00. The sign does not change, so x=0x = 0 is neither a maximum nor a minimum.

Find the local extrema of f(x)=sin⁡x+cos⁡xf(x) = \sin x + \cos x on (0,2π)(0, 2\pi).

f′(x)=cos⁡x−sin⁡x=0f'(x) = \cos x - \sin x = 0 when tan⁡x=1\tan x = 1, so x=π4x = \frac{\pi}{4} or x=5π4x = \frac{5\pi}{4}. The second derivative is f′′(x)=−sin⁡x−cos⁡xf''(x) = -\sin x - \cos x.

  • At x=π4x = \frac{\pi}{4}: f′′=−1.4142f'' = -1.4142 (negative), so there is a local maximum of f=2≈1.4142f = \sqrt{2} \approx 1.4142.
  • At x=5π4x = \frac{5\pi}{4}: f′′=1.4142f'' = 1.4142 (positive), so there is a local minimum of f=−2≈−1.4142f = -\sqrt{2} \approx -1.4142.

Let f(x)=∣x−2∣+1f(x) = |x - 2| + 1. At x=2x = 2 the graph has a sharp corner, so ff is not differentiable there, and x=2x = 2 is a critical point for that reason. For x<2x < 2 the slope is −1-1 and for x>2x > 2 it is +1+1. The slope changes from negative to positive, so x=2x = 2 is a local minimum, with value f(2)=1f(2) = 1. The second derivative test could not be used here at all.

6.4.1 Maximum and Minimum Values of a Function in a Closed Interval

445 words · 2 min read

A local maximum is only the best value nearby. Often we want the best value over a whole stretch of the graph, for example the highest temperature during one day. This is the absolute maximum. The lowest value over the stretch is the absolute minimum.

A closed interval [a,b][a, b] includes both of its end points. Here is an important fact:

Extreme value fact. If ff is continuous on a closed interval [a,b][a, b], then ff has an absolute maximum and an absolute minimum on [a,b][a, b].

Where can they be? Only at two kinds of places:

  • at a critical point inside the interval (where f′=0f' = 0 or ff is not differentiable), or
  • at an end point of the interval.

That is why the method is simple: list these few candidate points, compute ff at each one, and compare.

Take f(x)=x3−3x2−9x+5f(x) = x^{3} - 3 x^{2} - 9 x + 5 from the last section. Its critical points are x=−1x = -1 and x=3x = 3. The values are f(−1)=10f(-1) = 10 and f(3)=−22f(3) = -22. The answer depends on the interval you are given:

IntervalCandidates (critical points inside, and end points)Absolute maximumAbsolute minimum
[−2,4][-2, 4]f(−2)=3f(-2) = 3, f(−1)=10f(-1) = 10, f(3)=−22f(3) = -22, f(4)=−15f(4) = -1510 at x=−1x = -1-22 at x=3x = 3
[0,5][0, 5]f(0)=5f(0) = 5, f(3)=−22f(3) = -22, f(5)=10f(5) = 1010 at x=5x = 5 (an end point)-22 at x=3x = 3
[−2,6][-2, 6]f(−2)=3f(-2) = 3, f(−1)=10f(-1) = 10, f(3)=−22f(3) = -22, f(6)=59f(6) = 5959 at x=6x = 6 (an end point)-22 at x=3x = 3
On the interval [-2, 4] the absolute maximum is 10 (at the peak) and the absolute minimum is -22 (at the valley). The end points are marked in grey.
Common mistake: forgetting the end points. In the second and third rows of the table, the absolute maximum is at an end point, not at the local maximum.

If the interval is not closed, the best value may not exist. For f(x)=1xf(x) = \frac{1}{x} on (0,1](0, 1], the function keeps growing as xx gets closer to 00, so there is no absolute maximum. Also, f(x)=xf(x) = x on the open interval (0,1)(0, 1) has no minimum and no maximum, because the end points 00 and 11 are not allowed.

Working Rule

503 words · 2 min read

To find the absolute maximum and minimum of a continuous function ff on a closed interval [a,b][a, b]:

  1. Find the critical points of ff inside (a,b)(a, b): the points where f′(x)=0f'(x) = 0, and the points where ff is not differentiable.
  2. Add the end points aa and bb to the list.
  3. Calculate ff at every point in the list.
  4. Compare. The largest value is the absolute maximum. The smallest value is the absolute minimum.
You do not need the first or second derivative test here. You only compare values. That makes this method the safest one for exam answers.

Find the absolute maximum and minimum of f(x)=2x3−15x2+36x+1f(x) = 2 x^{3} - 15 x^{2} + 36 x + 1 on [1,5][1, 5].

Step 1. f′(x)=6x2−30x+36=6(x−2)(x−3)f'(x) = 6 x^{2} - 30 x + 36 = 6(x - 2)(x - 3). The critical points are x=2x = 2 and x=3x = 3. Both lie inside [1,5][1, 5].

Step 2. The end points are x=1x = 1 and x=5x = 5.

Step 3. Calculate the values:

xx11223355
f(x)f(x)2424292928285656

Step 4. The largest value is 5656, so the absolute maximum is 5656 at x=5x = 5. The smallest value is 2424, so the absolute minimum is 2424 at x=1x = 1. Both are at end points. The local maximum 2929 at x=2x = 2 is only a local one.

Find the absolute maximum and minimum of f(x)=∣x2−4∣f(x) = |x^2 - 4| on [−3,3][-3, 3].

The graph of x2−4x^2 - 4 dips below the xx-axis between −2-2 and 22. The absolute value flips that part upward, so ff has sharp corners at x=−2x = -2 and x=2x = 2. These are not differentiable, so they are critical points. Between −2-2 and 22 we have f(x)=4−x2f(x) = 4 - x^2, with f′(x)=−2xf'(x) = -2x, which is zero at x=0x = 0.

xx−3-3−2-2002233
f(x)f(x)5500440055

The absolute maximum is 55, reached at x=−3x = -3 and at x=3x = 3. The absolute minimum is 00, reached at the two corners x=−2x = -2 and x=2x = 2. The small hill at x=0x = 0 (value 44) is only a local maximum.

The graph of |x² − 4| on [−3, 3]. Sharp corners touch zero at x = −2 and x = 2 (absolute minimum). The end points reach 5 (absolute maximum). The middle hill, 4, is only local.
Do not skip corners. In Example 2, if you only solve f′(x)=0f'(x) = 0 you find just x=0x = 0 and you will miss the true minimum at the corners.

EXERCISE 6.3

514 words · 2 min read
  1. Find the local minimum value of f(x)=x2−4x+7f(x) = x^2 - 4x + 7.
  2. Find the local maximum and local minimum values of f(x)=x3−12xf(x) = x^3 - 12x.
  3. For x>0x > 0, show that f(x)=x+1xf(x) = x + \frac{1}{x} has a local minimum at x=1x = 1 and find its value.
  4. Find the local extremum of f(x)=xe−xf(x) = xe^{-x} and say whether it is a maximum or a minimum.
  5. Find the absolute maximum and minimum of f(x)=2x3−3x2−12xf(x) = 2x^3 - 3x^2 - 12x on [−2,3][-2, 3].
  6. Find the absolute maximum and minimum of f(x)=sin⁡2xf(x) = \sin 2x on [0,π][0, \pi].
  7. Find the absolute maximum and minimum of f(x)=x4−x2f(x) = x\sqrt{4 - x^2} on [0,2][0, 2].
  8. Show that f(x)=x3f(x) = x^3 has no local maximum and no local minimum.
  9. Two positive numbers add up to 2020. Find them if their product is as large as possible.
  10. A rectangle has area 100100 m². Find the sides for which its perimeter is as small as possible.

Answers

  1. f′(x)=2x−4=0f'(x) = 2x - 4 = 0 gives x=2x = 2. Since f′′(x)=2>0f''(x) = 2 > 0, there is a local minimum of f(2)=3f(2) = 3.
  2. f′(x)=3x2−12=0f'(x) = 3x^2 - 12 = 0 gives x=±2x = \pm 2. f′′(x)=6xf''(x) = 6x is negative at x=−2x = -2 and positive at x=2x = 2. Local maximum: f(−2)=16f(-2) = 16. Local minimum: f(2)=−16f(2) = -16.
  3. f′(x)=1−1x2=0f'(x) = 1 - \frac{1}{x^2} = 0 gives x=1x = 1 (since x>0x > 0). f′′(x)=2x3f''(x) = \frac{2}{x^3} is 2>02 > 0 at x=1x = 1. The local minimum value is f(1)=2f(1) = 2.
  4. f′(x)=(1−x)e−x=0f'(x) = (1 - x)e^{-x} = 0 gives x=1x = 1. f′′(x)=(x−2)e−xf''(x) = (x - 2)e^{-x}, and f′′(1)=−0.3679f''(1) = -0.3679 is negative. So x=1x = 1 is a local maximum, of value f(1)=e−1≈0.3679f(1) = e^{-1} \approx 0.3679.
  5. f′(x)=6(x−2)(x+1)f'(x) = 6(x - 2)(x + 1), so the critical points are x=−1x = -1 and x=2x = 2. Values: f(−2)=−4f(-2) = -4, f(−1)=7f(-1) = 7, f(2)=−20f(2) = -20, f(3)=−9f(3) = -9. Absolute maximum: 77 at x=−1x = -1. Absolute minimum: −20-20 at x=2x = 2.
  6. f′(x)=2cos⁡2x=0f'(x) = 2\cos 2x = 0 gives 2x=π22x = \frac{\pi}{2} or 3π2\frac{3\pi}{2}, so x=π4x = \frac{\pi}{4} or 3π4\frac{3\pi}{4}. The values there are 11 and −1-1. At the end points f(0)=f(π)=0f(0) = f(\pi) = 0. Absolute maximum 11 at x=π4x = \frac{\pi}{4}; absolute minimum −1-1 at x=3π4x = \frac{3\pi}{4}.
  7. f′(x)=4−2x24−x2=0f'(x) = \frac{4 - 2x^2}{\sqrt{4 - x^2}} = 0 gives x=2x = \sqrt{2}. Values: f(0)=0f(0) = 0, f(2)=2⋅2=2f(\sqrt{2}) = \sqrt{2} \cdot \sqrt{2} = 2, f(2)=0f(2) = 0. Absolute maximum 22 at x=2x = \sqrt{2}; absolute minimum 00 at x=0x = 0 and x=2x = 2.
  8. f′(x)=3x2f'(x) = 3x^2 is positive for every x≠0x \neq 0 and is 00 only at x=0x = 0. The sign of f′f' never changes, so ff is increasing everywhere and has no peak and no valley.
  9. Let the numbers be xx and 20−x20 - x, with product P(x)=x(20−x)P(x) = x(20 - x). P′(x)=20−2x=0P'(x) = 20 - 2x = 0 gives x=10x = 10, and P′′=−2<0P'' = -2 < 0. Both numbers are 1010, and the largest product is 100100.
  10. Let one side be xx; the other is 100x\frac{100}{x}. Perimeter P(x)=2(x+100x)P(x) = 2\left(x + \frac{100}{x}\right). P′(x)=2(1−100x2)=0P'(x) = 2\left(1 - \frac{100}{x^2}\right) = 0 gives x=10x = 10. Both sides are 1010 m (a square), and the least perimeter is 4040 m.

Miscellaneous Examples

711 words · 3 min read

Many real "find the best" problems are solved the same way. Step 1: write the quantity to be made largest or smallest as a function of one variable. Step 2: decide the allowed interval for that variable. Step 3: apply the working rule.

A square sheet of card has sides of 2424 cm. A small square of side xx cm is cut from each corner and the sides are folded up to make a box with no lid. What value of xx gives the box of greatest volume?

After cutting, the base is a square of side 24−2x24 - 2x and the height is xx. So the volume is V(x)=x(24−2x)2V(x) = x \left(24 - 2 x\right)^{2}, where 0≤x≤120 \le x \le 12. Then V′(x)=(24−2x)(24−6x)V'(x) = (24 - 2x)(24 - 6x), which is zero at x=12x = 12 and x=4x = 4. At x=12x = 12 the volume is 00. At x=4x = 4 it is V(4)=4⋅162=1024V(4) = 4 \cdot 16^2 = 1024. At x=0x = 0 it is 00 too.

The greatest volume is 1024 cm³, with x=4x = 4 cm.

Volume of the box against the cut size x. The highest point is at x = 4, where the volume is 1024 cm³.

A farmer has 120120 m of fence and will fence three sides of a rectangular field. The fourth side is a long wall. Find the largest area.

Let each of the two equal sides be xx m. The side parallel to the wall is 120−2x120 - 2x m. The area is A(x)=x(120−2x)A(x) = x \left(120 - 2 x\right) for 0≤x≤600 \le x \le 60. A′(x)=120−4x=0A'(x) = 120 - 4x = 0 gives x=30x = 30. At x=0x = 0 and x=60x = 60 the area is 00. So the largest area is A(30)=1800A(30) = 1800 m². The field is 3030 m by 6060 m: the side along the wall is twice the other sides.

A closed cylindrical can must hold 500500 cm³. Find the radius and height that use the least metal.

Let the radius be rr and the height hh. The volume gives πr2h=500\pi r^2 h = 500, so h=500πr2h = \frac{500}{\pi r^2}. The surface area is S=2πr2+2πrh=2πr2+1000rS = 2\pi r^2 + 2\pi r h = 2\pi r^2 + \frac{1000}{r}. Now S′(r)=4πr−1000r2=0S'(r) = 4\pi r - \frac{1000}{r^2} = 0 gives r3=250πr^3 = \frac{250}{\pi}, so r=250/π3≈4.3013r = \sqrt[3]{250/\pi} \approx 4.3013 cm.

Then h=500πr2≈8.6025h = \frac{500}{\pi r^2} \approx 8.6025 cm, which is exactly 2r2r. The least surface area is about 348.73348.73 cm². Check: for very small rr the can is a tall thin tube and SS is large. For very large rr it is a flat disc and SS is also large. So the one critical point must give the minimum.

Pattern to remember: a can with the least metal for a given volume always has height equal to its diameter.

Which point of the curve y=x2y = x^2 is closest to the point (0,3)(0, 3)?

The squared distance from (x,x2)(x, x^2) to (0,3)(0, 3) is D2=x2+(x2−3)2=x4−5x2+9D^2 = x^2 + (x^2 - 3)^2 = x^{4} - 5 x^{2} + 9. Minimising D2D^2 is the same as minimising DD and avoids square roots. d(D2)dx=4x3−10x=2x(2x2−5)=0\frac{d(D^2)}{dx} = 4x^3 - 10x = 2x(2x^2 - 5) = 0 gives x=0x = 0 or x2=2.5x^2 = 2.5. At x=0x = 0, D2=9D^2 = 9, a local maximum. At x2=2.5x^2 = 2.5, D2=6.25−12.5+9=2.75D^2 = 6.25 - 12.5 + 9 = 2.75. So the closest points are (±1.5811,2.5)(\pm 1.5811, 2.5), and the least distance is 2.75≈1.6583\sqrt{2.75} \approx 1.6583.

A rectangle has a diagonal of length 1010. Find the largest possible area.

Let the diagonal make an angle θ\theta with a side, where 0<θ<π20 < \theta < \frac{\pi}{2}. The sides are 10cos⁡θ10\cos\theta and 10sin⁡θ10\sin\theta, so the area is A=100sin⁡θcos⁡θ=50sin⁡2θA = 100\sin\theta\cos\theta = 50\sin 2\theta. A′(θ)=100cos⁡2θ=0A'(\theta) = 100\cos 2\theta = 0 gives 2θ=π22\theta = \frac{\pi}{2}, that is θ=π4\theta = \frac{\pi}{4}. The largest area is 5050. The sides are both 10cos⁡π4≈7.071110\cos\frac{\pi}{4} \approx 7.0711: the best rectangle is a square.

*Miscellaneous Exercise on Chapter 6*

563 words · 3 min read
  1. The radius of a spherical bubble grows at 0.10.1 cm/s. How fast is its surface area growing when the radius is 33 cm?
  2. Grain is poured onto a flat floor at 44 m³/min and forms a cone whose height always equals its base radius. How fast is the height growing when the height is 22 m?
  3. Show that f(x)=x3−3x2+3x−100f(x) = x^3 - 3x^2 + 3x - 100 is increasing on the whole real line.
  4. Find the intervals where f(x)=x44−x3f(x) = \frac{x^4}{4} - x^3 is increasing and decreasing.
  5. Find all local maximum and minimum values of f(x)=x2e−xf(x) = x^2 e^{-x}.
  6. Find the absolute maximum and minimum of f(x)=3x4−4x3−12x2+1f(x) = 3x^4 - 4x^3 - 12x^2 + 1 on [−2,3][-2, 3].
  7. A rectangle has area 6464 cm². Find its least possible perimeter.
  8. A closed tank in the shape of a box with a square base and no lid must hold 3232 m³. Find the base side and height that use the least material for the base and four sides.
  9. Show that the local maximum value of f(x)=x+1xf(x) = x + \frac{1}{x} is smaller than its local minimum value.
  10. Find the value of aa for which f(x)=x2+axf(x) = x^2 + \frac{a}{x} has a local minimum at x=2x = 2.

Answers

  1. S=4πr2S = 4\pi r^2, so dSdt=8πrdrdt=8π(3)(0.1)=2.4π≈7.5398\frac{dS}{dt} = 8\pi r \frac{dr}{dt} = 8\pi(3)(0.1) = 2.4\pi \approx 7.5398 cm²/s.
  2. With h=rh = r, V=13πh3V = \frac{1}{3}\pi h^3, so dVdt=πh2dhdt\frac{dV}{dt} = \pi h^2 \frac{dh}{dt}. Then dhdt=4π⋅4=1π≈0.3183\frac{dh}{dt} = \frac{4}{\pi \cdot 4} = \frac{1}{\pi} \approx 0.3183 m/min.
  3. f′(x)=3(x−1)2≥0f'(x) = 3(x - 1)^2 \ge 0 for all xx, and it is 00 only at x=1x = 1. So ff is increasing everywhere.
  4. f′(x)=x3−3x2=x2(x−3)f'(x) = x^3 - 3x^2 = x^2(x - 3). The factor x2x^2 is never negative, so the sign comes from x−3x - 3. Decreasing on (−∞,3](-\infty, 3] (the slope is 00 at x=0x = 0 but the function keeps falling); increasing on [3,∞)[3, \infty).
  5. f′(x)=x(2−x)e−xf'(x) = x(2 - x)e^{-x}, zero at x=0x = 0 and x=2x = 2. The slope is negative for x<0x < 0, positive between 00 and 22, and negative for x>2x > 2. Local minimum: f(0)=0f(0) = 0. Local maximum: f(2)=4e−2≈0.5413f(2) = 4e^{-2} \approx 0.5413.
  6. f′(x)=12x(x−2)(x+1)f'(x) = 12x(x - 2)(x + 1), so the critical points are −1-1, 00, 22. Values: f(−2)=33f(-2) = 33, f(−1)=−4f(-1) = -4, f(0)=1f(0) = 1, f(2)=−31f(2) = -31, f(3)=28f(3) = 28. Absolute maximum 3333 at x=−2x = -2; absolute minimum −31-31 at x=2x = 2.
  7. With sides xx and 64x\frac{64}{x}, P(x)=2(x+64x)P(x) = 2\left(x + \frac{64}{x}\right), and P′(x)=0P'(x) = 0 gives x=8x = 8. It is a square of side 88 cm and the least perimeter is 3232 cm.
  8. With base side xx and height h=32x2h = \frac{32}{x^2}, the area is S=x2+4xh=x2+128xS = x^2 + 4xh = x^2 + \frac{128}{x}. S′(x)=2x−128x2=0S'(x) = 2x - \frac{128}{x^2} = 0 gives x3=64x^3 = 64, so x=4x = 4 m. Then h=2h = 2 m and the least area is 4848 m².
  9. f′(x)=1−1x2=0f'(x) = 1 - \frac{1}{x^2} = 0 gives x=±1x = \pm 1. At x=−1x = -1 the function has a local maximum of −2-2. At x=1x = 1 it has a local minimum of 22. Indeed −2<2-2 < 2. This happens because the graph has two separate branches.
  10. f′(x)=2x−ax2f'(x) = 2x - \frac{a}{x^2}. Setting f′(2)=4−a4=0f'(2) = 4 - \frac{a}{4} = 0 gives a=16a = 16. Check: f′′(x)=2+2ax3f''(x) = 2 + \frac{2a}{x^3}, and f′′(2)=6>0f''(2) = 6 > 0, so it is a local minimum.

Summary

230 words · 1 min read
  • Rate of change: dydx\frac{dy}{dx} is the rate at which yy changes with xx. For rates in time, use the chain rule: dydt=dydx⋅dxdt\frac{dy}{dt} = \frac{dy}{dx} \cdot \frac{dx}{dt}. Differentiate first, substitute numbers last.
  • Increasing and decreasing: if f′(x)>0f'(x) > 0 on an interval, ff is increasing there. If f′(x)<0f'(x) < 0, ff is decreasing. Split the line at the points where f′(x)=0f'(x) = 0 and test one point in each piece.
  • Critical point: a point cc where f′(c)=0f'(c) = 0 or ff is not differentiable. Every local maximum or minimum is at a critical point, but not every critical point is a maximum or a minimum.
  • First derivative test: if f′f' changes from ++ to −- at cc, there is a local maximum. If it changes from −- to ++, there is a local minimum. If it does not change sign, there is neither.
  • Second derivative test: if f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0, local maximum. If f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0, local minimum. If f′′(c)=0f''(c) = 0, the test fails: use the first derivative test.
  • Absolute maximum and minimum on [a,b][a, b]: list the critical points inside the interval and the two end points, calculate ff at each, and compare. A continuous function on a closed interval always has both.
  • Best-choice problems: write the quantity as a function of one variable, find the allowed interval, then use the working rule.
End of book
You have reached the end