# Differentiation of vector fields

## 1.Differentiation of vectors

Let be a vector where , and are its fixed unit vectors and , and are the functions of time t. Now derivative of w.r.t. time t would be

(1)

So derivative of vector  is also a vector whose components are derivatives of components of vector .

If vector   represents the vector displacement of a moving particle from its origin at any time t then velocity vector of the particle would be the derivative of displacement vector w.r.t. time t i.e.,

(2)

Similarly acceleration vector would be the derivative of velocity vector i.e.,

(3)

The product of a scalar and a vector and the dot and cross product of vectors are differentiated by the ordinary calculus rules for differentiating a product provided the order of factors is kept in cross product. Thus

(4)

(5)

(6)

For scalar triple product we have

(7)

And for vector triple product we have

(8)

## 2. Scalar and vector fields

We know that many physical quantities like temperature, electric or gravitational field etc. have different values at different points in space for example electric field of a point charge is large near the charge and it decreases as we go farther away from the charge. So we can say that electric field here is the physical quantity that varies from point to in space and it can be expressed as a continuous function of position of point  in that region of space .

Now term field is defined as the region in which at every point some physical quantity (temperature, electric field etc.) has a value. So by field we mean both the region and the value of physical quantity in that region.

### Scalar Fields

If we consider temperature within a solid then we have a scalar field since temperature is a scalar quantity and by scalar field we mean that there are a set of values of a scalar that must be assigned throughout a continuous region of space. Again this field may be time dependent if heat is being supplied to the solid. Physical quantities like electric potential, gravitational potential, temperature, density etc. are expressed in the form of scalar fields.

Graphically scalar fields can be represented by contours which are imaginary surfaces drawn through all points for which field has same value. For temperature field the contours are called isothermal surfaces or isotherms. In case of electrostatics, if we put a point charge at any place, then electric potential around it will depend on the position of the point. Since electric potential is a scalar quantity, the field around the charge will be known as scalar potential field. If all such points at which potential is constant is joined by a surface then such a surface is called equi-potential surface.

Such surfaces are also called level surfaces, each level surface having its own constant value. Two level surfaces cannot cut each other because if they do so then scalar values corresponding to both must hold along their common line which contradicts our definition. Thus scalar point functions i.e. are single valued functions.

### Vector Fields

Like scalar fields we also have vector fields in which a vector is given for each point in space. As an example consider a fluid flowing along a tube of varying cross-section. In this case if we specify the fluid velocity at each point, we obtain a vector field, which may be dependent on time if pressure difference across the tube is varied with time.

The intensity of electric field, magnetic field and gravitational field etc. are the examples of a vector field. A vector field is represented at every point by a continuous vector function say . At any specific point of the field, the function  gives a vector of definite magnitude and direction, both of which changes continuously from point to point throughout the field region.

Graphically vector fields are represented by lines known as field or flux lines. These lines are drawn in the field in such a way that tangent at any point of the line gives the direction of vector field at that point. To express the magnitude of vector field at any point first draw an infinitesimal area perpendicular to the field line. The number of field lines passing through this area element gives the magnitude of vector field. One more important thing here to note is that, the lines representing vector fields cannot cross, because if they cross they would give non unique field direction at the point of interaction.

## 3. Gradient of a scalar field

Let us consider a metal bar whose temperature varies from point to point in some complicated manner. So, temperature will be a function of x, y, z in Cartesian co-ordinate system. Hence temperature here is a scalar field represented by the function T(x,y,z). Since temperature depends on distance it could increase in some directions and decrease in some directions. It could increase or decrease rapidly along some directions in comparison to other directions. Here we are interested in rate of change of temperature with distance as we move away from starting point.

Suppose we have two points P and Q separated by a small interval  as shown below in the figure.

Let T1 be the temperature of point P and T2 be the temperature of point Q. So difference in temperature of point P and Q is . Since is scalar and does not depend on choice of co-ordinate system so we can conveniently choose a set of axis so that we could write

and

Where, , and are components of vector .

By theorem of partial derivatives, the difference in values of T at two neighboring points can be written as

(9)

Above equation 9 tells us how temperature T of metal bar changes when all three co-ordinates changes by infinitesimal amount , and .

The left side of equation 9 is clearly a scalar and right side of equation 9 seems to be the dot product of two vectors and hence equation 9 can also be rewritten as

(10)

Where,

(11)

is known as gradient of . Clearly is a vector quantity derived from scalar field. So, equation (10) tells us that difference in temperature between two neighbouring points is the dot product of the gradient of T and the vector displacement between points.

Since gradient of any scalar field is a vector it like other vectors have magnitude as well as direction. Rewriting the dot product in equation 10 we have,

(12)

Where is the angle between and . If we fix the length of and let it have arbitrary direction the value of is maximum when is along the direction of  and it occurs when giving .

So if we move along the same direction as the gradient then function T changes maximally. So direction of is along greatest increase of T. The magnitude gives the slope along this direction as can be seen that each component of clearly gives a slope.

## 4. The operator

Consider the expression 11 from the previous section which is

The term in the parenthesis is known as del operator ad is given by

So, this is  is a vector operator and as such it does not have a meaning until it is made to operate on a function. We have already seen what happens when this operator acts on a scalar function say then

and it gives gradient of this scalar function .

This  operator acts on a vector function in two possible ways

1. Via dot product : which gives divergence of the vector function
2. Via cross product: which gives curl of a vector function.

## 5. Divergence and curl of a vector

Scalar product of operator and a vector function i.e. is known as divergence of vector . In Cartesian co-ordinates divergence of vector  can be written as

(13)

From equation 13 we see that divergence of a vector function is a scalar function. A vector function whose divergence vanishes is known as solenoidal vector function .

Geometrically divergence of a vector function is a measure of how much the given vector in question spreads out or diverges from point in question. Divergence of a vector function can be positive, negative or zero. If a vector spreads out from a point then it has positive divergence at that point and the point acts as source of the field . If the field converges at a point then divergence of vector will be negative at that point and the point acts as sink for field .

Now if we take the vector product of the operator and the vector then what we get is the curl of vector  that is

(14)

From equation 14 we see that curl of a vector function is a vector function.

Geometrically curl of a vector function is a measure of how much the vector   curls around the point in question. If the curl of the vector vanishes then it is said to be irrotational. The direction of curl of vector   is same as the thumb of right hand when remaining fingers follow the lines of  .

## 6. Product Rules

Let φ and ψ be two scalar field functions and and be two vector fields. There are two ways to construct a scalar as a product of two functions

(a) :- product of two scalar functions

(b) :- dot product of two vector functions

and there are two ways to make a vector function

(a) :- scalar times a vector

(b) :- cross product of two vectors

Now the operator can act on a scalar function to give its gradient and on a vector function to give either its divergence or curl. Accordingly we can construct six product rules, two for gradient, two for divergence and two for curl.

(i)

(ii)

(i)

(ii)

(i)

(ii)

## 7. Second Derivative

Gradient of a scalar function and divergence and curl of vector functions are only first derivatives that we get by applying del operator. To obtain second derivatives we can apply the del operator twice in the following manner

#### a. Divergence of gradient []

Now the differential operator

is given a special name and is known as Laplacian operator and in Cartesian co-ordinates it is given by

This Laplacian operator can also cat on a vector function such that

Curl of gradient of a scalar function is always zero i.e. and can easily be proved. This is true for all scalar functions.