Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Lagrange Multipliers (and finding extrema of a function with two restraints)

  1. Feb 27, 2006 #1
    I need to find the extrema of f(x,y,z)=x+y+z subject to the restraints of x^2 - y^2 = 1 and 2x+z = 1. So the gradient of f equals (1,1,1) =
    lambda1(2x,-2y,0) + lambda2(2,0,1). Solving for the lambdas I found that lambda1 = -1/(2x) = -1/(2y), or x=y. But this isn't possible if x^2 - y^2 = 1. Does this mean that there are no absolute max or min, or am I doing something wrong?
     
  2. jcsd
  3. Feb 28, 2006 #2

    HallsofIvy

    User Avatar
    Science Advisor

    It may mean that the max or min is on the boundary of the set.
     
    Last edited by a moderator: Feb 28, 2006
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook