Vector calculus and integral theorems — Unit 5 Notes (Engineering Mathematics II)

BAS201 · Unit 5

Vector calculus and integral theorems notes — Unit 5

Free unit-wise study notes on vector calculus and integral theorems for Engineering Mathematics II, Semester 2 of B.Tech — Computer Science & Engineering — key concepts, examples, important questions and a revision checklist for semester exams.

Comprehensive 20-page hand-written notes covering Vector Calculus. Master Gradient, Divergence, and Curl, along with the 'Big Three' Integral Theorems: Green's, Stokes', and Gauss's Divergence theorems.

Notebook — 20 pages

Page 1

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

1. Intro to Vector Functions

A vector is a quantity that has both magnitude and direction, usually represented as r=xi^+yj^+zk^\vec{r} = x\hat{i} + y\hat{j} + z\hat{k}.

Scalar and Vector Point Functions

  • Scalar Point Function (ϕ\phi): Assigns a scalar value to every point in space. Example: Temperature distribution in a room T(x,y,z)T(x,y,z).
  • Vector Point Function (V\vec{V}): Assigns a vector to every point in space. Example: Wind velocity at different points in the atmosphere V(x,y,z)\vec{V}(x,y,z).

Next — Page 2 — Differentiation of Vectors

1 of 20

Page 2

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

2. Differentiation of Vectors

If a position vector r\vec{r} depends on a single scalar variable like time (tt), we can differentiate it just like ordinary functions.

r(t)=x(t)i^+y(t)j^+z(t)k^\vec{r}(t) = x(t)\hat{i} + y(t)\hat{j} + z(t)\hat{k}

  • Velocity (v\vec{v}): drdt=dxdti^+dydtj^+dzdtk^\frac{d\vec{r}}{dt} = \frac{dx}{dt}\hat{i} + \frac{dy}{dt}\hat{j} + \frac{dz}{dt}\hat{k}
  • Acceleration (a\vec{a}): d2rdt2=dvdt\frac{d^2\vec{r}}{dt^2} = \frac{dv}{dt}

The rules of differentiation (Product Rule, Dot Product, Cross Product) apply normally to vectors.

Next — Page 3 — The Del Operator

2 of 20

Page 3

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

3. The Del Operator ($\\nabla$)

The vector differential operator, denoted by \nabla (read as 'del' or 'nabla'), is the foundation of vector calculus.

=i^x+j^y+k^z\nabla = \hat{i}\frac{\partial}{\partial x} + \hat{j}\frac{\partial}{\partial y} + \hat{k}\frac{\partial}{\partial z}

It is an operator, meaning it doesn't have a value by itself. It must operate on a scalar function or a vector function.

Depending on how it operates, it creates the Gradient, Divergence, or Curl.

Next — Page 4 — Gradient of a Scalar

3 of 20

Page 4

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

4. Gradient of a Scalar

When \nabla operates on a Scalar point function ϕ(x,y,z)\phi(x,y,z), the result is a VECTOR.

Physical Meaning

The gradient of ϕ\phi at any point represents the maximum rate of change of ϕ\phi and points in the direction of that maximum increase.

Furthermore, ϕ\nabla\phi is a vector that is strictly normal (perpendicular) to the surface ϕ(x,y,z)=c\phi(x,y,z) = c.

Next — Page 5 — Unit Normal Vector

4 of 20

Page 5

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

5. Unit Normal Vector

Because the gradient ϕ\nabla\phi is a normal vector to the surface ϕ\phi, we can find the Unit Normal Vector (n^\hat{n}) by dividing it by its magnitude.

n^=ϕϕ\hat{n} = \frac{\nabla\phi}{|\nabla\phi|}

Example: Find unit normal to the surface x2+y2+z2=9x^2 + y^2 + z^2 = 9 at (2,1,2)(2, -1, 2).

  • Let ϕ=x2+y2+z29\phi = x^2 + y^2 + z^2 - 9.
  • ϕ=2xi^+2yj^+2zk^\nabla\phi = 2x\hat{i} + 2y\hat{j} + 2z\hat{k}.
  • At (2,1,2)(2, -1, 2), ϕ=4i^2j^+4k^\nabla\phi = 4\hat{i} - 2\hat{j} + 4\hat{k}.
  • ϕ=16+4+16=36=6|\nabla\phi| = \sqrt{16 + 4 + 16} = \sqrt{36} = 6.
  • n^=4i^2j^+4k^6\hat{n} = \frac{4\hat{i} - 2\hat{j} + 4\hat{k}}{6}.

Next — Page 6 — Directional Derivative

5 of 20

Page 6

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

6. Directional Derivative

The Directional Derivative gives the rate of change of a scalar function ϕ\phi in a specific direction defined by a given vector a\vec{a}.

