Mindscrape
- 1,854
- 1
I have a force vector that is F = (x^2 + y)i + (y^2 + x)j +ze^z k) and I am supposed to find the work done from (1,0,0) to (1,0,1). The question gives a bunch of paths to integrate, but I used the curl and found that the force was conservative (hence path independent), so I was going to make a function of x,y,z based on F.
\frac{\partial f}{\partial x} = x^2 + y
f(x,y,z) = (1/3)x^3 +xy+g(y,z)
\frac{\partial f}{\partial y}=x+\frac{\partial g}{\partial y} = y^2 +x
\frac{\partial g}{\partial y} = y^2
g(y,z)= (1/3)y^3 +h(z)
so now continue to build the function
f(x,y,z)=(1/3)x^3 +xy+(1/3)y^3 + h(z)
\frac{\partial f}{\partial z} = 0 + \frac{\partial h}{\partial z} = ze^z
solve by parts to get
h(z)=ze^z - \int e^z dz = e^z(z-1)
f(x,y,z)=(1/3)x^3 + xy+(1/3)y^3 + e^z(z-1)
Now I know that the last part is the part that I screwed up because f_z is supposed to equal ze^z, and it doesn't. What I can't figure out is what I screwed up. Anyone see it?
\frac{\partial f}{\partial x} = x^2 + y
f(x,y,z) = (1/3)x^3 +xy+g(y,z)
\frac{\partial f}{\partial y}=x+\frac{\partial g}{\partial y} = y^2 +x
\frac{\partial g}{\partial y} = y^2
g(y,z)= (1/3)y^3 +h(z)
so now continue to build the function
f(x,y,z)=(1/3)x^3 +xy+(1/3)y^3 + h(z)
\frac{\partial f}{\partial z} = 0 + \frac{\partial h}{\partial z} = ze^z
solve by parts to get
h(z)=ze^z - \int e^z dz = e^z(z-1)
f(x,y,z)=(1/3)x^3 + xy+(1/3)y^3 + e^z(z-1)
Now I know that the last part is the part that I screwed up because f_z is supposed to equal ze^z, and it doesn't. What I can't figure out is what I screwed up. Anyone see it?