Skip to content
Family Table Math
Auto

Curve Sketching

Graphing technology can draw any curve in a second, but it only shows the window you pick, and it can hide a turning point or an asymptote just off the screen. With calculus you can find every important feature of a graph from its equation: where it rises and falls, where it turns, how it bends, and what it does far away. This page puts all the tools from the last few lessons into one organized method, so you can sketch polynomial and simple rational functions accurately by hand.

Work through these steps in order. Each one adds information to your sketch.

  1. Domain. Polynomials are defined for all real numbers. For a rational function, exclude the zeros of the denominator.
  2. Intercepts. The yy-intercept is f(0)f(0). The xx-intercepts are the solutions of f(x)=0f(x) = 0. For a polynomial in factored form, note the order of each zero: the graph crosses the axis at a zero of odd order and touches it at a zero of even order (see polynomials in factored form).
  3. Symmetry. If f(−x)=f(x)f(-x) = f(x), the function is even and its graph is symmetric about the yy-axis. If f(−x)=−f(x)f(-x) = -f(x), it’s odd and the graph has rotational symmetry about the origin. (See even and odd functions.) Symmetry halves the work: anything you find for x>0x \gt 0 has a mirror image.
  4. Asymptotes and end behaviour. For a polynomial, the leading term decides what happens as x→±∞x \to \pm\infty. For a rational function, find vertical asymptotes (zeros of the denominator that aren’t zeros of the numerator) and the horizontal asymptote (compare the degrees), as on the graphs of rational functions page. Check which side of each vertical asymptote goes up and which goes down. For a function with an exponential factor, see end behaviour with exponentials below.
  5. First derivative. Find f′(x)f'(x) and the critical points. Make a sign chart to get the intervals of increase and decrease, then classify each critical point with the first derivative test.
  6. Second derivative. Find f′′(x)f''(x). Make a sign chart to get the intervals of concavity and the points of inflection, as in concavity and the second derivative test.
  7. Summary table. Put the signs of f′f' and f′′f'' for every interval in one table, with the shape of the graph on each piece.
  8. Sketch. Draw the asymptotes as dashed lines, plot the intercepts, extrema, and inflection points, then join them with the shapes from the table.

For a product of a polynomial and exe^x, such as x2exx^2e^x or (3−x)ex(3 - x)e^x, compare how fast the two factors change:

  • As x→∞x \to \infty, exe^x grows faster than any power of xx, so the product heads to ∞\infty or −∞-\infty, with the sign of the polynomial factor.
  • As x→−∞x \to -\infty, exe^x shrinks toward 00 faster than any power of xx grows, so the product heads to 00. The xx-axis, y=0y = 0, is a horizontal asymptote on the left only. The sign of the polynomial factor tells you whether the graph approaches it from above or below.

A quick check with a large negative number confirms it: x2exx^2e^x at x=−10x = -10 is 100e−10≈0.0045100e^{-10} \approx 0.0045. For a factor of e−xe^{-x} instead, everything is mirrored: the product heads to 00 as x→∞x \to \infty.

A horizontal asymptote only describes what the graph does far away. The graph can cross it, even several times, in the middle. To find where the graph meets the asymptote y=cy = c, solve f(x)=cf(x) = c. If there’s no solution, the graph stays on one side. (Vertical asymptotes are different: the graph never crosses them, because ff isn’t defined there.)

How many turning points does a cubic have?

Section titled “How many turning points does a cubic have?”

For a cubic, f′(x)f'(x) is a quadratic, so its discriminant b2−4acb^2 - 4ac tells you how many turning points there are before you solve anything:

Discriminant of f′Zeros of f′f'Graph of ff
positivetwo different zeros, and f′f' changes sign at eacha local maximum and a local minimum
zeroone double zero; f′f' touches 00 but doesn’t change signno extrema: a horizontal tangent at a point of inflection
negativenone; f′f' keeps one signno extrema: always increasing (or always decreasing)

This is especially useful when the cubic has a parameter. Set the discriminant greater than, equal to, or less than 00 and solve for the parameter. Remember the boundary case: when the discriminant is exactly 00 there’s still no extremum.

Sometimes you’re given features and asked for an equation. Work through the checklist backwards:

  • a vertical asymptote x=ax = a means a factor (x−a)(x - a) in the denominator (that doesn’t cancel),
  • an xx-intercept x=cx = c means a factor (x−c)(x - c) in the numerator,
  • a horizontal asymptote y=ky = k, with equal degrees on top and bottom, means the ratio of leading coefficients is kk.

For example, a vertical asymptote x=−1x = -1, a horizontal asymptote y=3y = 3 and an xx-intercept at 22 suggest f(x)=3(x−2)x+1f(x) = \dfrac{3(x - 2)}{x + 1}. Then check any other required feature with f′f' and f′′f'': here f′(x)=9(x+1)2>0f'(x) = \dfrac{9}{(x + 1)^2} \gt 0, so ff is increasing on each interval of its domain. If a check fails, adjust the function and check again.

Put every special x-value on the sign charts

Section titled “Put every special x-value on the sign charts”

The intervals for your sign charts are split by:

  • critical points (where f′(x)=0f'(x) = 0 or f′f' is undefined),
  • points where f′′(x)=0f''(x) = 0 or f′′f'' is undefined,
  • xx-values that aren’t in the domain (vertical asymptotes or holes).

A sign can change at an asymptote even though nothing “happens” there in the usual sense, so the asymptotes go on the chart too. But they are never extrema or points of inflection, because ff doesn’t exist there.

