1. Home
  2. Explore
  3. Mathematics
  4. Graphing Functions Using Derivatives

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Graphing Functions Using Derivatives

Using Calculus to Graph Functions

Introduction

This set of notes demonstrates how to use differentiation, concavity, and critical/inflection points to graph a function without a graphing calculator. The method focuses on the most interesting points (where the derivative is zero or the concavity changes) and uses them to sketch the overall shape.

The example function is:

f(x)=3x4−4x3+2f(x) = 3x^4 - 4x^3 + 2f(x)=3x4−4x3+2

Step 1: Finding Critical Points

Critical points are points in the domain where the first derivative f′(x)f'(x)f′(x) equals zero or is undefined.

For polynomial functions like this one, f′(x)f'(x)f′(x) is defined everywhere, so critical points occur only where f′(x)=0f'(x)=0f′(x)=0.

Compute the first derivative:

f′(x)=12x3−12x2f'(x) = 12x^3 - 12x^2f′(x)=12x3−12x2

Factor to solve f′(x)=0f'(x)=0f′(x)=0:

12x3−12x2=12x2(x−1)=012x^3 - 12x^2 = 12x^2(x - 1) = 012x3−12x2=12x2(x−1)=0

This gives two critical points:

  • x=0x = 0x=0 (from 12x2=012x^2=012x2=0)

  • x=1x = 1x=1 (from x−1=0x-1=0x−1=0)

Note: These points are where the slope is zero. They could be maxima, minima, or inflection points — further analysis is needed.


Step 2: Second Derivative and Concavity

The second derivative tells us about concavity.

  • If f′′(x)>0f''(x) > 0f′′(x)>0, the graph is concave up (cup-shaped, like a U).

  • If f′′(x)<0f''(x) < 0f′′(x)<0, the graph is concave down (cap-shaped, like an upside-down U).

  • If f′′(x)=0f''(x) = 0f′′(x)=0, it may be a transition point (potential inflection point).

Compute f′′(x)f''(x)f′′(x):

f′′(x)=36x2−24xf''(x) = 36x^2 - 24xf′′(x)=36x2−24x

Factor to simplify analysis:

f′′(x)=12x(3x−2)f''(x) = 12x(3x - 2)f′′(x)=12x(3x−2)

Now evaluate f′′f''f′′ at the critical points:

  • At x=0x=0x=0: f′′(0)=0f''(0) = 0f′′(0)=0 → neither concave up nor down here; possible inflection point.

  • At x=1x=1x=1: f′′(1)=12(1)(3(1)−2)=12(1)=12>0f''(1) = 12(1)(3(1)-2) = 12(1) = 12 > 0f′′(1)=12(1)(3(1)−2)=12(1)=12>0 → concave up, so x=1x=1x=1 is likely a local minimum.


Step 3: Finding Inflection Points

Inflection points are points where the concavity changes (from up to down or down to up). They occur where f′′(x)=0f''(x)=0f′′(x)=0 (or is undefined) and the sign of f′′f''f′′ changes.

Set f′′(x)=0f''(x)=0f′′(x)=0:

12x(3x−2)=012x(3x-2) = 012x(3x−2)=0

Solutions:

  • 12x=0⇒x=012x=0 \Rightarrow x=012x=0⇒x=0

  • 3x−2=0⇒x=233x-2=0 \Rightarrow x=\frac{2}{3}3x−2=0⇒x=32​

So two candidate inflection points: x=0x=0x=0 and x=23x=\frac{2}{3}x=32​.

Now test the sign of f′′(x)f''(x)f′′(x) around these points to confirm concavity changes.


Step 4: Analyzing Intervals of Concavity

Use the factored form f′′(x)=12x(3x−2)f''(x)=12x(3x-2)f′′(x)=12x(3x−2) to determine sign on intervals defined by x=0x=0x=0 and x=23x=\frac{2}{3}x=32​.

Interval 1: x<0x < 0x<0

  • 12x12x12x: negative

  • 3x−23x-23x−2: negative (since x<0x<0x<0, 3x<03x<03x<0, minus 2 is negative)

  • Product of two negatives = positive → f′′(x)>0f''(x) > 0f′′(x)>0 → concave up.

Interval 2: 0<x<230 < x < \frac{2}{3}0<x<32​

  • 12x12x12x: positive

  • 3x−23x-23x−2: negative (e.g., at x=0.1x=0.1x=0.1, 3(0.1)−2=−1.73(0.1)-2 = -1.73(0.1)−2=−1.7)

  • Product positive × negative = negative → f′′(x)<0f''(x) < 0f′′(x)<0 → concave down.

