返回题库

拉格朗日乘子:原点到平面的最短距离

Lagrange Multipliers

专题
General / 综合
难度
L4

题目详情

求原点到平面 2x+3y+4z=122x+3y+4z=12 的最短距离。

For maximizing/minimizing f(x,y,z,)f(x,y,z,\dots) under a constraint g(x,y,z,)=0,g(x,y,z,\dots)=0, define >L(x,y,z,λ)>=f(x,y,z)>+λg(x,y,z),>> \mathcal{L}(x,y,z,\lambda) > = f(x,y,z) > + \lambda\,g(x,y,z), > then set all partial derivatives to 0.

Question: Find the shortest distance from the origin to the plane 2x+3y+4z=122x+3y+4z=12.

解析

最小化 D2=x2+y2+z2D^2=x^2+y^2+z^2,约束 2x+3y+4z=122x+3y+4z=12

用拉格朗日乘子或直接套点到平面距离公式:

D=1222+32+42=1229.D=\frac{|12|}{\sqrt{2^2+3^2+4^2}}=\frac{12}{\sqrt{29}}.

Original Explanation

Minimize D2=x2+y2+z2D^2=x^2+y^2+z^2 subject to 2x+3y+4z=12.2x+3y+4z=12.
Construct L(x,y,z,λ)=x2+y2+z2+λ(2x+3y+4z12).\mathcal{L}(x,y,z,\lambda) = x^2 + y^2 + z^2 + \lambda\,(2x+3y+4z-12). Setting partial derivatives to 0: {2x+2λ=0,2y+3λ=0,2z+4λ=0,2x+3y+4z=12.\begin{cases} 2x + 2\lambda = 0,\\ 2y + 3\lambda = 0,\\ 2z + 4\lambda = 0,\\ 2x + 3y + 4z = 12. \end{cases} Solve to get x=2429,y=3629,z=4829,x=\tfrac{24}{29},\,y=\tfrac{36}{29},\,z=\tfrac{48}{29}, so D=x2+y2+z2=1229.D = \sqrt{x^2+y^2+z^2} = \frac{12}{\sqrt{29}}.

(Alternatively, use the plane-to-point distance formula da2+b2+c2.\,\tfrac{|\,d\,|}{\sqrt{\,a^2+b^2+c^2\,}}.)