Math Core

Lesson 5.6 · Analytical Applications of Differentiation

Curve sketching

You now have three tools for reading a function: ff tells you heights, f′f' tells you where the graph rises and falls, and f′′f'' tells you how it bends. In this lesson you'll put them together to sketch a graph from its formula, and to move back and forth between the graphs of ff, f′f' and f′′f'' the way AP questions ask you to.

How f, f′ and f″ fit together

Every feature of the graph of ff shows up as a feature of its derivatives.

feature of ffwhat f′f' doeswhat f′′f'' does
increasingpositive (above the axis)
decreasingnegative (below the axis)
relative maxchanges from ++ to −-often negative
relative minchanges from −- to ++often positive
concave upincreasingpositive
concave downdecreasingnegative
inflection pointhas a relative max or minchanges sign

Shape from signs

The signs of f′f' and f′′f'' together determine the local shape of the graph:

  • f′>0f' > 0, f′′>0f'' > 0: rising and bending up (increasing at an increasing rate).
  • f′>0f' > 0, f′′<0f'' < 0: rising and bending down (increasing at a decreasing rate).
  • f′<0f' < 0, f′′>0f'' > 0: falling and bending up (decreasing at a decreasing rate).
  • f′<0f' < 0, f′′<0f'' < 0: falling and bending down (decreasing at an increasing rate).

A curve-sketching checklist

  1. Domain, and any intercepts that are easy to find.
  2. Asymptotes: vertical asymptotes where the function blows up, horizontal asymptotes from lim⁡x→±∞f(x)\lim_{x \to \pm\infty} f(x).
  3. First derivative: critical points, increasing/decreasing intervals, relative extrema.
  4. Second derivative: concavity intervals and inflection points.
  5. Plot the key points and connect them with the right shape on each interval.

Worked example: A full analysis of a polynomial

Sketch f(x)=3x4−4x3f(x) = 3x^4 - 4x^3.

Solution. The domain is all real numbers. The xx-intercepts come from x3(3x−4)=0x^3(3x - 4) = 0: x=0x = 0 and x=43x = \dfrac{4}{3}. There are no asymptotes, and f(x)→∞f(x) \to \infty as x→±∞x \to \pm\infty.

First derivative. f′(x)=12x3−12x2=12x2(x−1)f'(x) = 12x^3 - 12x^2 = 12x^2(x - 1). The critical points are x=0x = 0 and x=1x = 1. Because x2≥0x^2 \ge 0, f′f' has the sign of x−1x - 1: negative for x<1x < 1 (except 00 at x=0x = 0), positive for x>1x > 1. So ff decreases for x<1x < 1 and increases for x>1x > 1. There is a relative minimum at (1,f(1))=(1,−1)(1, f(1)) = (1, -1), and no extremum at x=0x = 0 because f′f' doesn't change sign there.

Second derivative. f′′(x)=36x2−24x=12x(3x−2)f''(x) = 36x^2 - 24x = 12x(3x - 2), which is zero at x=0x = 0 and x=23x = \dfrac{2}{3}.

intervalx<0x < 00<x<230 < x < \frac{2}{3}x>23x > \frac{2}{3}
sign of f′′f''++−-++
concavityupdownup

Both are inflection points: (0,0)(0, 0) and (23,−1627)≈(0.667,−0.593)\left(\dfrac{2}{3}, -\dfrac{16}{27}\right) \approx (0.667, -0.593).

f(x) = 3x⁴ − 4x³ (solid) with f′(x) = 12x²(x − 1) (dashed). The graph flattens at the origin without turning around, then bottoms out at (1, −1).Open in grapher →

At x=0x = 0 the graph has a horizontal tangent and an inflection point: it levels off for an instant while switching from concave up to concave down, then keeps falling.

Worked example: A rational function with an asymptote

Sketch f(x)=x2x2+3f(x) = \dfrac{x^2}{x^2 + 3}.

