#How does one do this?

18 messages · Page 1 of 1 (latest)

noble rampart
unique rapidsBOT
shell shale
#

For the first one you gotta integrate correctly in the first place

#

Integral of x+6 wrt x doesn't get you x^2+6x

#

And it's not exactly adding the two integrals you should do

noble rampart
#

i meann i thought you had to work backwards

shell shale
#

For the second one, ok you integrate 4x+4y wrt x, you can get 2x^2+4xy**+f(y) for some function f**

#

4x+5y wrt y, you get 4xy+5/2y^2**+g(x) for some function g**

#

Then if you can find f and g such that 2x^2+4xy+f(y) = 4xy+5/2y^2+g(x) then gg you got yourself a potential function

#

It's really matching the terms between the two integrals, not just plain adding

noble rampart
#

OH so cause the 4xys cancel, the potential is 2x^2+ 5/2Y^2

shell shale
#

No they don't cancel

#

You want the 2 sides to be equal for all x,y

#

So if you pick f(y)=5/2y^2, g(x)=2x^2 you manage to match the two expressionz

#

This expression you get in the end is your potential function

#

So 2x^2 + 4xy + 5/2y^2

#

You can check that the two partial derivatives are what you need

#

@noble rampart