Each interval of the summary table has one of four shapes, from the signs of f′f' and f′′f'':

f′′>0f'' \gt 0 (concave up)f′′<0f'' \lt 0 (concave down)
f′>0f' \gt 0 (increasing)rising, more and more steeplyrising, but levelling off
f′<0f' \lt 0 (decreasing)falling, but levelling offfalling more and more steeply

These are the same connections as in connecting f, f′, and f″, now applied to an equation instead of a graph.

After sketching by hand, graph the function in Desmos or on a graphing calculator. Your sketch doesn’t need to be to scale, but every feature should match: the same intercepts, extrema, inflection points, and asymptotes, in the same order.

Sketch f(x)=x3+3x2−9x−27f(x) = x^3 + 3x^2 - 9x - 27.

Solution.

Domain: all real numbers.

Intercepts: f(0)=−27f(0) = -27. To find the zeros, factor by grouping:

f(x)=x2(x+3)−9(x+3)=(x2−9)(x+3)=(x+3)2(x−3)f(x) = x^2(x + 3) - 9(x + 3) = (x^2 - 9)(x + 3) = (x + 3)^2(x - 3)

The zeros are x=−3x = -3 (order 2, so the graph touches the axis) and x=3x = 3 (order 1, so it crosses).

Symmetry: f(−x)=−x3+3x2+9x−27f(-x) = -x^3 + 3x^2 + 9x - 27, which is neither f(x)f(x) nor −f(x)-f(x). No symmetry.

End behaviour: the leading term is x3x^3, so f(x)→−∞f(x) \to -\infty as x→−∞x \to -\infty and f(x)→∞f(x) \to \infty as x→∞x \to \infty.

First derivative:

f′(x)=3x2+6x−9=3(x+3)(x−1)f'(x) = 3x^2 + 6x - 9 = 3(x + 3)(x - 1)

Critical points: x=−3x = -3 and x=1x = 1. f(−3)=0f(-3) = 0 and f(1)=(4)2(−2)=−32f(1) = (4)^2(-2) = -32.

Second derivative:

f′′(x)=6x+6=6(x+1)f''(x) = 6x + 6 = 6(x + 1)

f′′(x)=0f''(x) = 0 at x=−1x = -1, and f(−1)=(2)2(−4)=−16f(-1) = (2)^2(-4) = -16.

Summary table:

Interval or pointx<−3x \lt -3−3-3−3<x<−1-3 \lt x \lt -1−1-1−1<x<1-1 \lt x \lt 111x>1x \gt 1
f′f'++00−-−-−-00++
f′′f''−-−-−-00++++++
Graph of ffrising, concave downlocal max (−3,0)(-3, 0)falling, concave downinflection (−1,−16)(-1, -16)falling, concave uplocal min (1,−32)(1, -32)rising, concave up

f′f' changes from ++ to −- at x=−3x = -3 (local maximum) and from −- to ++ at x=1x = 1 (local minimum). f′′f'' changes sign at x=−1x = -1, so (−1,−16)(-1, -16) is a point of inflection.

Sketch: plot the five key points and join them with the shapes in the table.

Sketch of y = (x + 3) squared times (x - 3) with its intercepts, local maximum, local minimum and inflection point local max (−3, 0) local min (1, −32) inflection (0, −27) (3, 0) (−1, −16) y = (x + 3)²(x − 3) −5 −4 −3 −2 −1 1 2 4 −32 −24 −16 −8 8
f(x)=(x+3)2(x−3)f(x) = (x + 3)^2(x - 3), with every feature found from the equation. The two axes use different scales.

Check: the inflection point of a cubic is always halfway between its turning points, and −1-1 is halfway between −3-3 and 11. ✓

Sketch f(x)=x4−8x2f(x) = x^4 - 8x^2.

Solution.

Domain: all real numbers.

Intercepts: f(0)=0f(0) = 0. Zeros: x2(x2−8)=0x^2(x^2 - 8) = 0, so x=0x = 0 (order 2, touches) and x=±8=±22≈±2.828x = \pm\sqrt{8} = \pm 2\sqrt{2} \approx \pm 2.828.

Symmetry: f(−x)=(−x)4−8(−x)2=x4−8x2=f(x)f(-x) = (-x)^4 - 8(-x)^2 = x^4 - 8x^2 = f(x), so ff is even. The graph is symmetric about the yy-axis.

End behaviour: the leading term is x4x^4, so f(x)→∞f(x) \to \infty at both ends.

First derivative:

f′(x)=4x3−16x=4x(x−2)(x+2)f'(x) = 4x^3 - 16x = 4x(x - 2)(x + 2)

Critical points: x=−2,0,2x = -2, 0, 2, with f(0)=0f(0) = 0 and f(±2)=16−32=−16f(\pm 2) = 16 - 32 = -16.

Intervalx<−2x \lt -2−2<x<0-2 \lt x \lt 00<x<20 \lt x \lt 2x>2x \gt 2
Sign of f′f'−-++−-++

So ff is decreasing on (−∞,−2)(-\infty, -2) and (0,2)(0, 2), and increasing on (−2,0)(-2, 0) and (2,∞)(2, \infty). Local minimums at (−2,−16)(-2, -16) and (2,−16)(2, -16); local maximum at (0,0)(0, 0).

Second derivative:

f′′(x)=12x2−16=4(3x2−4)f''(x) = 12x^2 - 16 = 4(3x^2 - 4)