Exam Tip: The maximum directional derivative always occurs in the direction of the gradient itself (ϕ\nabla\phi), and its maximum value is exactly ϕ|\nabla\phi|.

Next — Page 7 — Divergence of a Vector

6 of 20

Page 7

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

7. Divergence of a Vector

When \nabla operates on a Vector function V\vec{V} using a DOT product, the result is a SCALAR.

Let V=V1i^+V2j^+V3k^\vec{V} = V_1\hat{i} + V_2\hat{j} + V_3\hat{k}.

Physical Meaning: Divergence measures the magnitude of a vector field's source or sink at a given point (e.g., fluid expanding outward or compressing inward).

Next — Page 8 — Solenoidal Vectors

7 of 20

Page 8

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

8. Solenoidal Vectors

If a fluid is incompressible (like water), it doesn't expand or compress. The net flow out of any point is zero.

Exam Question: "Find constant aa if V=(x+3y)i^+(y2z)j^+(x+az)k^\vec{V} = (x + 3y)\hat{i} + (y - 2z)\hat{j} + (x + az)\hat{k} is solenoidal."

  • V=x(x+3y)+y(y2z)+z(x+az)\nabla \cdot \vec{V} = \frac{\partial}{\partial x}(x+3y) + \frac{\partial}{\partial y}(y-2z) + \frac{\partial}{\partial z}(x+az)
  • =1+1+a=2+a= 1 + 1 + a = 2 + a
  • For solenoidal, 2+a=0a=22 + a = 0 \Rightarrow a = -2.

Next — Page 9 — Curl of a Vector

8 of 20

Page 9

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

9. Curl of a Vector

When \nabla operates on a Vector function V\vec{V} using a CROSS product, the result is a VECTOR.

It is calculated using a determinant:

curl V=×V=i^j^k^ xyz V1V2V3\text{curl } \vec{V} = \nabla \times \vec{V} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\\ V_1 & V_2 & V_3 \end{vmatrix}

Physical Meaning: Curl measures the rotation or "spin" of a vector field at a given point (e.g., a whirlpool in a river has high curl).

Next — Page 10 — Irrotational Vectors

9 of 20

Page 10

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

10. Irrotational Vectors

If a vector field has no spin or rotation, it is called Irrotational (or Conservative).

Scalar Potential

If a vector V\vec{V} is irrotational, it can ALWAYS be expressed as the gradient of a scalar function ϕ\phi.

V=ϕ\vec{V} = \nabla \phi

Here, ϕ\phi is called the Scalar Potential. This is highly relevant in physics (e.g., Electric field is the negative gradient of electric potential).

Next — Page 11 — Important Vector Identities

10 of 20

Page 11

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

11. Important Vector Identities

These two identities are universally true for any twice-differentiable fields, and are often asked as 2-mark proofs:

  • 1. Div of Curl is zero: (×V)=0\nabla \cdot (\nabla \times \vec{V}) = 0
    (The curl of any vector is always a solenoidal vector).
  • 2. Curl of Grad is zero: ×(ϕ)=0\nabla \times (\nabla \phi) = \vec{0}
    (The gradient of any scalar is always an irrotational vector).

Another useful operator is the Laplacian (2=\nabla^2 = \nabla \cdot \nabla):
2ϕ=2ϕx2+2ϕy2+2ϕz2\nabla^2\phi = \frac{\partial^2\phi}{\partial x^2} + \frac{\partial^2\phi}{\partial y^2} + \frac{\partial^2\phi}{\partial z^2}

Next — Page 12 — Line Integrals

11 of 20

Page 12

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

12. Line Integrals

A line integral is an integral evaluated along a specific curve CC in space.

CFdr\int_C \vec{F} \cdot d\vec{r}

Since dr=dxi^+dyj^+dzk^d\vec{r} = dx\hat{i} + dy\hat{j} + dz\hat{k}, this becomes:

C(F1dx+F2dy+F3dz)\int_C (F_1 dx + F_2 dy + F_3 dz)

Work Done

If F\vec{F} represents a force field, the line integral computes the total Work Done in moving a particle along curve CC. If the field is irrotational, work done is independent of the path (it only depends on endpoints).

Next — Page 13 — Surface and Volume Integrals

12 of 20

Page 13

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

13. Surface & Volume Integrals

Surface Integral (Flux)

Evaluated over a surface SS. It represents the flux (flow) of a vector field F\vec{F} crossing that surface.

SFn^,dS\iint_S \vec{F} \cdot \hat{n} \\, dS

Where n^\hat{n} is the outward unit normal vector to the surface.

Volume Integral

Evaluated over a 3D volume VV.

Vf(x,y,z),dV\iiint_V f(x,y,z) \\, dV (where dV=dx,dy,dzdV = dx\\,dy\\,dz)

