Skip to content
Back to exploration
Calculus / Chinese

Constrained extrema

Charles队长 · Bilibili · 1:14

Open original
READ & KEEP

The explanation, unpacked.

Reviewed learning material · Video analysis · English
Read the full overview

This video visually demonstrates the geometric meaning of Lagrange multipliers in constrained optimization using a 3D animation. It uses the objective function f(x,y)=x2+y2f(x,y) = x^2 + y^2 and the constraint g(x,y)=x2+y2/2−1=0g(x,y) = x^2 + y^2/2 - 1 = 0 as examples. The animation shows that at the extremum points, where the level curves of the objective function are tangent to the constraint curve, their gradient vectors are parallel. This leads to the equation ∇f=λf = λ∇g, which is then solved to find four specific critical points.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Introduction to Constrained Extrema and Objective Function0:08Displaying Constraint Condition and Level Curves0:23Geometric Representation of Gradients0:27Setting up Lagrange Multiplier Equations0:49Summarizing Geometric Meaning of Extremum Points

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The video introduces the concept of conditional extrema problems. A 3D paraboloid representing the objective function f(x,y)=x2+y2f(x,y) = x^2 + y^2 is displayed.

A constraint condition g(x,y)=x2+y2/2−1=0g(x,y) = x^2 + y^2/2 - 1 = 0 is added, represented by an ellipse on the xy-plane. Concentric circles labeled 'level curves' appear around the origin.

Blue arrows represent the gradient of the objective function (∇f), pointing outward from the center. Yellow arrows represent the gradient of the constraint function (∇g).

The core principle of Lagrange multipliers is introduced: ∇f=λf = λ∇g. Specific equations for this example are shown: 2x=λ(2x)2x = λ(2x) and 2y=λ(y)2y = λ(y). Combined with the constraint equation, they form a system.

Solving the system yields four critical points: (0, √2), (0, -√2), (1, 0), and (-1, 0). Text explains that at these extremum points, the gradients of the objective function and the constraint condition are parallel, illustrating the geometric significance of the method.

Knowledge cards

01

Objective and Constraint Functions

The problem seeks extrema for f(x,y)f(x,y) subject to g(x,y)=0g(x,y)=0. In the visual, f is a circular paraboloid and its level curves are concentric circles, while g defines an elliptical boundary.

f(x,y)=x2+y2,g(x,y)=x2+y22−1=0f(x,y) = x^2 + y^2, \quad g(x,y) = x^2 + \frac{y^2}{2} - 1 = 0
02

Gradient Vectors

Gradients point in the direction of steepest ascent and are perpendicular to level curves. Blue arrows show ∇f radiating from the origin, while yellow arrows show ∇g normal to the ellipse.

∇f=⟨2x,2y⟩,∇g=⟨2x,y⟩\nabla f = \langle 2x, 2y \rangle, \quad \nabla g = \langle 2x, y \rangle
03

Lagrange Multiplier Equation

At a regular constraint point with C1 functions and nonzero constraint gradient, a constrained local extremum must have parallel gradients. This is necessary, not sufficient; compare values or use further tests.

∇f=λ∇g\nabla f = \lambda \nabla g
04

System of Equations

By equating components of the gradients and including the original constraint, we get a solvable algebraic system to find candidate points for maxima and minima.

2x=λ(2x),2y=λ(y),x2+y22−1=02x = \lambda(2x), \quad 2y = \lambda(y), \quad x^2 + \frac{y^2}{2} - 1 = 0
05

Critical Points Solution

Solving the system reveals four intersection/tangency points where the level curves touch the constraint ellipse. These are the candidates for conditional extrema. On the compact ellipse, (±1,0) have value 1 and are global minima; (0,±√2) have value 2 and are global maxima.

(0,2),  (0,−2),  (1,0),  (−1,0)(0, \sqrt{2}), \; (0, -\sqrt{2}), \; (1, 0), \; (-1, 0)

Explore the knowledge in this video

Open video knowledge graph →

  • Optimization ExplanationAt 0:00
    Why this connection?

    Reviewed current material explains constrained optimization with Lagrange multipliers, including the regularity condition, necessary gradient equation, candidate system, and comparison of extrema.

Questions this video answers

Find a method

↗
Meet the concept

↗
Meet the concept

↗
Understand why

↗