Relative Maximum And Minimum Calculator
Finding a function’s high and low points is only half the story in calculus. The other half is knowing where the function is increasing and where it is decreasing — the intervals of monotonicity that the extrema divide. Together, extrema and monotonicity give a complete qualitative picture of any graph.
The Relative Maximum And Minimum Calculator on this page analyzes cubic functions f(x) = ax³ + bx² + cx + d and reports everything at once: both critical points with their classifications and values, plus the exact intervals on which the function increases and decreases. It is the all-in-one tool for curve-sketching practice.
The same critical points that mark the extrema also unlock curve sketching, optimization and even root isolation for numerical methods. Learning to read a cubic’s monotonicity is therefore an investment that pays off across all of calculus.
Extrema and Monotonicity Belong Together
A function is increasing on an interval if larger x-values always give larger function values there, and decreasing if larger x-values give smaller values. These behaviors can only switch at critical points, where the derivative is zero.
That fact turns critical points into dividers: they chop the number line into intervals, and on each interval the function is either entirely increasing or entirely decreasing. Find the critical points and you have found every place the behavior can change.
For a typical two-turning-point cubic, the pattern is increase–decrease–increase (when a > 0) or decrease–increase–decrease (when a < 0). The relative maximum sits at the first switch and the relative minimum at the second.
Reading Increasing and Decreasing Intervals
Intervals are written with the critical points as endpoints, using round brackets since the function is not strictly monotonic at the exact turning points. For f(x) = x³ − 3x, the function increases on (−∞, −1) and (1, ∞), and decreases on (−1, 1).
The symbol ∞ simply means the pattern continues without bound. There is always a bracket — never a square bracket — next to infinity, because infinity is not a number you can reach.
You can verify any interval claim with a test point: pick an x inside the interval, compute f'(x), and check its sign. Positive derivative means increasing, negative means decreasing. The calculator’s intervals always pass this test.
The First Derivative Test, Step by Step
The first derivative test classifies critical points using only the sign of f’, making it the universal backup whenever the second derivative test is inconclusive. It also produces the monotonicity intervals as a free byproduct of the analysis.
The steps are: find all critical points, sort them, pick one test x-value inside each resulting interval, evaluate f’ there, and record the sign. That sign pattern tells the complete story of the function’s behavior.
For f(x) = x³ − 3x the critical points −1 and 1 create three intervals. Testing gives f’(−2) = 9 > 0, f’(0) = −3 < 0 and f’(2) = 9 > 0: the pattern +, −, + means a maximum at −1 and a minimum at 1.
Read each sign change like punctuation: positive-to-negative is a peak (maximum), negative-to-positive is a valley (minimum), and no change is a flat inflection point. The test never misfires because it watches the function actually turn.
How to Use the Relative Maximum And Minimum Calculator
Enter your cubic’s coefficients once and receive the critical points, their classifications, the extreme values and the monotonicity intervals.
Step 1: Write the function in standard form f(x) = ax³ + bx² + cx + d.
Step 2: Type the four coefficients a, b, c and d into the input boxes.
Step 3: Click Calculate. The derivative f'(x) = 3ax² + 2bx + c is solved for its zeros.
Step 4: Read the smaller and larger critical points with their classifications and function values.
Step 5: Read the increasing intervals and decreasing intervals, expressed with the critical points as endpoints.
Step 6: If there are no real critical points, the calculator reports strict monotonicity everywhere.
Worked Example 1: f(x) = x³ − 3x
Analyze f(x) = x³ − 3x completely. Enter a = 1, b = 0, c = −3, d = 0.
Step 1: f'(x) = 3x² − 3 = 3(x² − 1), so the critical points are x = −1 and x = 1.
Step 2: f”(x) = 6x. At x = −1 the second derivative is negative: relative maximum, with f(−1) = 2.
Step 3: At x = 1 the second derivative is positive: relative minimum, with f(1) = −2.
Step 4: Since a = 1 > 0, the outer intervals increase: increasing on (−∞, −1) and (1, ∞).
Step 5: The middle interval decreases: decreasing on (−1, 1).
Step 6: Spot-check with f'(0) = −3 < 0, confirming the function indeed decreases between the critical points.
The full picture: up to (−1, 2), down to (1, −2), then up forever.
Worked Example 2: f(x) = −x³ + 3x²
Now a cubic with negative leading coefficient: f(x) = −x³ + 3x². Enter a = −1, b = 3, c = 0, d = 0.
Step 1: f'(x) = −3x² + 6x = −3x(x − 2), giving critical points x = 0 and x = 2.
Step 2: f”(x) = −6x + 6. At x = 0, f”(0) = 6 > 0: relative minimum, with f(0) = 0.
Step 3: At x = 2, f”(2) = −6 < 0: relative maximum, with f(2) = −8 + 12 = 4.
Step 4: Since a = −1 < 0, the outer intervals decrease: decreasing on (−∞, 0) and (2, ∞).
Step 5: The middle interval increases: increasing on (0, 2).
Step 6: Check f'(1) = 3 > 0, confirming the increase between 0 and 2.
Notice how the pattern mirrors the previous example: with a < 0 everything flips, maximum and minimum swap sides, and the monotonicity reverses.
Why Monotonicity Matters
Monotonicity is what makes functions invertible: a strictly monotonic function passes the horizontal line test and has an inverse on that interval. Knowing where a cubic increases tells you exactly where you can solve it uniquely for x.
In optimization, monotonicity tells you where not to look. If a function is strictly increasing on an interval, its maximum there must be at the right endpoint — no interior search needed. This principle powers efficient numerical methods like bisection.
For curve sketching, extrema give the turning points and monotonicity gives the arrows between them. Together with intercepts and end behavior, they determine the graph’s shape completely.
Scope and Limitations
This calculator is built for cubic polynomials. Higher-degree functions can have more critical points than the quadratic formula can reach, and non-polynomial functions may have critical points where the derivative is undefined rather than zero.
The interval notation assumes the standard real-number domain. If your function has domain restrictions — a square root or a denominator, for example — intervals must be cut at those restrictions too, which this tool does not model.
As always, the outputs describe the exact function you entered. When coefficients come from rounded measurements or fitted data, treat the reported critical points as estimates with the same uncertainty as the inputs.
Concavity and Inflection Points
Concavity describes how a graph bends: concave up like a cup (f’’ > 0) or concave down like a frown (f’’ < 0). For a cubic, f’’(x) = 6ax + 2b is a straight line, so the concavity changes exactly once.
The changeover point is the inflection point at x = −b/(3a) — neatly centered between the two extrema. For f(x) = x³ − 3x it sits at x = 0, exactly halfway between −1 and 1.
Inflection points are geometrically significant — they mark where the curve stops bending one way and starts bending the other — but they are not extrema, because the function never turns around there.
A complete curve description therefore has three layers: monotonicity from f’, concavity from f’’, and the special points where each one changes. Master all three and no graph can hide its shape from you.
Using Monotonicity to Pin Down Roots
A strictly monotonic interval contains at most one root: a function that only ever rises (or only ever falls) can cross zero at most once. Monotonicity turns root-hunting from a search into a trap.
Combine monotonicity with a sign change — f(a) < 0 < f(b) — and exactly one root is caught inside [a, b]. This pairing is the theoretical foundation of the bisection method used by calculators and computers.
Example: f(x) = x³ − 3x increases on (1, ∞), with f(1) = −2 < 0 and f(2) = 2 > 0, so exactly one root lies between 1 and 2. No solving required — just monotonicity plus arithmetic.
This is why the calculator’s interval output is more than curve-sketching decoration: each monotonicity interval is a certified root trap, ready for bisection whenever a numerical root is needed.
Spotting Trends: Monotonicity in Data
In data analysis, “increasing” and “decreasing” describe trends: a stock climbing over a quarter is increasing on that interval, even if daily prices wiggle up and down along the way.
Calculus makes the idea precise for smooth models: fit a curve to the data, check where its derivative is positive, and you have the intervals of genuine growth versus decline — not just noise.
The critical points of the fitted model mark the trend’s turning points — the peaks and troughs that analysts annotate on charts. Each one is a candidate “the trend reversed here” moment.
The limitation is noise: a fitted model’s monotonicity intervals are estimates, not facts. Always pair them with the raw data before drawing conclusions, and distrust intervals built on sparse points.
Tips
- Find the critical points first; they are the only places where increasing can switch to decreasing.
- Use the sign of the leading coefficient to predict the outer behavior before computing anything.
- Write intervals with round brackets at infinities and at the critical points themselves.
- Verify one interval with a test point in f'(x) — a single check catches most arithmetic slips.
- Remember that maximum and minimum alternate along the x-axis; two maxima can never be adjacent.
- Sketch arrows (↗ for increasing, ↘ for decreasing) on a number line to visualize the full behavior.
- Do not forget the strictly-monotonic case: no critical points means one interval covering everything.
- Pair each interval statement with its justification (the sign of f’) when writing up solutions.
1. What does it mean for a function to be increasing?
It means that as x gets larger, f(x) gets larger throughout the interval — the graph slopes upward left to right. Formally, whenever x₁ < x₂ in the interval, f(x₁) < f(x₂).
2. How are critical points related to monotonicity?
A differentiable function can only change from increasing to decreasing (or vice versa) at a critical point where f'(x) = 0. Between consecutive critical points the sign of the derivative cannot change, so the behavior is uniform.
3. How do you write increasing and decreasing intervals?
List the intervals of x-values with the critical points as endpoints, e.g. increasing on (−∞, −1) and (1, ∞). Use round brackets at infinities and union the separate pieces.
4. Can a function be both increasing and decreasing at the same point?
No. At any single x-value the function has one derivative sign (or zero). Increasing and decreasing are properties of intervals, and a point belongs to the intervals on either side of it.
5. What is the first derivative test?
It classifies a critical point by the sign change of f’ around it: positive-to-negative means relative maximum, negative-to-positive means relative minimum, and no sign change means neither (a flat inflection).
6. Why do we use open intervals for monotonicity?
At the exact critical point the derivative is zero, so the function is momentarily flat rather than strictly rising or falling. Open brackets exclude those single points from the claim.
7. What does ∞ mean in interval notation?
It indicates the interval continues without bound in that direction. Infinity is a concept, not a number, so it always takes a round bracket, never a square one.
8. How can I check an interval with a test point?
Choose any x inside the interval and evaluate f'(x). A positive value confirms the function is increasing there; a negative value confirms it is decreasing. One test point per interval suffices.
9. What if the cubic has no critical points?
Then the derivative never hits zero and keeps one sign everywhere, so the function is strictly monotonic on the whole real line — always increasing if a > 0, always decreasing if a < 0.
10. Do increasing intervals help find inverses?
Yes. A function has an inverse exactly where it is strictly monotonic (one-to-one). The increasing intervals of a cubic are the natural domains on which inverse branches can be defined.
11. What is the difference between stationary points and turning points?
A stationary point is where f'(x) = 0. A turning point is a stationary point where the function actually turns — a max or min. Flat inflection points are stationary but not turning points.
12. Can monotonicity change without a critical point?
For differentiable functions, no. But functions with domain breaks, corners or vertical asymptotes can change behavior at points where the derivative is undefined, which is why the full critical-point definition includes those.
13. How does the leading coefficient affect the pattern?
For a cubic with a > 0, the ends go from −∞ up to +∞, giving the increase–decrease–increase pattern. With a < 0 the ends reverse, giving decrease–increase–decrease.
14. Why do maxima and minima alternate?
To get from one relative maximum to another, the function must dip down and climb back up, creating a minimum in between. Smooth functions cannot have two consecutive maxima without a valley between them.
15. Is the calculator’s interval output exact?
It is exact for the polynomial you entered, since the critical points come from the quadratic formula. If your coefficients are rounded measurements, treat the interval endpoints as having the same precision as the inputs.
CONCLUSION
The Relative Maximum And Minimum Calculator delivers the complete monotonicity story for any cubic: both critical points classified and valued, plus the precise increasing and decreasing intervals between them. It is everything a curve-sketching problem asks for, computed in one step.
Make a habit of reading extrema and intervals together rather than as isolated facts — the turning points are the punctuation, and the monotonicity intervals are the sentences of the graph’s story. That habit will serve you well beyond cubics, wherever functions need to be understood at a glance.
Treat every new function as a three-question interview: where are the critical points, what does f’ do between them, and where does the concavity change. Asked in that order, the questions answer themselves — and the graph practically draws itself.