Next — Page 14 — Green's Theorem

13 of 20

Page 14

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

14. Green's Theorem

Green's Theorem relates a line integral around a simple closed curve CC to a double integral over the plane region RR bounded by CC.

It is extremely useful for calculating the area of a closed region by converting a difficult double integral into an easier single line integral along the boundary.

Next — Page 15 — Stokes' Theorem

14 of 20

Page 15

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

15. Stokes' Theorem

Stokes' Theorem is the 3D generalization of Green's theorem. It relates a line integral around a closed curve CC in 3D space to a surface integral over ANY open surface SS bounded by that curve.

In words: The line integral of F\vec{F} around the boundary curve CC is exactly equal to the flux of the Curl of F\vec{F} passing through the surface SS.

Next — Page 16 — Verifying Stokes' Theorem

15 of 20

Page 16

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

16. Verifying Stokes' Theorem

When an exam asks to "Verify Stokes' Theorem", you must calculate both sides of the equation independently and show they are equal.

  1. 1.LHS (Line Integral): Parametrize the boundary curve CC, substitute into Fdr\vec{F} \cdot d\vec{r}, and integrate.
  2. 2.RHS (Surface Integral): Calculate ×F\nabla \times \vec{F}.
  3. 3.Find the unit normal n^\hat{n} to the surface.
  4. 4.Calculate (×F)n^(\nabla \times \vec{F}) \cdot \hat{n}.
  5. 5.Project the surface onto a 2D plane (like xyxy-plane) and compute the double integral.
  6. 6.Confirm LHS = RHS.

Next — Page 17 — Gauss's Divergence Theorem

16 of 20

Page 17

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

17. Gauss's Divergence Theorem

While Stokes relates 1D (Line) to 2D (Surface), Gauss relates 2D (Surface) to 3D (Volume).

It connects the surface integral over a CLOSED surface SS (like a sphere or cube) to the volume integral over the 3D volume VV enclosed by it.

In words: The outward flux of a vector field across a closed surface equals the volume integral of its Divergence inside.

Next — Page 18 — Gauss Application

17 of 20

Page 18

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

18. Applying Gauss's Theorem

Calculating a surface integral over a cube requires 6 separate double integrals (one for each face). Gauss's theorem turns this nightmare into a single, easy volume integral.

Example: Evaluate S(xi^+yj^+zk^)n^,dS\iint_S (x\hat{i} + y\hat{j} + z\hat{k}) \cdot \hat{n} \\, dS over a sphere of radius RR.

  • Direct calculation is hard. Use Gauss's Theorem.
  • F=xi^+yj^+zk^\vec{F} = x\hat{i} + y\hat{j} + z\hat{k}.
  • F=(x)x+(y)y+(z)z=1+1+1=3\nabla \cdot \vec{F} = \frac{\partial(x)}{\partial x} + \frac{\partial(y)}{\partial y} + \frac{\partial(z)}{\partial z} = 1 + 1 + 1 = 3.
  • V(3),dV=3VdV\iiint_V (3) \\, dV = 3 \iiint_V dV.
  • VdV\iiint_V dV is just the volume of the sphere (43πR3\frac{4}{3}\pi R^3).
  • Answer: 3×43πR3=4πR33 \times \frac{4}{3}\pi R^3 = 4\pi R^3.

Next — Page 19 — The 'Big Three' Summary

18 of 20

Page 19

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

19. The 'Big Three' Summary

How to choose which theorem to use if it is not stated:

Integral Theorem Guide
TheoremRelatesCondition
Green's TheoremLine \leftrightarrow SurfaceMust be a 2D curve entirely in the xyxy-plane
Stokes' TheoremLine \leftrightarrow SurfaceAny 3D open surface bounded by a curve CC
Gauss's TheoremSurface \leftrightarrow VolumeMust be a fully CLOSED 3D surface (box, sphere)

Next — Page 20 — Unit 5 Revision Checklist

19 of 20

Page 20

Wink Notes

B.Tech CSE — 2nd Semester

Engineering Mathematics II

Unit - 5

20. Unit 5 Revision Checklist

Before the exam, ensure you can:

  • Calculate ϕ\nabla\phi and find the directional derivative along a given vector.
  • State the conditions for Solenoidal (V=0\nabla \cdot \vec{V} = 0) and Irrotational (×V=0\nabla \times \vec{V} = 0) fields.
  • Find the scalar potential ϕ\phi if a field is given as irrotational.
  • Write the formula for Green's Theorem.
  • Explain when to use Stokes' theorem vs Gauss's theorem.
  • Use Gauss's divergence theorem to evaluate a complex surface integral over a cube.

20 of 20

Continue in this subject