Finding a Potential Function: Solving for a Function of z Alone

  • Thread starter Thread starter robertjford80
  • Start date Start date
  • Tags Tags
    Function Potential
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
16 replies · 4K views
robertjford80
Messages
388
Reaction score
0

Homework Statement



Screenshot2012-05-30at23129AM.png


When they say therefore g is a function of z alone, I don't understand why.

Also when they integrate the second to the last equation with respect to y, I just want to make sure that the y's in bold cancel, that they're really there in the actual answer

1/y * xzy + e^x cos y
 
Last edited:
Physics news on Phys.org
robertjford80 said:

Homework Statement



Screenshot2012-05-30at23129AM.png


When they say therefore g is a function of z alone, I don't understand why
It says:
"We write the constant of integration as a function of y and z because its value may change if y and z change."​
Then they take ∂f/∂y and find that ∂g/∂y =0 . That means that in this case, g does not change if y changes.

Therefore, g is not a function of y.

Taking ∂f/∂z will give you g as a function of z, if indeed it is a function of z. So I suppose that technically, until you do this step, you can't say that g is actually a function of z. Added in Edit: Well, at this point they've changed the name of g(y,z) to h(z) .
 
Last edited:
robertjford80 said:
... Also when they integrate the second to the last equation with respect to y...

They never integrated with respect to y.
 
SammyS said:
Therefore, g is not a function of y.

As far as I can tell I don't even see what dg/dy refers to, so I can't tell if it is zero or something else. How do you know dg/dy = 0

I can type greek letters with this computer, even when I click on the quick symbols.
 
algebrat said:
They never integrated with respect to y.


Why not? Were they supposed to?
 
robertjford80 said:
As far as I can tell I don't even see what dg/dy refers to, so I can't tell if it is zero or something else. How do you know dg/dy = 0

I can type greek letters with this computer, even when I click on the quick symbols.

The equation
[itex]\displaystyle -e^x\sin(y)+xz+\frac{\partial g}{\partial y}=xz-e^x\sin(y)[/itex]​
should tell you that ∂g/∂y =0 .
 
robertjford80 said:
Screenshot2012-05-30at23129AM.png
Do you agree that [itex]\frac{\partial f}{\partial y}=xz-e^x\sin y[/itex]?

Do you agree that [itex]f(x,y,z)=e^x\cos y+xyz+g(y,z)[/itex]?

Please take the partial of [itex]f[/itex] with respect to [itex]y[/itex] using the last equation.

Relate the two equations to conclude that [itex]\frac{\partial}{\partial y}g(y,z)=0[/itex].

Let us know if this does not clear things up.

(Is it necessary to integrate in [itex]y[/itex] to solve the problem?)
 
SammyS said:
The equation
[itex]\displaystyle -e^x\sin(y)+xz+\frac{\partial g}{\partial y}=xz-e^x\sin(y)[/itex]​
should tell you that ∂g/∂y =0 .

As far as I can tell dg/dy will always be zero because there is no g anywhere in the problem because the problem starts out with x y z. I don't get what's going on with dg
 
robertjford80 said:
As far as I can tell dg/dy will always be zero because there is no g anywhere in the problem because the problem starts out with x y z. I don't get what's going on with dg

I will try to suggest where [itex]g(y,z)[/itex] came from.

Do you agree that [itex]\frac{\partial f}{\partial x}=e^x\cos y+yz[/itex]?

If so, use integration to find [itex]f(x,y,z)[/itex].
 
algebrat said:
Do you agree that [itex]\frac{\partial f}{\partial y}=xz-e^x\sin y[/itex]?

Do you agree that [itex]f(x,y,z)=e^x\cos y+xyz+g(y,z)[/itex]?
yes

Please take the partial of [itex]f[/itex] with respect to [itex]y[/itex] using the last equation.
xz - e^x sin y

Relate the two equations to conclude that [itex]\frac{\partial}{\partial y}g(y,z)=0[/itex].
Yea, but I can't imagine any situation where the partial of f with respect to g would not be zero since the function always starts out with variables x y z

Let us know if this does not clear things up.
Not really. I'm going to post another thread re similar issue.
 
I'm not sure why you think the variables x,y,z imply that g has some properties.
 
Last edited:
algebrat said:
I will try to suggest where [itex]g(y,z)[/itex] came from.

Do you agree that [itex]\frac{\partial f}{\partial x}=e^x\cos y+yz[/itex]?

If so, use integration to find [itex]f(x,y,z)[/itex].

Well, why g? And is there any circumstance when the partial of g with respect to y would not be zero?
 
robertjford80 said:
Well, why g? And is there any circumstance when the partial of g with respect to y would not be zero?

We have g because something is missing, and we call it g. Yes, it's partial is not always zero.
 
Have you found f yet? Also, try ingtegrating N and P in y and z respectively. That may shed some light on what's going on.
 
robertjford80 said:
As far as I can tell dg/dy will always be zero because there is no g anywhere in the problem because the problem starts out with x y z. I don't get what's going on with dg

OK, Now I think we see where you are having difficulty is understanding.

The textbook solution points-out why there is a g(y.z) --- It's the "constant" of integration, but it's only constant in regards to x, not y or z, because your integration is W.R.T. x, treating y and z as if they were constants.
 
I've given up on this problem. The book only had about 7 problems on these, and I understood about 5 of them, so that's enough to move on.
 
robertjford80 said:
I've given up on this problem. The book only had about 7 problems on these, and I understood about 5 of them, so that's enough to move on.
Let's try the method you used in your more recent thread:
finding a potential function pt 2


You had the partials of f(x,y,z) W.R.T. the variables, from the vector field components.

[itex]\displaystyle \frac{\partial f}{\partial x}=e^x\cos(y)+yz<br /> \quad\to\quad <br /> f(x,\,y,\,z)=e^x\cos(y)+xyz+\text{Some term not containing }x\text{ but including the constant, }C[/itex]

[itex]\displaystyle \frac{\partial f}{\partial y}=xz-e^x\sin(y)<br /> \quad\to\quad <br /> f(x,\,y,\,z)=xyz+e^x\cos(y)+\text{Some term not containing }y\text{ but including the constant, }C[/itex]

[itex]\displaystyle \frac{\partial f}{\partial z}=xy+z<br /> \quad\to\quad <br /> f(x,\,y,\,z)=xyz+\frac{z^2}{2}+\text{Some term not containing }z\text{ but including the constant, }C[/itex]

So by inspection we have that [itex]\displaystyle f(x,\,y,\,z)=e^x\cos(y)+xyz+\frac{z^2}{2}+C\ .[/itex]

I hope that makes more sense to you!