A drone flies for 7 minutes. Its height after t minutes is h(t)=t3−12t2+36t+10 (metres). It takes off from a rooftop at a height of 10 m, after 2 minutes it is at 42 m, after 6 minutes it is back down at 10 m, and it reaches 17 m when time is up. So during which time intervals is the drone climbing, during which is it descending, and at which moments does it "turn round"?
To answer exactly, we do not need the height at lots of moments. We only need the sign of the derivative h′(t).
Monotonicity
Explore: when does the graph go up?
We compute the height at whole minutes, and the derivative h′(t)=3t2−24t+36=3(t−2)(t−6):
t
0
1
2
3
4
5
6
7
h(t)
10
35
42
37
26
15
10
17
h′(t)
36
15
0
−9
−12
−9
0
15
From t=0 to t=2 the height increases and h′>0. From t=2 to t=6 the height decreases and h′<0. After t=6 the height increases again and h′>0. This makes sense: h′(t) is the gradient of the tangent, and a positive gradient means the graph is going up.
Height of the drone h(t)=t3−12t2+36t+10
Why is it true? The derivative f′(x) is the limit of the ratio x2−x1f(x2)−f(x1). If the graph has an upward-sloping tangent at every point of K, it cannot go down anywhere in K. A few points with a horizontal tangent (like y=x3 at x=0) do not make the graph turn round.
To study monotonicity, we work in this order:
Find the domain.
Compute f′(x) and find the points where f′(x)=0 (the stationary points) or f′(x) is undefined.
Draw the table of variations: find the sign of f′ on each interval.
State the intervals where f increases and decreases.
The next example shows that f′(x0)=0 does not always make the function turn round.
Extrema of a function
In the drone problem, the moment t=2 gives a height greater than at all nearby moments, although it is not necessarily the highest of the whole flight. We say that h has a local maximum at t=2.
The reason: a change from + to − means the graph goes up just before x0 and down just after it, so f(x0) is greater than the nearby values. In Example 1, y′ changes sign from + to − at x=1, so f has a local maximum at x=1 with ymax=5; likewise f has a local minimum at x=3 with ymin=1.
The graph of y=x4−2x2+3
For a rational function, a value that makes the denominator zero is not in the domain, but it must still be written in the table of variations to split the intervals.
The graph of y=x−1x2+3
Using the second derivative
When the sign of f′ is hard to find (often with trigonometric functions), we can use the second derivative (grade 11).
Finally, we answer the question about the drone from the start of the lesson.
Key terms
Summary
f′>0 on K means f is increasing on K; f′<0 means decreasing. If f′≥0 and it is zero at only finitely many points, f is still increasing.
Steps: domain → f′ and its roots → table of variations → conclusion for each interval.
f′ changes sign +→− at x0: local maximum; −→+: local minimum. No sign change: no extremum.
Second-derivative test: f′(x0)=0 and f′′(x0)<0 gives a local maximum, f′′(x0)>0 a local minimum.
Distinguish the point x0 where the extremum occurs, the extreme value f(x0), and the turning point of the graph (x0,f(x0)).
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Exercise 1
Find the intervals on which y=−x3+3x2+1 is increasing or decreasing.
What you need and how to start
What you need: if y′>0 on an interval, the function is increasing there; if y′<0, it is decreasing.
Steps:
Compute y′ and factorise it.
Find the sign of y′ (mind the negative coefficient).
Show solution
y′=−3x2+6x=−3x(x−2), with roots 0 and 2. The quadratic has a=−3<0, so it is positive between the roots and negative outside them.
Answer. Increasing on (0,2); decreasing on (−∞,0) and (2,+∞).
Exercise 2
Find the extrema of y=x4−8x2+1.
What you need and how to start
What you need:y′ changes sign from − to + at a local minimum and from + to − at a local maximum.
Steps:
Compute y′=4x3−16x and find its three roots.
Draw the table of variations.
Compute y at these points.
Show solution
y′=4x(x−2)(x+2), with roots −2, 0, 2. The signs of y′ on the four intervals are −,+,−,+. So there is a local minimum at x=±2 with y=16−32+1=−15, and a local maximum at x=0 with y=1.
Answer.ymin=−15 at x=±2; ymax=1 at x=0.
Exercise 3
Determine where y=x−1x+2 is increasing or decreasing.
What you need and how to start
What you need:(cx+dax+b)′=(cx+d)2ad−bc.
Steps:
Find the domain.
Compute y′ and look at the sign of the numerator.
Show solution
D=R∖{1} and y′=(x−1)21⋅(−1)−2⋅1=(x−1)2−3<0 for every x∈D.
Answer. The function is decreasing on each interval (−∞,1) and (1,+∞), and has no extremum.
Exercise 4
Find the extrema of y=x+x4.
What you need and how to start
What you need: write y′ as one fraction to find its sign; remember x=0 is not in the domain.
Steps:
Compute y′=1−x24=x2x2−4.
Draw the table of variations with the values −2, 0, 2 marked.
Show solution
y′=x2(x−2)(x+2) has the sign of (x−2)(x+2): positive when ∣x∣>2, negative when 0<∣x∣<2. So y′ changes sign +→− at x=−2 and −→+ at x=2.
Answer.ymax=y(−2)=−4; ymin=y(2)=4.
Exercise 5
A function y=f(x) has derivative f′(x)=x(x−1)2(x+2) for every x∈R. Is each claim true or false?
a) f is increasing on the interval (0,+∞).
b) f has three turning points.
c) f has a local maximum at x=−2.
d) f is decreasing on the interval (−2,1).
What you need and how to start
What you need: the factor (x−1)2 is non-negative, so it does not make f′ change sign; extrema occur only where f′ changes sign.
Steps:
Make a sign table of f′ with the values −2, 0, 1 marked.
Read off where f increases or decreases and where f′ changes sign.
Show solution
f′ has the sign of x(x+2) (except at x=1, where f′=0): positive on (−∞,−2), negative on (−2,0), positive on (0,1) and (1,+∞).
a) True: f′≥0 on (0,+∞) and it is zero only at x=1.
b) False: f′ changes sign only at x=−2 and x=0, so there are two turning points.
c) True: f′ changes sign from + to − at x=−2.
d) False: on (0,1) we have f′>0.
Answer. a) True; b) False; c) True; d) False.
Exercise 6
The function y=x3−3x2−9x+4 has a local maximum value ymax and a local minimum value ymin. Compute ymax−ymin.
What you need and how to start
What you need: for a cubic with two extrema and a>0, the local maximum occurs at the smaller root of y′.
Steps:
Solve y′=3x2−6x−9=0.
Compute y at the two roots.
Show solution
y′=3(x+1)(x−3). Since a=3>0, y′ changes sign +→− at x=−1 and −→+ at x=3. y(−1)=−1−3+9+4=9, y(3)=27−27−27+4=−23. The difference is 9−(−23)=32.
Answer.32.
Exercise 7
The concentration of a medicine in the blood t hours after an injection is C(t)=t2+930t (mg/l), t>0. During which time interval does the concentration increase, and when does it decrease? When does it reach its local maximum, and what is that value?
What you need and how to start
What you need: the quotient rule (vu)′=v2u′v−uv′.
Steps:
Compute C′(t) and simplify the numerator.
Find the sign of C′(t) for t>0.
Show solution
C′(t)=(t2+9)230(t2+9)−30t⋅2t=(t2+9)230(9−t2). For t>0: C′>0 when 0<t<3 and C′<0 when t>3. So C has a local maximum at t=3, C(3)=1890=5.
Answer. It increases during the first 3 hours and decreases afterwards; the local maximum is 5 mg/l at t=3 hours.
Exercise 8 Review
Find the extrema of y=x+2cosx on the interval (0,π).
What you need and how to start
What you need: the equation sinx=21 (basic trigonometric equations, grade 11) and the second-derivative test.
Steps:
Solve y′=1−2sinx=0 on (0,π).
Compute y′′=−2cosx at each root.
Show solution
sinx=21 gives x=6π or x=65π. y′′(6π)=−3<0: local maximum; y′′(65π)=3>0: local minimum.
Answer.ymax=6π+3 at x=6π; ymin=65π−3 at x=65π.
Compute the discriminant of y′ and look at the sign of a.
Show solution
y′=3x2+2x+1 has Δ=4−12=−8<0 and a=3>0, so y′>0 for every x.
Answer.y′>0 for every x∈R, so the function is increasing on R.
Exercise 10 Challenge
Find the intervals on which y=x4−x2 is increasing or decreasing, and its extrema.
What you need and how to start
What you need:(u)′=2uu′; a square root is defined only when the expression under it is non-negative.
Steps:
Find the domain.
Compute y′ and write it as a single fraction.
Find the sign of the numerator on (−2,2).
Show solution
D=[−2,2]. On (−2,2):
y′=4−x2−4−x2x2=4−x24−2x2,
which is zero when x=±2. The numerator is positive when ∣x∣<2 and negative when 2<∣x∣<2. y(2)=2⋅2=2, y(−2)=−2.
Answer. Increasing on (−2,2), decreasing on (−2,−2) and (2,2); ymin=−2 at x=−2, ymax=2 at x=2.
Mini test
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Question 1. On which of these intervals is y=x3−3x2+2 decreasing?
Answer: C.
y′=3x2−6x=3x(x−2) has a=3>0, so y′<0 between the roots 0 and 2. Option D comes from solving y′=0 wrongly as x=0, x=−2.
Question 2. The function y=−x3+3x+1 has a local maximum at
Answer: B.
y′=−3(x−1)(x+1) changes sign from + to − as x passes through 1. Option C is the local maximum value y(1)=3, not where it occurs; x=0 is the root of y′′.
Question 3. A function y=f(x) has a second derivative on R, with f′(2)=0 and f′′(2)=−3. Which statement is correct?
Answer: D.
By the second-derivative test, f′(2)=0 and f′′(2)<0 give a local maximum at x=2. The number −3 is the value of f′′(2), not a point.
Question 4. Which function is increasing on R?
Answer: A.
y′=3x2+3>0 for every x. Function C is increasing only on each interval (−∞,−3) and (−3,+∞), because it is undefined at x=−3; function D has y′=4x(x2+1), which is negative for x<0.
Part II. True or false
Question 1. Let f(x)=2x3−3x2−12x+1.
a)f′(x)=6x2−6x−12.
b)f is increasing on the interval (−1,2).
c) The local maximum value of f is 8.
d) The line through the two turning points of the graph has gradient 9.
Answer: a) True; b) False; c) True; d) False.
a) True: differentiate term by term. b) False: f′(x)=6(x+1)(x−2)<0 on (−1,2), so f is decreasing. c) True: f′ changes sign from + to − at x=−1 and f(−1)=8. d) False: the turning points are (−1,8) and (2,−19), so the gradient is 2−(−1)−19−8=−9.
Part III. Short answer
Question 1. Find the sum of the local maximum value and the local minimum value of y=−x4+8x2−3.
Answer: 10.
y′=−4x(x−2)(x+2); there is a local maximum at x=±2 with ymax=13 and a local minimum at x=0 with ymin=−3. The sum is 13+(−3)=10 (the local maximum value is counted once).
Question 2. The water level in a reservoir after t hours is modelled by h(t)=t3−15t2+60t+100 (cm), 0≤t≤12. For how many hours does the water level fall? Give your answer to 1 decimal place.
Answer: 4.5.
h′(t)=3(t2−10t+20)<0 when 5−5<t<5+5, and this whole interval lies in [0,12]. Its length is 25≈4.47, which rounds to 4.5 hours.
Show answers and explanations
Part I, question 1: C. y′=3x2−6x=3x(x−2) has a=3>0, so y′<0 between the roots 0 and 2. Option D comes from solving y′=0 wrongly as x=0, x=−2.
Part I, question 2: B. y′=−3(x−1)(x+1) changes sign from + to − as x passes through 1. Option C is the local maximum value y(1)=3, not where it occurs; x=0 is the root of y′′.
Part I, question 3: D. By the second-derivative test, f′(2)=0 and f′′(2)<0 give a local maximum at x=2. The number −3 is the value of f′′(2), not a point.
Part I, question 4: A. y′=3x2+3>0 for every x. Function C is increasing only on each interval (−∞,−3) and (−3,+∞), because it is undefined at x=−3; function D has y′=4x(x2+1), which is negative for x<0.
Part II, question 1: a) True; b) False; c) True; d) False. a) True: differentiate term by term. b) False: f′(x)=6(x+1)(x−2)<0 on (−1,2), so f is decreasing. c) True: f′ changes sign from + to − at x=−1 and f(−1)=8. d) False: the turning points are (−1,8) and (2,−19), so the gradient is 2−(−1)−19−8=−9.
Part III, question 1: 10. y′=−4x(x−2)(x+2); there is a local maximum at x=±2 with ymax=13 and a local minimum at x=0 with ymin=−3. The sum is 13+(−3)=10 (the local maximum value is counted once).
Part III, question 2: 4.5. h′(t)=3(t2−10t+20)<0 when 5−5<t<5+5, and this whole interval lies in [0,12]. Its length is 25≈4.47, which rounds to 4.5 hours.