#max of sum
269 messages · Page 1 of 1 (latest)
What have u tried?
try getting this in terms of x
There’s 2 main approaches here
Not really ideal
One is using Lagrange multipliers
sould i remplace x by sqrt( 1 -y square) ?
And the other is parametrisation
tbfair on second thought that sounds really tedious (wrt substitution)
No, that’s not right
First off
You can simplify your expression
Into a simpler problem
Before doing anything else
Do you see how? @sudden hare
That’s one approach yes
But don’t do it yet
You can simplify the problem
Just by doing some algebraic manipulation
Do you see how?
Also there is also a neat secret third approach, using AM-GM
AM-GM ?
okok
Do you see this?
nop
yes yes
if u want
i need the method npt the solution
Yes
So this is only a first step
To make the problem somewhat easier
Try and make use of the fact that x^2 + y^2 = 1
In the expression -x^2 + 10xy + 23y^2
And simplify it, by adding 0
That’s the hint
Should I substitute?
You can use latex here
Yes so far you have -x^2 + 23y^2
As terms
But that’s far from x^2 + y^2
to factorise this ?
To make it look like x^2 + y^2
oh ok $
Up to some factor
yes pls
b =a-1 so 2b =2(a-1) so a^b=a^a(a-1)
Okay let me try something else
Say we knew a = 1
And we wanted to simplify a+b
and ab=1 ?
No ignore that
okok
New example
a=1 so 1+b
Mhm
Now, in our problem above
We can think of x^2 + y^2 as being the same as a
I.e a = 1
And we want to find a in -x^2 + 10xy + 23y^2
Now how do we do this?
We something very close it
yes
Want me to reveal it?
yeah
add 23x^2 - 23x^2 to - x^2 + 10xy + 23y^2
I’m adding 0 here
So nothing changes
AHHHHH
-x^2 + 10xy +23
ah no no
.
yes yes
No spoilers @subtle bough
What do u get after simplification?
??
-24x^2+10xy+23
Don’t spoil it @subtle bough
keep going
You can get it
-x^2 + 10xy + x((23/x)+23x
@sudden hare you don’t have to overthink it
mmmh
You simply forgot to add the -23x^2
So you get this expression
ah i knew
just i think you knew too that i knew
Hm it wasn’t clear
yes
This is where I wanted you to arrive
Because now the problem is easier to solve
If you complete the square
You’ll see that you can reduce the problem even further
oh 23 is 24-1 and i factorise
wait 1= x^2 + y^2 so i remplace that ?
Sure you could do that actually
ok wait
So 24(y^2 + 5xy/12) - 1
yes
Now
There’s different approaches here
But let’s try the one that doesn’t require any special knowledge
Just complete the square of y^2 + 5xy/12
huh
As in rewrite it in the form (a+b)^2
its -
ok
?
not +
bc that
That was different because i factored -
yes
But then i followed ur suggestion of using this again
On this
oh ok
Since y^2 = -x^2 + 1
Progress?
no
no
Have you seen (a+b)^2 = a^2 + 2ab + b^2 before?
yes
I want you to try and go backwards
but wait
Hm?
i add x^2 and -x^2
Would u agree that (y+5x/24)^2 = y^2 + 5xy/12 + 5^2/24^2?
why
Set a = (y + 5x/12)^2
yes ?
yes
So the only way to maximise this is
Is to maximise a
Now you can do what u suggest from the start
it's fnish i must derivate that and thats all
ah its easy i think
Use chain rule for example
yes
its 24 instead of 12 $
Oops yes
and i have to solve an equation when it's equal 0
Mhm
It might also be easier to approach the problem of differentiating differently
Since you know ()^2 is behaved nicely
So you might get away by studying the inside instead
Im pretty sure you rewrite the inside into one sinus
sin x + 5cosx/24 can be rewritten with trigonometry
Before you differentiate
yes exactly
But also it’s sufficient to find when the inside is maximised
So you can ignore ^2
By finding the amplitude of this
You’re done
Which can even be achieved without calculus
Just plain trigonometry
idk how
If you don’t know, then just differentiate and find max
Of sin x + 5cosx /24
Then square that max
ahhh yes
And put it in the expression from before
Thank you for your patience and for taking the time to explain this to me.
In what grade are you?
Ok
Heyyy
I am in 12th grade but ig ik how to solve it
First make the above equation in just 1 term
Either x or y
Totally your choice
The 2nd one
And then differentiate the equation
And put it equal to zero
And simplify to the value of x
And use that value to get the value of Y
have you learned quadratic forms in linalg?