∫Calc Practice

Increasing, decreasing and concavity

Problem 3.151 · medium

For \( \displaystyle f(x) = 3 x^{3} + 9 x^{2} \), find the intervals where f is increasing or decreasing, where it is concave up or down, and its inflection points.
  1. \[ \frac{d}{d x} \left(3 x^{3} + 9 x^{2}\right) = 9 x \left(x + 2\right) \]
    f' factored.✓ Proved
  2. f' > 0 outside [-2, 0] and f' < 0 between them (a positive quadratic with roots -2, 0).
  3. \[ \frac{d^{2}}{d x^{2}} \left(3 x^{3} + 9 x^{2}\right) = 18 x + 18 \]
    f''.✓ Proved
  4. \[ \left. 18 x + 18 \right|_{\substack{ x=-1 }} = 0 \]
    f'' = 0 at x = -1, where it changes sign.✓ Proved
  5. f'' < 0 to the left of -1 (concave down) and f'' > 0 to the right (concave up).
Answer \( \uparrow (-\infty,-2) \cup (0,\infty);\ \downarrow (-2,0);\ \text{concave down } (-\infty,-1),\ \text{up } (-1,\infty);\ \text{inflection at } x=-1 \)

Lines: 3 proved, 2 not checked. The answer was also checked a second way, without looking at the solution. The explanation has not been reviewed yet.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2Not checked—a sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
5Not checked—a sentence; read, not computed
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0the signs of f' and f'' were evaluated at a point inside each interval

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/increasing_concavity, checked 2026-09-26 with SymPy 1.14.0.