VECTOR OPERATIONS IN PHYSICS
Complete Guide to Scalars, Vectors, Gradient, Divergence, Curl, Gauss's Theorem, and Stokes' Theorem with Comprehensive Mathematical Proofs and Examples
1. Scalars, Vectors & Unit Vectors
Scalar Quantities
Scalars are physical quantities completely described by magnitude with proper unit. Mass, length, time, density, energy, work, temperature and charge are the examples of scalars.
Scalars can be added, multiplied and subtracted by ordinary rules of algebra.
Vector Quantities
Vectors are physical quantities completely described by magnitude, with proper unit and direction. Force, velocity, acceleration, momentum, torque, electric field intensity and magnetic field induction are the examples of vectors.
Vectors are added, multiplied and subtracted by vector algebra. However, parallel and antiparallel vectors are added by ordinary algebra.
Unit Vectors
A vector having unit magnitude is called unit vector. It is used to describe the direction of any vector. If we have a vector $\vec{A}$, then a unit vector in the direction of $\vec{A}$ is written as:
where $\hat{A}$ is the unit vector in the direction of $\vec{A}$ and $|\vec{A}|$ is its magnitude.
The standard unit vectors along coordinate axes are denoted as $\hat{i}, \hat{j}, \hat{k}$.
2. Rectangular Components & Direction Cosines
Vector Components
Any vector $\vec{A}$ in 3D space can be decomposed into rectangular components:
The magnitude is given by:
Direction Cosines
If a vector $\vec{A}$ makes angles $\alpha, \beta, \gamma$ with the x, y, z axes respectively, then:
The direction cosines satisfy the relation:
In the uploaded notes, direction cosines are denoted as $l = \cos \alpha$, $m = \cos \beta$, $n = \cos \gamma$.
3. The Del Operator $\vec{\nabla}$
Definition of Del Operator
The del operator $\vec{\nabla}$ is a vector differential operator defined as:
It can operate on both scalar and vector fields through three fundamental operations:
- Gradient operation on a scalar field
- Divergence operation on a vector field (via dot product)
- Curl operation on a vector field (via cross product)
4. Gradient of a Scalar Field
Definition of Gradient
The gradient of a scalar field $\phi(x, y, z)$ is a vector field defined as:
The gradient points in the direction of the steepest increase of the scalar field, and its magnitude gives the rate of increase in that direction.
Derivation of Gradient Formula
Consider a scalar field and displacement
Consider a scalar field $\phi(x, y, z)$ and two nearby points:
Displacement vector
The displacement vector between P and Q is:
Change in scalar field
The change in $\phi$ from P to Q is given by the total differential:
Express as dot product
This can be written as a dot product:
Identify the gradient
Recognizing the gradient:
Example: Gradient Calculation
Find the gradient of $\phi(x, y, z) = x^2 y + y^2 z + z^2 x$.
Solution
5. Divergence of a Vector Field
Definition of Divergence
The divergence of a vector field $\vec{F} = F_x \hat{i} + F_y \hat{j} + F_z \hat{k}$ is a scalar field defined as:
The divergence measures the net "outflow" of the vector field from an infinitesimal volume.
Physical Interpretation
Divergence represents the net flux per unit volume. Positive divergence indicates a source, negative divergence indicates a sink, and zero divergence indicates the field is solenoidal (no net outflow).
Derivation of Divergence Formula
Consider a small rectangular box
Consider a small rectangular box with sides dx, dy, dz centered at point P(x, y, z).
Flux through x-faces
Calculate the flux through the face at $x + \frac{dx}{2}$:
Calculate the flux through the face at $x - \frac{dx}{2}$:
Net flux through x-faces
Net flux through x-faces:
Taylor expansion
Using Taylor expansion:
Subtract and keep first-order terms
Subtracting and keeping first-order terms:
Similarly for y and z directions
Similarly for y and z directions:
Total net flux
Total net flux through the box:
Divergence as flux per unit volume
Divergence is flux per unit volume:
Example: Divergence Calculation
Find the divergence of $\vec{F} = x^2 y \hat{i} + y^2 z \hat{j} + z^2 x \hat{k}$.
Solution
6. Curl of a Vector Field
Definition of Curl
The curl of a vector field $\vec{F} = F_x \hat{i} + F_y \hat{j} + F_z \hat{k}$ is a vector field defined as:
Expanding the determinant:
The curl measures the "rotation" or "circulation" of the vector field.
Physical Interpretation
Curl represents the circulation per unit area. A non-zero curl indicates rotational character in the vector field, while zero curl indicates the field is irrotational.
Derivation of Curl Formula
Consider a small rectangular loop
Consider a small rectangular loop in the xy-plane with sides dx and dy.
Circulation around the loop
Calculate circulation around the loop:
Break into four segments
Break into four segments:
Calculate each segment
Calculate each segment:
Taylor expansion
Using Taylor expansion:
Total circulation
Total circulation:
Curl as circulation per unit area
Curl is circulation per unit area:
Similarly for other components
Similarly for other components:
Example: Curl Calculation
Find the curl of $\vec{F} = yz \hat{i} + zx \hat{j} + xy \hat{k}$.
Solution
This vector field is irrotational (curl-free).
7. Gauss's Divergence Theorem
Gauss's Divergence Theorem Statement
The surface normal integral of vector taken over a closed surface is equal to the volume integral of the divergence of a vector over the volume enclosed by the surface. Mathematically:
where $d\vec{s}$ is the outward-pointing area element on the surface S, and $\hat{n}$ is the unit normal vector.
Comprehensive Proof of Gauss's Theorem
Consider a small volume element
Consider a small volume element having volume $dV = dx \cdot dy \cdot dz$ enclosed in surface S.
Apply divergence definition
By definition:
where $A_x, A_y, A_z$ are the components of $\vec{A}$ along $x, y, z$-axis respectively.
Multiply by volume element
Multiplying both sides by $dx \, dy \, dz$, we get:
Integrate over volume
Integrating both sides over the volume V:
Change to total derivatives
Since $A_x, A_y, A_z$ are functions of only one variable in each term, we can change partial derivatives to total derivatives:
Evaluate the integrals
Evaluating the integrals:
Convert to surface integrals
Converting to surface integrals:
Final result
Recognizing the dot product:
This theorem enables us to transform a surface integral into volume integral and vice versa.
Example: Verification of Gauss's Theorem
Verify Gauss's theorem for $\vec{F} = x \hat{i} + y \hat{j} + z \hat{k}$ over the sphere $x^2 + y^2 + z^2 = a^2$.
Solution
Left side: $\iiint_V (\nabla \cdot \vec{F}) \, dV$
Right side: $\oiint_S \vec{F} \cdot d\vec{S}$
Both sides equal $4\pi a^3$, verifying the theorem.
Example: Evaluate $\int_S \vec{r} \cdot \hat{n} \, ds$
Evaluate $\int_S \vec{r} \cdot \hat{n} \, ds$ where S is a closed surface.
Solution
By Gauss's Divergence theorem:
where V is the volume enclosed by the surface S.
8. Stokes' Theorem
Stokes' Theorem Statement
The line integral of a vector function around the closed curve (boundary edge) of a surface is equal to the surface normal integral of the curl of vector function over that surface.
The direction of $d\vec{l}$ and the orientation of $d\vec{s}$ are related by the right-hand rule.
Comprehensive Proof of Stokes' Theorem
Divide the surface
Divide the surface S into N small surface elements $\Delta S_i$.
Apply Stokes' theorem to each element
For each small surface element, Stokes' theorem approximately holds:
Sum over all surface elements
Sum over all surface elements:
Internal boundary cancellation
In the sum of line integrals, the contributions from internal boundaries cancel out because each internal curve is traversed twice in opposite directions.
External boundary remains
Only the contributions from the external boundary remain:
Take the limit
Taking the limit as $N \to \infty$ and $\Delta S_i \to 0$:
Final equality
Therefore:
Example: Verification of Stokes' Theorem
Verify Stokes' theorem for $\vec{F} = -y \hat{i} + x \hat{j}$ over the circular disk $x^2 + y^2 \leq a^2$ in the xy-plane.
Solution
Left side: $\iint_S (\nabla \times \vec{F}) \cdot d\vec{S}$
Right side: $\oint_C \vec{F} \cdot d\vec{l}$
Both sides equal $2\pi a^2$, verifying the theorem.
9. Applications in Physics
Electromagnetism
Maxwell's equations use vector calculus extensively. Gauss's law for electricity and magnetism, Faraday's law, and Ampere's law all involve divergence and curl operations.
Fluid Dynamics
The continuity equation and Navier-Stokes equations describe fluid flow using vector calculus concepts like divergence and curl.
Gravitation
Gravitational fields and potentials are analyzed using gradient operations. Gauss's law for gravity uses the divergence theorem.
Heat Transfer
The heat equation involves the Laplacian operator, which can be expressed as the divergence of the gradient.
Frequently Asked Questions
The gradient of a scalar field points in the direction of the steepest increase of the field, and its magnitude gives the rate of increase in that direction. For example, in temperature distribution, the gradient points from cold to hot regions, and its magnitude indicates how rapidly the temperature changes.
Divergence measures the net "outflow" of a vector field from a point (source or sink), while curl measures the "rotation" or "circulation" of the field around a point. A field with zero divergence is called solenoidal, and a field with zero curl is called irrotational.
Use Gauss's theorem when you need to convert a volume integral to a surface integral or vice versa, particularly for closed surfaces. Use Stokes' theorem when you need to convert a surface integral to a line integral or vice versa, particularly for surfaces with boundaries.
Some important vector identities include:
0 Comments
Have a question or suggestion? Share your thoughts below — we’d love to hear from you!