Graphing Functions with Calculus
Graphing a Function Using Calculus
The process of graphing a function using calculus relies on differentiation, concavity, critical points, and inflection points to sketch an accurate graph without a graphing calculator. This approach focuses on the most interesting features of the function: where the slope is zero, where the graph bends, and how the concavity changes.
Critical Points
Critical points are points where the first derivative f′(x) is either zero or undefined. For differentiable functions, they are found by setting f′(x)=0.
First derivative: For f(x)=3x4−4x3+2, the derivative is:
f′(x)=12x3−12x2Factor to solve: f′(x)=12x2(x−1)=0
Critical points: x=0 and x=1. At these points, the slope of the graph is zero.
Critical points may be local maxima, local minima, or inflection points (where the slope is zero but concavity changes). The second derivative test helps classify them.
Second Derivative and Concavity
The second derivative f′′(x) provides information about the concavity of the graph:
Concave up (curving like a U) when f′′(x)>0 (the slope is increasing).
Concave down (curving like an inverted U) when f′′(x)<0 (the slope is decreasing).
Second derivative: f′′(x)=36x2−24x=12x(3x−2)
Evaluate f′′(x) at critical points:
At x=0: f′′(0)=0 (inconclusive – could be an inflection point)
At x=1: f′′(1)=36−24=12>0 → concave up at x=1. Since the slope is zero and the graph is concave up, x=1 is a local minimum.
Inflection Points
Inflection points are points where the concavity of the function changes. They occur where f′′(x)=0 (or undefined) and the sign of f′′(x) changes on either side.
Set f′′(x)=0:
This gives candidate inflection points at x=0 and x=32.
To confirm a change in concavity, test the sign of f′′(x) on intervals defined by these points:
Interval | Sign of 12x | Sign of (3x−2) | Sign of f′′(x) | Concavity |
|---|---|---|---|---|
x<0 | negative | negative | positive | concave up |
0<x<32 | positive | negative | negative | concave down |
x>32 | positive | positive | positive | concave up |
At x=0: concavity changes from up (left) to down (right) → inflection point.
At x=32: concavity changes from down (left) to up (right) → inflection point.
Both x=0 and x=32 are inflection points. Note that x=0 is also a critical point (slope zero), making it an inflection point with a horizontal tangent.
Evaluating Key Points
Find the y-coordinates for the critical and inflection points for plotting:
x | f(x)=3x4−4x3+2 | Point |
|---|---|---|
0 | f(0)=2 | (0,2) – inflection point with slope 0 |
1 | f(1)=3(1)−4(1)+2=1 | (1,1) – local minimum |
32 | f(32) can be approximated (approximately 1.…) | inflection point |
Sketching the Graph
Combine all the gathered information:
Left of x=0 (x<0): Concave up. Slope is zero at x=0, so the graph approaches (0,2) from below with a horizontal tangent.
Between x=0 and x=2/3 (0<x<2/3): Concave down. The slope at x=0 is zero, then it becomes increasingly negative (since f′′<0), so the graph drops.
Between x=2/3 and x=1 (2/3<x<1): Concave up. The slope is most negative at x=2/3 (inflection), then it increases (becomes less negative) until it reaches zero at x=1 (local minimum). The graph continues to drop until x=1, then rises.
Right of x=1 (x>1): Concave up. The slope becomes positive, and the graph rises.
The overall shape:
From far left, the graph rises with upward concavity, flattens at (0,2), then descends with downward concavity, inflects at (32,f(32)), continues descending but now with upward concavity, reaches the minimum at (1,1), and then rises upward for all x>1.
This sketch is determined entirely by analyzing the first and second derivatives without any numerical point‑plotting. The key features — critical points, inflection points, and concavity — provide enough information to draw a reliable graph.

Ask anything
We've read this whole study set, so questions about it get the best answers.