f′′(x)=0f''(x) = 0 when x2=43x^2 = \dfrac{4}{3}, so x=±23=±233≈±1.155x = \pm\dfrac{2}{\sqrt{3}} = \pm\dfrac{2\sqrt{3}}{3} \approx \pm 1.155. Then f=169−323=−809≈−8.889f = \dfrac{16}{9} - \dfrac{32}{3} = -\dfrac{80}{9} \approx -8.889.

f′′f'' is positive when ∣x∣>1.155\lvert x \rvert \gt 1.155 and negative between. So ff is concave up on (−∞,−233)\left(-\infty, -\frac{2\sqrt{3}}{3}\right) and (233,∞)\left(\frac{2\sqrt{3}}{3}, \infty\right), and concave down on (−233,233)\left(-\frac{2\sqrt{3}}{3}, \frac{2\sqrt{3}}{3}\right). The points of inflection are (±233,−809)≈(±1.155,−8.889)\left(\pm\dfrac{2\sqrt{3}}{3}, -\dfrac{80}{9}\right) \approx (\pm 1.155, -8.889).

Summary table (for x≥0x \ge 0; the left half is its mirror image):

Interval or point000<x<1.1550 \lt x \lt 1.1551.1551.1551.155<x<21.155 \lt x \lt 222x>2x \gt 2
f′f'00−-−-−-00++
f′′f''−-−-00++++++
Graph of fflocal max (0,0)(0, 0)falling, concave downinflectionfalling, concave uplocal min (2,−16)(2, -16)rising, concave up

Sketch: a “W” shape: down from the top left to (−2,−16)(-2, -16), up to touch the origin, down to (2,−16)(2, -16), and up to the top right, crossing the xx-axis at ±2.828\pm 2.828.

Sketch f(x)=x2x2−4f(x) = \dfrac{x^2}{x^2 - 4}.

Solution.

Domain: x2−4=(x−2)(x+2)≠0x^2 - 4 = (x - 2)(x + 2) \ne 0, so the domain is {x∈R∣x≠±2}\{x \in \mathbb{R} \mid x \ne \pm 2\}.

Intercepts: f(0)=0f(0) = 0, and f(x)=0f(x) = 0 only when x=0x = 0. The only intercept is the origin.

Symmetry: f(−x)=x2x2−4=f(x)f(-x) = \dfrac{x^2}{x^2 - 4} = f(x), so ff is even.

Asymptotes: vertical asymptotes x=−2x = -2 and x=2x = 2 (the numerator isn’t 00 there). The numerator and denominator both have degree 22 with leading coefficients 11, so the horizontal asymptote is y=1y = 1. Near the vertical asymptote x=2x = 2:

  • just right of 22 (try x=2.1x = 2.1): +small +\dfrac{+}{\text{small } +}, so f(x)→∞f(x) \to \infty;
  • just left of 22 (try x=1.9x = 1.9): +small −\dfrac{+}{\text{small } -}, so f(x)→−∞f(x) \to -\infty.

By symmetry, f(x)→∞f(x) \to \infty just left of −2-2 and f(x)→−∞f(x) \to -\infty just right of −2-2. Also, f(x)−1=4x2−4f(x) - 1 = \dfrac{4}{x^2 - 4}, which is positive for ∣x∣>2\lvert x \rvert \gt 2, so the outer branches approach y=1y = 1 from above.

First derivative (quotient rule):

f′(x)=2x(x2−4)−x2(2x)(x2−4)2=−8x(x2−4)2f'(x) = \frac{2x(x^2 - 4) - x^2(2x)}{(x^2 - 4)^2} = \frac{-8x}{(x^2 - 4)^2}

The denominator is positive wherever ff is defined, so the sign of f′f' is the sign of −8x-8x: positive for x<0x \lt 0, negative for x>0x \gt 0. The only critical point is x=0x = 0.

ff is increasing on (−∞,−2)(-\infty, -2) and (−2,0)(-2, 0), and decreasing on (0,2)(0, 2) and (2,∞)(2, \infty). Local maximum at (0,0)(0, 0).

Second derivative:

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

The numerator is always positive, so f′′f'' has the sign of (x2−4)3(x^2 - 4)^3, which is the sign of x2−4x^2 - 4. So ff is concave up on (−∞,−2)(-\infty, -2) and (2,∞)(2, \infty), and concave down on (−2,2)(-2, 2). The concavity changes only at the asymptotes, so there are no points of inflection.

Summary table:

Interval or pointx<−2x \lt -2−2<x<0-2 \lt x \lt 0000<x<20 \lt x \lt 2x>2x \gt 2
f′f'++++00−-−-
f′′f''++−-−-−-++
Graph of ffrising, concave uprising, concave downlocal max (0,0)(0, 0)falling, concave downfalling, concave up
Sketch of y = x squared over (x squared minus 4) with vertical asymptotes x = -2 and x = 2 and horizontal asymptote y = 1 local max (0, 0) x = −2 x = 2 y = 1 y = x² / (x² − 4) −6 −4 −2 2 4 6 −3 −2 −1 1 2 3 4
f(x)=x2x2−4f(x) = \dfrac{x^2}{x^2 - 4}: two vertical asymptotes, a horizontal asymptote y=1y = 1, and a local maximum at the origin.

The range is {y∈R∣y≤0 or y>1}\{y \in \mathbb{R} \mid y \le 0 \text{ or } y \gt 1\}.

A polynomial function ff has f′(x)=4−x2f'(x) = 4 - x^2.

  • (a) Find the intervals of increase and decrease, the xx-values of the local extrema, and the intervals of concavity.
  • (b) Explain why infinitely many graphs fit this information.
  • (c) Suppose also that f(0)=1f(0) = 1. Check that f(x)=4x−x33+1f(x) = 4x - \dfrac{x^3}{3} + 1 works, and find the coordinates of the key points.

