看完不会?让 AI 一步步解给你看
Algebra · real student question

求解方程组 5y + 2 + 2zx = 0,5x + 5 + 2zy = 0,x² + y² = 1。

Question

求解方程组

{5y+2+2zx=05x+5+2zy=0x2+y2=1\begin{cases}5y+2+2zx=0\\ 5x+5+2zy=0\\ x^{2}+y^{2}=1\end{cases}

Step-by-step solution

  1. 认出这是拉格朗日乘数法的结构。 这三个式子恰好是在单位圆上对 f(x,y)=5xy+2x+5yf(x,y)=5xy+2x+5y 求驻点的条件:∇f+z∇g=0\nabla f+z\nabla g=0,其中 g=x2+y2−1g=x^{2}+y^{2}-1,而 zz 就是乘子。看出这一点,就能预判共有四组解(两组极大/极小,两组鞍点型),也就明白每一个答案都必须落在圆上。

  2. 把约束参数化。 令 x=cos⁡tx=\cos t、y=sin⁡ty=\sin t,第三个方程自动满足,前两个方程变成

    5sin⁡t+2+2zcos⁡t=0,5cos⁡t+5+2zsin⁡t=05\sin t+2+2z\cos t=0,\qquad 5\cos t+5+2z\sin t=0

  3. 消去乘子 zz。 第一式乘 sin⁡t\sin t、第二式乘 cos⁡t\cos t,再相减;含 2zsin⁡tcos⁡t2z\sin t\cos t 的项正好抵消:

    5sin⁡2t+2sin⁡t−5cos⁡2t−5cos⁡t=05\sin^{2}t+2\sin t-5\cos^{2}t-5\cos t=0

    这个只含 tt 的方程在 [0,2π)[0,2\pi) 上恰有四个根,四组解的个数就是这么来的。

  4. 先读出两组有理解。 其中两个根对应一眼就能认出的点。在 (x,y)=(35,45)(x,y)=\left(\tfrac35,\tfrac45\right) 处,第一式给出 4+2+2z⋅35=04+2+2z\cdot\tfrac35=0,所以 z=−5z=-5;第二式给出 3+5+2(−5)45=8−8=03+5+2(-5)\tfrac45=8-8=0 ✓。在 (x,y)=(−1,0)(x,y)=(-1,0) 处:第一式给出 0+2+2z(−1)=00+2+2z(-1)=0,得 z=1z=1,第二式给出 −5+5+0=0-5+5+0=0 ✓。

  5. 求出剩下两组,它们带着 11\sqrt{11}。 另外两个根满足 20x2+12x−7=020x^{2}+12x-7=0 与 20y2+24y+5=020y^{2}+24y+5=0,于是

    (x,y,z)=(−3+21110, −6−1110, 4+112),(−3−21110, −6+1110, 4−112)\left(x,y,z\right)=\left(\frac{-3+2\sqrt{11}}{10},\ \frac{-6-\sqrt{11}}{10},\ \frac{4+\sqrt{11}}{2}\right),\quad\left(\frac{-3-2\sqrt{11}}{10},\ \frac{-6+\sqrt{11}}{10},\ \frac{4-\sqrt{11}}{2}\right)

  6. 把每个候选解都对三个方程验一遍——尤其是那个约束。 对含 11\sqrt{11} 的这一对,x2+y2=9−1211+44100+36+1211+11100=100100=1x^{2}+y^{2}=\dfrac{9-12\sqrt{11}+44}{100}+\dfrac{36+12\sqrt{11}+11}{100}=\dfrac{100}{100}=1 ✓;把前两个方程展开,用 (11)2=11\left(\sqrt{11}\right)^{2}=11 化简,两式都恰好为 00。这一步检验必不可少:一组不满足 x2+y2=1x^{2}+y^{2}=1 的所谓解,形式再漂亮也是错的。

Answer

(35,45,−5), (−1,0,1), (−3+21110,−6−1110,4+112), (−3−21110,−6+1110,4−112)\left(\tfrac35,\tfrac45,-5\right),\ (-1,0,1),\ \left(\tfrac{-3+2\sqrt{11}}{10},\tfrac{-6-\sqrt{11}}{10},\tfrac{4+\sqrt{11}}{2}\right),\ \left(\tfrac{-3-2\sqrt{11}}{10},\tfrac{-6+\sqrt{11}}{10},\tfrac{4-\sqrt{11}}{2}\right)

Need to solve a different problem like this? Open the solver →