Increasing and Decreasing Intervals
Problem
Visualize where f(x) = x³ - 6x² + 9x + 1 is increasing and decreasing.
Explanation
A function is increasing wherever its derivative is positive and decreasing wherever its derivative is negative. The transitions happen exactly at the critical points (where ). This visualization color-codes the curve green where it's increasing and red where it's decreasing — turning an algebraic question into a glance.
The Physics — Just Algebra
For , take the derivative, factor it, and analyze the sign of in each interval determined by its roots.
Step-by-Step Solution
Given: .
Find: The intervals where is increasing and decreasing.
Step 1 — Compute the derivative.
Step 2 — Factor the derivative.
Pull out the GCF of 3:
Factor the quadratic. We need two numbers that multiply to 3 and add to — those are and :
Step 3 — Find the critical points by setting .
These two points divide the real line into three intervals: , , .
Step 4 — Test the sign of in each interval.
Pick a test point inside each interval and evaluate the factored form .
- Test in : → positive → is increasing
- Test in : → negative → is decreasing
- Test in : → positive → is increasing
Step 5 — Identify local extrema.
The function changes from increasing to decreasing at , so is a local maximum. From decreasing to increasing at , so is a local minimum.
Answer:
- is increasing on
- is decreasing on
- Local maximum at , local minimum at
In the visualization the curve is drawn in green where it's increasing and red where it's decreasing, with the two critical points marked.
Try It
- Slide the point along the curve — the HUD changes from "INCREASING" (green) to "DECREASING" (red) as you cross the critical points.
- The curve is drawn in green for and , and red between 1 and 3.
- The two critical points are marked with green stars. Slide the point onto them — the tangent line goes flat.
- Toggle show to see the derivative curve below: it sits above the -axis where is increasing and below where is decreasing.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.