Solution.

(a) f′(x)=(2−x)(2+x)f'(x) = (2 - x)(2 + x), so the critical points are x=±2x = \pm 2.

Intervalx<−2x \lt -2−2<x<2-2 \lt x \lt 2x>2x \gt 2
Sign of f′f'−-++−-

ff is decreasing on (−∞,−2)(-\infty, -2) and (2,∞)(2, \infty), and increasing on (−2,2)(-2, 2). There’s a local minimum at x=−2x = -2 and a local maximum at x=2x = 2.

f′′(x)=−2xf''(x) = -2x, which is positive for x<0x \lt 0 and negative for x>0x \gt 0. So ff is concave up on (−∞,0)(-\infty, 0) and concave down on (0,∞)(0, \infty), with a point of inflection at x=0x = 0.

(b) The derivative tells you the shape (slopes) of the graph but not its height. Moving the graph up or down by any constant doesn’t change any slope, so every vertical translation of one solution is another solution. For example, a graph with its inflection point at (0,0)(0, 0) and one with it at (0,5)(0, 5) both fit.

(c) Check the derivative: ddx[4x−x33+1]=4−x2\dfrac{d}{dx}\left[4x - \dfrac{x^3}{3} + 1\right] = 4 - x^2 ✓, and f(0)=1f(0) = 1 ✓. Key points:

f(−2)=−8+83+1=−133,f(0)=1,f(2)=8−83+1=193f(-2) = -8 + \frac{8}{3} + 1 = -\frac{13}{3}, \qquad f(0) = 1, \qquad f(2) = 8 - \frac{8}{3} + 1 = \frac{19}{3}

Local minimum (−2,−133)\left(-2, -\dfrac{13}{3}\right), point of inflection (0,1)(0, 1), local maximum (2,193)\left(2, \dfrac{19}{3}\right). The graph comes down from the top left (the leading term is −x33-\frac{x^3}{3}), turns at the minimum, rises through the inflection point, turns at the maximum, and falls to the bottom right.

Example 5: A function with an exponential factor

Section titled “Example 5: A function with an exponential factor”

Sketch f(x)=xexf(x) = xe^x. (You found its concavity in concavity and the second derivative test; now put everything together.)

Solution.

Domain: all real numbers.

Intercepts: exe^x is never 00, so f(x)=0f(x) = 0 only when x=0x = 0. The only intercept is the origin.

Symmetry: f(−x)=−xe−xf(-x) = -xe^{-x}, which is neither f(x)f(x) nor −f(x)-f(x). No symmetry.

End behaviour: as x→∞x \to \infty, both factors grow, so f(x)→∞f(x) \to \infty. As x→−∞x \to -\infty, ex→0e^x \to 0 faster than xx grows, so f(x)→0f(x) \to 0. The factor xx is negative there, so the graph approaches the horizontal asymptote y=0y = 0 from below on the left. (Check: f(−10)=−10e−10≈−0.00045f(-10) = -10e^{-10} \approx -0.00045.)

First derivative (product rule):

f′(x)=ex+xex=(x+1)exf'(x) = e^x + xe^x = (x + 1)e^x

Since ex>0e^x \gt 0, the sign of f′f' is the sign of x+1x + 1. So ff is decreasing on (−∞,−1)(-\infty, -1) and increasing on (−1,∞)(-1, \infty), with a local (and absolute) minimum at (−1,−1e)≈(−1,−0.368)\left(-1, -\dfrac{1}{e}\right) \approx (-1, -0.368).

Second derivative:

f′′(x)=ex+(x+1)ex=(x+2)exf''(x) = e^x + (x + 1)e^x = (x + 2)e^x

The sign of f′′f'' is the sign of x+2x + 2: concave down on (−∞,−2)(-\infty, -2) and concave up on (−2,∞)(-2, \infty). The point of inflection is (−2,−2e2)≈(−2,−0.271)\left(-2, -\dfrac{2}{e^2}\right) \approx (-2, -0.271).

Summary table:

Interval or pointx<−2x \lt -2−2-2−2<x<−1-2 \lt x \lt -1−1-1x>−1x \gt -1
f′f'−-−-−-00++
f′′f''−-00++++++
Graph of fffalling, concave downinflectionfalling, concave uplocal minrising, concave up

Sketch: starting just below the xx-axis far to the left, the graph falls slowly (concave down), bends at (−2,−0.271)(-2, -0.271), levels off to its minimum at (−1,−0.368)(-1, -0.368), then rises through the origin and climbs steeply to the right.

The range is {y∈R  |  y≥−1e}\left\{y \in \mathbb{R} \;\middle|\; y \ge -\dfrac{1}{e}\right\}.

Calling an asymptote a critical point or an inflection point. In Example 3, the concavity changes at x=±2x = \pm 2, but ff isn’t defined there, so there’s no point of inflection. Put asymptotes on your sign charts to split the intervals, but never list them as features of the graph.

Writing intervals across an asymptote. ”ff is increasing on (−∞,0)(-\infty, 0)” is wrong in Example 3, because ff isn’t defined at −2-2. Write the two intervals separately: (−∞,−2)(-\infty, -2) and (−2,0)(-2, 0).

Finding x-values but not points. A local maximum or a point of inflection is a point on the graph. Substitute into the original f(x)f(x), not into f′f' or f′′f'', to get the yy-coordinate.

