Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Analyzing functions with derivatives

Lesson 2.5 · 50 min read · Updated

Unit 5 is one of the most heavily weighted units of AB, and its ideas return in almost every free-response question that shows a graph or a table of f′f'. The calculations are usually short. What the exam really tests is reasoning: "Because f′f' changes from negative to positive at x=2x=2" earns a point; "because f′(2)=0f'(2)=0" does not. So we train both the mathematics and the sentences. Much of the mathematics will be familiar from curve sketching at school; what is new is that AP wants the reasons in words.

Two existence theorems

Increasing, decreasing and relative extrema

f is increasing where f'>0 and decreasing where f'<0, because the derivative is the slope of the graph. The places that matter most are where the function might turn round. A critical point is an interior x where f'(x)=0 or f'(x) does not exist.

  • First derivative test. If f' changes from positive to negative at a critical point, f has a relative maximum there; from negative to positive, a relative minimum; no sign change, no extremum.
  • Second derivative test. If f'(c)=0 and f''(c)<0, relative maximum; if f''(c)>0, relative minimum; if f''(c)=0, the test says nothing.

Absolute extrema: the candidates test

On a closed interval, the absolute maximum can only be in one of two kinds of place: at a critical point or at an endpoint. So we evaluate f at every critical point and at both endpoints and compare: the largest value is the absolute maximum, the smallest the absolute minimum.

Concavity and points of inflection

