Is This Calculation of Grad \(\psi\) for \(\psi(x,y,z) = (y-1)z^2\) Correct?

andrey21
Messages
475
Reaction score
0
For the following scalar field:

\psi(x,y,z) = (y-1)z2

Find grad \psi


Here is my attempt at:


Multiplying out brackets:

yz2 - z2

Therefore grad \psi = 0+Z2 J -2ZK

Is this correct??
 
Physics news on Phys.org
Your close, but you didn't compute the full partial with respect to Z for k.
 
Ok do I have to take into account all the terms when computing full partial with repsect to x,y,z. So would that give me:

0 + Z2 j + 2zy - 2z k
 
andrey21 said:
Ok do I have to take into account all the terms when computing full partial with repsect to x,y,z. So would that give me:

0 + Z2 j + 2zy - 2z k
You should write this as either
0i + z2j + 2(y - 1)zk
or
<0, z2, 2(y - 1)z>

The way you wrote it, the 2zy term isn't associated with any of the unit vectors.
 
Ok thanks Mark44 so other than writing it the wrong way the answer is correct? I have another similar question:

Find grad \psi = x2(y-1)z

Multiply out brackets:

x2yz - x2z

grad \psi = (2xy -2xz)i +x2zj +(x2y -x2)k

Is this correct??
 
Not really. Compute the partial derivative wrt x again.

EDIT to your post. Yes, it's correct now.
 
Last edited:
Ok I think I've seen my error, should it be:

(2xyz -2xz)i
 
Back
Top