Stuck on a step? Text us Email us Request a lesson
For course topics and one-to-one help, see Concordia MAST 218 tutoring.
A solution needs more than a point where equations happen to vanish. State where you are allowed to move, find every relevant candidate and explain why your conclusion applies to the whole allowed set.
These original examples support the extrema and Lagrange-multiplier topics listed for Concordia MAST 218. They are later-course topic practice, not a course assessment or a prediction of an exam. Use your section outline to choose what to review. Throughout this lesson, all variables are real and dimensionless, and every objective is a dimensionless mathematical model.
Already comfortable with the method? Try the six guided constrained-optimization questions. If the gradient is unfamiliar, start with the existing gradient and directional-derivative explanation.
1. Write the allowed set before differentiating
For an objective , the feasible set contains exactly the points satisfying every constraint and domain condition. A global minimum at means for every . A local minimum only compares feasible points sufficiently near . Reverse the inequality for a maximum. An extremum value and the point where it occurs are different parts of the answer.
Compare three sets:
- is an entire line, with no nonnegativity restriction.
- is a closed segment, including two endpoints.
- is a filled closed disk. The equation describes only its boundary circle.
A continuous function on a nonempty closed and bounded subset of attains both a global minimum and a global maximum. This is a useful sufficient condition, not a requirement for every extremum. An unbounded set may still have a minimum; an open set may still contain one. If the theorem does not apply, examine the actual function and whether a proposed bound is attained.
In the procedure below, objectives are differentiable on a neighbourhood of the feasible set, except where a limitation is explicitly discussed. A more general problem also needs separate attention at points where the objective is undefined or not differentiable.
2. A line constraint: solve, then prove the global claim
Find the global extrema of
The unconstrained stationary point is not feasible. Do not use it as a constrained candidate.
Substitute . Because the constraint is the entire line, ranges over all real numbers:
The square is nonnegative and equals zero only at . Therefore the unique global minimum is , attained at . Also, as , so there is no global maximum. The same identity proves both conclusions. Merely finding would not.
Change the allowed set
Add and . Now . The interior candidate still gives ; the endpoint values are
The global minimum remains at , while the global maximum is now at . Check completeness: the reduced derivative vanishes only at , and both endpoints have been included. Adding restrictions changed the maximum question.
3. What Lagrange multipliers actually establish
Suppose and are continuously differentiable near a feasible point , and the equality constraint is . If , every local extremum of along that regular constraint must satisfy
for some real number . These are necessary candidate equations. Solving them does not establish a minimum, maximum, existence or global conclusion by itself. A point with is allowed: it can satisfy the equations with .
Why do parallel gradients appear? Along a differentiable feasible path , the chain rule gives . At a constrained local extremum, the derivative of is also zero. On a regular plane curve, both gradients are perpendicular to the tangent direction. Thus the objective cannot increase to first order along that tangent. Higher-order change may still matter.
For the previous line, use , with . The equations are
Thus , giving and . This agrees with substitution. The completed square, rather than the multiplier value, proves the global minimum and absence of a maximum.
For the nonnegative segment, this regular-curve calculation supplies the interior candidate. The endpoints still need a separate check. They are endpoints of the feasible segment even though the supporting line is smooth.
4. A compact constraint can have several candidates
Find the extrema of on the unit circle . The circle is nonempty, closed and bounded, and the polynomial objective is continuous, so both global extrema exist. Its constraint gradient never vanishes on the circle.
The candidate equations are
Avoid dividing by or before checking whether either can be zero. If , the first equation gives , contradicting the constraint. Likewise is impossible for a candidate. Multiply the first equation by and the second by to obtain . The four candidates are
Same-sign coordinates give ; opposite signs give . Every global extremum must occur among these candidates because the circle has no endpoints or singular constraint points. Therefore the global maximum is , attained at the two same-sign points, and the global minimum is , attained at the other two.
An independent check follows from and : on the circle, . Equality occurs at exactly the listed points. Finding a positive candidate alone would miss the minimum and the second maximum point.
5. A filled region needs interior and boundary checks
Find the extrema of
Continuity and compactness guarantee both global extrema. Partition the search into the interior of the disk and its boundary. Here “interior” means interior in the plane. A point on a constraint circle is not an interior point of a filled disk merely because it is not an endpoint of the circle.
Interior candidates
At a differentiable local extremum in the interior, . Thus
giving . It lies strictly inside the disk and has value .
Boundary candidates
On the circle ,
Since , the boundary minimum is at , and its maximum is at .
The boundary multiplier equations give the same result:
If , the second equation forces , and the first then says , impossible. Hence , and the circle gives . This checks every case without silently dividing by a variable.
Compare the actual objective values
Compare , and . On the whole disk, the global minimum is at , and the global maximum is at . The boundary minimum of is not the minimum on the filled disk. Restricting the problem to the circle would discard the true minimum.
For a region bounded by several smooth edges or arcs, inspect each boundary piece, its endpoints, corners and intersections. For example, a triangle requires its three edges and three vertices in addition to feasible interior stationary points. The circle calculation is not a complete recipe for every possible boundary. This lesson does not introduce general inequality-multiplier conditions.
6. A zero constraint gradient needs separate attention
The Lagrange conclusion above relies on . When this fails, do not conclude that no extremum exists.
Consider with . The constraint implies , and is feasible. Consequently the unique global minimum is at the origin. Yet
so no satisfies there. A feasible parametrization , , gives , confirming the minimum and showing that no global maximum exists. The zero constraint gradient marked a point that needed a direct check.
The chosen equation can also create a problem. Writing the line as leaves the feasible set unchanged, but the new constraint gradient vanishes everywhere on it. Return to the regular equation or substitute directly. A failed regularity hypothesis is not a verdict on the optimization problem.
7. A stationary candidate can still fail to be an extremum
On the regular constraint , take . Lagrange gives , , , so is a candidate. Restricted to the line, however, . Arbitrarily near the origin there are positive and negative values. The candidate is neither a local minimum nor a local maximum along the line, and there is no global extremum on that line.
For comparison, on the same line has , so the origin is its unique global minimum. Both reduced functions have second derivative zero at the origin. A zero second derivative is inconclusive; it does not mean “no extremum.” Use a sign comparison, a higher-order argument or another valid test.
Likewise, applying an unconstrained Hessian test without accounting for allowed directions does not classify a constrained problem. A constraint can remove directions used in an unconstrained comparison. For that distinct skill, use the existing unconstrained stationary-point practice and Hessian classification example, then return to the feasible set here. Those examples are on McGill course pages; they are supplementary topic links, not a claim of course equivalence.
8. Make the last line of the solution defensible
Before writing “minimum” or “maximum,” check:
- Is the point feasible for every condition, including strict inequalities and the objective’s domain?
- What guarantees existence, or what direct argument replaces that guarantee?
- Have you included all relevant interior candidates, boundary pieces, endpoints, corners and points where a derivative or regularity condition fails?
- Did your algebra keep all cases, including zero coordinates or zero multipliers?
- Are you comparing values of the original objective, rather than multiplier values?
- Does your argument establish a local result or a global one? If a bound is only approached, say it is not attained.
Try the guided practice, then return to MAST 218 tutoring. Bring the feasible-set sketch, your complete candidate list and the sentence that justifies your conclusion. A tutor can inspect those decisions before working through more algebra.
Course scope reference: Concordia’s current MAST 218 calendar description. The examples and teaching sequence above are original; the calendar is used only to establish topic scope.
Useful for
Work on the step you’re missing.
Tell us the subject and your preferred time. Nablio confirms the details by text or email.
Request a lesson