Assuming f″ = 0 means an inflection point. Check that f′′f'' actually changes sign. For f(x)=3x4−4x3f(x) = 3x^4 - 4x^3 (Practice 3), it does at x=0x = 0; for f(x)=x4f(x) = x^4, it doesn’t.

Skipping the shape between points. Plotting the key points and joining them with straight lines loses the curve’s character. Use the summary table: “falling, concave up” means the graph levels off as it approaches a minimum, not that it hits it at a sharp angle.

Sketching only what the calculator window shows. A graphing window can hide an extremum or make an asymptote look like a steep line. Find the features with calculus first, then use technology to check.

1. (Warm-up) For f(x)=x3−3xf(x) = x^3 - 3x, find the intercepts, decide whether ff is even, odd, or neither, and describe the end behaviour.

Solution

f(0)=0f(0) = 0. Zeros: x(x2−3)=0x(x^2 - 3) = 0, so x=0x = 0 and x=±3≈±1.732x = \pm\sqrt{3} \approx \pm 1.732.

f(−x)=−x3+3x=−(x3−3x)=−f(x)f(-x) = -x^3 + 3x = -(x^3 - 3x) = -f(x), so ff is odd: its graph has rotational symmetry about the origin.

The leading term is x3x^3, so f(x)→−∞f(x) \to -\infty as x→−∞x \to -\infty and f(x)→∞f(x) \to \infty as x→∞x \to \infty.

2. (Warm-up) For f(x)=2x3+3x2−12xf(x) = 2x^3 + 3x^2 - 12x, find the local extrema and the point of inflection.

Solution

f′(x)=6x2+6x−12=6(x+2)(x−1)f'(x) = 6x^2 + 6x - 12 = 6(x + 2)(x - 1), so the critical points are x=−2x = -2 and x=1x = 1.

f′′(x)=12x+6f''(x) = 12x + 6. Since f′′(−2)=−18<0f''(-2) = -18 \lt 0, there’s a local maximum at (−2,f(−2))=(−2,20)(-2, f(-2)) = (-2, 20). Since f′′(1)=18>0f''(1) = 18 \gt 0, there’s a local minimum at (1,−7)(1, -7).

f′′(x)=0f''(x) = 0 at x=−12x = -\dfrac{1}{2}, and f′′f'' changes from negative to positive there. f(−12)=−14+34+6=132f\left(-\frac{1}{2}\right) = -\frac{1}{4} + \frac{3}{4} + 6 = \frac{13}{2}, so the point of inflection is (−12,132)\left(-\dfrac{1}{2}, \dfrac{13}{2}\right).

3. (Core) Sketch f(x)=3x4−4x3f(x) = 3x^4 - 4x^3. Show the intercepts, intervals of increase and decrease, local extrema, intervals of concavity, and points of inflection.

Solution

Domain: all real numbers. Intercepts: f(x)=x3(3x−4)f(x) = x^3(3x - 4), so (0,0)(0, 0) (order 3, crosses while flattening) and (43,0)\left(\frac{4}{3}, 0\right). Symmetry: none. End behaviour: f(x)→∞f(x) \to \infty at both ends.

