Unconstrained Optimization Calculator
Free unconstrained optimization calculator: find stationary points of ax³ + bx² + cx + d via the derivative, with second-derivative classification.
Calculator
Cubic Coefficients
Solution Summary
Results
First stationary point
(0, 0) — local maximum
f″ sign at the point
(2, -4) — local minimum
f″ sign at the point
36
Two stationary points (peak and valley)
None — cubics are unbounded both ways
Only local extremes exist
Results are recomputed live and verified against the step-by-step work below.
Visualizations
Stationary values
Classification
Formula
Without bounds, extremes can only hide where the slope vanishes — the derivative roots are the whole suspect list.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| a..d | Cubic coeffs | numbers | f(x) = ax³ + bx² + cx + d |
| f′ | First derivative | quadratic | 3ax² + 2bx + c |
| f″ | Second derivative | linear | 6ax + 2b classifier |
| points | Stationary set | points | 0, 1, or 2 real locations |
Explanation
Solve the quadratic derivative for stationary points, then sign the second derivative at each.
Derivation
Fermat: interior local extremes force f′ = 0; the second-derivative sign reveals bowl (min) versus cap (max).
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Write the cubic.
Differentiate term by term.
Solve f′(x) = 0 with the quadratic formula.
Classify with f″(x) = 6ax + 2b at each root.
Evaluate f at each stationary point.
Worked Examples
See how the calculator works with different scenarios.
Scenario
Classic two-point cubic.
Inputs
Calculation
f′ = 3x² - 3 → x = ±1; f″ = 6x
Result
max (-1, 2); min (1, -2)
Interpretation
Negative second derivative at -1 (cap), positive at 1 (bowl).
Understanding Your Result
What This Means
The headline result is the exact answer for the unconstrained optimization calculator inputs you entered, with supporting values shown beside it.
Why It Matters
Homework, exams and real-world models all reduce to this calculation; a verified numeric answer beats guessing.
Professional Interpretation
Read the headline result first, then scan the supporting rows and the step list to confirm the arithmetic before reusing the value.
Recommendations
- •Verify the headline result against the steps
- •Test one worked example by hand
- •Check edge cases separately
- •Keep full precision until the final display
- •Restate the answer in the problem context
Educational Content
Introduction
This unconstrained optimization calculator evaluates your inputs with closed-form arithmetic and shows every intermediate value.
Concept Explanation
Solve the quadratic derivative for stationary points, then sign the second derivative at each.
Applications
Benefits
- •Instant verified answer
- •Step-by-step work shown
- •Charts that expose mistakes
- •Handles decimals directly
- •Free with examples
Limitations
- •Numeric inputs only
- •Real-number results
- •Display rounding to 6 decimals
Best Practices
- •Enter numbers carefully
- •Check the steps line by line
- •Verify with one example
- •Watch units in word problems
- •State the final answer with context
Common Misconceptions
Practical Tips
- •Double-check each input
- •Read the steps in order
- •Compare against one worked example
- •Verify edge cases separately
- •Keep units consistent
- •Use Reset to restore defaults
- •Copy the summary for notes
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a stationary point?
How does the second derivative classify?
Can a cubic have a global max?
Why differentiate?
What if D < 0?
How do I verify?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Solution set
- All values satisfying the given statement.
- Interval notation
- Compact bracket notation for ranges of the number line.
- Critical value
- A point where the expression is zero or undefined, splitting sign regions.
- Verification
- Substituting the answer back to confirm the original statement.
- Closed form
- An exact formula evaluated directly, not an approximation loop.
- Edge case
- Inputs where the usual rule breaks, such as zero denominators.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-09-29
2.0.0
Free to use for educational and professional purposes.