The sign of f'' gives the concavity: f''>0 means the graph is concave up (bending upward), and f''<0 means it is concave down. An inflection point is a point on the
graph where the concavity changes, so f'' changes sign there; it does
not occur wherever f''=0.
Concave up and down
A graph is concave up on an interval when its slope is increasing from left to right. Since the second derivative is the derivative of the slope f', this happens exactly where f''>0. A graph is concave down where the slope is decreasing, which is
where f''<0.
An inflection point is a point (c,f(c)) on the graph where
f is continuous and the concavity changes, from up to down or from down to up.
To find them:
Find the numbers c in the domain of f
where f''(c)=0 or f''(c)
does not exist. These are the candidates.
Check the sign of f'' on both sides of each candidate.
If the sign changes, the candidate is an inflection point. If it does not, it is not.
The condition f''(c)=0 is necessary, since f'' has to pass through zero (or fail to exist) to change sign, but it is
not sufficient. Step 2 is not optional.
The candidates are x=0 and x=2. Test the sign
of f'' on the three intervals they create:
Interval
Test number
f'' at the test number
Concavity
(-\infty,0)
-1
f''(-1)=36
up
(0,2)
1
f''(1)=-12
down
(2,\infty)
3
f''(3)=36
up
The concavity changes at both candidates. The function values are f(0)=0 and
f(2)=2^4-4\cdot 2^3=16-32=-16, so the inflection points are (0,0) and (2,-16).
A trap: f''(a)=0 without an
inflection
Let f(x)=x^4. Then f''(x)=12x^2,
which is 0 at x=0. But 12x^2 is positive on
both sides of 0, so the graph is concave up on both sides and the concavity never changes. The point (0,0) is not an inflection point.
This is the reason for the sign check in step 2. The same function also shows the second derivative test
failing: f'(0)=0 and f''(0)=0, yet
x^4 has a minimum at 0. That case is settled by the first derivative test,
covered in critical points and the derivative tests.
Curve sketching checklist
A sketch combines everything the derivatives tell you. Work through these steps in order:
Domain. Find where f is defined and note any excluded
points.
Intercepts. Compute f(0) for the y-intercept and solve f(x)=0 for the x-intercepts when feasible.
Symmetry. An even function, f(-x)=f(x), is symmetric about
the y-axis. An odd function, f(-x)=-f(x), is
symmetric about the origin.
Asymptotes and end behavior. See the table below.
First derivative. Find the intervals of increase and decrease and the local extrema, as in
the article on critical points.
Second derivative. Find the concavity and the inflection points.
Table. Merge the sign information into one table.
Sketch. Plot the intercepts and key points, draw the asymptotes as dashed lines, and
connect the points following the table.
Asymptote
Meaning
How to find it
Vertical, x=a
f(x)\to\pm\infty as x\to a from one or
both sides
look at points excluded from the domain, where the denominator is 0
Horizontal, y=L
f(x)\to L as x\to\pm\infty
compute \lim_{x\to\pm\infty}f(x)
Oblique, y=mx+b
f(x)-(mx+b)\to 0 as x\to\pm\infty
for a rational function whose numerator has degree one more than the denominator, divide the polynomials
Full example: f(x)=\dfrac{x^2}{x-1}
Domain. The denominator is zero at x=1, so the domain is all
x\ne 1.
Intercepts and symmetry.f(0)=0, and f(x)=0 only when x=0, so the only intercept is
(0,0). The function is neither even nor odd, because f(-x)=-\dfrac{x^2}{x+1} equals neither f(x) nor
-f(x).
Asymptotes. As x\to 1^+ the numerator tends to 1 and the
denominator to 0^+, so f\to+\infty. As x\to 1^-, f\to-\infty. Therefore x=1 is a vertical asymptote. Polynomial division gives
f(x)=\frac{x^2}{x-1}=x+1+\frac{1}{x-1}.
The last term tends to 0 as x\to\pm\infty, so y=x+1 is an oblique asymptote. It is positive for x>1, so the curve lies above the line on the right, and negative for x<1, so the curve lies below the line on the left.
First derivative. By the quotient rule, or by differentiating x+1+(x-1)^{-1},
The denominator is positive, so the sign of f' is the sign of x(x-2). The critical points are x=0 and x=2; the point x=1 is not in the domain. The
function increases on (-\infty,0), decreases on (0,1) and (1,2), and increases on (2,\infty). So there is a local maximum at (0,0)
and a local minimum at (2,4), since f(2)=\dfrac{4}{1}=4.
Second derivative. Differentiating x+1+(x-1)^{-1} twice gives
f''(x)=\frac{2}{(x-1)^3}.
This is negative for x<1 (concave down) and positive for x>1 (concave up). The concavity does change, but it does so at x=1, which is not in the domain. The function has no point there, so there
is no inflection point. Check against the extrema: f''(0)=-2<0 agrees with the maximum, and f''(2)=2>0 agrees with the minimum.
Table.
Interval
f'
f''
Behavior
(-\infty,0)
+
-
increasing, concave down
(0,1)
-
-
decreasing, concave down, falling to -\infty
(1,2)
-
+
decreasing, concave up, falling from +\infty
(2,\infty)
+
+
increasing, concave up
Sketch. Draw the dashed lines x=1 and y=x+1. Plot (0,0) and (2,4). On the left of the vertical asymptote, the curve rises to the maximum at
(0,0) and then plunges to -\infty as x\to1^-; far to the left it hugs the oblique line from below. On the right, it
comes down from +\infty, reaches the minimum at (2,4), and then climbs toward the oblique line from above.
Mistakes to avoid
Calling x=1 an inflection point. The concavity does change
at x=1, but f is not defined there. An
inflection point must be a point on the graph.
Skipping the sign check around f''=0. The function
x^4 has f''(0)=0 and no inflection.
Always test both sides.
Ignoring asymptotes. Without the vertical and oblique asymptotes, a sketch of \dfrac{x^2}{x-1} would connect the two branches through x=1, which is wrong.
Try it:Open
x^2/(x-1) at order 2; inflection points are only looked for from the second order on.
Compare the graphs of f and f' and the
domain line, x\ne 1, with the table above. Under the graph, “Local extrema”
lists a local maximum and the local minimum (2,4). The maximum is listed as
(0, 0). The line “Inflection points” does not appear at all, because this
function has none. For contrast, x^4-4*x^3 at
order 2 lists the inflection points (0,0) and (2,-16).
Frequently asked questions
Can an inflection point also be a critical point?
Yes. For x^4-4x^3, f'(x)=4x^2(x-3) is 0
at x=0, and f'' changes sign there, so
(0,0) is both a critical point and an inflection point. It is not an extremum,
because f' is negative on both sides of 0. The graph flattens for an
instant and keeps falling.
What is the difference between concave up and
increasing?
They describe different things. Increasing means f'>0, so the graph
rises. Concave up means f''>0, so the slope f' is increasing. In the full example, f is
decreasing and concave up on (1,2), and increasing and concave down on (-\infty,0).
How many inflection points can a polynomial have?
A polynomial of degree n\ge 2 has at most n-2
inflection points, because f'' has degree n-2 and a sign change requires a root. Every cubic has exactly one. A quartic such
as x^4-4x^3 can have two, but x^4 has none
even though f''(0)=0.
Where to go next
Critical points and extrema: the first and second
derivative tests that feed steps 5 and 6 of the sketching checklist.
Tangent and normal lines: how concavity decides whether a
tangent line lies above or below the curve.
To test your own derivatives while sketching, use the calculator that marks inflection points and its “Check
your answer” box, which accepts any equivalent form of your result.