8.在抛物面z=x^2+y^2 被平面x+y+z=1 所截成的椭圆上,求到原点的最长和最短的距离.
8.在抛物面z=x^2+y^2 被平面x+y+z=1 所截成的椭圆上,求到原点的最长和最短的距离.
椭圆方程为(x+1/2)^2+(y+1/2)^2-3/2 =0
引入拉格朗日函数:
F(x,y,λ)=x^2+y^2+λ[(x+1/2)^2+(y+1/2)^2-3/2 ]
求偏导:
Fx=2x+2λ(x+1/2)
Fy=2y+2λ(y+1/2)
Fλ=(x+1/2)^2+(y+1/2)^2-3/2
三个方程联立得,x^2=y^2=(2± √3)/2
由z=x^2+y^2得z=2± √3
所以
d=√(x^2+y^2+z^2)=√(9±5√3)
d(min)=√(9-5√3)
d(max)=√(9+5√3)
z=x^2+y^2
x+y+z=1
椭圆方程为(x+1/2)^2+(y+1/2)^2=3/2
z=1-x-y
原点到这椭圆上点的距离r=根号{x^2+y^2+z^2}
极值点坐标满足dr/dx=0
dr/dx=[2x+2y*dy/dx+2z*dz/dx]/2r
=x+y*dy/dx+(1-x-y)*(-1-dy/dx)
=(2x+y-1)+(x+2y-1)*dy/dx
对椭圆方程求导2*(x+1/2)+2*(y+1/2)*dy/dx=0
dy/dx=-(2x+1)/(2y+1)
dr/dx=(2x+y-1)-(x+2y-1)*(2x+1)/(2y+1)
=(2x+2y-3)*(y-x)/(2y+1)
dr/dx=0,=> (2x+2y-3)*(y-x)=0
x=y=+(-)根号3/2-1/2 ; x+y=3/2>1(舍去)
r=根号{x^2+y^2+z^2}=根号{2x^2+4y^2}=根号{(11+(-)6*根号3)/2}
r(min)=根号{(11-6*根号3)/2}
r(max)=根号{(11+6*根号3)/2}