f′(x)=12x3−12x2=12x2(x−1)f'(x) = 12x^3 - 12x^2 = 12x^2(x - 1). The factor 12x212x^2 is never negative, so f′<0f' \lt 0 for x<1x \lt 1 (except f′(0)=0f'(0) = 0) and f′>0f' \gt 0 for x>1x \gt 1. ff is decreasing on (−∞,1)(-\infty, 1) and increasing on (1,∞)(1, \infty). Local minimum at (1,−1)(1, -1). At x=0x = 0, f′f' doesn’t change sign, so there’s no extremum there.

f′′(x)=36x2−24x=12x(3x−2)f''(x) = 36x^2 - 24x = 12x(3x - 2): positive for x<0x \lt 0, negative for 0<x<230 \lt x \lt \frac{2}{3}, positive for x>23x \gt \frac{2}{3}. Concave up on (−∞,0)(-\infty, 0) and (23,∞)\left(\frac{2}{3}, \infty\right), concave down on (0,23)\left(0, \frac{2}{3}\right). Points of inflection: (0,0)(0, 0) and (23,−1627)≈(0.667,−0.593)\left(\dfrac{2}{3}, -\dfrac{16}{27}\right) \approx (0.667, -0.593).

Intervalx<0x \lt 00<x<230 \lt x \lt \frac{2}{3}23<x<1\frac{2}{3} \lt x \lt 1x>1x \gt 1
f′f'−-−-−-++
f′′f''++−-++++
Shapefalling, concave upfalling, concave downfalling, concave uprising, concave up

Sketch: coming down from the top left, the graph flattens to a horizontal tangent at the origin (an inflection point), keeps falling more steeply, changes concavity at (23,−1627)\left(\frac{2}{3}, -\frac{16}{27}\right), reaches its minimum at (1,−1)(1, -1), then rises through (43,0)\left(\frac{4}{3}, 0\right).

4. (Core) Sketch f(x)=−x3+3x+2f(x) = -x^3 + 3x + 2. (Hint: f(x)=−(x+1)2(x−2)f(x) = -(x + 1)^2(x - 2).)

Solution

Intercepts: yy-intercept (0,2)(0, 2); zeros x=−1x = -1 (order 2, touches) and x=2x = 2 (crosses). Symmetry: none. End behaviour: leading term −x3-x^3, so f(x)→∞f(x) \to \infty as x→−∞x \to -\infty and f(x)→−∞f(x) \to -\infty as x→∞x \to \infty.

f′(x)=−3x2+3=−3(x−1)(x+1)f'(x) = -3x^2 + 3 = -3(x - 1)(x + 1): negative for x<−1x \lt -1, positive on (−1,1)(-1, 1), negative for x>1x \gt 1. Local minimum (−1,0)(-1, 0), local maximum (1,4)(1, 4).

f′′(x)=−6xf''(x) = -6x: concave up on (−∞,0)(-\infty, 0), concave down on (0,∞)(0, \infty). Point of inflection (0,2)(0, 2).

Intervalx<−1x \lt -1−1<x<0-1 \lt x \lt 00<x<10 \lt x \lt 1x>1x \gt 1
f′f'−-++++−-
f′′f''++++−-−-
Shapefalling, concave uprising, concave uprising, concave downfalling, concave down

Sketch: down from the top left to touch the axis at the minimum (−1,0)(-1, 0), up through the inflection point (0,2)(0, 2) to the maximum (1,4)(1, 4), then down through (2,0)(2, 0).

5. (Core) Sketch f(x)=8x2+4f(x) = \dfrac{8}{x^2 + 4}. State its range.

Solution

Domain: x2+4>0x^2 + 4 \gt 0 always, so all real numbers, with no vertical asymptotes. Intercepts: (0,2)(0, 2); no xx-intercepts, since the numerator is never 00. Symmetry: f(−x)=f(x)f(-x) = f(x), so even. Horizontal asymptote: the degree of the denominator is bigger, so y=0y = 0. Since f(x)>0f(x) \gt 0, the graph approaches it from above.

f′(x)=−16x(x2+4)2f'(x) = \dfrac{-16x}{(x^2 + 4)^2}: positive for x<0x \lt 0, negative for x>0x \gt 0. Increasing on (−∞,0)(-\infty, 0), decreasing on (0,∞)(0, \infty), local (and absolute) maximum (0,2)(0, 2).

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

f′′(x)=0f''(x) = 0 at x=±233≈±1.155x = \pm\dfrac{2\sqrt{3}}{3} \approx \pm 1.155, where f=843+4=32f = \dfrac{8}{\frac{4}{3} + 4} = \dfrac{3}{2}. Concave up for ∣x∣>1.155\lvert x \rvert \gt 1.155, concave down between. Points of inflection: (±233,32)\left(\pm\dfrac{2\sqrt{3}}{3}, \dfrac{3}{2}\right).

Sketch: a bell shape, peaking at (0,2)(0, 2), bending from concave down to concave up at height 32\frac{3}{2}, and levelling off toward the xx-axis on both sides.

Range: {y∈R∣0<y≤2}\{y \in \mathbb{R} \mid 0 \lt y \le 2\}.

6. (Core) A polynomial function ff has f′(x)=(x−1)2(x+2)f'(x) = (x - 1)^2(x + 2).

  • (a) Find the intervals of increase and decrease and classify the critical points.
  • (b) Find f′′(x)f''(x) and the xx-values of the points of inflection.
  • (c) Describe two different graphs that fit this information.
Solution

(a) Critical points: x=1x = 1 and x=−2x = -2. The factor (x−1)2(x - 1)^2 is never negative, so the sign of f′f' is the sign of x+2x + 2: negative for x<−2x \lt -2, positive for x>−2x \gt -2 (with f′(1)=0f'(1) = 0). ff is decreasing on (−∞,−2)(-\infty, -2) and increasing on (−2,∞)(-2, \infty). There’s a local minimum at x=−2x = -2. At x=1x = 1, f′f' doesn’t change sign, so it’s not an extremum.

(b) Product rule:

f′′(x)=2(x−1)(x+2)+(x−1)2=(x−1)(2(x+2)+(x−1))=3(x−1)(x+1)f''(x) = 2(x - 1)(x + 2) + (x - 1)^2 = (x - 1)\big(2(x + 2) + (x - 1)\big) = 3(x - 1)(x + 1)

f′′f'' is positive for x<−1x \lt -1, negative on (−1,1)(-1, 1), and positive for x>1x \gt 1, so there are points of inflection at x=−1x = -1 and x=1x = 1. (At x=1x = 1 the tangent is horizontal.)

(c) Both graphs fall to a minimum at x=−2x = -2, rise while concave up until x=−1x = -1, rise while concave down until they flatten to a horizontal tangent at x=1x = 1, then rise more and more steeply. One graph could have its minimum at (−2,−5)(-2, -5) and the other at (−2,0)(-2, 0): any vertical translation fits, because f′f' doesn’t determine the height.

7. (Core) Sketch f(x)=2xx2−1f(x) = \dfrac{2x}{x^2 - 1}.

Solution

Domain: {x∈R∣x≠±1}\{x \in \mathbb{R} \mid x \ne \pm 1\}. Intercepts: only (0,0)(0, 0). Symmetry: f(−x)=−f(x)f(-x) = -f(x), so odd. Asymptotes: vertical x=−1x = -1 and x=1x = 1; horizontal y=0y = 0 (the denominator has the bigger degree).

Near x=1x = 1: just right, +small +→∞\frac{+}{\text{small } +} \to \infty; just left, +small −→−∞\frac{+}{\text{small } -} \to -\infty. By odd symmetry, just right of −1-1, f(x)→∞f(x) \to \infty, and just left of −1-1, f(x)→−∞f(x) \to -\infty.

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

f′(x)<0f'(x) \lt 0 everywhere in the domain, so ff is decreasing on (−∞,−1)(-\infty, -1), (−1,1)(-1, 1), and (1,∞)(1, \infty), with no local extrema.

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

