Results 1 to 2 of 2

Math Help - Lagrangian Fucntion.

  1. #1
    Member
    Joined
    Jul 2009
    Posts
    149

    Lagrangian Fucntion.

     36x - 2x^2+48y-3y^2

    Constraint of x+y = 15.

    Can someone check to see if i am doing this correctly. I keep coming up with the wrong answer.
     L = 36x - 2x^2+48y-3y^2 - \lambda (x+y-15)

     L_x = 36 - 4x - \lambda

     L_y = 48- 6y - \lambda

     L_{\lambda} = -x- y +15


     x= \frac{\lambda-36}{-4}

     y = \frac{\lambda-48}{-6}

     \lambda = -\frac{\lambda-36}{-4}-\frac{\lambda-48}{-6}+15

     \lambda = \frac{\lambda-36}{4}+\frac{\lambda-48}{6}+15


     \lambda = \frac{3\lambda-108}{12}+\frac{2\lambda-96}{12}+15=0

     \frac{5\lambda-204}{12}=15

    5\lambda -204 =180

     5\lambda = 384

     \lambda=76.8

    I have gone wrong somewhere in here but can't figure out where.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Aug 2009
    Posts
    80
    Quote Originally Posted by el123 View Post
     36x - 2x^2+48y-3y^2

    Constraint of x+y = 15.

    Can someone check to see if i am doing this correctly. I keep coming up with the wrong answer.
     L = 36x - 2x^2+48y-3y^2 - \lambda (x+y-15)

     L_x = 36 - 4x - \lambda

     L_y = 48- 6y - \lambda

     L_{\lambda} = -x- y +15


     x= \frac{\lambda-36}{-4}

     y = \frac{\lambda-48}{-6}

     \lambda = -\frac{\lambda-36}{-4}-\frac{\lambda-48}{-6}+15

     \lambda = \frac{\lambda-36}{4}+\frac{\lambda-48}{6}+15


     \lambda = \frac{3\lambda-108}{12}+\frac{2\lambda-96}{12}+15=0

     \frac{5\lambda-204}{12}=15

    5\lambda -204 =180

     5\lambda = 384

     \lambda=76.8

    I have gone wrong somewhere in here but can't figure out where.
    I assume you're talking about Lagrange multipliers. Set f(x, y) = 36x - 2x^2 + 48y - 3y^2, g(x, y) = x + y. Taking grad(f) = lambda*grad(g), we have

    36 - 4x = lambda,
    48 - 6y = lambda,
    x + y = 15.

    Solve this system of equations.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Complex Analysis - Partial Fractions and Entire fucntion
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: September 14th 2010, 03:41 AM
  2. Help with fucntion's Continuity check
    Posted in the Calculus Forum
    Replies: 3
    Last Post: July 3rd 2010, 09:03 AM
  3. Fourier series for a not even or odd fucntion
    Posted in the Calculus Forum
    Replies: 3
    Last Post: February 28th 2010, 10:54 AM
  4. Replies: 3
    Last Post: March 24th 2009, 09:44 AM
  5. fucntion inverse
    Posted in the Math Topics Forum
    Replies: 4
    Last Post: November 9th 2008, 01:59 PM

Search Tags


/mathhelpforum @mathhelpforum