Lagrange Method Problem

nikhilmaheshwari

New member
Joined
Sep 23, 2020
Messages
2
Maximize
f(x)=5x1+3x2f(x)=5x1+3x2
Subject to
g1(x)=x1+2x2+x3−6=0g1(x)=x1+2x2+x3−6=0
g2(x)=3x1+x2+x4−9=0g2(x)=3x1+x2+x4−9=0
x1,x2,x3≥0
 
Hi, sorry but that question is given to us from our company person and I really don't know anything about Linear Problems, can you solve this for me..?
Please ask that company person to contact us - with 'work' - so that we can know where to begin to help.....
 
By the way, it is a problem in linear programming and has nothing to do with differential equations.
 
You titled this "Lagrange Method Problem". Do you know what the "Lagrange Method" is?

The "Lagrange Method" (also called the "Lagrange Multipler Method") for minimizing (or maximizing) the function F(x1,x2,x3)\displaystyle F(x_1, x_2, x_3) subject to constraints g1(x1,x2,x3)=A\displaystyle g_1(x_1, x_2, x_3)= A, g2(x1,x2,x3)=B\displaystyle g_2(x_1, x_2, x_3)= B, etc. is to minimize (or maximize) F(x1,x2)λ1g1(x1,x2,x3)λ2g2(x1,x2,x3)+\displaystyle F(x_1, x_2)- \lambda_1 g_1(x_1, x_2, x_3)- \lambda_2 g_2(x_1, x_2, x_3)+ \cdot\cdot\cdot. Take the derivatives with respect to x1\displaystyle x_1, x2\displaystyle x_2, x3\displaystyle x_3 and all of the "λ\displaystyle \lambda"s and set them equal to 0. With n constraints, so n "λ\displaystyle \lambda"s, that gives n+ 3 equations to solve for x1\displaystyle x_1,x2\displaystyle x_2, x3\displaystyle x_3, and the "λ\displaystyle \lambda"s. Since specific values for the "λ\displaystyle \lambda"s is not necessary for a solution, it is often simplest to eliminate them by dividing one equation by another.
 
You might ask your "company person" to clarify the question. Your function has only x1\displaystyle x_1 and x2\displaystyle x_2 while your constraints also involve x4\displaystyle x_4 but you have conditions that x1\displaystyle x_1, x2\displaystyle x_2, and x3\displaystyle x_3 are non-negative with no mention of x4\displaystyle x_4! I am going to assume that the "x4\displaystyle x_4" in the second constraint was supposed to be "x3\displaystyle x_3.

Here the function is F(x1,x2,x3)=5x1+3x2\displaystyle F(x_1, x_2, x_3)= 5x_1+ 3x_2 (no "x3\displaystyle x_3"?) and the constraints are g1(x1,x2,x3)=x1+2x2+x3=6\displaystyle g_1(x_1, x_2, x_3)= x_1+ 2x_2+ x_3= 6 and
g2(x1,x2,x3)=3x1+x2+x3=9\displaystyle g_2(x_1, x_2, x_3)= 3x_1+ x_2+ x_3= 9.

So F(x1,x2,x3)=5x1+3x2+λ1(x1+x2+x3)+λ2(3x1+x2+x3)\displaystyle F(x_1, x_2, x_3)= 5x_1+ 3x_2+ \lambda_1(x_1+ x_2+ x_3)+ \lambda_2(3x_1+ x_2+ x_3).

The derivative with respect to x1\displaystyle x_1 is 5+λ1+3λ2=0\displaystyle 5+ \lambda_1+ 3\lambda_2= 0.
The derivative with respect to x2\displaystyle x_2 is 3+λ1+2λ2=0\displaystyle 3+ \lambda_1+ 2\lambda_2= 0.
The derivative with respect to x3\displaystyle x_3 is λ1+λ2=0\displaystyle \lambda_1+ \lambda_2= 0.
The derivative with respect to λ1\displaystyle \lambda_1 is x1+x2+x3=0\displaystyle x_1+ x_2+ x_3= 0.
The derivative with respect to λ2 is 3x1+x2+x3=0\displaystyle \lambda_2 \ is \ 3x_1+ x_2+ x_3= 0.

Solve those four equations for x1\displaystyle x_1, x2\displaystyle x_2. You could, of course, solve for λ1\displaystyle \lambda_1 and λ2\displaystyle \lambda_2 but those are not asked.[/tex]
 
Top