- #1
hiigaranace
- 10
- 0
Hey all, this is my first post, so I apologize in advance if data are missing/format is strange/etc.
I'm working with lagrange multipliers, and I can get to the answer about half the time. The problem is, I'm not really sure how to deal with things when the multiplier equation becomes recursive, like in this problem:
"Find the maximum and minimum values of x2+y2 subject to the constraint x2-2x+y2-4y=0"
[tex]\grad{}[/tex]f(x, y) = [tex]\lambda\grad{}[/tex]g(x, y)
...those are supposed to be gradient symbols. They're a little different from what I'm used to seeing, but that's apparently what LaTeX thinks it should be.
I let f be the equation to maximize and minimize, and let g the constraint equation. this gave me:
2x[tex]\vec{i}[/tex]+2y[tex]\vec{j}[/tex] = [tex]\lambda[/tex](2x-2)[tex]\vec{i}[/tex]+[tex]\lambda[/tex](2y-4)[tex]\vec{j}[/tex]
Then, you split it to deal with one direction at a time, giving two equations:
2x = [tex]\lambda[/tex](2x-2) 2y=[tex]\lambda[/tex](2y-4)
Annnnnnnd here's where I get stuck. I need to get everything in terms of one variable so I can put that into the constraint equation and solve for the coordinates, but when I try that, I either get X or Y on both sides of the equation (like above), or I wind up with the lambda isolated, but an expression for X or Y that necessitates their presence in the equation. I suspect I'm making some algebraic misstep (so weird, I can do calc, but algebra always kills me), rather than a calculus one, but I'm not sure. What should I do next?
Thanks!
I'm working with lagrange multipliers, and I can get to the answer about half the time. The problem is, I'm not really sure how to deal with things when the multiplier equation becomes recursive, like in this problem:
Homework Statement
"Find the maximum and minimum values of x2+y2 subject to the constraint x2-2x+y2-4y=0"
Homework Equations
[tex]\grad{}[/tex]f(x, y) = [tex]\lambda\grad{}[/tex]g(x, y)
...those are supposed to be gradient symbols. They're a little different from what I'm used to seeing, but that's apparently what LaTeX thinks it should be.
The Attempt at a Solution
I let f be the equation to maximize and minimize, and let g the constraint equation. this gave me:
2x[tex]\vec{i}[/tex]+2y[tex]\vec{j}[/tex] = [tex]\lambda[/tex](2x-2)[tex]\vec{i}[/tex]+[tex]\lambda[/tex](2y-4)[tex]\vec{j}[/tex]
Then, you split it to deal with one direction at a time, giving two equations:
2x = [tex]\lambda[/tex](2x-2) 2y=[tex]\lambda[/tex](2y-4)
Annnnnnnd here's where I get stuck. I need to get everything in terms of one variable so I can put that into the constraint equation and solve for the coordinates, but when I try that, I either get X or Y on both sides of the equation (like above), or I wind up with the lambda isolated, but an expression for X or Y that necessitates their presence in the equation. I suspect I'm making some algebraic misstep (so weird, I can do calc, but algebra always kills me), rather than a calculus one, but I'm not sure. What should I do next?
Thanks!