Graphing Natural Log Derivatives


Graphing Natural Log Derivatives

Michael
Alright, let's take a function like f(x) equals the natural log of x to the fourth plus 27. Our goal is to graph it without a graphing calculator by using the first and second derivatives.

Anna
Great. So first derivative — we need the chain rule. The derivative of the inside is 4x³, and the derivative of the natural log of something is 1 over that something. So f'(x) = 4x³ over (x⁴ + 27).

Michael
Exactly. Then for the second derivative, we'll use the product rule since we have 4x³ times (x⁴ + 27)⁻¹. It gets a bit messy, but after simplifying we get f''(x) = (12x²(x⁴+27) - 16x⁶) over (x⁴+27)². Then we combine terms to get 4x²(81 - x⁴) over (x⁴+27)².

Anna
Nice simplification. Now, critical points come from setting f'(x) equal to zero. The denominator is always positive, so we just set the numerator to zero: 4x³ = 0 gives x = 0. So the only critical point is at x = 0.

Michael
Right. And f(0) is ln(27), which is about 3.3. But we don't know yet if that's a maximum or minimum — that's where the second derivative comes in. For inflection points, we set f''(x) = 0. Again, denominator always positive, so numerator 4x²(81-x⁴)=0 gives x=0, x=3, and x=-3.

Anna
Careful though — just because f'' is zero doesn't guarantee an inflection point. We need a sign change in f'' around each candidate. For x=0, if we test just left and right, say x = -0.1 and x = 0.1, f'' is positive on both sides because 81-x⁴ is positive and 4x² is positive. So no sign change — x=0 is not an inflection point.

Michael
That makes sense. Since f'' is positive near zero, the function is concave upward there. And with f'(0)=0, that means x=0 is a local minimum. Now for x=3: test x just less than 3, say 2.9 — then x⁴ is a bit less than 81, so 81-x⁴ is positive, and f'' is positive. For x just greater than 3, like 3.1, x⁴ exceeds 81, making 81-x⁴ negative, so f'' is negative. Sign change! So x=3 is an inflection point.

Anna
And because of the even exponents, x=-3 behaves the same way: f'' positive for x just greater than -3 and negative for x just less than -3. So both x=3 and x=-3 are inflection points. Their f-values are the same: ln(3⁴+27) = ln(108) ≈ 4.7.

Michael
Now we have enough to sketch. Plot the minimum at (0, 3.3) with horizontal tangent and concave up. Then at (-3, 4.7) and (3, 4.7), the curve changes concavity. Between -3 and 3, it's concave up; outside that, concave down. The graph should look like a U-shape with a dip in the middle, symmetric about the y-axis.

Anna
Let's check with a graphing calculator to confirm. I'll enter y = ln(x⁴ + 27) and graph it. Look — it matches exactly! The minimum at x=0, inflection points at x=±3, and the concavity changes just as we predicted. So using derivatives, we got the correct shape without any guesswork.

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