Bah calculus calculus & more calculus

  • Thread starter Thread starter mathstruggle
  • Start date Start date
  • Tags Tags
    Calculus
Click For Summary

Homework Help Overview

The discussion revolves around finding the minimum value of the function f = xy + z² under the constraint 2x - y = 8. Participants also explore the equilibrium and general solutions to a differential equation involving sin(y), but the specifics of the equation are unclear.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to apply Lagrange multipliers but expresses uncertainty about their understanding of the method. They question the correctness of their calculations and the values of λ obtained.
  • Some participants suggest substituting directly into the function to minimize it, while others affirm the use of Lagrange multipliers as a valid approach.
  • There is confusion regarding the formulation of the differential equation for equilibrium solutions and general solutions, with requests for clarification on the problem statement.

Discussion Status

The discussion is ongoing, with participants providing guidance on the use of Lagrange multipliers and questioning the original poster's understanding. There is a lack of consensus on the correct approach to the differential equation, and some participants express frustration over the communication style in the forum.

Contextual Notes

The original poster mentions that they were not taught how to handle problems involving sin, cos, and tan, which may impact their ability to engage with the differential equation aspect of the discussion.

mathstruggle
Messages
2
Reaction score
0
got a simple problem.
the question is find min value for f=x*y+(z^2) with constraints 2*x -y=8, and co-ordinates where it occurs.
so far what i did.
▽f=λ*▽g
F(x,y,z)=f(x,y)-λg(x,y,z)
F=(xy+z^2)-λ(2x-y-8)

y=2λ
x=λ

i got λ=-2

is this right? and is that the only λ value?

how do i even start to find equilibrium solutions & general solution to ((t/2)-2)*sin(y), we weren't taught or shown how to find it involving sin,cos, tan?
for general solution i should take it as separable to find the general solution? but how do i start? sin, cos, tan bah
 
Last edited:
Physics news on Phys.org
you could probaby substitute directly into that function & minimise
 
otherwise lagrange multipliers are alway good...
 
mathstruggle said:
got a simple problem.
the question is find min value for f=x*y+(z^2) with constraints 2*x -y=8, and co-ordinates where it occurs.
so far what i did.
▽f=λ*▽g
F(x,y,z)=f(x,y)-λg(x,y,z)
F=(xy+z^2)-λ(2x-y-8)

y=2λ
x=λ

i got λ=-2

is this right? and is that the only λ value?
I think you are trying to use "Lagrange multipliers" as lanedance suggested but you seem to have no idea how to do that.

You write, correctly, that [itex]\nabla f= \lambda \nabla g[/itex] but then "F(x,y,z)=f(x,y)-λg(x,y,z)" and "F=(xy+z^2)-λ(2x-y-8)" which have nothing to do with what you wrote previously.

[itex]\nabla f[/itex] is the vector [itex]y\vec{i}+ x\vec{j}+ 2z\vec{k}[/itex] and [itex]\nabla g= 2\vec{i}- \vec{j}[/itex].

"[itex]\nabla f= \lambda \nabla g[/itex]" is now
[itex]y\vec{i}+ x\vec{j}+ 2z\vec{k}= \lambda 2\vec{i}- \vec{j}[/itex]

Looking at the individual components of that, [itex]y= 2\lambda[/itex], [itex]x= -\lambda[/itex], and [itex]z= 0[/itex].

Now, you have [itex]y= 2\lambda[/itex] but you have [itex]x= \lambda[\itex] rather than [itex]x= -\lambda[/itex]. Perhaps that is just a typo. In any case, they do <b>not</b> give "[itex]\lambda= -2[/itex] because you have no reason to believe x= -2 or y= -4!.<br /> <br /> Rather, [itex]x= -\lambda[/itex] says that [itex]\lambda= -x[/itex] and so [itex]y= 2\lambda= -2x[/itex]. Putting that into the constraint 2x- y= 8 gives 2x+ 2x= 4x= 8 so x= 2 and y= -4. The solution is (2, -4, 0).<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> how do i even start to find equilibrium solutions & general solution to ((t/2)-2)*sin(y), we weren't taught or shown how to find it involving sin,cos, tan? <br /> for general solution i should take it as separable to find the general solution? but how do i start? sin, cos, tan bah </div> </div> </blockquote> Is this a completely different problem? Then <b>what</b> is the problem? I associate "equilibrium solutions & general solution" with differential equations but you give no differential equation. Are you talking about dy/dt= ((t/2)- 2)sin(y) or some other problem? Please state the entire problem.<br /> <br /> And a general suggestion: if you want people who are really good at math to help you (hopefully more politely than I did), stop dissing mathematics![/itex]
 
HallsofIvy said:
I think you are trying to use "Lagrange multipliers" as lanedance suggested but you seem to have no idea how to do that.

You write, correctly, that [itex]\nabla f= \lambda \nabla g[/itex] but then "F(x,y,z)=f(x,y)-λg(x,y,z)" and "F=(xy+z^2)-λ(2x-y-8)" which have nothing to do with what you wrote previously.

[itex]\nabla f[/itex] is the vector [itex]y\vec{i}+ x\vec{j}+ 2z\vec{k}[/itex] and [itex]\nabla g= 2\vec{i}- \vec{j}[/itex].

"[itex]\nabla f= \lambda \nabla g[/itex]" is now
[itex]y\vec{i}+ x\vec{j}+ 2z\vec{k}= \lambda 2\vec{i}- \vec{j}[/itex]

Looking at the individual components of that, [itex]y= 2\lambda[/itex], [itex]x= -\lambda[/itex], and [itex]z= 0[/itex].

Now, you have [itex]y= 2\lambda[/itex] but you have [itex]x= \lambda[\itex] rather than [itex]x= -\lambda[/itex]. Perhaps that is just a typo. In any case, they do <b>not</b> give "[itex]\lambda= -2[/itex] because you have no reason to believe x= -2 or y= -4!.<br /> <br /> Rather, [itex]x= -\lambda[/itex] says that [itex]\lambda= -x[/itex] and so [itex]y= 2\lambda= -2x[/itex]. Putting that into the constraint 2x- y= 8 gives 2x+ 2x= 4x= 8 so x= 2 and y= -4. The solution is (2, -4, 0). Is this a completely different problem? Then <b>what</b> is the problem? I associate "equilibrium solutions & general solution" with differential equations but you give no differential equation. Are you talking about dy/dt= ((t/2)- 2)sin(y) or some other problem? Please state the entire problem.<br /> <br /> And a general suggestion: if you want people who are really good at math to help you (hopefully more politely than I did), stop dissing mathematics![/itex]
[itex]i didn't diss maths. why would i diss maths if I am majoring in maths? its called sense of humour. last time I am using this forum, its like dictatorship here no freedom.[/itex]
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K