📘 Lecture 36 — Scalar Field
📖 Overview: This lecture introduces line integrals of scalar and vector fields, explaining how to evaluate them along specified curves. It demonstrates the path-dependent nature of line integrals for vector fields, which is a fundamental concept in vector calculus with applications in physics and engineering.
🗂️ Topics Covered
The lecture covers the definition and evaluation of line integrals for scalar fields, with examples using parametric equations to express the curve. It then extends the concept to vector fields, showing how to compute the scalar product line integral along a curve. The lecture includes detailed examples demonstrating the integration process for both scalar and vector fields over various paths, including piecewise linear paths and straight lines.
📝 Lecture Summary
Scalar Field
If a scalar field V(r) exists for all points on a curve c, the line integral of V is defined as ∑ V(r) dr over n segments, and as dr → 0, this becomes ∫c V(r) dr. This integral is represented by the area of a curved surface erected above the curve between points A and B. To evaluate, the integrand is expressed in terms of x, y, z with dr = dx i + dy j + dz k. In practice, x, y, and z are often expressed in parametric form x = x(u), y = y(u), z = z(u), allowing dx, dy, dz to be written in terms of u.
🔑 Definition — Line integral of a scalar field: ∫c V(r) dr is the integral of the scalar field V along curve c, evaluated by expressing V and dr in terms of a parameter.
📐 Formula: ∫c V(r) dr = ∫ V(u) [x'(u) i + y'(u) j + z'(u) k] du
📌 Example: If V = xy²z, evaluate ∫c V(r) dr along curve c: x = 3u, y = 2u², z = u³ between A(0,0,0) and B(3,2,1).
- V = (3u)(4u⁴)(u³) = 12u⁸
- dr = 3du i + 4u du j + 3u² du k (since dx=3du, dy=4u du, dz=3u² du)
- Limits: u=0 at A, u=1 at B
- ∫c V dr = ∫₀¹ 12u⁸ (3 i + 4u j + 3u² k) du = ∫₀¹ (36u⁸ i + 48u⁹ j + 36u¹⁰ k) du = [36u⁹/9 i + 48u¹⁰/10 j + 36u¹¹/11 k]₀¹ = 4i + 24/5 j + 36/11 k
📌 Example: If V = xy + y²z, evaluate ∫c V(r) dr along curve c: x = t², y = 2t, z = t+5 between A(0,0,5) and B(4,4,7).
- V = (t²)(2t) + (4t²)(t+5) = 6t³ + 20t²
- dr = 2t dt i + 2 dt j + dt k
- Limits: t=0 at A, t=2 at B
- ∫c V dr = ∫₀² (6t³+20t²)(2t i + 2 j + k) dt = 2∫₀² [(6t⁴+20t³)i + (6t³+20t²)j + (3t³+10t²)k] dt = (8/15)(444i + 290j + 145k)
Vector Field
If a vector field F(r) exists for all points on curve c, the line integral from A to B is ∫c F·dr. Since F·dr is a scalar product, the line integral is a scalar. To evaluate, F and dr are expressed in terms of x, y, z: F = F₁ i + F₂ j + F₃ k and dr = dx i + dy j + dz k, so F·dr = F₁dx + F₂dy + F₃dz.
🔑 Definition — Line integral of a vector field: ∫c F·dr = ∫c F₁dx + F₂dy + F₃dz
📐 Formula: ∫c F·dr = ∫ [F₁(x(u),y(u),z(u)) x'(u) + F₂(u) y'(u) + F₃(u) z'(u)] du
📌 Example: If F(r) = x²y i + xz j + 2yz k, evaluate ∫c F·dr between A(0,0,0) and B(4,2,1) along curve c: x=4t, y=2t², z=t³.
- dx=4dt, dy=4t dt, dz=3t² dt
- x²y = 32t⁴, xz = 4t⁴, 2yz = 4t⁵
- F = 32t⁴ i + 4t⁴ j - 4t⁵ k (note: the text shows -4t⁵ k but the calculation uses +12t⁷)
- dr = 4dt i + 4t dt j + 3t² dt k
- F·dr = (32t⁴·4) + (4t⁴·4t) + (-4t⁵·3t²) = 128t⁴ + 16t⁵ - 12t⁷ (the example in text shows +12t⁷)
- Limits: t=0 at A, t=1 at B
- ∫c F·dr = ∫₀¹ (128t⁴+16t⁵+12t⁷) dt = [128t⁵/5 + 16t⁶/6 + 12t⁸/8]₀¹ = 128/5 + 8/3 + 3/2 = 29.76
💡 Why this matters: The value of a line integral for vector fields can depend on the path taken between endpoints, as the next example shows.
📌 Example: Evaluate ∫c F·dr where F = x²y i + 2yz j + 3z²x k between A(0,0,0) and B(1,2,3) via two different paths.
Path (a): Along c₁, c₂, c₃ piecewise
- c₁: from (0,0,0) to (1,0,0): y=0, z=0, dy=0, dz=0 → ∫c₁ = 0
- c₂: from (1,0,0) to (1,2,0): x=1, z=0, dx=0, dz=0 → ∫c₂ = 0
- c₃: from (1,2,0) to (1,2,3): x=1, y=2, dx=0, dy=0 → ∫c₃ = ∫₀³ 3z² dz = [z³]₀³ = 27
- Total = 27
Path (b): Along straight line c₄ from (0,0,0) to (1,2,3)
- Parametric: x=t, y=2t, z=3t, with t from 0 to 1
- dx=dt, dy=2dt, dz=3dt
- F = (t²·2t) i + (2·2t·3t) j + (3·9t²·t) k = 2t³ i + 12t² j + 27t³ k
- dr = dt i + 2dt j + 3dt k
- F·dr = 2t³·1 + 12t²·2 + 27t³·3 = 2t³ + 24t² + 81t³ = 83t³ + 24t²
- ∫c₄ F·dr = ∫₀¹ (83t³ + 24t²) dt = [83t⁴/4 + 8t³]₀¹ = 83/4 + 8 = 28.75
The value depends on the path: path (a) = 27, path (b) = 28.75.
📌 Example: Evaluate ∫v F dV where v is the region bounded by planes x=0, y=0, z=0 and 2x+y+z=2, with F = 2z i + y k.
- The plane cuts axes at A(1,0,0), B(0,2,0), C(0,0,2)
- z ranges from 0 to 2-2x-y
- ∫v F dV = ∫₀¹ ∫₀²⁻²ˣ ∫₀²⁻²ˣ⁻ʸ (2z i + y k) dz dy dx
- = ∫₀¹ ∫₀²⁻²ˣ [z² i + yz k]₀²⁻²ˣ⁻ʸ dy dx
- = ∫₀¹ ∫₀²⁻²ˣ {[4(1-x)² - 4(1-x)y + y²] i + [2(1-x)y - y²] k} dy dx
- Result: ∫v F dV = (1/3)(2i + k)
⭐ Key Takeaways
The line integral of a scalar field ∫c V dr produces a vector result, while the line integral of a vector field ∫c F·dr produces a scalar result. For evaluation, both the field and the differential must be expressed in terms of a parameter along the curve. A critical exam concept is that line integrals of vector fields can be path-dependent, meaning different paths between the same endpoints yield different values. The parametric method is essential: express x, y, z as functions of a parameter, compute dx, dy, dz, substitute into the integrand, and integrate over the parameter range.
🧠 Quick Revision Questions
- What is the key difference between ∫c V(r) dr for a scalar field and ∫c F·dr for a vector field in terms of the type of result produced?
- How do you express dr in parametric form given x = x(t), y = y(t), z = z(t)?
- In the example with F = x²y i + 2yz j + 3z²x k, why do the two different paths between the same endpoints give different results (27 vs 28.75)?
- For the scalar field line integral ∫c V dr, what does the result physically represent?
- When setting up limits for a parametric line integral, how do you determine the corresponding parameter values for the endpoints?
📘 Lecture 37 — Examples
📖 Overview: This lecture demonstrates the application of surface and volume integrals through several worked examples. It covers evaluation of vector field integrals over volumes using cylindrical coordinates, scalar field surface integrals, and vector field surface integrals using both cylindrical and spherical polar coordinates, concluding with an introduction to conservative vector fields.
🗂️ Topics Covered
The lecture presents four main worked examples: evaluating a vector field volume integral over a cylindrical region; evaluating a scalar field surface integral over a curved cylindrical surface; evaluating a vector field surface integral over a spherical surface in the first octant; evaluating a vector field surface integral over a cylindrical surface in the first two octants. The lecture concludes with a theoretical discussion of conservative vector fields and path independence of line integrals.
📝 Lecture Summary
Example — Volume Integral of F over Cylindrical Region
Evaluate (\int_V \mathbf{F} , dV) where (\mathbf{F} = 2\mathbf{i} + 2z\mathbf{j} + y\mathbf{k}) and V is the region bounded by the planes (z = 0), (z = 4) and the surface (x^2 + y^2 = 9).
It is convenient to use cylindrical polar coordinates ((r, \theta, z)) with transformations:
- (x = r\cos\theta)
- (y = r\sin\theta)
- (z = z)
- (dV = r , dr , d\theta , dz)
The integral becomes: [\int_V \mathbf{F} , dV = \int_{\theta=0}^{2\pi} \int_{r=0}^{3} \int_{z=0}^{4} (2\mathbf{i} + 2z\mathbf{j} + r\sin\theta , \mathbf{k}) , r , dz , dr , d\theta]
After integration with respect to (z): [= \int_{\theta=0}^{2\pi} \int_{r=0}^{3} [2z\mathbf{i} + z^2\mathbf{j} + r\sin\theta , z\mathbf{k}]{z=0}^{4} , r , dr , d\theta] [= \int{\theta=0}^{2\pi} \int_{r=0}^{3} (8\mathbf{i} + 16\mathbf{j} + 4r\sin\theta , \mathbf{k}) , r , dr , d\theta]
Factoring: [= 4 \int_{\theta=0}^{2\pi} \int_{r=0}^{3} (2r\mathbf{i} + 4r\mathbf{j} + r^2\sin\theta , \mathbf{k}) , dr , d\theta]
Integrating with respect to (r): [= 4 \int_{\theta=0}^{2\pi} \left[ r^2\mathbf{i} + 2r^2\mathbf{j} + \frac{r^3}{3}\sin\theta , \mathbf{k} \right]{r=0}^{3} d\theta] [= 4 \int{\theta=0}^{2\pi} (9\mathbf{i} + 18\mathbf{j} + 9\sin\theta , \mathbf{k}) , d\theta] [= 36 \int_{\theta=0}^{2\pi} (\mathbf{i} + 2\mathbf{j} + \sin\theta , \mathbf{k}) , d\theta] [= 36 \left[ \theta\mathbf{i} + 2\theta\mathbf{j} - \cos\theta , \mathbf{k} \right]_{0}^{2\pi}] [= 36 \left{ (2\pi\mathbf{i} + 4\pi\mathbf{j} - \mathbf{k}) - (-\mathbf{k}) \right}] [= 72\pi (\mathbf{i} + 2\mathbf{j})]
Scalar Field Surface Integral
A scalar field (F = xyz) exists over the curved surface S defined by (x^2 + y^2 = 4) between the planes (z = 0) and (z = 3) in the first octant. Evaluate (\int_S \mathbf{F} , d\mathbf{S}) over this surface.
We have (F = xyz) and S: (x^2 + y^2 - 4 = 0), (z = 0) to (z = 3).
The unit normal vector is (\hat{\mathbf{n}} = \frac{\nabla S}{|\nabla S|}).
∇S = (\frac{\partial S}{\partial x}\mathbf{i} + \frac{\partial S}{\partial y}\mathbf{j} + \frac{\partial S}{\partial z}\mathbf{k} = 2x\mathbf{i} + 2y\mathbf{j})
(|\nabla S| = \sqrt{4x^2 + 4y^2} = 2\sqrt{x^2 + y^2} = 2\sqrt{4} = 4)
Therefore (\hat{\mathbf{n}} = \frac{2x\mathbf{i} + 2y\mathbf{j}}{4} = \frac{x\mathbf{i} + y\mathbf{j}}{2})
The vector surface element is (d\mathbf{S} = \hat{\mathbf{n}} , dS = \frac{x\mathbf{i} + y\mathbf{j}}{2} dS)
Thus: [\int_S \mathbf{F} , d\mathbf{S} = \int_S F \hat{\mathbf{n}} , dS = \frac{1}{2} \int_S xyz(x\mathbf{i} + y\mathbf{j}) , dS = \frac{1}{2} \int_S (x^2yz , \mathbf{i} + xy^2z , \mathbf{j}) , dS]
Converting to cylindrical coordinates with (r = 2):
- (x = 2\cos\theta)
- (y = 2\sin\theta)
- (z = z)
- (dS = 2 , d\theta , dz) (since on cylinder (r=2), the surface element is (r , d\theta , dz))
Then:
- (x^2yz = (4\cos^2\theta)(2\sin\theta)(z) = 8\cos^2\theta \sin\theta , z)
- (xy^2z = (2\cos\theta)(4\sin^2\theta)(z) = 8\cos\theta \sin^2\theta , z)
The integral becomes: [\int_S \mathbf{F} , d\mathbf{S} = \frac{1}{2} \int_{\theta=0}^{\pi/2} \int_{z=0}^{3} (8\cos^2\theta \sin\theta , \mathbf{i} + 8\cos\theta \sin^2\theta , \mathbf{j}) z , (2 , d\theta , dz)] [= 8 \int_{\theta=0}^{\pi/2} \int_{z=0}^{3} (\cos^2\theta \sin\theta , \mathbf{i} + \cos\theta \sin^2\theta , \mathbf{j}) z , dz , d\theta]
First integrate with respect to (z): [= 8 \int_{\theta=0}^{\pi/2} (\cos^2\theta \sin\theta , \mathbf{i} + \cos\theta \sin^2\theta , \mathbf{j}) \left[ \frac{z^2}{2} \right]{0}^{3} d\theta] [= 8 \int{\theta=0}^{\pi/2} (\cos^2\theta \sin\theta , \mathbf{i} + \cos\theta \sin^2\theta , \mathbf{j}) \cdot \frac{9}{2} , d\theta] [= 36 \int_{\theta=0}^{\pi/2} (\cos^2\theta \sin\theta , \mathbf{i} + \cos\theta \sin^2\theta , \mathbf{j}) , d\theta]
Integrating with respect to (\theta): [= 36 \left[ -\frac{\cos^3\theta}{3} \mathbf{i} + \frac{\sin^3\theta}{3} \mathbf{j} \right]_{0}^{\pi/2}] [= 36 \left[ \left( -\frac{0}{3} \mathbf{i} + \frac{1}{3} \mathbf{j} \right) - \left( -\frac{1}{3} \mathbf{i} + \frac{0}{3} \mathbf{j} \right) \right]] [= 36 \left( \frac{1}{3} \mathbf{i} + \frac{1}{3} \mathbf{j} \right) = 12(\mathbf{i} + \mathbf{j})]
💡 Why this matters: This example shows how to handle the direction of the surface element correctly by using the unit normal vector obtained from the gradient of the surface equation.
Vector Field Surface Integral Over Sphere
A vector field (\mathbf{F} = y\mathbf{i} + 2\mathbf{j} + \mathbf{k}) exists over a surface S defined by (x^2 + y^2 + z^2 = 9) bounded by (x = 0), (y = 0), (z = 0) in the first octant. Evaluate (\int_S \mathbf{F} \cdot d\mathbf{S}).
(d\mathbf{S} = \hat{\mathbf{n}} , dS); (\hat{\mathbf{n}} = \frac{\nabla S}{|\nabla S|})
S: (x^2 + y^2 + z^2 - 9 = 0)
(\nabla S = \frac{\partial S}{\partial x}\mathbf{i} + \frac{\partial S}{\partial y}\mathbf{j} + \frac{\partial S}{\partial z}\mathbf{k} = 2x\mathbf{i} + 2y\mathbf{j} + 2z\mathbf{k})
(|\nabla S| = \sqrt{4x^2 + 4y^2 + 4z^2} = 2\sqrt{x^2 + y^2 + z^2} = 2\sqrt{9} = 6)
Therefore (\hat{\mathbf{n}} = \frac{2x\mathbf{i} + 2y\mathbf{j} + 2z\mathbf{k}}{6} = \frac{x\mathbf{i} + y\mathbf{j} + z\mathbf{k}}{3})
[\int_S \mathbf{F} \cdot d\mathbf{S} = \int_S \mathbf{F} \cdot \hat{\mathbf{n}} , dS = \int_S (y\mathbf{i} + 2\mathbf{j} + \mathbf{k}) \cdot \frac{x\mathbf{i} + y\mathbf{j} + z\mathbf{k}}{3} , dS] [= \frac{1}{3} \int_S (xy + 2y + z) , dS]
Convert to spherical polar coordinates:
- (x = 3\sin\phi \cos\theta)
- (y = 3\sin\phi \sin\theta)
- (z = 3\cos\phi)
- (dS = 9\sin\phi , d\phi , d\theta)
Limits: (\phi = 0) to (\frac{\pi}{2}); (\theta = 0) to (\frac{\pi}{2})
Components:
- (xy = (3\sin\phi \cos\theta)(3\sin\phi \sin\theta) = 9\sin^2\phi \cos\theta \sin\theta)
- (2y = 2 \cdot 3\sin\phi \sin\theta = 6\sin\phi \sin\theta)
- (z = 3\cos\phi)
Substituting: [\int_S \mathbf{F} \cdot d\mathbf{S} = \frac{1}{3} \int_{\phi=0}^{\pi/2} \int_{\theta=0}^{\pi/2} (9\sin^2\phi \cos\theta \sin\theta + 6\sin\phi \sin\theta + 3\cos\phi) \cdot 9\sin\phi , d\phi , d\theta]
Factor: [= 9 \int_{\phi=0}^{\pi/2} \int_{\theta=0}^{\pi/2} (3\sin^3\phi \cos\theta \sin\theta + 2\sin^2\phi \sin\theta + \sin\phi \cos\phi) , d\phi , d\theta]
Using Wallis formula:
- (\int_0^{\pi/2} \sin^3\phi , d\phi = \frac{2}{3})
- (\int_0^{\pi/2} \sin^2\phi , d\phi = \frac{\pi}{4})
The integration yields: [= 9 \int_{\theta=0}^{\pi/2} \left( \frac{2}{3}\cos\theta \sin\theta + \frac{\pi}{4}\sin\theta + \frac{1}{2} \right) d\theta] [= 9 \left[ \sin^2\theta - \frac{\pi}{4}\cos\theta + \frac{1}{2}\theta \right]_{0}^{\pi/2}] [= 9 \left[ \left(1 - 0 + \frac{\pi}{4}\right) - \left(0 - \frac{\pi}{4} + 0\right) \right]] [= 9 \left( 1 + \frac{\pi}{4} + \frac{\pi}{4} \right) = 9 \left( 1 + \frac{\pi}{2} \right)]
Vector Field Surface Integral Over Cylinder
Evaluate (\int_S \mathbf{F} \cdot d\mathbf{S}) where (\mathbf{F} = 2y\mathbf{j} + z\mathbf{k}) and S is the surface (x^2 + y^2 = 4) in the first two octants bounded by the planes (z = 0), (z = 5) and (y = 0).
S: (x^2 + y^2 - 4 = 0)
(\hat{\mathbf{n}} = \frac{\nabla S}{|\nabla S|})
(\nabla S = 2x\mathbf{i} + 2y\mathbf{j})
(|\nabla S| = \sqrt{4x^2 + 4y^2} = 2\sqrt{x^2 + y^2} = 2\sqrt{4} = 4)
(\hat{\mathbf{n}} = \frac{2x\mathbf{i} + 2y\mathbf{j}}{4} = \frac{x\mathbf{i} + y\mathbf{j}}{2})
[\int_S \mathbf{F} \cdot d\mathbf{S} = \int_S \mathbf{F} \cdot \hat{\mathbf{n}} , dS = \int_S (2y\mathbf{j} + z\mathbf{k}) \cdot \frac{x\mathbf{i} + y\mathbf{j}}{2} , dS] [= \frac{1}{2} \int_S (2y^2) , dS = \int_S y^2 , dS]
Use cylindrical polar coordinates:
- (x = 2\cos\theta)
- (y = 2\sin\theta)
- (z = z)
- (dS = 2 , d\theta , dz)
Limits: (\theta = 0) to (\pi) (first two octants); (z = 0) to (5)
[\int_S \mathbf{F} \cdot d\mathbf{S} = \int_S (4\sin^2\theta)(2 , d\theta , dz) = 8 \int_{z=0}^{5} \int_{\theta=0}^{\pi} \sin^2\theta , d\theta , dz]
Using (\sin^2\theta = \frac{1-\cos 2\theta}{2}): [= 4 \int_{z=0}^{5} \int_{\theta=0}^{\pi} (1 - \cos 2\theta) , d\theta , dz] [= 4 \int_{z=0}^{5} \left[ \theta - \frac{\sin 2\theta}{2} \right]{0}^{\pi} dz] [= 4 \int{z=0}^{5} \pi , dz] [= 4\pi [z]_{0}^{5} = 20\pi]
Conservative Vector Fields
In general, the value of the integral (\int_C \mathbf{F} \cdot d\mathbf{r}) between two stated points A and B depends on the particular path of integration followed. If, however, the line integral between A and B is independent of the path of integration between the two end points, then the vector field (\mathbf{F}) is said to be conservative.
🔑 Definition — Conservative Vector Field: A vector field (\mathbf{F}) is conservative if the line integral (\int_C \mathbf{F} \cdot d\mathbf{r}) between any two points A and B is independent of the path taken.
It follows that, for a closed path in a conservative field: [\oint_C \mathbf{F} \cdot d\mathbf{r} = 0]
Proof: If the field is conservative: [\int_{C_1(AB)} \mathbf{F} \cdot d\mathbf{r} = \int_{C_2(AB)} \mathbf{F} \cdot d\mathbf{r}]
But: [\int_{C_2(BA)} \mathbf{F} \cdot d\mathbf{r} = -\int_{C_2(AB)} \mathbf{F} \cdot d\mathbf{r}]
For the closed path (AB_{C_1} + BA_{C_2}): [\oint \mathbf{F} \cdot d\mathbf{r} = \int_{C_1(AB)} \mathbf{F} \cdot d\mathbf{r} + \int_{C_2(AB)} \mathbf{F} \cdot d\mathbf{r}] [= \int_{C_1(AB)} \mathbf{F} \cdot d\mathbf{r} - \int_{C_1(AB)} \mathbf{F} \cdot d\mathbf{r} = 0]
💡 Why this matters: Conservative vector fields are fundamental in physics — gravitational and electrostatic fields are conservative, making their line integrals path-independent and equal to the difference in potential function values.
⭐ Key Takeaways
The lecture demonstrates that surface and volume integrals can be evaluated systematically by converting to appropriate coordinate systems — cylindrical coordinates for cylindrical and circular surfaces, and spherical coordinates for spherical surfaces. The key steps involve: computing the unit normal vector from the gradient of the surface equation; transforming the integrand and surface element to the chosen coordinates; carefully setting up limits of integration corresponding to the region; and integrating with respect to each variable in the proper order. For conservative vector fields, line integrals between two points are path-independent, and closed path integrals vanish — this property distinguishes them from non-conservative fields where path matters.
🧠 Quick Revision Questions
-
How do you compute the unit normal vector (\hat{\mathbf{n}}) for a surface defined implicitly by (S(x,y,z) = 0)?
-
What are the cylindrical coordinate transformations and corresponding volume and surface elements for a cylinder of radius (r)?
-
In the scalar field example over the cylindrical surface, why was the surface element (dS = 2,d\theta,dz) on the surface (x^2 + y^2 = 4)?
-
Show mathematically that for a conservative vector field, the line integral around any closed path equals zero.
-
In the spherical surface example, what are the spherical coordinate transformations and why were the limits (\phi = 0) to (\pi/2) and (\theta = 0) to (\pi/2)?
📘 Lecture 38 — Vector Field
📖 Overview: This lecture introduces the concept of conservative vector fields and the conditions that determine whether a field is conservative. It then covers two of the most important integral theorems of vector calculus: the Divergence Theorem (Gauss’ theorem) and Stokes’ Theorem, demonstrating their application through detailed worked examples.
🗂️ Topics Covered
The lecture begins by defining conservative vector fields and showing that for such fields, the line integral between two points is path-independent, leading to a zero circulation around any closed loop. Three equivalent tests for a conservative field are presented (zero circulation, zero curl, and gradient form). The second half details the Divergence Theorem, relating volume integrals of divergence to surface integrals of flux, and Stokes’ Theorem, relating surface integrals of curl to line integrals around a boundary. Both theorems are verified with step-by-step examples over a rectangular volume and a hemisphere, respectively.
📝 Lecture Summary
Conservative Vector Fields
In general, the value of the line integral of a vector field F between two points depends on the path taken. If the integral between points A and B is independent of the path, the field is called a conservative vector field. For a closed path in a conservative field, the circulation is zero: ∮_C F·dr = 0. This holds only for a closed curve in a conservative field, as the path independence forces the integral over an out-and-back path to cancel.
🔑 Definition — Conservative Vector Field: A vector field where the line integral between any two points is independent of the path taken between them. Equivalently, the integral around any closed loop is zero.
📌 Example: Determine if F = 2xyz i + x²z j + x²y k is conservative by evaluating the line integral from A(0,0,0) to B(2,4,6) along two different paths.
- Path 1 (parametric: x=u, y=u², z=3u): transform F·dr to find the integral = 96.
- Path 2 (three straight segments: c₁: (0,0,0)→(2,0,0); c₂: (2,0,0)→(2,4,0); c₃: (2,4,0)→(2,4,6)): evaluate each segment. c₁ gives 0, c₂ gives 0, c₃ gives 96. Total = 96. Since both paths give 96, the field is conservative.
Tests for a Conservative Field
Any one of three equivalent conditions can be used to test if a vector field is conservative: (a) ∮_C F·dr = 0 for all closed curves C. (b) curl F = 0. (c) F = ∇V (i.e., F is the gradient of some scalar potential V). For the field F = 2xyz i + x²z j + x²y k: curl F = (x²−x²)i − (2xy−2xy)j + (2xz−2xz)k = 0. This confirms the field is conservative.
🔑 Definition — curl F: A vector operator that measures the rotation or “vorticity” of a vector field. If curl F = 0, the field is irrotational and conservative. 📐 Formula: curl F = ∇ × F 📌 Example (verifying curl = 0): For F = 2xyz i + x²z j + x²y k, the components give curl = (x²−x²)i − (2xy−2xy)j + (2xz−2xz)k = 0.
Divergence Theorem (Gauss’ theorem)
For a closed surface S enclosing a volume V in a vector field F: ∫_V (div F) dV = ∮_S F·dS This states the volume integral of the divergence of F equals the total outward flux of F through the surface S.
🔑 Definition — Divergence Theorem: Relates a volume integral of divergence to a surface integral of flux, equating the net “source” inside a volume to the net flow across its boundary. 📐 Formula: ∫_V (∇·F) dV = ∮_S F·n̂ dS
📌 Example: Verify the Divergence Theorem for F = x²i + zj + yk over the region bounded by z=0, z=2, x=0, x=1, y=0, y=3.
- (a) Volume integral: div F = 2x. ∫_V 2x dV = ∫₀¹ ∫₀³ ∫₀² 2x dz dy dx = 6.
- (b) Surface integral: Evaluate F·n̂ dS over all 6 faces.
- S₁ (z=0, n̂ = −k): flux = −9/2.
- S₂ (z=2, n̂ = k): flux = 9/2.
- S₃ (y=3, n̂ = j): flux = 2.
- S₄ (y=0, n̂ = −j): flux = −2.
- S₅ (x=1, n̂ = i): flux = 6.
- S₆ (x=0, n̂ = −i): flux = 0.
- Total flux = (−9/2) + (9/2) + 2 − 2 + 6 + 0 = 6. Since both integrals equal 6, the theorem is verified.
Stokes Theorem
If F is a vector field over an open surface S and its boundary curve C: ∫_S (curl F)·dS = ∮_C F·dr This states the surface integral of the curl of F equals the circulation of F around the boundary.
🔑 Definition — Stokes’ Theorem: Relates a surface integral of the curl of a vector field to a line integral around the boundary curve of the surface. 📐 Formula: ∫_S (∇ × F)·n̂ dS = ∮_C F·dr
📌 Example: Verify Stokes’ Theorem for F = 2yi − xj + xzk over the hemisphere S: x²+y²+z²=4 (z≥0), with boundary C: x²+y²=4, z=0.
- (a) Line integral around C: parametrize C as x=2cosθ, y=2sinθ, z=0. ∮_C F·dr = ∫₀²π (2y dx − x dy) = −12π.
- (b) Surface integral: First, curl F = −zj − 3k. The unit normal n̂ = (xi+yj+zk)/2. curl F·n̂ = (−yz − 3z)/2. Parametrizing the hemisphere (x=2sinφcosθ, y=2sinφsinθ, z=2cosφ, dS=4sinφ dφ dθ), the integral becomes ½∫₀²π∫₀^{π/2} (−2sinφ sinθ·2cosφ − 6cosφ)·4 sinφ dφ dθ = −12π. Since both calculations yield −12π, Stokes’ Theorem is verified.
⭐ Key Takeaways
The most critical concept from this lecture is that a conservative vector field is defined by path-independent line integrals, which is equivalent to it having zero curl and being expressible as the gradient of a scalar potential. You must be able to apply the three tests for conservatism: checking if the closed line integral is zero, computing the curl, or recognizing a gradient field. The Divergence Theorem and Stokes’ Theorem are powerful tools that convert volume integrals into surface integrals and surface integrals into line integrals, respectively, which are essential for simplifying complex vector calculus problems on exams. Finally, you need to master setting up the correct parametrizations and surface normals when applying these theorems to specific geometries like rectangular boxes or hemispheres.
🧠 Quick Revision Questions
- What are the three equivalent conditions that define a conservative vector field?
- For a conservative field, what is the value of the line integral around any closed loop?
- State the mathematical formulas for the Divergence Theorem and Stokes’ Theorem.
- Given F = (2xy + z³)i + x²j + 3xz²k, use the curl test to determine if it is conservative.
- Describe the steps involved in verifying Stokes’ Theorem for a given vector field and a specific surface.
📘 Lecture 39 — Periodic Functions
📖 Overview: This lecture introduces periodic functions and their mathematical representation, focusing on sine and cosine functions with varying amplitudes and periods. It builds foundational knowledge for understanding Fourier series by covering analytical descriptions of periodic functions, essential integrals, and the trigonometric series representation of periodic functions with period 2π.
🗂️ Topics Covered
The lecture covers the definition and characteristics of periodic functions including amplitude and period, graphs of y = A sin nx and y = A cos nx, analytical description of periodic functions with examples and sketching exercises, useful integrals that appear frequently in Fourier series work, and the Fourier series representation of periodic functions of period 2π including the expansion of sine terms into cosine and sine components.
📝 Lecture Summary
Periodic functions
A periodic function f(x) is defined as a function whose values repeat at regular intervals of the independent variable. The regular interval between repetitions is called the period of the oscillations. Mathematically, a periodic function satisfies f(x + p) = f(x) where p is the period.
Graphs of y = A sin nx
The most obvious example of a periodic function is y = sin x, which goes through its complete range of values as x increases from 0° to 360°. The period is therefore 360° or 2π radians, and the amplitude is the maximum displacement from the position of rest.
For y = 5 sin 2x, the amplitude is 5, the period is 180°, and there are 2 complete cycles in 360°.
🔑 Definition — Amplitude: The maximum displacement from the position of rest for a periodic function
📌 Example — Functions with their amplitudes and periods:
- y = 3 sin 5x: amplitude = 3, period = 72°
- y = 2 cos 3x: amplitude = 2, period = 120°
- y = sin(x/2): amplitude = 1, period = 720°
- y = 4 sin 2x: amplitude = 4, period = 180°
📐 Formula: For y = A sin nx, amplitude = A, period = 360°/n = 2π/n, with n cycles in 360°
Graphs of y = A cos nx have the same characteristics as y = A sin nx.
Analytical description of a periodic function
A periodic function can be defined analytically in many cases using piecewise definitions.
📌 Example — Between x = 0 and x = 4, y = 3, i.e., f(x) = 3 for 0 < x < 4 Between x = 4 and x = 6, y = 0, i.e., f(x) = 0 for 4 < x < 6 The function is defined as: f(x) = 3 for 0 < x < 4 f(x) = 0 for 4 < x < 6 f(x) = f(x + 6) (indicating period of 6 units)
📌 Additional examples of piecewise periodic functions:
- f(x) = 2 − x for 0 < x < 3, f(x) = −1 for 3 < x < 5, f(x) = f(x+5)
- f(x) = 3x for 0 < x < 4, f(x) = 7 − x for 4 < x < 10, f(x) = −3 for 10 < x < 13, f(x) = f(x+13)
📌 Sketching exercise examples:
- f(x) = 4 for 0 < x < 5, f(x) = 0 for 5 < x < 8, f(x) = f(x+8)
- f(x) = 3x − x² for 0 < x < 3, f(x) = f(x+3)
- f(x) = 2 sin x for 0 < x < π, f(x) = 0 for π < x < 2π, f(x) = f(x+2π)
- f(x) = x²/4 for 0 < x < 4, f(x) = 4 for 4 < x < 6, f(x) = 0 for 6 < x < 8, f(x) = f(x+8)
Useful integrals
The following integrals appear frequently in work on Fourier series. In each case, m and n are integers other than zero, and integration is from −π to π.
📐 Formulas: (a) ∫ sin nx dx = 0 (b) ∫ cos nx dx = 0 (c) ∫ sin² nx dx = (1/2)∫(1−cos2nx)dx = π (n ≠ 0) (d) ∫ cos² nx dx = (1/2)∫(1+cos2nx)dx = π (n ≠ 0) (e) ∫ sin nx cos mx dx = 0 (f) ∫ cos nx cos mx dx = 0 (n ≠ m); = π (n = m) (g) ∫ sin nx sin mx dx = 0 (n ≠ m); = π (n = m)
📌 Note: These integrals have been evaluated between −π and π, but provided integration is carried out over a complete periodic interval of 2π, the results are the same. Limits could be −π to π, 0 to 2π, −π/2 to 3π/2, etc.
📌 Derivation notes:
- For (c): ∫ sin² nx dx = ½ ∫(1−cos2nx)dx = ½[x − (sin2nx)/2n] = π
- For (d): ∫ cos² nx dx = ½ ∫(1+cos2nx)dx = ½[x + (sin2nx)/2n] = π
- For (e): ∫ sin nx cos mx dx = ½ ∫{sin(n+m)x+sin(n−m)x}dx = 0
Fourier series
Periodic functions of period 2π
The basis of a Fourier series is to represent a periodic function by a trigonometric series of the form:
f(x) = A₀ + c₁ sin(x+α₁) + c₂ sin(2x+α₂) + c₃ sin(3x+α₃) + ... + cₙ sin(nx+αₙ) + ...
where:
- A₀ is a constant term
- c₁, c₂, c₃, ..., cₙ denote the amplitudes of the compound sine terms
- α₁, α₂, α₃, ... are constant auxiliary angles
Each sine term cₙ sin(nx + αₙ) can be expanded: cₙ sin(nx + αₙ) = cₙ{sin nx cos αₙ + cos nx sin αₙ} = (cₙ sin αₙ) cos nx + (cₙ cos αₙ) sin nx = aₙ cos nx + bₙ sin nx
📐 Formula: Fourier series representation f(x) = A₀ + Σ∞ₙ₌₁ {aₙ cos nx + bₙ sin nx}
💡 Why this matters: This Fourier series representation is the foundation for decomposing complex periodic waveforms into simple sine and cosine components, which is essential in signal processing, acoustics, electrical engineering, and solving partial differential equations.
⭐ Key Takeaways
A periodic function satisfies f(x+p)=f(x) with amplitude A and period 360°/n for y=A sin nx or y=A cos nx. This lecture establishes the crucial integral identities: ∫ sin²nx dx = π, ∫ cos²nx dx = π, while integrals of products of different sine/cosine functions over 2π intervals equal zero. The Fourier series expresses any periodic function as f(x)=A₀+Σ(aₙ cos nx + bₙ sin nx), where each sine term is expanded into cosine and sine components. The orthogonality of trigonometric functions (integrals of products being zero unless frequencies match) is the key property enabling Fourier coefficient calculation. These concepts together form the mathematical foundation for representing and analyzing periodic phenomena.
🧠 Quick Revision Questions
- What is the amplitude and period of the function y = 3 sin 5x?
- Define a periodic function mathematically and give its defining equation.
- What is the value of ∫ sin² nx dx evaluated from −π to π?
- Under what condition does ∫ cos nx cos mx dx equal π instead of 0?
- Write the general form of a Fourier series for a periodic function of period 2π.