Goldberg Variations
New member
- Joined
- Feb 24, 2012
- Messages
- 16
Hello!
I'm learning math on my own and I'm having a hard time solving the following question (It's translated from my native language to English):
"Find the largest value for the function \(\displaystyle f(x, y) = x^2 + 2xy + 3y^2\)
When" \(\displaystyle x^2 + y^2 = 1\)
And that's it. From my understanding I have to use something called Lagrange? Anyway my first step was to set it up as:
My constraint (\(\displaystyle x^2 + y^2 = 1\), I assume)
\(\displaystyle x^2 + 2xy + 3y^2 - \lambda(x^2+y^2-1) = F(x, y, \lambda)\)
Simplified to:
\(\displaystyle x^2 + 2xy + 3y^2 -\lambda x^2 + \lambda y^2 - \lambda\)
Then I derive (is that the right word?)
\(\displaystyle Fx = 2x + 2 - \lambda2x\)
Solved x to:
\(\displaystyle x = \sqrt{\lambda-2}\)
\(\displaystyle Fy = 2 + 6y - \lambda2y\)
Solved y to:
\(\displaystyle y = (\sqrt{\lambda-2})/3\)
And finally...
\(\displaystyle F\lambda = -x^2-y^2+1\)
Solved it to:
\(\displaystyle \lambda = 1/2\)
Needless to say I get some really strange values. I am sure I have done something terribly wrong here if even anything right at all.
Please if anyone here could help me or point me in the right direction I would really appreciate it!
Thanks in advance!
I'm learning math on my own and I'm having a hard time solving the following question (It's translated from my native language to English):
"Find the largest value for the function \(\displaystyle f(x, y) = x^2 + 2xy + 3y^2\)
When" \(\displaystyle x^2 + y^2 = 1\)
And that's it. From my understanding I have to use something called Lagrange? Anyway my first step was to set it up as:
My constraint (\(\displaystyle x^2 + y^2 = 1\), I assume)
\(\displaystyle x^2 + 2xy + 3y^2 - \lambda(x^2+y^2-1) = F(x, y, \lambda)\)
Simplified to:
\(\displaystyle x^2 + 2xy + 3y^2 -\lambda x^2 + \lambda y^2 - \lambda\)
Then I derive (is that the right word?)
\(\displaystyle Fx = 2x + 2 - \lambda2x\)
Solved x to:
\(\displaystyle x = \sqrt{\lambda-2}\)
\(\displaystyle Fy = 2 + 6y - \lambda2y\)
Solved y to:
\(\displaystyle y = (\sqrt{\lambda-2})/3\)
And finally...
\(\displaystyle F\lambda = -x^2-y^2+1\)
Solved it to:
\(\displaystyle \lambda = 1/2\)
Needless to say I get some really strange values. I am sure I have done something terribly wrong here if even anything right at all.
Please if anyone here could help me or point me in the right direction I would really appreciate it!
Thanks in advance!