f is concave up where f''>0 (equivalently, where f' is increasing) and concave down where f''<0. A point of inflection is a point where the graph changes concavity, that is, where f'' changes sign.

-2-1123-3-2-112345xyO-12
The graph of f'(x)=x^2-x-2 (the derivative, not f)

Optimization

For an optimization problem, follow a fixed routine: write the quantity to optimize as a function of one variable, state the domain, find the critical points, and justify the maximum or minimum with the candidates test, a sign chart or the second derivative. Stating the domain is the step people skip, yet it is what tells you which endpoints to compare.

Similar exercises

Exercise 1 Multiple choice

For f(x)=x^2 on [1,3], the value of c guaranteed by the Mean Value Theorem is

A. 1.5B. 2C. 2.5D. 4
What you need and how to start

What you need: solve f'(c)= the average rate of change.

Steps:

  1. Average rate: \dfrac{9-1}{2}=4.
  2. 2c=4.
Show solution

The function f(x)=x^2 is continuous on [1, 3] and differentiable on (1, 3), so by the Mean Value Theorem there exists c\in(1, 3) such that f'(c)=\frac{f(3)-f(1)}{3-1}=\frac{9-1}{2}=4.

We have f'(x)=2x, so f'(c)=2c. Hence 2c=4, so c=2 (which lies in the interval (1, 3)).

So the answer is B.

Answer. B.

Exercise 2 Free response

Find the intervals on which f(x)=xe^{-x} is increasing or decreasing, and its relative extrema.

What you need and how to start

What you need: the product rule and the sign of f'.

Steps:

  1. f'(x)=e^{-x}-xe^{-x}=e^{-x}(1-x).
  2. e^{-x}>0 always, so the sign of f' is the sign of 1-x.
Show solution

The function f(x)=xe^{-x} is defined and differentiable on \mathbb{R}. We have f'(x)=e^{-x}-xe^{-x}=(1-x)e^{-x}.

Since e^{-x}>0 for all x, f'(x) has the same sign as 1-x. Hence f'(x)=0 only when x=1; f'(x)>0 for x<1; f'(x)<0 for x>1.

So f is increasing on (-\infty, 1) and decreasing on (1, \infty).

At x=1, the derivative f' changes from positive to negative, so f has a relative maximum at x=1 with value f(1)=1\cdot e^{-1}=\dfrac1e. Since f' vanishes only at x=1, f has no other relative extrema.

So f is increasing on (-\infty, 1), decreasing on (1, \infty), and has a relative maximum at x=1 with f(1)=\dfrac1e.

Answer. Increasing on (-\infty, 1), decreasing on (1, \infty); relative maximum at x=1 with value f(1)=\dfrac1e.

Exercise 3 Multiple choice

The point of inflection of f(x)=x^3-6x^2+1 is at

A. x=0B. x=4C. x=2D. x=-2
What you need and how to start

What you need: where f'' changes sign.

Steps:

  1. f''(x)=6x-12.
Show solution

A point of inflection of the graph is a point where f'' changes sign. We have f'(x)=3x^2-12x,\qquad f''(x)=6x-12.

Solving f''(x)=0: 6x-12=0, so x=2.

We have f''(x)<0 for x<2 and f''(x)>0 for x>2, so f'' changes sign at x=2. Hence the graph has a point of inflection at x=2.

So the answer is C.

Remark. Option B is a critical point (f'(4)=3\cdot16-12\cdot4=0), not an inflection point, because f''(4)=12\neq0.

Answer. C.

Exercise 4 Free response

Find the absolute maximum and minimum of f(x)=2x^3-3x^2-12x+1 on [-2,3].

What you need and how to start

What you need: the candidates test.

Steps:

  1. f'(x)=6x^2-6x-12=6(x-2)(x+1).
  2. Evaluate f at -2, -1, 2, 3.
Show solution

The function f(x)=2x^3-3x^2-12x+1 is continuous on the closed interval [-2, 3], so it attains its absolute maximum and minimum on this interval at critical points or at the endpoints.

We have f'(x)=6x^2-6x-12=6(x-2)(x+1). Solving f'(x)=0 gives x=-1 or x=2; both lie in [-2, 3].

We evaluate f at the critical points and at the endpoints: f(-2)=-16-12+24+1=-3,\qquad f(-1)=-2-3+12+1=8, f(2)=16-12-24+1=-19,\qquad f(3)=54-27-36+1=-8.

Comparing the four values -3, 8, -19, -8, the largest is 8 and the smallest is -19.

So the absolute maximum of f on [-2, 3] is 8, at x=-1; the absolute minimum is -19, at x=2.

Answer. Absolute maximum 8 at x=-1; absolute minimum -19 at x=2.

Exercise 5 Free response

A function has derivative f'(x)=(x-1)^2(x+2). Find and classify all relative extrema of f.

What you need and how to start

What you need: the first derivative test; a squared factor does not change sign.

Steps:

  1. Critical points: x=-2 and x=1.
  2. Sign of f' on each side of each critical point.
Show solution

f'<0 for x<-2 and f'>0 for -2<x<1 and for x>1. So f has a relative minimum at x=-2, and no extremum at x=1 because f' does not change sign there.

Application exercises

Exercise 6 An open box

Equal squares of side x centimeters are cut from the corners of a 30 by 30 centimeter sheet, and the sides are folded up to make an open box. Find x that gives the largest volume, and that volume.

What you need and how to start

What you need: V(x)=x(30-2x)^2 for 0<x<15.

Steps:

  1. V'(x)=(30-2x)^2-4x(30-2x)=(30-2x)(30-6x).
  2. Critical point inside the domain: x=5.
Show solution

When equal squares of side x (centimeters) are cut from the four corners and the sides are folded up, the box has a square base of side 30-2x and height x. Condition: 0<x<15.

The volume of the box is V(x)=x(30-2x)^2\ \text{(cubic centimeters)}.

Differentiating: V'(x)=(30-2x)^2+x\cdot2(30-2x)\cdot(-2)=(30-2x)(30-6x)=12(15-x)(5-x).

On the interval (0, 15) we have 15-x>0, so V'(x) has the same sign as 5-x. Hence V'(x)=0 when x=5; V'(x)>0 for 0<x<5; V'(x)<0 for 5<x<15.

Since V' changes from positive to negative at x=5, V is largest at x=5: V(5)=5\cdot(30-10)^2=5\cdot20^2=2000.

So the volume of the box is largest when x=5 centimeters, and that volume is 2000 cubic centimeters.

Answer. x=5 centimeters; the largest volume is 2000 cubic centimeters.

Exercise 7 Writing justifications

A function f has f'(x)=x^2-4.

a) Does f have a relative maximum at x=-2? Justify.

b) Is the graph of f concave up or concave down at x=1? Justify.

What you need and how to start

What you need: the sign of f' around -2, and the sign of f''(1).

Steps:

  1. f'(x)=(x-2)(x+2).
  2. f''(x)=2x.
Show solution

We have f'(x)=x^2-4=(x-2)(x+2).

a) Yes. We examine the sign of f' around x=-2: for x<-2 we have f'(x)>0 (for example f'(-3)=5>0); for -2<x<2 we have f'(x)<0 (for example f'(0)=-4<0). Since f' changes from positive to negative at x=-2, f has a relative maximum at x=-2.

b) We have f''(x)=2x, so f''(1)=2>0. So the graph of f is concave up at x=1.

So f has a relative maximum at x=-2, and the graph of f is concave up at x=1.

Answer. a) Yes; b) concave up.

Exercise 8 The closest point

Find the point on the curve y=\sqrt x closest to the point (3, 0).

What you need and how to start

What you need: minimize the square of the distance, which is easier and has the same minimizer.

Steps:

  1. D(x)=(x-3)^2+\left(\sqrt x\right)^2=x^2-5x+9.
  2. D'(x)=2x-5.
