← Back to learning objective

Concavity intervals and inflection points of f(x) = x^2 e^(-x)

Consider the function f(x)=x2e−xf(x) = x^2 e^{-x}.

Find the second derivative f′′(x)f''(x), determine the intervals on which ff is concave up and concave down, and identify the xx-coordinates of all inflection points of f(x)=x2e−xf(x) = x^2 e^{-x}.

Hint

First compute f′(x)f'(x) using the product rule, then differentiate again to get f′′(x)f''(x). Factor f′′(x)f''(x) completely, find where it equals zero, and check that the sign of f′′f'' actually changes at each candidate point before calling it an inflection point.

Step-by-step solution

Using the product rule, f′(x)=2xe−x−x2e−x=e−x(2x−x2)f'(x) = 2xe^{-x} - x^2e^{-x} = e^{-x}(2x - x^2). Differentiating again with the product rule: f′′(x)=e−x(2−2x)−e−x(2x−x2)=e−x(x2−4x+2)f''(x) = e^{-x}(2 - 2x) - e^{-x}(2x - x^2) = e^{-x}(x^2 - 4x + 2). Since e−x>0e^{-x} > 0 for all xx, the sign of f′′(x)f''(x) is determined entirely by the quadratic factor x2−4x+2x^2 - 4x + 2.

Setting x2−4x+2=0x^2 - 4x + 2 = 0 and using the quadratic formula gives x=4±16−82=2±2x = \frac{4 \pm \sqrt{16-8}}{2} = 2 \pm \sqrt{2}. Testing values shows the quadratic (and hence f′′f'') is positive for x<2−2x < 2-\sqrt{2}, negative for 2−2<x<2+22-\sqrt{2} < x < 2+\sqrt{2}, and positive again for x>2+2x > 2+\sqrt{2}, so the sign of f′′f'' changes at both points. Thus ff is concave up on (−∞,2−2)(-\infty, 2-\sqrt{2}) and (2+2,∞)(2+\sqrt{2}, \infty), concave down on (2−2,2+2)(2-\sqrt{2}, 2+\sqrt{2}), with inflection points at x=2−2x = 2-\sqrt{2} and x=2+2x = 2+\sqrt{2}.

Concavity intervals and inflection points of f(x) = x^2 e^(-x) — solution graph

Concavity behavior at x equals two

Hint
Step-by-step solution

The two inflection points are at two minus square root two and two plus square root two, and x equals two lies between them. On that middle interval, the second derivative is negative, so the graph is concave down. This matches the earlier finding that f is concave down on the interval between the two inflection points.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap