kasse
- 383
- 1
How about the potential function of the vector field (x+y,x-z,z-y)?
Then we have that Df/Dx=x+y, Df/Dy=x-z and Df/Dz=z-y
I integrate the first of these equations with respect to x:
f(x,y,z)= (1/2)x^2+yx+C(x,y)
Then I derivate it with respect to y:
Df/Dy=x + DC(x,z)/Dy which means that DC(x,z)/Dy = -z and C(x,z)=-zy
Then I derivate f(x,y,z) with respect to z:
Df/Dz=DC/Dz which means that DC/Dz=z-y and C=(1/2)z^2-yz
So
f(x,y,z)=(1/2)(x^2+z^2)+yx-2yz
The correct answer, however, is: f(x,y,z)=(1/2)(x^2+z^2)+yx-yz
I can't find my mistake!
Then we have that Df/Dx=x+y, Df/Dy=x-z and Df/Dz=z-y
I integrate the first of these equations with respect to x:
f(x,y,z)= (1/2)x^2+yx+C(x,y)
Then I derivate it with respect to y:
Df/Dy=x + DC(x,z)/Dy which means that DC(x,z)/Dy = -z and C(x,z)=-zy
Then I derivate f(x,y,z) with respect to z:
Df/Dz=DC/Dz which means that DC/Dz=z-y and C=(1/2)z^2-yz
So
f(x,y,z)=(1/2)(x^2+z^2)+yx-2yz
The correct answer, however, is: f(x,y,z)=(1/2)(x^2+z^2)+yx-yz
I can't find my mistake!