Interval 3: x>23x > \frac{2}{3}x>32​

  • 12x12x12x: positive

  • 3x−23x-23x−2: positive

  • Product positive × positive = positive → f′′(x)>0f''(x) > 0f′′(x)>0 → concave up.

Confirm inflection points

  • At x=0x=0x=0: concavity changes from up (left) to down (right) → inflection point.

  • At x=23x=\frac{2}{3}x=32​: concavity changes from down (left) to up (right) → inflection point.

Summary of concavity

Interval

f′′(x)f''(x)f′′(x) sign

Concavity

x<0x < 0x<0

positive

Up

0<x<230 < x < \frac{2}{3}0<x<32​

negative

Down

x>23x > \frac{2}{3}x>32​

positive

Up


Step 5: Classifying Critical Points

Now combine information:

  • At x=0x=0x=0: f′(0)=0f'(0)=0f′(0)=0 and f′′f''f′′ changes sign → this is an inflection point with a horizontal tangent (slope zero). It is not a local max or min.

  • At x=1x=1x=1: f′(1)=0f'(1)=0f′(1)=0 and f′′(1)>0f''(1)>0f′′(1)>0 → concave up → local minimum.


Step 6: Function Values at Key Points

Evaluate f(x)f(x)f(x) at the critical and inflection points for graphing.

  • f(0)=3(0)4−4(0)3+2=2f(0) = 3(0)^4 - 4(0)^3 + 2 = 2f(0)=3(0)4−4(0)3+2=2 → point (0,2)(0, 2)(0,2)

  • f(1)=3(1)4−4(1)3+2=3−4+2=1f(1) = 3(1)^4 - 4(1)^3 + 2 = 3 - 4 + 2 = 1f(1)=3(1)4−4(1)3+2=3−4+2=1 → point (1,1)(1, 1)(1,1)

  • f(23)=3(23)4−4(23)3+2f\left(\frac{2}{3}\right) = 3\left(\frac{2}{3}\right)^4 - 4\left(\frac{2}{3}\right)^3 + 2f(32​)=3(32​)4−4(32​)3+2

    Compute step by step:

    (23)4=1681\left(\frac{2}{3}\right)^4 = \frac{16}{81}(32​)4=8116​, so 3⋅1681=4881=16273 \cdot \frac{16}{81} = \frac{48}{81} = \frac{16}{27}3⋅8116​=8148​=2716​.

    (23)3=827\left(\frac{2}{3}\right)^3 = \frac{8}{27}(32​)3=278​, so 4⋅827=32274 \cdot \frac{8}{27} = \frac{32}{27}4⋅278​=2732​.

    Thus f(23)=1627−3227+2=−1627+2=5427−1627=3827≈1.407f\left(\frac{2}{3}\right) = \frac{16}{27} - \frac{32}{27} + 2 = -\frac{16}{27} + 2 = \frac{54}{27} - \frac{16}{27} = \frac{38}{27} \approx 1.407f(32​)=2716​−2732​+2=−2716​+2=2754​−2716​=2738​≈1.407.

    So the inflection point at x=23x=\frac{2}{3}x=32​ has y≈1.41y \approx 1.41y≈1.41.


Step 7: Sketching the Graph

Combine all information to draw the curve.

  • Plot key points: (0,2)(0,2)(0,2), (2/3,1.41)(2/3, 1.41)(2/3,1.41), (1,1)(1,1)(1,1).

  • Slope at critical points: horizontal tangents at x=0x=0x=0 and x=1x=1x=1.

  • Concavity by interval:

    • For x<0x < 0x<0: concave up → the graph curves upward.

    • For 0<x<2/30 < x < 2/30<x<2/3: concave down → curves downward.

    • For x>2/3x > 2/3x>2/3: concave up → curves upward again.

  • Behavior at each interval:

    • Left of 000: concave up, slope becomes zero at x=0x=0x=0 (flat point).

    • Between 000 and 2/32/32/3: concave down; slope starts zero at x=0x=0x=0, becomes negative, then flattens at the inflection point.

    • Between 2/32/32/3 and 111: concave up; slope continues to increase, reaching zero at x=1x=1x=1 (minimum).

    • Right of 111: concave up; slope becomes positive, graph rises.

The resulting graph is a wavy curve with:

  • A local minimum at (1,1)(1,1)(1,1)

  • An inflection point with horizontal tangent at (0,2)(0,2)(0,2)

  • Another inflection point at (2/3,≈1.41)(2/3, \approx1.41)(2/3,≈1.41) where concavity changes

This process of using derivatives to find critical points, concavity, and inflection points allows accurate graphing without a calculator. The same technique applies to any differentiable function.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent