1. Home
  2. Explore
  3. Mathematics
  4. Graphing Functions with Calculus

Study methods

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

Graphing Functions with Calculus

Speaker 1Speaker 2

Graphing Functions with Calculus

4:07
0:00-4:07
  1. Corey

    Alright Hope, so we've been learning all about derivatives, concavity, and inflection points. Let's put it all together to graph a function without a calculator. Say we have f of x equals 3x to the fourth minus 4x cubed plus 2.

  2. Hope

    Nice, a polynomial. So first we find critical points where the derivative is zero or undefined. Derivative is 12x cubed minus 12x squared. Factor that: 12x squared times (x minus 1). So critical points at x equals 0 and x equals 1.

  3. Corey

    Exactly. But critical points can be maxima, minima, or inflection points. We need the second derivative to figure out concavity. Second derivative is 36x squared minus 24x. Let's test at x equals 1: that's 36 minus 24, positive 12. So concave up at x=1, meaning it's a local minimum.

  4. Hope

    And at x equals 0, second derivative is zero. That's inconclusive, could be an inflection point. So we need to find where the second derivative itself is zero to spot potential inflection points. Set 36x squared minus 24x equals 0, factor out 12x: 12x(3x - 2) = 0. So x = 0 and x = 2/3.

  5. Corey

    Now we test intervals around these points to see if concavity actually changes. For x less than 0, say x = -0.1, factor: 12x negative, 3x - 2 negative, product positive. So second derivative positive, concave up. For x between 0 and 2/3, say x = 0.1: 12x positive, 3x - 2 negative, product negative. So concave down.

  6. Hope

    That means at x = 0, concavity switches from up to down, so it's an inflection point. And for x greater than 2/3, say x = 1: both factors positive, product positive, concave up. So at x = 2/3, concavity switches from down to up, another inflection point. But note, at x = 0 the slope is also zero from the first derivative, so it's a flat inflection point.

  7. Corey

    Great analysis. Now we plot key points: f(0) = 2, f(1) = 1, and f(2/3) we can compute roughly. At x = 2/3, f = 3*(16/81) - 4*(8/27) + 2 = (48/81) - (32/27) + 2. Simplify: 48/81 = 16/27, so 16/27 - 32/27 = -16/27, plus 2 = (54/27 - 16/27) = 38/27 ≈ 1.407. So point (2/3, ~1.41).

  8. Hope

    Now sketch: For x < 0, concave up, slopes start positive? Actually at x=0 slope is zero, so it flattens. Then from 0 to 2/3, concave down, slope decreases from zero to negative, then at 2/3 inflection, slope stops decreasing and starts increasing. After 2/3, concave up, slope increases, crossing zero at x=1 to reach minimum at (1,1). So the graph goes up from left, flattens at (0,2), dips down to (2/3,1.41), continues down to (1,1) then up.

  9. Corey

    Exactly. And because the leading term is positive and even degree, the ends go up to infinity on both sides. So the graph looks like a W shape, with a local maximum at (0,2)? Actually because it's flat and concave down right after, it's a local maximum? Wait, at x=0 we have inflection, not max or min. Test points: f(-1)=3+4+2=9, so left of 0 function is higher than 2, so (0,2) is not a maximum; it's an inflection point. So the shape: comes down from left, flattens at (0,2), then goes down to (1,1) then up.

  10. Hope

    Right, and the interval between 0 and 2/3 is concave down, so it's bending downward toward the minimum. Then after 2/3 concave up, so it bends upward to the minimum at 1. So our graph is correct. Using calculus we got the full picture without a calculator.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent