]> IB HL2 - Chapter 03

Applications of Differentiation

3.1 Extrema on an Interval

You've seen this before—although you had to do it with a calculator at the time. Now we can do it by hand, with Calculus!

Recall that relative extrema are extremes on some open interval—in technical terms, the function f(x) has a relative maximum at x = c if there exists some interval (a, b) where c ∈ ]a, b[ and for all x ∈ ]a, b[, f(x) ≤ f(c). There is a similar technical definition for a relative minimum.

Absolute extrema are extremes for the whole graph (all real numbers).

Critical Numbers

A critical number is any value of x where f ′(x) = 0, or f ′(x) fails to exist. f ′(x) will fail to exist at any values of x where the function has a sharp point (called a cusp) or a vertical tangent. As examples, the function g ( x ) = | x | has a cusp at x = 0, and the function h ( x ) = x 3 has a vertical tangent at x = 0.

Since a maximum or a minimum is a spot where the function "turns around," the tangent line must be horizontal (slope of zero) at the extremum—unless, of course, there's a cusp. The only time we get a maximum or minimum at a location other than a critical value is when we restrict our attention to a closed interval. In that case, you must also check the function values at the ends of the interval.

Note that f ( x ) = 0 does not guarantee the existence of an extremum—that's just a location where we should check.

Examples

[1.] Find any critical numbers for f ( x ) = x 2 x + 1 .

Well, you'll need the derivative: f ( x ) = x ( x + 2 ) ( x + 1 ) 2 . The only way that a fraction can equal zero is for the numerator to equal zero, so we get x(x + 2) = 0. So we have critical numbers at x = 0 and x = -2. Since f(x) is a rational function, it is continuous and differentiable on its domain—which excludes x = -1. Thus, the critical numbers are -1, 0 and 2.

[2.] Locate the absolute extrema of g ( x ) = 3 x 2 2 x 3 on the interval [-1,1].

g ( x ) = 6 x 6 x 2 . This is defined for all reals, so any critical numbers come from its zeros. 6 x 6 x 2 = 0 6 x ( 1 x ) = 0 x = 0 or x = 1. Now, add the endpoints of the given interval, and we obtain the list of candidate locations for absolute extrema: -1, 0 and 1. The function values at these points are (respectively) 5, 0 and 1. Thus, the absolute maximum is at x = -1, and the absolute minimum is at x = 0.

3.2 Rolle's Theorem and the Mean Value Theorem

Rolle's Theorem

If f(x) is continuous on the closed interval [a, b], differentiable on the open interval ]a, b[, and f(a) = f(b), then there exists at least one number c contained in the open interval ]a, b[ so that f ( c ) = 0 .

The Mean Value Theorem

If f(x) is continuous on the closed interval [a, b], and differentiable on the open interval ]a, b[, then there exists at least one number c contained in the open interval ]a, b[ so that f ( c ) = f ( b ) f ( a ) b a (i.e., a point whose tangent line is parallel to the secant line).

3.3 Increasing and Decreasing Functions and the First Derivative Test

Increasing and Decreasing

Again, this topic is not new—we're just going to look at it again, in light of The Calculus.

Increasing means that the function is going up—what does that mean about its derivative?

If f ′(x) > 0 on the interval ]a, b[, then the function is increasing on [a, b].

If f ′(x) < 0 on the interval ]a, b[, then the function is decreasing on [a, b].

Thus, to determine intervals where a function is increasing or decreasing, you just need to know the intervals on which the derivative is positive and negative—and a function switches from positive to negative (typically) by passing though zero! So, find the critical numbers of the derivative, and check the sign of the derivative between each pair of consecutive critical numbers.

Examples

[3.] Determine intervals where f ( x ) = 2 x 3 3 x 2 + 3 is increasing and decreasing.

First, take the derivative: f ( x ) = 2 x 3 3 x 2 + 3 f ( x ) = 6 x 2 6 x . Set this equal to zero to find the critical numbers: 6 x 2 6 x = 0 x 2 1 = 0 x ( x 1 ) = 0 x = 0 or x = 1. For x < 0, the derivative is positive; for x between 0 and 1, the derivative is negative; for x > 0, the derivative is positive. So f(x) is increasing on the intervals (-∞, 0) and (1, ∞); f(x) is decreasing on the interval (0, 1).

[4.] Determine intervals where g ( x ) = 1 x 1 is increasing and decreasing.

The derivative: g ( x ) = 1 x 1 g ( x ) = 1 ( x 1 ) 2 . This has only one critical value (at x = 1), but even that doesn't matter much—for any valid value of x, the derivative is negative (since the denominator can only be positive)! Thus, the function is decreasing on the intervals (-∞, 1) and (1, ∞).

The First Derivative Test

Now, think for a moment—if a function is decreasing, and then "turns around" and begins increasing, what must occur in the interim?

A minimum!

But we now know that increasing and decreasing can be found through the derivative—so, we can find maximums and minimums by looking for sign changes in the first derivative! Don't forget that the function must be defined at the value in question…

Using the sign of the first derivative to locate extrema is called the first derivative test.

Examples

[5.] The function f ( x ) = 2 x 3 3 x 2 + 3 has a maximum at x = 0 (since that is where the derivative switches from + to -), and a minimum at x = 1.

[6.] Locate any relative extrema for the function h ( x ) = 4 x 2 .

First of all, perhaps we should note that this function is only defined if 4 - x² ≥ 0, which solves to -2 ≤ x ≤ 2.

Well—how about the derivative? h ( x ) = 4 x 2 h ( x ) = 1 2 ( 4 x 2 ) 1 2 ( 2 x ) . Now, set that equal to zero. Note that the middle part has a negative exponent, and thus cannot make the whole thing become zero—just the (-2x) has that power. -2x = 0 ⇒ x = 0. For values of x less than 0, the derivative will be positive (the middle part is always positive, because of the radical). For values of x greater than 0, the derivative will be negative. Since the derivative changes from positive to negative, there is a maximum at x = 0.

3.4 Concavity and the Second Derivative Test

Concavity

On an interval where f ′(x) is increasing, f(x) is concave up.

On an interval where f ′(x) is decreasing, f(x) is concave down.

Now, we know the relationship between intervals where f(x) is increasing/decreasing, and f ′(x) is positive/negative—with concavity, we're talking about the derivative increasing/decreasing…so when the derivative is increasing/decreasing, f ″(x) will be positive/negative.

So:

On an interval where f ″(x) > 0, the graph of f(x) will be concave up.

On an interval where f ″(x) < 0, the graph of f(x) will be concave down.

Points of Inflection

When the first derivative, f ′(x), changes between positive and negative, there is a critical number (and maybe an extremum).

When the second derivative, f ″(x), changes between positive and negative, there is a point of inflection (provided there is a tangent line at that point). Note, however, that f ″(x) = 0 does not guarantee the existence of a point of inflection—just as f ( x ) = 0 does not guarantee the existence of an extremum. However, a point of inflection may occur when the second derivative is undefined (unlike the similar case for extrema and the first derivative).

The Second Derivative Test

If f ′(c) = 0 and f ″(c) > 0, then there is a relative minimum at x = c.

If f ′(c) = 0 and f ″(c) < 0, then there is a relative maximum at x = c.

Note that f ′(c) = 0 and f ″(c) = 0 is inconclusive—you will need to check a sign chart of the first derivative (or the graph).

Examples

[7.] Locate any points of inflection on the graph of y = x 3 6 x 2 135 x .

Derivative time! y = 3 x 2 12 x 135 , and y = 6 x 12 . 6x - 12 = 0 ⇒ x = 2. There is one point of inflection at x = 2 (check a sign chart to be sure).

[8.] Use the second derivative test to locate any extrema on the graph of y = 3 x 4 4 x 3 .

First Derivative: y = 12 x 3 12 x 2 . Critical numbers: 12 x 3 12 x 2 = 0 12 x 2 ( x 1 ) = 0 x = 1 or x = 0. These are our candidate extrema—they must be checked.

Second Derivative: y = 36 x 2 24 x . When x = 1, y″ > 0, which means that we have a minimum at x = 1. When x = 0, y″ = 0. This doesn't give us any information; we'll need to look at a sign of y′ on either side of x = 0. For values of x slightly less than 0, y′ is negative. For values of x slightly greater than 0, y′ is negative. Thus, there is no extremum at x = 0.

The only extremum is a minimum at (1, -1).

3.6 A Summary of Curve Sketching

Back in the days before graphing calculators, this was much more important…now it simply serves as conclusive proof of the number/location of extrema.

If you're going to sketch a curve, then find the domain; all intercepts (x and y); critical numbers (and extrema); points of inflection. Plot what you know, and connect the points with a smooth curve.

Examples

[9.] Sketch y = 3 x 4 4 x 3 . Since this is a polynomial, the domain is all real numbers. To find the x-intercepts: 3 x 4 4 x 3 = 0 x 3 ( 3 x 4 ) = 0 x = 0 or x = 4 3 . The y-intercept is at (0, 0). The only extremum is at (1, -1). As for the points of inflection: 36x² - 24x = 0 ⇒ 3x² - 2x = 0 ⇒ x(3x - 2) = 0 ⇒ x = 0 or x = 23. Plot (I've marked the points of inflection as open dots):

An Image

…and connect!

An Image

[10.] Sketch y = x 3 3 x 2 + 2 .

Another polynomial—no domain problems.

x-intercepts: x 3 3 x 2 + 2 = 0 . Notice that x = 1 works: (x - 1)(x² - 2x - 2) = 0. The quadratic formula helps for the other two intercepts: x = 2 ± 4 4 ( 1 ) ( 2 ) 2 = 2 ± 12 2 = 1 ± 3 .

y-intercept: (0, 2).

y′ = 3x² - 6x. 3x² - 6x = 0 ⇒ x(x - 2) = 0 ⇒ critical numbers at x = 0 and x = 2.

y″ = 6x - 6. At x = 0, this is negative, indicating a maximum: (0, 2). At x = 2, this is positive, indicating a minimum: (2, -2).

6x - 6 = 0 ⇒ x = 1. One point of inflection at x = 1: (1, 0).

Plot:

An Image

Connect:

An Image

3.7 Optimization Problems

Word problems!

If you're trying to find a maximum or minimum of something, then you need an equation for that something! Use what we've learned to locate the extrema.

Examples

[11.] An open rectangular box is to be made from a piece of cardboard 8 in wide and 15 in long by cutting squares from the corners and folding up the resulting flaps. Find the dimensions of the box that produce a maximum volume.

First of all, the volume equation: V ( x ) = ( 8 2 x ) ( 15 2 x ) x . Now, since we want to find a maximum volume, we need to take the derivative and locate any critical numbers (so as to locate any extrema). First, perhaps we should rewrite the volume equation: V ( x ) = 120 x 46 x 2 + 4 x 3 . So V ( x ) = 120 92 x + 12 x 2 . Set this equal to zero: 120 92 x + 12 x 2 = 0 6 x 2 46 x + 60 = 0 . Fortunately, this factors! (3x - 5)(x - 6) = 0 ⇒ x = 6 or x = 5 3 .

Let's check the second derivative to see which one is a maximum: V ( x ) = 92 + 24 x . Letting x = 6 makes V″ positive, meaning that we have a minimum there. Letting x = 5 3 makes V″ negative, meaning that we have a maximum (note that x = 6 isn't even in the domain of the problem—that would cut more cardboard than there is!).

So the height is x = 5 3 ; the length is ( 15 2 x ) = 35 3 ; and the width is ( 8 2 x ) = 14 3 .

[12.] Find two positive numbers whose sum is 36 and whose product is as large as possible.

Well, we could let the two numbers be x and y, which would produce the equation x + y = 36, and force us to maximize the product xy…but then we don't have a function for the product, since it uses two variables! Do we really need two?

No! Since x + y = 36, the second number can just be 36 - x. Then we need to maximize the product x(36 - x), which is a function.

P ( x ) = x ( 36 x ) = 36 x x 2 , so P ( x ) = 36 2 x . This has only one critical number, at x = 18. Second derivative time! P″(x) = -2, which tells us that at x = 18, there is a maximum (since the product function is concave down). Thus, the two numbers are 18 and 18.


Valid MathML 2.0! Valid CSS Level 2!

Page last validated 2010-08-15