Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Having difficulties with Lagrange Multipliers' topicStudent Support Forum > General > "Having difficulties with Lagrange Multipliers"

Next Comment >Help | Reply To Topic
Author Comment/Response
proxy101
07/31/05 01:47am

I have a problem using Mathematica with Lagrange Multipliers, basically the problem is to find the largest and smallest values of f(x+y)=x^3+y^3 which lie on the curve 3x^3+4xy+y^4=7... So currently What I have done is the following:

f[x_, y_] := x^3 + y^3

g[x_, y_] := 3*x^3 + 4*x*y + y^4 -7

gradf[x, y] = {∂\_x\ f[x, y], ∂\_y f[x, y]}

N[Solve[{gradf[x, y] = λ*gradg[x, y], g[x, y] = 0}, {x, y, λ}]]

But I keep on getting: Solve::elist: List encountered during logical... What should I do to fix it? I want to find the critical points and then from there final max and min values....

URL: ,

Subject (listing for 'Having difficulties with Lagrange Multipliers')
Author Date Posted
Having difficulties with Lagrange Multipliers proxy101 07/31/05 01:47am
Re: Having difficulties with Lagrange Multipliers yehuda ben-s... 07/31/05 5:44pm
Re: Having difficulties with Lagrange Multipliers Daniele Lupo 08/01/05 06:23am
Re: Having difficulties with Lagrange Multipliers Alek 08/01/05 10:26pm
Next Comment >Help | Reply To Topic