Analyze constrained quadratic models with practical bounds. Get critical points, endpoint tests, and clear visuals. Use structured inputs to study optimization decisions accurately today.
This version solves a quadratic objective in two variables under one linear equality constraint and bound limits. The responsive grid uses three columns on large screens, two on smaller screens, and one on mobile.
This example matches the default values already loaded in the calculator.
| Item | Value |
|---|---|
| Objective | f(x, y) = x² + y² - 4x - 6y |
| Constraint | x + y = 5 |
| Bounds | 0 ≤ x ≤ 6 and 0 ≤ y ≤ 6 |
| Critical point | (2, 3) |
| Critical objective | -13 |
| Feasible minimum | -13 at (2, 3) |
| Feasible maximum | 5 at (5, 0) |
The calculator uses a quadratic objective in two variables:
f(x, y) = ax² + by² + cxy + dx + ey + f₀
The feasible points must satisfy:
px + qy = r
Interior stationary points on the constraint follow:
∇f(x, y) = λ∇g(x, y)
For this model:
2ax + cy + d = λp
cx + 2by + e = λq
A particular point on the line is combined with direction (q, -p):
x = x₀ + qt, y = y₀ - pt
That converts the constrained problem into a one-variable quadratic:
F(t) = At² + Bt + C
When A ≠ 0, the critical position is:
t* = -B / (2A)
The calculator also checks the feasible segment endpoints created by the variable bounds.
It solves a two-variable quadratic objective under one linear equality constraint, then checks finite lower and upper bounds on both variables to find feasible extrema.
The equality constraint creates a line, but the bounds trim that line into a finite segment. The actual feasible minimum or maximum may occur at a bound endpoint.
The multiplier approximates how the optimal objective changes when the right side r of the equality constraint changes slightly, assuming the interior critical point remains valid.
The Lagrange point is computed on the full equality line. If the chosen bounds exclude that location, the feasible optimum must be found from the bounded segment instead.
No. This version is designed for quadratic objectives only. That restriction allows a stable closed-form reduction and a fast graphable solution workflow.
It means the reduced one-variable function bends upward along the constraint. In that case, any interior stationary point is a constrained minimum on the equality line.
A finite feasible segment can contain both a lowest and highest objective value. Reporting both gives a fuller decision view, especially in budget, production, or design studies.
The graph shows objective contours, the equality constraint line, and the key points for the critical solution, feasible minimum, and feasible maximum within the chosen box.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.