Sign of f′′f'': negative for x<−1x \lt -1, positive on (−1,0)(-1, 0), negative on (0,1)(0, 1), positive for x>1x \gt 1. Concave down on (−∞,−1)(-\infty, -1) and (0,1)(0, 1); concave up on (−1,0)(-1, 0) and (1,∞)(1, \infty). The only point of inflection is (0,0)(0, 0) (the other sign changes happen at asymptotes).

Sketch: the left branch falls from just below y=0y = 0 down to −∞-\infty at x=−1x = -1. The middle branch comes down from +∞+\infty next to x=−1x = -1, passes through the origin (inflection point), and falls to −∞-\infty at x=1x = 1. The right branch comes down from +∞+\infty next to x=1x = 1 and levels off just above y=0y = 0.

8. (Core) Sketch f(x)=(3−x)exf(x) = (3 - x)e^x. Include the intercepts, the end behaviour, the local extremum, and the point of inflection.

Solution

Intercepts: f(0)=3f(0) = 3, and f(x)=0f(x) = 0 only when x=3x = 3 (since ex≠0e^x \ne 0). Symmetry: none.

End behaviour: as x→∞x \to \infty, 3−x→−∞3 - x \to -\infty and ex→∞e^x \to \infty, so f(x)→−∞f(x) \to -\infty. As x→−∞x \to -\infty, ex→0e^x \to 0 faster than 3−x3 - x grows, so f(x)→0f(x) \to 0. The factor 3−x3 - x is positive there, so the graph approaches the horizontal asymptote y=0y = 0 from above on the left.

f′(x)=−ex+(3−x)ex=(2−x)exf'(x) = -e^x + (3 - x)e^x = (2 - x)e^x

Positive for x<2x \lt 2, negative for x>2x \gt 2. Local (and absolute) maximum at (2,e2)≈(2,7.389)(2, e^2) \approx (2, 7.389).

f′′(x)=−ex+(2−x)ex=(1−x)exf''(x) = -e^x + (2 - x)e^x = (1 - x)e^x

Positive for x<1x \lt 1 (concave up), negative for x>1x \gt 1 (concave down). Point of inflection (1,2e)≈(1,5.437)(1, 2e) \approx (1, 5.437).

Intervalx<1x \lt 11<x<21 \lt x \lt 2x>2x \gt 2
f′f'++++−-
f′′f''++−-−-
Shaperising, concave uprising, concave downfalling, concave down

Sketch: starting just above the xx-axis far to the left, the graph rises through (0,3)(0, 3), bends at (1,5.437)(1, 5.437), peaks at (2,7.389)(2, 7.389), then falls steeply through (3,0)(3, 0) toward −∞-\infty.

9. (Challenge) Sketch f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}, and state its range.

Solution

Domain: all real numbers. Intercepts: (0,0)(0, 0) only. Symmetry: odd. Asymptotes: horizontal y=0y = 0; no vertical asymptotes.

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

f′>0f' \gt 0 on (−1,1)(-1, 1) and f′<0f' \lt 0 on (−∞,−1)(-\infty, -1) and (1,∞)(1, \infty). Local minimum (−1,−12)\left(-1, -\dfrac{1}{2}\right), local maximum (1,12)\left(1, \dfrac{1}{2}\right).

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

f′′(x)=0f''(x) = 0 at x=0x = 0 and x=±3x = \pm\sqrt{3}. Signs: −- for x<−3x \lt -\sqrt{3}, ++ on (−3,0)(-\sqrt{3}, 0), −- on (0,3)(0, \sqrt{3}), ++ for x>3x \gt \sqrt{3}. Concave down on (−∞,−3)(-\infty, -\sqrt{3}) and (0,3)(0, \sqrt{3}); concave up on (−3,0)(-\sqrt{3}, 0) and (3,∞)(\sqrt{3}, \infty). Points of inflection: (−3,−34)\left(-\sqrt{3}, -\dfrac{\sqrt{3}}{4}\right), (0,0)(0, 0), and (3,34)≈(1.732,0.433)\left(\sqrt{3}, \dfrac{\sqrt{3}}{4}\right) \approx (1.732, 0.433).

Sketch: coming in just below the xx-axis from the left, the graph falls to its minimum at (−1,−12)\left(-1, -\frac{1}{2}\right), rises through the origin to its maximum at (1,12)\left(1, \frac{1}{2}\right), then falls back toward the xx-axis, staying above it.

Notice that the graph crosses its horizontal asymptote y=0y = 0 at the origin: solving xx2+1=0\dfrac{x}{x^2 + 1} = 0 gives x=0x = 0. That’s allowed, because the asymptote only describes the ends of the graph.

Range: {y∈R  |  −12≤y≤12}\left\{y \in \mathbb{R} \;\middle|\; -\dfrac{1}{2} \le y \le \dfrac{1}{2}\right\}.

10. (Challenge) Find the cubic function f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d that has a local maximum at (0,4)(0, 4) and a local minimum at (2,0)(2, 0). Then find its point of inflection.

Solution

f′(x)=3ax2+2bx+cf'(x) = 3ax^2 + 2bx + c. Use the four facts:

  • f(0)=4f(0) = 4 gives d=4d = 4.
  • f′(0)=0f'(0) = 0 gives c=0c = 0.
  • f′(2)=0f'(2) = 0 gives 12a+4b=012a + 4b = 0, so b=−3ab = -3a.
  • f(2)=0f(2) = 0 gives 8a+4b+4=08a + 4b + 4 = 0. Substitute b=−3ab = -3a: 8a−12a+4=08a - 12a + 4 = 0, so a=1a = 1 and b=−3b = -3.