Show solution

Let M\left(x, \sqrt x\right) with x\ge0 be any point on the curve y=\sqrt x and let A(3, 0) be the given point. The squared distance AM is D(x)=(x-3)^2+\left(\sqrt x\right)^2=x^2-6x+9+x=x^2-5x+9.

The distance AM=\sqrt{D(x)} is smallest when D(x) is smallest.

We have D'(x)=2x-5. Solving D'(x)=0 gives x=2.5 (which satisfies x\ge0).

Since D''(x)=2>0, x=2.5 is a minimum of D. Moreover D'(x)<0 for 0\le x<2.5 and D'(x)>0 for x>2.5, so this is also the smallest value of D on [0, \infty).

Then D(2.5)=6.25-12.5+9=2.75, so the smallest distance is \sqrt{2.75}\approx1.66.

So the point on the curve closest to (3, 0) is \left(2.5, \sqrt{2.5}\right)\approx(2.5, 1.58), at distance \sqrt{2.75}\approx1.66 from the given point.

Answer. \left(2.5, \sqrt{2.5}\right)\approx(2.5, 1.58).

Exercise 9 Challenge

A closed cylindrical can must hold 500 cubic centimeters. Find the radius that uses the least material, and show that the best can has height equal to its diameter.

What you need and how to start

What you need: \pi r^2h=500 to eliminate h.

Steps:

  1. Surface area S=2\pi r^2+2\pi rh=2\pi r^2+\dfrac{1000}{r}.
  2. S'(r)=4\pi r-\dfrac{1000}{r^2}.
Show solution

Let r (centimeters) be the radius of the base and h (centimeters) the height of the can, with r>0, h>0.

The volume is \pi r^2h=500, so h=\dfrac{500}{\pi r^2}.

The amount of material is proportional to the total surface area of the closed can: S=2\pi r^2+2\pi rh=2\pi r^2+2\pi r\cdot\frac{500}{\pi r^2}=2\pi r^2+\frac{1000}{r}.

Differentiating: S'(r)=4\pi r-\dfrac{1000}{r^2}. Solving S'(r)=0: 4\pi r^3=1000\iff r^3=\frac{250}{\pi}.

So r=\sqrt[3]{\dfrac{250}{\pi}}\approx4.30 centimeters.

We have S''(r)=4\pi+\dfrac{2000}{r^3}>0 for all r>0, so this is a minimum, that is, the least material.

The corresponding height: since \pi r^3=250, h=\frac{500}{\pi r^2}=\frac{2\cdot250}{\pi r^2}=\frac{2\pi r^3}{\pi r^2}=2r. Hence h\approx8.60 centimeters, equal to the diameter 2r of the base.

So the can uses the least material when the radius is r\approx4.30 centimeters, and then the height equals the diameter.

Answer. r\approx4.30 centimeters; h=2r\approx8.60 centimeters.

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. If f'(x)=x(x-4), then f is decreasing on
Question 2. For f(x)=\sqrt x on [0,4], the value of c guaranteed by the Mean Value Theorem is
Question 3. If f''(x)=(x+1)(x-3)^2, the graph of f has a point of inflection at
Question 4. The absolute maximum of f(x)=x^2-2x on [0,3] is

Part II. True or false

Question 1. Let f(x)=x^3-3x.
a) The critical points of f are x=-1 and x=1.
b) f has a relative maximum at x=1.
c) The graph of f is concave down for x<0.
d) The absolute maximum of f on [0,2] is 2.

Part III. Short answer

Question 1. Two positive numbers have sum 20. What is the largest possible value of their product?

Question 2. At which value of x does f(x)=x^3-6x^2+9x+1 have a relative minimum?

Show answers and explanations
  1. Part I, question 1: C. f'<0 between the roots 0 and 4.
  2. Part I, question 2: A. The average rate is \dfrac{2-0}{4}=\dfrac12, and \dfrac{1}{2\sqrt c}=\dfrac12 gives c=1.
  3. Part I, question 3: D. f'' changes sign only at x=-1; the squared factor keeps the sign at x=3.
  4. Part I, question 4: B. Candidates: f(0)=0, f(1)=-1, f(3)=3.
  5. Part II, question 1: a) True; b) False; c) True; d) True. a) True: f'=3x^2-3. b) False: f''(1)=6>0, a relative minimum. c) True: f''=6x<0. d) True: f(0)=0, f(1)=-2, f(2)=2.
  6. Part III, question 1: 100. P=x(20-x) is largest at x=10: P=100.
  7. Part III, question 2: 3. f'=3(x-1)(x-3) changes from negative to positive at x=3.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email