The vector differential operator ∇, called "del" or "nabla", is defined in three dimensions to be:
- where the derivatives are partial, i.e. with respect to the x, y and z axes, and i, j, k are the unit vectors in the x, y and z directions, respectively.
If a scalar function, ƒ(x, y, z), is defined and differentiable at all points in some region, then ƒ is a differentiable scalar field. The del vector operator, ∇, may be applied to scalar fields and the result, ∇ƒ, is a vector field. It is called the gradient of ƒ (see the module on Gradients and Directional Derivatives).
Quiz 1: As a revision exercise, what is the correct gradient of the scalar field ƒ(x, y, z) = xy2 − yz?
Solution: If the scalar field is ƒ(x, y, z) = xy2 − yz, its gradient is:
∇ƒ | = | ∂∂x(xy2 − yz) + ∂∂y(xy2 − yz)j + ∂∂z(xy2 − yz)k |
---|---|---|
= | y2 × ∂∂x(x)i + [x × ∂∂y (y2) − z × ∂∂y (y]j + (−y) × ∂∂z(z)k | |
= | y2i + (2xy − z)j − yk |
The vector operator ∇ may also be allowed to act upon vector fields. Two different ways in which it may act, the subject of this module, are extremely important in mathematics, science and engineering. First though, we will briefly review some useful properties of vectors.
Consider the (three dimensional) vector, a = a1i + a2j + a2k, which we may also write as a = (a1, a2, a3). If we multiply it by a constant c, then every component of the vector is multiplied by c:
If we introduce a second vector, b = (b1, b2, b3), then we recall that there are two different ways of multiplying vectors together, the scalar and vector products.
The scalar product (also called dot product) is defined by:
It is a scalar (as the name 'scalar product' implies).
Quiz 2: What is the scalar product of a= (1, 2, 3) and b= (3, −2, 1)?
Solution: The scalar product of the two vectors a= (1, 2, 3) and b = (3, −2, 1) is:
a⋅b | = | a1b1 + a2b2 |
---|---|---|
= | 1 × 3 + 2 × (−2) + 3 × 1 | |
= | 3 − 4 + 3 | |
= | 2 |
The vector product (or cross product) is defined by:
a × b | = | (a2b3 − a3b2)i − (a1b3 − a3b1)j + (a1b2 − a2b1)k | ||||||||||||
= |
|
It is a vector (as the name 'vector product' implies). Note that the second line (the determinant representation) is a useful shorthand for the first.
Quiz 3: What is the vector product of a = (1, 2, 3) and b = (3, −2, 1)?
Solution: The vector product of the two vectors a= (1, 2, 3) and b= (3, −2, 1) is:
a×b | = |
|
= |
|
|||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= | (2 × 1 − 3 × (−2))i − (1 × 1 − 3 × 3)j + (1 × (−2) − 2 × 3)k | ||||||||||||||||||||||||||||
= | (2 + 6)i − (1 − 9) j + (−2 − 6)k | ||||||||||||||||||||||||||||
= | 8i − (−8) j − 8k = 8i + 8 j − 8k | ||||||||||||||||||||||||||||
= | 8i + 8 j − 8k |
If F(x, y) is a vector field, then its divergence is written as div F(x, y) = ∇⋅F(r), which in two dimensions is:
F(x, y) = ∇⋅F(r) | = | ( ∂∂xi + ∂∂yj )⋅ (F1(x, y)i + (F2(x, y)j) |
---|---|---|
= | ∂F1∂x + ∂F2∂y |
It is obtained by taking the scalar product of the vector operator ∇ applied to the vector field F(x, y). The divergence of a vector field is a scalar field.
Example 2: The divergence of F(x, y) = 3x2i + 2yj is:
∇⋅F(x, y) | = | ∂F1∂x + ∂F2∂y |
= | ∂∂x(3x2) + ∂∂y(2y) | |
= | 6x + 2 |
Quiz 4: What is the divergence of F(x, y) = xyi + (2x − 3y)j ?
Solution: The vector field F(x, y) = xyi + (2x − 3y)j has components:
∇⋅F(x, y) | = | ∂F1∂x + ∂F2∂y |
= | ∂∂x (xy) + ∂∂y (2x − 3y) | |
= | 1y − 3 |
The definition of the divergence may be directly extended to vector fields defined in three dimensions, F(x, y, z) = F1i + F2j + F3k:
∇⋅F(x y, z) = ∂F1∂x + ∂F2∂y + ∂F3∂z |
---|
Exercise 1: Calculate the divergence of the vector fields F(x, y) and G(x, y, z):
Solution: The vector field F = xi + yj has components:
and its divergence is:
∇⋅F(x, y) | = | ∂F1∂x + ∂F2∂y |
= | ∂∂xx + ∂∂yy | |
= | 1 + 1 = 2 |
Solution: If the vector field is F = y2i + xyj, its components are:
and its divergence is:
∇⋅F(x, y) | = | ∂F1∂x + ∂F2∂y |
= | ∂∂xy3 + ∂∂yxy | |
= | 0 + x = x |
Solution: If the vector field is F = 3x2i − 6xyj, its components are:
and its divergence is:
∇⋅F(x, y) | = | ∂F1∂x + ∂F2∂y |
= | ∂∂x3x2 + ∂∂y(−6xy) | |
= | 6x − 6x = 0 |
Note: A vector field with vanishing divergence is called a solenoidal vector field.
Solution: The vector field G = x2i + 2zj − yk has components:
and its divergence is:
∇⋅G | = | ∂G1∂x + ∂G2∂y + ∂G3∂z |
= | ∂∂xx2 + ∂∂y(2z) + ∂∂z(−y) | |
= | 2x +0 + 0 = 2x |
Solution: Consider the vector field G = 4yx2 i + sin(y)j + 3k has components:
and its divergence is:
∇⋅G | = | ∂G1∂x + ∂G2∂y + ∂G3∂z |
= | ∂∂x ( 4yx2 ) + ∂∂ysin(y) + ∂∂z3 | |
= | 4y × ∂G1∂xx−2 + cos(y) | |
= | −8yx−3 + cos(y) | |
= | −8yx3 + cos(y) |
Solution: Consider the vector field G = exi + ln(xy)j + exyzk. Its components are:
and its divergence is:
∇⋅G | = | ∂G1∂x + ∂G2∂y + ∂G3∂z |
= | ∂∂xex + ∂∂yln(xy) + ∂∂zexyz | |
= | ex + ∂∂y(ln(x) + ln(y)) + exyz × ∂∂z(xyz) | |
= | ex + 1y + xyexyz |
The curl of a vector field, F(x, y, z), in three dimensions may be written: curl F(x, y, z) = ∇ × F(x, y, z):
∇ × F(x, y, z) | = | ( ∂F3∂y − ∂F2∂z )i − ( ∂F3∂x − ∂F1∂z )j + ( ∂F2∂x − ∂F1∂y )k | |||||||||||||
= |
|
It is obtained by taking the vector product of the vector operator ∇ applied to the vector field F(x, y, z). The second line is again a formal shorthand. The curl of a vector field is also a vector field.
Note: ∇ × F is sometimes called the rotation of F and written rot F.
Example 3: The curl of F(x, y, z) = 3x2i + 2zj − xk is:
∇ × F(x, y, z) | = | ( ∂F3∂y − ∂F2∂z )i − ( ∂F3∂x − ∂F1∂z )j + ( ∂F2∂x − ∂F1∂y )k | ||||||||||||
= |
|
|||||||||||||
= | ( ∂(−x)∂y − ∂(2z)∂z )i − ( ∂(−x)∂x − ∂(3x3)∂z )j + ( ∂(2z)∂x − ∂(3x2)∂y )k | |||||||||||||
= | (0 − 2)i − (−1 − 0)j + (0 − 0)k = −2i + j |
Quiz 5: Which of the following is the curl of F(x, y,z) = xi + yj + zk?
Explanation: The components of the vector field F(x, y,z) = xi + yj + zk are:
and its curl is:
∇ × F(x, y, z) | = | ( ∂F3∂y − ∂F2∂z )i − ( ∂F3∂x − ∂F1∂z )j + ( ∂F2∂x − ∂F1∂y )k |
= | ( ∂(z)∂y − ∂(y)∂z )i − ( ∂(z)∂x − ∂(x)∂z )j + ( ∂(y)∂x − ∂(x)∂y )k | |
= | 0i − 0j + 0k |
Note: A vector field with vanishing curl is called an irrotational vector field.
Exercise 2: Find the solution to each of the following equations:
Solution: The components of the vector field F = xi − yj + zk are:
and its curl is:
∇ × F | = | ( ∂F3∂y − ∂F2∂z )i − ( ∂F3∂x − ∂F1∂z )j + ( ∂F2∂x − ∂F1∂y )k |
= | ( ∂(z)∂y − ∂(−y)∂z )i − ( ∂(z)∂x − ∂(x)∂z )j + ( ∂(−y)∂x − ∂(x)∂y )k | |
= | 0i − 0j + 0k = 0 |
Therefore the vector field F = xi − yj + zk is an irrotational vector field.
Solution: The components of the vector field F = y3i + xyj − zk are:
and its curl is:
∇ × F | = | ( ∂F3∂y − ∂F2∂z ) i − ( ∂F3∂x − ∂F1∂z ) j + ( ∂F2∂x − ∂F1∂y ) k |
= | (∂(−z)∂y − ∂(xy)∂z ) i − (∂(−z)∂x − ∂(y3)∂z) j + ( ∂(xy)∂x − ∂(y3)∂y ) k | |
= | 0i − 0j + (y − 3y2k = (y − 3y2k |
i.e., the curl vector is in the k direction.
Solution: The components of the vector field F = xi + yj + zk √x2 + y2 + z2 are:
The i component of ∇ × F is:
The derivative of 1r with respect to y is:
and similarly ∂∂z ( 1∂z ) = − zr3 . Thus, the i component of the curl is (− zyr3) − (− yzr3) = 0 . It may be confirmed that that the j and k components of the curl also vanish.
Solution: The components of the vector field F = x2i + 2zj − yk are:
and its curl is:
∇ × F | = | ( ∂F3∂y − ∂F2∂z ) i − ( ∂F3∂x − ∂F1∂z ) j + ( ∂F2∂x − ∂F1∂y ) k |
= | (∂(−y)∂y − ∂(2z)∂z ) i − (∂(−y)∂x − ∂(x2)∂z) j + ( ∂(2z)∂x − ∂(x2)∂y ) k | |
= | (−1 − 2)i − (0 − 0)j + (0 − 0)k = − 3i |
Here is a review exercise before the final quiz:
Exercise 3: Let ƒ be a scalar field and F(x, y, z) and G(x, y, z) be vector fields. What, if anything, is wrong with each of the following expressions?
Solution: The formula ∇ƒ = x3 − 4y must be incorrect because the gradient of a scalar function is a vector field by definition, while the expression on the right hand side of this equation is a scalar.
Solution: The equation ∇⋅F = i − x2yj − zk must be incorrect, because the divergence of a vector field must be a scalar by definition, but the right hand side of the equation is a vector.
Solution: The equation ∇ × G = ∇⋅F must be incorrect because its left hand side is a vector field, a curl, while its right hand side is a scalar function, a divergence.
Choose the solutions from the options given