f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4

Check: f′(x)=3x2−6x=3x(x−2)f'(x) = 3x^2 - 6x = 3x(x - 2), which changes from ++ to −- at 00 and from −- to ++ at 22. ✓ Also f(2)=8−12+4=0f(2) = 8 - 12 + 4 = 0. ✓

f′′(x)=6x−6f''(x) = 6x - 6 changes sign at x=1x = 1, and f(1)=1−3+4=2f(1) = 1 - 3 + 4 = 2. The point of inflection is (1,2)(1, 2), halfway between the two turning points.

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

For every sketch, label the intercepts, local extrema, points of inflection, and asymptotes with their coordinates or equations.

H1. (Foundations) Do the first steps of the checklist (domain, intercepts, symmetry, asymptotes or end behaviour) for each function. Don’t find any derivatives yet.

  • (a) g(x)=x5−5x3g(x) = x^5 - 5x^3
  • (b) h(x)=3x−6x+1h(x) = \dfrac{3x - 6}{x + 1}. Also say whether h(x)h(x) goes to ∞\infty or −∞-\infty on each side of the vertical asymptote.

H2. (Foundations) A polynomial function ff has f(1)=0f(1) = 0. You aren’t given its equation. Instead, you’re told that the graph of its derivative, y=f′(x)y = f'(x), is a parabola opening downward, with xx-intercepts −1-1 and 33 and vertex (1,4)(1, 4).

  • (a) Find the intervals where ff is increasing and decreasing, and the xx-values of its local extrema. Say which is a maximum and which is a minimum.
  • (b) Find the intervals of concavity of ff and the point of inflection. (Hint: where is f′f' increasing?)
  • (c) Sketch a possible graph of ff.

H3. (Core) Sketch f(x)=2x3−9x2+12x−4f(x) = 2x^3 - 9x^2 + 12x - 4. (Hint: f(x)=(x−2)2(2x−1)f(x) = (x - 2)^2(2x - 1).) Include a summary table.

H4. (Core) Sketch f(x)=−x4+4x3−4x2f(x) = -x^4 + 4x^3 - 4x^2. (Hint: factor out −x2-x^2.) Give the points of inflection exactly and as decimals rounded to two places.

H5. (Core) Sketch f(x)=x2(x−2)2f(x) = \dfrac{x^2}{(x - 2)^2}.

  • (a) Find the domain, intercepts, and asymptotes, and the behaviour of ff on both sides of the vertical asymptote.
  • (b) You’re given f′(x)=−4x(x−2)3f'(x) = \dfrac{-4x}{(x - 2)^3} and f′′(x)=8(x+1)(x−2)4f''(x) = \dfrac{8(x + 1)}{(x - 2)^4}. Show that the formula for f′(x)f'(x) is correct, then use both formulas to find the intervals of increase and decrease, the local extrema, the intervals of concavity, and the point of inflection.
  • (c) Find where the graph crosses its horizontal asymptote, then sketch it.

H6. (Core) Sketch f(x)=x2exf(x) = x^2 e^x.

  • (a) Explain why f(x)≥0f(x) \ge 0 for every xx, and describe what happens as x→−∞x \to -\infty and as x→∞x \to \infty.
  • (b) Find f′(x)f'(x) and f′′(x)f''(x) in factored form.
  • (c) Find the local extrema and the points of inflection. Give the yy-values as exact expressions and as decimals rounded to three places.
  • (d) Sketch the graph.

H7. (Challenge) A student analyzes f(x)=x5−5x4f(x) = x^5 - 5x^4 and writes:

”f′′(x)=20x3−60x2=20x2(x−3)f''(x) = 20x^3 - 60x^2 = 20x^2(x - 3). Setting f′′(x)=0f''(x) = 0 gives x=0x = 0 and x=3x = 3. So the points of inflection are (0,0)(0, 0) and (3,−162)(3, -162).”

  • (a) Find the mistake and explain it.
  • (b) Give the correct intervals of concavity and points of inflection.
  • (c) What kind of point is (0,0)(0, 0) on this graph? Use f′(x)f'(x) to justify your answer.

H8. (Challenge) Construct a rational function with all of these features:

  • a vertical asymptote x=3x = 3 and a horizontal asymptote y=2y = 2,
  • an xx-intercept at −1-1,
  • ff is decreasing on each interval of its domain.

Then answer these:

  • (a) Give your function and check each feature, using f′(x)f'(x) for the last one.
  • (b) Does your function have a point of inflection? Use f′′(x)f''(x) to explain.

H9. (Challenge) The cubic f(x)=x3+ax2+bx+2f(x) = x^3 + ax^2 + bx + 2 has a point of inflection at x=1x = 1 and a local extremum at x=3x = 3.

  • (a) Find aa and bb.
  • (b) Is the extremum at x=3x = 3 a maximum or a minimum? Find the coordinates of both local extrema and the point of inflection.
  • (c) Check that the inflection point is the midpoint of the two turning points.

H10. (Challenge) Consider f(x)=x3+kx2+3xf(x) = x^3 + kx^2 + 3x, where kk is a constant.

  • (a) Find all values of kk for which ff has no local extrema. Be careful with the boundary values.
  • (b) Show that for every kk, the graph has exactly one point of inflection, at x=−k3x = -\dfrac{k}{3}.
  • (c) For k=3k = 3, show that f(x)=(x+1)3−1f(x) = (x + 1)^3 - 1 and describe the graph near its point of inflection.