Lagrange Multiplier Method
Lagrange Multiplier Method
The End of Inequality: ""
Prerequisite knowledge - partial derivatives#
In a nutshell: principal element derivative.
For a function , its partial derivative with respect to = taking as a constant to find the derivative of .
For example: , its partial derivative with respect to = .
Usage#
Given , find the maximum (note that for you need to make ).
Let and find the partial derivatives of respectively .
Let respectively, we get three equations, according to these 3 equations solve , then is the *extreme value of the function *.
Then some questions may have restrictions, so throw them aside first and then count the values according to the restrictions at the end.
OK, so now use it for a question:
, find the maximum and minimum values of .
Let , then the question becomes , , and find the maximum value of .
Let and list:
- - -
Finally bring in and work out .
Maximum value is , minimum value is
Ex#
What about the three parameters ?
This requires two known equations, then set two parameters and solve in the same way.
More parameters in the same way.
Summary#
- When there is nothing can do, pull the multiplication of broken moves.
For some oddly tricky or computationally intensive problems, you can use the Lagrange multiplier method.
作者:Into_qwq
出处:https://www.cnblogs.com/into-qwq/p/lagrange-multiplier-method.html
版权:本作品采用「qwq」许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现