Solution. The denominator is never 00, so the domain is all real numbers and there's no vertical asymptote. As x→±∞x \to \pm\infty, f(x)→1f(x) \to 1, so y=1y = 1 is a horizontal asymptote. ff is even (symmetric about the yy-axis), and f(0)=0f(0) = 0.

First derivative. By the quotient rule,

f′(x)=2x(x2+3)−x2(2x)(x2+3)2=6x(x2+3)2.f'(x) = \frac{2x(x^2 + 3) - x^2(2x)}{(x^2 + 3)^2} = \frac{6x}{(x^2 + 3)^2}.

f′<0f' < 0 for x<0x < 0 and f′>0f' > 0 for x>0x > 0, so ff has a relative (in fact absolute) minimum at (0,0)(0, 0).

Second derivative. Differentiating again and simplifying,

f′′(x)=18(1−x2)(x2+3)3.f''(x) = \frac{18(1 - x^2)}{(x^2 + 3)^3}.

f′′>0f'' > 0 for −1<x<1-1 < x < 1 and f′′<0f'' < 0 for ∣x∣>1\lvert x \rvert > 1. So ff is concave up on (−1,1)(-1, 1), concave down outside, with inflection points at (±1,14)\left(\pm 1, \dfrac{1}{4}\right).

f(x) = x²/(x² + 3). It rises toward the horizontal asymptote y = 1, switching from concave up to concave down at x = ±1.Open in grapher →

Reading f from the graph of f′

When you're handed only the graph of f′f', read it in two passes:

  • Where is f′f' above or below the axis? That gives increasing/decreasing and relative extrema of ff.
  • Where is f′f' rising or falling? That gives concavity of ff, and the peaks and valleys of f′f' are inflection points of ff.

Worked example: Analyzing f from f′

The graph of f′f' is shown. Find the xx-coordinates of the relative extrema and inflection points of ff, and the interval where ff is concave up.

The graph of f′(x) = x² − 2x − 3 = (x + 1)(x − 3).Open in grapher →

Solution.

  • f′f' changes from positive to negative at x=−1x = -1, so ff has a relative maximum at x=−1x = -1.
  • f′f' changes from negative to positive at x=3x = 3, so ff has a relative minimum at x=3x = 3.
  • f′f' decreases for x<1x < 1 and increases for x>1x > 1, so ff is concave down for x<1x < 1, concave up for x>1x > 1, and has an inflection point at x=1x = 1.

Common mistake

When a problem shows the graph of f′f', its xx-intercepts are not the zeros of ff, and its peaks are not the peaks of ff. Say to yourself, "this is the slope," before answering. Many AP multiple-choice distractors are designed to catch students who read the graph of f′f' as if it were ff.

Tip

To sketch f′f' from the graph of ff, reverse the process: mark the xx-values where ff has horizontal tangents (those are zeros of f′f'), then decide whether f′f' is positive or negative between them by asking whether ff is rising or falling.

Practice

The graph below shows f′f', the derivative of a function ff. Use it for the first three problems.

The graph of f′(x) = (x + 2)(x − 2)(x − 4)/4.Open in grapher →
Practice 1

Using the graph of f′f' above, find all xx-values in (−3.5,5.5)(-3.5, 5.5) where ff has a relative minimum.

Separate answers with commas, e.g. 2, -5

Practice 2

Using the graph of f′f' above, on which interval is ff both increasing and concave down?

Practice 3

Using the graph of f′f' above, how many inflection points does the graph of ff have on (−3.5,5.5)(-3.5, 5.5)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Find the relative maximum value of f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Find the xx-coordinates of all inflection points of f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}.

Separate answers with commas, e.g. 2, -5

Practice 6

Find the xx-coordinates of all inflection points of f(x)=x4−4x3f(x) = x^4 - 4x^3.

Separate answers with commas, e.g. 2, -5

Practice 7

A differentiable function gg satisfies g′(x)<0g'(x) < 0 and g′′(x)>0g''(x) > 0 for all xx in (0,5)(0, 5). Which describes the graph of gg on that interval?