Forgot password?
 Create new account
View 141|Reply 1

[WolframAlpha]Local minima有误

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-5-24 20:49:02 |Read mode
Last edited by hbghlyj at 2023-7-26 09:55:00
kuing 发表于 2017-9-10 10:07
很简单啊,首先通过消元后求导(又或者用拉格朗日乘数)算一下极值点,发现极值点有负数,可见最值只能在边 ...

几何上,到两个平面的距离的乘积,没有极值点,但WolframAlpha出错 Screenshot 2023-05-24 at 13-59-14 minimize (x 3y 5z)(x y_3 z_5) subject to x y z.png
\begin{split}f&=(x+3y+5z)\left(x+\frac{y}{3}+\frac{z}{5}\right)\\
&=\left(x+3y+5(1-x-y)\right)\left(x+\frac{y}{3}+\frac{1-x-y}{5}\right)\\
&=(-4x-2y+5)\left(\frac{x}{5}+\frac{y}{15}+\frac{1}{5}\right)\end{split}
$x\to-\infty,y=0$时$f\to-\infty$

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

 Author| hbghlyj Posted at 2023-5-24 20:57:21

Mathematica

  1. ResourceFunction["GlobalMinima"][{(x+3 y+5 z) (x+y/3+z/5),x+y+z==1},{x,y,z}]
Copy the Code

输出{}

手机版Mobile version|Leisure Math Forum

2025-4-20 21:54 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list