📘 Lecture 30 — Exact Differential
📖 Overview: This lecture introduces the concept of exact differentials, building on the total differential of a function of multiple variables. It covers the test for exactness, the method for integrating exact differentials to recover the original function, and extends the concept to line integrals and their application in calculating areas enclosed by curves.
🗂️ Topics Covered
The lecture begins by reviewing the total differential for functions of two or more variables, then defines an exact differential and establishes the test for exactness using partial derivatives. It provides worked examples for both testing and integrating exact differentials. The final sections apply these concepts to calculate the area enclosed by closed curves using line integrals, defining line integrals and their alternative forms using x and y components.
📝 Lecture Summary
Exact Differential
If ( z = f(x, y) ), then the total differential is ( dz = \frac{\partial z}{\partial x} dx + \frac{\partial z}{\partial y} dy ). This result can be extended to functions of more than two independent variables. For ( z = f(x, y, w) ), the differential is ( dz = \frac{\partial z}{\partial x} dx + \frac{\partial z}{\partial y} dy + \frac{\partial z}{\partial w} dw ).
Exercise: Determine the differential ( dz ) for each function.
- ( z = x^2 + y^2 ): ( dz = 2(x dx + y dy) )
- ( z = x^3 \sin 2y ): ( dz = x^2(3 \sin 2y , dx + 2x \cos 2y , dy) )
- ( z = (2x - 1)e^{3y} ): ( dz = e^{3y} {2dx + (6x - 3)dy} )
- ( z = x^2 + 2y^2 + 3w^2 ): ( dz = 2(x dx + 2y dy + 3w dw) )
- ( z = x^3 y^2 w ): ( dz = x^2 y (3yw dx + 2xw dy + xy dw) )
Working in reverse, any expression ( dz = P dx + Q dy ), where ( P ) and ( Q ) are functions of ( x ) and ( y ), is an exact differential if it can be integrated to determine ( z ). This means ( P = \frac{\partial z}{\partial x} ) and ( Q = \frac{\partial z}{\partial y} ).
The condition for exactness is derived from the equality of mixed partial derivatives. Since ( \frac{\partial P}{\partial y} = \frac{\partial^2 z}{\partial y \partial x} ) and ( \frac{\partial Q}{\partial x} = \frac{\partial^2 z}{\partial x \partial y} ), and ( \frac{\partial^2 z}{\partial y \partial x} = \frac{\partial^2 z}{\partial x \partial y} ), the test for exactness is: [ \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ]
Example: Test if ( dz = (3x^2 + 4y^2) dx + 8xy dy ) is exact.
- ( P = 3x^2 + 4y^2 ), so ( \frac{\partial P}{\partial y} = 8y )
- ( Q = 8xy ), so ( \frac{\partial Q}{\partial x} = 8y )
- Since ( \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ), ( dz ) is an exact differential.
Example: Test if ( dz = (1 + 8xy) dx + 5x^2 dy ) is exact.
- ( P = 1 + 8xy ), so ( \frac{\partial P}{\partial y} = 8x )
- ( Q = 5x^2 ), so ( \frac{\partial Q}{\partial x} = 10x )
- Since ( \frac{\partial P}{\partial y} \ne \frac{\partial Q}{\partial x} ), ( dz ) is not an exact differential.
Exercise: Determine if each is an exact differential.
- ( dz = 4x^3 y^3 dx + 3x^4 y^2 dy ): Yes
- ( dz = (4x^3 y + 2xy^3) dx + (x^4 + 3x^2 y^2) dy ): Yes
- ( dz = (15y^2 e^{3x} + 2xy^2) dx + (10y e^{3x} + x^2 y) dy ): No
- ( dz = (3x^2 e^{2y} - 2y^2 e^{3x}) dx + (2x^3 e^{2y} - 2y e^{3x}) dy ): No
- ( dz = (4y^3 \cos 4x + 3x^2 \cos 2y) dx + (3y^2 \sin 4x - 2x^3 \sin 2y) dy ): Yes
Integration Of Exact Differentials
For an exact differential ( dz = P dx + Q dy ), integration recovers the function ( z ). Since ( P = \frac{\partial z}{\partial x} ) and ( Q = \frac{\partial z}{\partial y} ), we have ( z = \int P dx ) and also ( z = \int Q dy ). Each integration introduces an arbitrary function of the other variable, which is then determined by comparing the two expressions.
Example: Integrate ( dz = (2xy + 6x) dx + (x^2 + 2y^3) dy ).
- Integrate ( P ) with respect to ( x ): ( z = \int (2xy + 6x) dx = x^2 y + 3x^2 + f(y) ) (i), where ( f(y) ) is an arbitrary function of ( y ).
- Integrate ( Q ) with respect to ( y ): ( z = \int (x^2 + 2y^3) dy = x^2 y + \frac{y^4}{2} + F(x) ) (ii), where ( F(x) ) is an arbitrary function of ( x ).
- Compare (i) and (ii): For them to represent the same function, ( f(y) = \frac{y^4}{2} ) and ( F(x) = 3x^2 ).
- Therefore, ( z = x^2 y + 3x^2 + \frac{y^4}{2} ).
Example: Integrate ( dz = (8e^{4x} + 2xy^2) dx + (4\cos 4y + 2x^2 y) dy ).
- Integrate ( P ) with respect to ( x ): ( z = \int (8e^{4x} + 2xy^2) dx = 2e^{4x} + x^2 y^2 + f(y) ) (i)
- Integrate ( Q ) with respect to ( y ): ( z = \int (4\cos 4y + 2x^2 y) dy = \sin 4y + x^2 y^2 + F(x) ) (ii)
- Comparing (i) and (ii): ( f(y) = \sin 4y ) and ( F(x) = 2e^{4x} ).
- Therefore, ( z = 2e^{4x} + x^2 y^2 + \sin 4y ).
Area enclosed by the closed curve
A classic application of integration is finding the area of a plane figure. The area enclosed by a closed curve can be evaluated using a line integral. The formula is: [ A = -\oint y , dx ] where the symbol ( \oint ) indicates integration around the closed boundary in the positive (anticlockwise) direction.
Example: Determine the area enclosed by ( y = x^3 ) and ( y = 4x ) for ( x > 0 ).
- Points of intersection: ( x = 0 ) and ( x = 2 ).
- Integrate anticlockwise:
- Curve ( C_1 ): ( y = x^3 ), limits ( x = 0 ) to ( x = 2 )
- Curve ( C_2 ): ( y = 4x ), limits ( x = 2 ) to ( x = 0 )
- ( A = -\oint y , dx = -\left[ \int_0^2 x^3 dx + \int_2^0 4x dx \right] )
- ( A = -\left[ \left. \frac{x^4}{4} \right|_0^2 + \left. 2x^2 \right|_2^0 \right] = -\left[ (4 - 0) + (0 - 8) \right] = -[4 - 8] = 4 ) square units.
Example: Find the area of the triangle with vertices (0,0), (5,3), and (2,6).
- Equations of sides:
- OA: ( y = \frac{3}{5}x )
- BA: ( y = 8 - x )
- OB: ( y = 3x )
- Integrate anticlockwise: ( A = -\oint y , dx = -\left[ \int_0^5 \frac{3}{5}x dx + \int_5^2 (8-x) dx + \int_2^0 3x dx \right] )
- ( A = -\left[ \left. \frac{3x^2}{10} \right|_0^5 + \left. (8x - \frac{x^2}{2}) \right|_5^2 + \left. \frac{3x^2}{2} \right|_2^0 \right] = -\left[ 7.5 + (12 - 27.5) + (0 - 6) \right] )
- ( A = -\left[ 7.5 - 15.5 - 6 \right] = -[-14] = 12 ) square units.
Line Integrals
If a field exists in the xy-plane producing a force F on a particle at point K, the work done in moving the particle along a curve from A to B is given by a line integral: [ \text{Work} = \int_{AB} F_t , ds = \int_C F_t , ds ] where ( F_t ) is the tangential component of the force along the curve, ( C ) is the curve ( y = f(x) ) between A and B, and ( ds ) is an infinitesimal arc length.
It is often more convenient to integrate with respect to x or y. If ( F_t ) has a component ( P ) in the x-direction and ( Q ) in the y-direction, then: [ \int_{AB} F_t , ds = \int_{AB} (P dx + Q dy) ] where ( P ) and ( Q ) are functions of ( x ) and ( y ). In general, the line integral can be expressed as: [ I = \int_C F_t , ds = \int_C (P dx + Q dy) ]
⭐ Key Takeaways
The lecture establishes the crucial link between total differentials and the condition for exactness through the equality of mixed partial derivatives, a test that must always be applied. The method for integrating exact differentials requires integrating with respect to each variable and reconciling the arbitrary functions, a technique fundamental to solving differential equations. A powerful application is the calculation of enclosed areas using line integrals of the form ( \oint y , dx ), which simplifies geometry problems. Finally, the line integral is introduced as a tool for calculating work done by a force field along a path, with an alternative form in terms of x and y components.
🧠 Quick Revision Questions
- What is the mathematical condition for an expression ( dz = P dx + Q dy ) to be an exact differential?
- When integrating an exact differential by integrating ( P ) with respect to ( x ), what step is taken to recover the full function ( z )?
- What is the formula for calculating the area enclosed by a closed curve using a line integral, and in which direction is the integral evaluated?
- In the context of line integrals, what do the symbols ( P ) and ( Q ) represent in the expression ( \int_C (P dx + Q dy) )?
- Why is the test for exactness based on the equality of the second-order partial derivatives ( \frac{\partial^2 z}{\partial y \partial x} ) and ( \frac{\partial^2 z}{\partial x \partial y} )?
📘 Lecture 31 — Line Integral
📖 Overview: This lecture introduces the concept of line integrals, which extend ordinary integration to paths or curves in the plane. Line integrals are essential for calculating work done by a force along a curved path and have important applications in physics and engineering. The lecture demonstrates evaluation techniques, alternative forms, and properties of line integrals.
🗂️ Topics Covered
The lecture covers the definition of line integrals as work done along a curve, the alternative form using P and Q components, evaluation of line integrals along different paths including curves y = f(x) and lines, comparison of results along distinct paths, six properties of line integrals, and examples involving semi-circles, triangles, and circles.
📝 Lecture Summary
Line Integral
The work done in moving a particle through a small distance δs from K to L along a curve is approximately F₁ δs. The total work done in moving a particle along the curve from A to B is given by:
Limit Σ F δs = ∫ F ds from A to B as δ→0
This is written as ∫ₐᵇ Fᵼ ds where A and B are the end points, or as ∫ₓ Fᵼ ds where the curve c connects A and B. Such an integral is called a line integral since integration is carried out along the path of the curve c joining A and B.
∴ I = ∫ₐᵇ Fᵼ dx = ∫ₓ Fᵼ ds, where c is the curve y = f(x) between A(x₁, y₂) and B(x₂, y₂).
Alternative form of a line integral
It is often more convenient to integrate with respect to x or y than to take arc length as the variable. If Fᵼ has a component P in the x-direction and Q in the y-direction, then the work done from K to L can be stated as P δx + Q δy.
Example 1 Evaluate ∫ (x + 3y) dx from A(0, 1) to B(2, 5) along the curve y = 1 + x².
The line integral is of the form ∫ (P dx + Q dy) where Q = 0 and c is y = 1 + x².
I = ∫ (x + 3y) dx = ∫₀² (x + 3 + 3x²) dx = [x²/2 + 3x + x³]₀² = 16
Example 2 Evaluate I = ∫ (x² + y) dx + (x − y²) dy from A(0, 2) to B(2, 5) along y = 2 + x.
P = x² + y = x² + 2 + x = x² + x + 2 Q = x − y² = x − (4 + 4x + x²) = −(x² + 3x + 4)
Since y = 2 + x, dy = dx with limits x = 0 to x = 3.
I = ∫₀² {(x² + x + 2) dx − (x² + 3x + 4) dx} = ∫₀² −(2x + 2) dx = [−x² − 2x]₀² = −4 − 4 = −8
Example 3 Evaluate I = ∫ {(x² + 2y) dx + xy dy} from O(0, 0) to B(1, 4) along y = 4x².
y = 4x², so dy = 8x dx x² + 2y = x² + 8x² = 9x² xy = 4x³
I = ∫₀¹ {9x² dx + 32x⁴ dx} = ∫₀¹ (9x² + 32x⁴) dx = 9.4
Example 4 Evaluate I = ∫ {(x² + 2y) dx + xy dy} from O(0,0) to A(1,0) along y = 0, then from A(1,0) to B(1,4) along x = 1.
(i) OA: c₁ is y = 0, dy = 0 Iₒₐ = ∫₀¹ x² dx = [x³/3]₀¹ = 1/3
(ii) AB: c₂ is x = 1, dx = 0 Iₐᵦ = ∫₀⁴ y dy = [y²/2]₀⁴ = 8
Then I = Iₒₐ + Iₐᵦ = 1/3 + 8 = 8⅓
Comparing Example 3 (I = 9⅓) and Example 4 (I = 8⅓): integration along two distinct paths joining the same two end points does not necessarily give the same results.
Properties of line integrals
-
∫ F ds = ∫ {P dx + Q dy}
-
∫ₐᵦ F ds = −∫ᵦₐ F ds and ∫ₐᵦ {P dx + Q dy} = −∫ᵦₐ {P dx + Q dy} The sign of a line integral is reversed when the direction of integration along the path is reversed.
-
(a) For a path parallel to the y-axis (x = k, dx = 0): ∫ P dx = 0 ∴ I = ∫ Q dy (b) For a path parallel to the x-axis (y = k, dy = 0): ∫ Q dy = 0 ∴ I = ∫ P dx
-
If the path c joining A to B is divided into two parts AK and KB, then Iₓ = Iₐᵦ = Iₐₖ + Iₖᵦ
-
If the path c is not single-valued for part of its extent, the path is divided into two sections: y = f₁(x) from A to K, y = f₂(x) from K to B.
-
The actual path of integration must be continuous and single-valued.
Example Evaluate I = ∫ (x + y) dx from A(0, 1) to B(0, −1) along the semi-circle x² + y² = 1 for x > 0.
The path c is not single-valued since y = ±√(1−x²). Divide c into two parts: (i) y = √(1−x²) from A to K (ii) y = −√(1−x²) from K to B
Here Q = 0, so I = ∫ P dx
I = ∫₀¹ (x + √(1−x²)) dx + ∫₁₀ (x − √(1−x²)) dx = ∫₀¹ (x + √(1−x²) − x + √(1−x²)) dx = 2∫₀¹ √(1−x²) dx
Substitute x = sin θ, dx = cos θ dθ, √(1−x²) = cos θ Limits: x = 0, θ = 0; x = 1, θ = π/2
I = 2∫₀^(π/2) cos²θ dθ = ∫₀^(π/2) (1 + cos 2θ) dθ = [θ + (sin 2θ)/2]₀^(π/2) = π/2
Example Evaluate I = ∮ (x² dx − 2xy dy) where c comprises the three sides of the triangle O(0,0), A(1,0), and B(0,1) in anticlockwise order.
(a) OA: c₁ is y = 0, dy = 0 I₁ = ∫₀¹ x² dx = [x³/3]₀¹ = 1/3
(b) AB: c₂ is y = 1 − x, dy = −dx I₂ = ∫₀¹ {x² dx + 2x(1−x)dx} = ∫₀¹ (x² + 2x − 2x²) dx = ∫₀¹ (2x − x²) dx = [x² − x³/3]₀¹ = 1 − 1/3 = 2/3
Wait—recalculating: I₂ = ∫₀¹ (2x − x²) dx = [x² − x³/3]₀¹ = 1 − 1/3 = 2/3
(c) BO: c₃ is x = 0, dx = 0 I₃ = ∫ 0 dy = 0
I = I₁ + I₂ + I₃ = 1/3 + (−2/3) + 0 = −1/3
Example Evaluate ∮ y dx where c is the circle x² + y² = 4.
y = ±√(4−x²), not single-valued. Use y = √(4−x²) for ALB between x = 2 and x = −2, and y = −√(4−x²) for BMA between x = −2 and x = 2.
I = ∫₂⁻² √(4−x²) dx + ∫₋₂² {−√(4−x²)} dx = −2∫₋₂² √(4−x²) dx = −4∫₀² √(4−x²) dx
Substitute x = 2 sin θ, dx = 2 cos θ dθ, √(4−x²) = 2 cos θ Limits: x = 0, θ = 0; x = 2, θ = π/2
I = −4∫₀^(π/2) 4 cos²θ dθ = −16∫₀^(π/2) cos²θ dθ = −8∫₀^(π/2) (1 + cos 2θ) dθ = −8[θ + sin 2θ/2]₀^(π/2) = −8(π/2) = −4π
⭐ Key Takeaways
A line integral evaluates a function along a curve rather than along a straight axis, and is computed by substituting the curve equation and integrating with respect to a single variable. The result of a line integral may depend on the path taken between two points, not just the endpoints — as shown by Examples 3 and 4. When the path is not single-valued, it must be split into single-valued sections. Key properties include sign reversal when direction is reversed, special cases for horizontal/vertical paths, and additivity when paths are divided. For closed curves, proper orientation (anticlockwise) and careful treatment of limits are essential.
🧠 Quick Revision Questions
- How do you convert a line integral ∫ (P dx + Q dy) into an ordinary integral when the path is y = f(x)?
- Why did Examples 3 and 4 give different results for the same endpoints along different paths?
- What does it mean for a path to be "not single-valued" and how do you handle such paths in line integrals?
- If a line integral is evaluated from B to A instead of A to B, what happens to the value?
- How would you evaluate ∮ (x² dx + y² dy) around a rectangle with vertices (0,0), (2,0), (2,3), (0,3)?
📘 Lecture 32 — Examples
📖 Overview: This lecture demonstrates the evaluation of line integrals along various paths, including rectangular boundaries, straight lines, and parametric curves. It explores the concept of path dependence and independence in line integrals, showing how exact differentials lead to path-independent results.
🗂️ Topics Covered
The lecture covers evaluation of line integrals along rectangular boundaries with four segments, line integrals with respect to arc length including conversion formulas using dy/dx and parametric forms, parametric equations for line integrals, and the critical concept of dependence versus independence of line integrals on the path of integration with examples showing both scenarios.
📝 Lecture Summary
Example 1: Rectangular Boundary
Evaluate I = ∮{xydx+(1+y²)dy} where c is the boundary of the rectangle joining A(1,0), B(3,0), C(3,2), D(1,2). The boundary is traversed anticlockwise through four segments.
AB (c₁): y = 0 → dy = 0 → I₁ = 0
BC (c₂): x = 3 → dx = 0 I₂ = ∫₀² (1+y²)dy = [y + y³/3]₀² = 4⅓
CD (c₃): y = 2 → dy = 0 I₃ = ∫₃¹ 2xdx = [x²]₃¹ = -8
DA (c₄): x = 1 → dx = 0 I₄ = ∫₂⁰ (1+y²)dy = [y + y³/3]₂⁰ = -4⅓
I = I₁ + I₂ + I₃ + I₄ = 0 + 4⅓ - 8 - 4⅓ = -8
💡 Why this matters: Unless directed otherwise, always proceed round the closed boundary in an anticlockwise manner.
Line Integral with respect to Arc Length
The integral I = ∫ f(x,y) ds can be converted into an integral in terms of x:
📐 Formula: I = ∫ f(x,y) dx where ds/dx = √(1 + (dy/dx)²)
I = ∫ₓ₁ˣ² f(x,y)√(1 + (dy/dx)²) dx
Example 2: Straight Line Path
Evaluate I = ∫(4x+3xy)ds where c is the straight line joining O(0,0) to A(1,2).
c is the line y = 2x → dy/dx = 2
ds/dx = √(1 + 2²) = √5
I = ∫₀¹ (4x+3xy)(√5) dx
Since y = 2x: I = ∫₀¹ (4x+6x²)(√5) dx = 2√5 ∫₀¹ (2x+3x²) dx = 4√5
Parametric Equations
When x = φ(t) and y = g(t):
📐 Formula: ds/dt = √((dx/dt)² + (dy/dt)²) → ds = √((dx/dt)² + (dy/dt)²) dt
I = ∫ₜ₁ᵗ² f(x,y) √((dx/dt)² + (dy/dt)²) dt
Example 3: Parametric Curve
Evaluate I = ∮ 4xyds where c is defined as x = sin t, y = cos t between t=0 and t=π/4.
dx/dt = cos t, dy/dt = -sin t
ds/dt = √(cos²t + sin²t) = 1
I = ∫₀^(π/4) 4 sin t cos t (1) dt = 2∫₀^(π/4) sin 2t dt
= -2[cos 2t/2]₀^(π/4) = -[cos(π/2) - cos 0] = -[0 - 1] = 1
Dependence of Line Integral on Path of Integration
Integration along two separate paths joining the same two endpoints does not necessarily give identical results.
Example 4: Path Independence Demonstration
Evaluate I = ∮{3x²y² dx + 2x³y dy} between O(0,0) and A(2,4) along three different paths.
Path c₁: y = x² dy = 2x dx I₁ = ∫₀² (3x²x⁴ + 2x³x²·2x)dx = ∫₀² (3x⁶ + 4x⁶)dx = ∫₀² 7x⁶ dx = [x⁷]₀² = 128
Path c₂: y = 2x dy = 2dx I₂ = ∫₀² (3x²·4x² + 2x³·2x·2)dx = ∫₀² (12x⁴ + 8x⁴)dx = ∫₀² 20x⁴ dx = 4[x⁵]₀² = 128
Path c₃: x=0 from (0,0) to (0,4), then y=4 from (0,4) to (2,4) Segment 1: x=0, dx=0 → I₃ₐ = 0 Segment 2: y=4, dy=0 → I₃ᵦ = ∫₀² 48x² dx = 128 I₃ = 128
All three paths give the same result: 128.
🔑 Definition — Exact Differential: The integrand 3x²y² dx + 2x³y dy is an exact differential of z = x³y², since ∂z/∂x = 3x²y² and ∂z/∂y = 2x³y.
If the integrand is an exact differential, the value of the line integral is independent of the path and depends only on the coordinates of the two endpoints.
⭐ Key Takeaways
Line integrals around closed boundaries are evaluated by breaking them into segments and summing individual contributions, always traversing anticlockwise. Arc length integrals require converting ds using ds/dx = √(1+(dy/dx)²) for Cartesian form or ds/dt = √((dx/dt)²+(dy/dt)²) for parametric form. The most critical concept is that when the integrand Pdx+Qdy is an exact differential of some function, the line integral becomes path-independent, depending only on the endpoints. This was demonstrated when 3x²y²dx+2x³ydy was shown to be the exact differential of x³y², giving identical results (128) for three different paths. Students must be able to recognize exact differentials and understand their implications for path independence.
🧠 Quick Revision Questions
-
What is the value of the line integral around the rectangle A(1,0), B(3,0), C(3,2), D(1,2) for the integrand xydx+(1+y²)dy?
-
How do you convert a line integral with respect to arc length into an integral with respect to x?
-
What is the parametric formula for ds when x = φ(t) and y = g(t)?
-
What condition must the integrand Pdx+Qdy satisfy for the line integral to be independent of path?
-
Why did all three different paths in Example 4 give the same result of 128?
📘 Lecture 33 — Examples
📖 Overview: This lecture provides worked examples demonstrating the integration of exact differentials in both two and three independent variables. It also introduces Green’s theorem, showing how a double integral over a plane region can be transformed into a line integral over its boundary, and vice versa, with practical examples to illustrate its application.
🗂️ Topics Covered
The lecture covers evaluating line integrals of exact differentials in two variables with examples, extending the concept to exact differentials in three independent variables with a verification and evaluation example, and then introduces and applies Green’s theorem to evaluate line integrals around closed boundaries, including an ellipse and a triangle, comparing the method to direct path integration.
📝 Lecture Summary
Example
Evaluate ( I = \int_C {3y dx + (3x+2y) dy} ) from A(1, 2) to B(3, 5).
No path is given, so the integrand is doubtless an exact differential of some function ( z = f(x, y) ). In fact ( \frac{\partial P}{\partial y} = 3 = \frac{\partial Q}{\partial x} ). We have already dealt with the integration of exact differentials, so there is no difficulty. Compare with ( I = \int_C {P dx + Q dy} ).
( P = \frac{\partial z}{\partial x} = 3y \Rightarrow z = \int 3y dx = 3xy + f(y) ) (i) ( Q = \frac{\partial z}{\partial y} = 3x + 2y \Rightarrow z = \int (3x+2y) dy = 3xy + y^2 + F(x) ) (ii)
For (i) and (ii) to agree, ( f(y) = y^2 ) and ( F(x) = 0 ). Hence ( z = 3xy + y^2 ).
( \Rightarrow I = \int_{(1,2)}^{(3,5)} {3y dx + (3x+2y) dy} = \int_{(1,2)}^{(3,5)} d(3xy+y^2) = [3xy+y^2]_{(1,2)}^{(3,5)} = (45+25) - (6+4) = 60 )
Example
Evaluate ( I = \int_C {(x^2+ye^x) dx + (e^x+y) dy} ) between A(0, 1) and B(1, 2).
As before, compare with ( \int_C {P dx+Q dy} ).
( P = \frac{\partial z}{\partial x} = x^2 + ye^x \Rightarrow z = \frac{x^3}{3} + ye^x + f(y) ) ( Q = \frac{\partial z}{\partial y} = e^x + y \Rightarrow z = ye^x + \frac{y^2}{2} + F(x) )
For these expressions to agree, ( f(y) = \frac{y^2}{2} ) and ( F(x) = \frac{x^3}{3} ).
Then ( I = \left[ \frac{x^3}{3} + ye^x + \frac{y^2}{2} \right]_{(0,1)}^{(1,2)} = \frac{5}{6} + 2e )
So the main points are that, if ( (Pdx+Qdy) ) is an exact differential: (a) ( I = \int_C (Pdx + Qdy) ) is independent of the path of integration. (b) ( \oint_C (P dx + Q dy) ) is zero.
If ( I = \int_C {P dx + Q dy} ) and ( (Pdx+Qdy) ) is an exact differential, then ( I_{c_1} = I_{c_2} ) and ( I_{c_1} + I_{c_2} = 0 ). Hence, the integration taken round a closed curve is zero, provided ( (Pdx+Q dy) ) is an exact differential. Therefore, if ( (P dx + Q dy) ) is an exact differential, ( \oint_C (P dx + Q dy) = 0 ).
Exact differentials in three independent variables
A line integral in space naturally involves three independent variables, but the method is very much like that for two independent variables.
( dz = Pdx + Q dy + R dw ) is an exact differential of ( z = f(x, y, w) ) if: ( \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ; \frac{\partial P}{\partial w} = \frac{\partial R}{\partial x} ; \frac{\partial R}{\partial y} = \frac{\partial Q}{\partial w} )
If the test is successful, then: (a) ( \int_C (P dx + Q dy + R dw) ) is independent of the path of integration. (b) ( \oint_C (P dx + Q dy + R dw) ) is zero.
Example Verify that ( dz = (3x^2 y w + 6x) dx + (x^3 w - 8y) dy + (x^3 y + 1) dw ) is an exact differential and hence evaluate ( \int_C dz ) from A(1, 2, 4) to B(2, 1, 3).
First check that ( dz ) is an exact differential by finding the partial derivatives, where ( P = 3x^2 y w + 6x ), ( Q = x^3 w - 8y ), and ( R = x^3 y + 1 ).
( \frac{\partial P}{\partial y} = 3x^2 w ; \frac{\partial Q}{\partial x} = 3x^2 w \Rightarrow \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ) ( \frac{\partial P}{\partial w} = 3x^2 y ; \frac{\partial R}{\partial x} = 3x^2 y \Rightarrow \frac{\partial P}{\partial w} = \frac{\partial R}{\partial x} ) ( \frac{\partial R}{\partial y} = x^3 ; \frac{\partial Q}{\partial w} = x^3 \Rightarrow \frac{\partial R}{\partial y} = \frac{\partial Q}{\partial w} ) Therefore, ( dz ) is an exact differential.
Now to find ( z ). ( P = \frac{\partial z}{\partial x} ; Q = \frac{\partial z}{\partial y} ; R = \frac{\partial z}{\partial w} ).
( \frac{\partial z}{\partial x} = 3x^2 y w + 6x \Rightarrow z = \int (3x^2 y w + 6x) dx = x^3 y w + 3x^2 + f(y) + F(w) ) ( \frac{\partial z}{\partial y} = x^3 w - 8x \Rightarrow z = \int (x^3 w - 8y) dy = x^3 y w - 4y^2 + g(x) + F(w) ) ( \frac{\partial z}{\partial w} = x^3 y + 1 \Rightarrow z = \int (x^3 y + 1) dw = x^3 y w + w + h(y) + g(x) )
For these three expressions for ( z ) to agree: ( f(y) = -4y^2 ; F(w) = w ; g(x) = 3x^2 ). Therefore, ( z = x^3 y w + 3x^2 - 4y^2 + w ).
( \Rightarrow I = \int_{(1,2,4)}^{(2,1,3)} dz = [x^3 y w + 3x^2 - 4y^2 + w]_{(1,2,4)}^{(2,1,3)} = (24+12-4+3) - (8+3-16+4) = 36 )
The extension to line integrals in space is thus quite straightforward.
Finally, we have a theorem that can be very helpful on occasions and which links up with the work we have been doing.
Green’s Theorem
Let ( P ) and ( Q ) be two functions of ( x ) and ( y ) that are finite and continuous inside and on the boundary ( c ) of a region ( R ) in the xy-plane. If the first partial derivatives are continuous within the region and on the boundary, then Green’s theorem states that: ( \iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx dy = - \oint_C (P dx + Q dy) )
That is, a double integral over the plane region ( R ) can be transformed into a line integral over the boundary ( c ) of the region – and the action is reversible.
EXAMPLE Evaluate ( I = \oint_C {(2x - y) dx + (2y + x) dy} ) around the boundary ( c ) of the ellipse ( x^2 + 9y^2 = 16 ).
The integral is of the form ( I = \oint_C {P dx + Q dy} ) where ( P = 2x - y \Rightarrow \frac{\partial P}{\partial y} = -1 ) and ( Q = 2y + x \Rightarrow \frac{\partial Q}{\partial x} = 1 ).
( \Rightarrow I = - \iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx dy = - \iint_R (-1 - 1) dx dy = 2 \iint_R dx dy )
But ( \iint_R dx dy ) over any closed region gives the area of the figure. In this case, then, ( I = 2A ) where ( A ) is the area of the ellipse ( x^2 + 9y^2 = 16 ) i.e. ( \frac{x^2}{16} + \frac{9y^2}{16} = 1 ). Therefore, ( a = 4 ) and ( b = \frac{4}{3} ), so ( A = \frac{16\pi}{3} ). Hence, ( I = 2A = \frac{32\pi}{3} ).
To demonstrate the advantage of Green’s theorem, let us work through the next example (a) by the previous method, and (b) by applying Green’s theorem.
Example Evaluate ( I = \oint_C {(2x+y) dx + (3x-2y) dy} ) taken in anticlockwise manner round the triangle with vertices at O(0,0), A(1,0), B(1,2).
(a) By the previous method There are clearly three stages with ( c_1, c_2, c_3 ).
(i) ( c_1 ) is ( y = 0 \Rightarrow dy = 0 ). ( I_1 = \int_0^1 2x dx = [x^2]_0^1 = 1 ).
(ii) ( c_2 ) is ( x = 1 \Rightarrow dx = 0 ). ( I_2 = \int_0^2 (3-2y) dy = [3y - y^2]_0^2 = 2 ).
(iii) ( c_3 ) is ( y = 2x \Rightarrow dy = 2 dx ). ( I_3 = \int_1^0 {4x dx + (3x - 4x)2 dx} = \int_1^0 2x dx = [x^2]_1^0 = -1 ).
( I = I_1 + I_2 + I_3 = 1 + 2 + (-1) = 2 ).
(b) By Green’s theorem ( I = \oint_C {(2x+y) dx + (3x-2y) dy} ) ( P = 2x + y \Rightarrow \frac{\partial P}{\partial y} = 1 ; Q = 3x - 2y \Rightarrow \frac{\partial Q}{\partial x} = 3 ).
( I = - \iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx dy = - \iint_R (1 - 3) dx dy = 2 \iint_R dx dy = 2A )
( I = 2 \times ) the area of the triangle ( = 2 \times 1 = 2 ).
Application of Green’s theorem is not always the quickest method. It is useful, however, to have both methods available.
📐 Formula: ( \iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx dy = - \oint_C (P dx + Q dy) ) → The double integral of the difference of partial derivatives over a plane region equals the negative of the line integral around the closed boundary.
📌 Example (Ellipse): The line integral around ellipse ( x^2 + 9y^2 = 16 ) is ( 32\pi/3 ), found by using Green's theorem to convert it to ( 2 \times ) the area of the ellipse.
📌 Example (Triangle): The line integral around the triangle (0,0), (1,0), (1,2) is 2, found both by direct path integration and by Green's theorem as ( 2 \times ) the triangle area (area=1).
💡 Why this matters: Green's theorem provides a powerful alternative for evaluating line integrals, especially for closed curves, by converting them into double integrals over the enclosed area, which can often be simpler to compute.
⭐ Key Takeaways
The key points from this lecture are understanding that for an exact differential ( Pdx+Qdy ), its line integral is path-independent and zero around any closed loop, with this property extending to three independent variables. Green's theorem provides a crucial connection between a line integral around a closed curve and a double integral over the enclosed region, allowing conversion between the two forms. The condition for a differential to be exact involves equality of mixed partial derivatives, which must be verified before applying path independence. Worked examples demonstrate that using integration by recognizing exact differentials can be more efficient than direct path integration, and using Green's theorem is often simpler than evaluating a line integral directly along multiple segments. Finally, both direct and theorem-based methods serve as valuable tools, with the choice depending on the specific problem.
🧠 Quick Revision Questions
- State the condition for which ( \oint_C (P dx + Q dy) = 0 ).
- What are the three conditions that must hold for ( Pdx+Qdy+Rdw ) to be an exact differential in three variables?
- Write down Green’s theorem relating a line integral around a closed curve C to a double integral over the region R bounded by C.
- For the integral ( I = \oint_C {(2x+y) dx + (3x-2y) dy} ) around a triangle, what does Green’s theorem reduce the calculation to, and what is its value?
- If ( dz = Pdx + Qdy ) is an exact differential, what can be said about the value of the line integral ( \int_C dz ) between two points, regardless of the path?
📘 Lecture 34 — Examples
📖 Overview: This lecture applies Green’s theorem to evaluate line integrals and compute areas bounded by curves. It also introduces the fundamental vector calculus operators — gradient, divergence, and curl — along with their properties and multiple operations, concluding with general results like curl grad φ = 0 and div curl A = 0.
🗂️ Topics Covered
The lecture begins with examples using Green’s theorem to compute line integrals and areas enclosed by curves, including regions bounded by y = x² and x = y², y = 3x² and y = 6x, and y = 2x³ with y = x³ + 1. It then presents a revision summary of line integral properties and Green’s theorem. The second half introduces the gradient of a scalar function, divergence of a vector function, and curl of a vector function, with worked examples for each. Multiple operations such as grad div A, div grad φ, and curl curl F are demonstrated, followed by proofs that curl grad φ = 0 and div curl A = 0.
📝 Lecture Summary
Example 1: Line Integral Using Green’s Theorem
Evaluate the line integral ( I = \oint_C {xy , dx + (2x - y) , dy} ) around the region bounded by ( y = x^2 ) and ( x = y^2 ). Points of intersection are O(0,0) and A(1,1).
Given ( P = xy ), so ( \frac{\partial P}{\partial y} = x ); ( Q = 2x - y ), so ( \frac{\partial Q}{\partial x} = 2 ).
By Green’s theorem: ( I = -\iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx , dy = -\iint_R (x - 2) dx , dy ) [ I = -\int_{0}^{1} \int_{y=x^2}^{y=\sqrt{x}} (x - 2) dy , dx = -\int_{0}^{1} (x - 2)(\sqrt{x} - x^2) dx ] [ = -\int_{0}^{1} (x^{3/2} - x^3 - 2x^{1/2} + 2x^2) dx = -\left[ \frac{2}{5}x^{5/2} - \frac{1}{4}x^4 - \frac{4}{3}x^{3/2} + \frac{2}{3}x^3 \right]_0^1 = \frac{31}{60} ]
Area Using Green’s Theorem (Special Case)
When ( P = y ) and ( Q = -x ), we have ( \frac{\partial P}{\partial y} = 1 ) and ( \frac{\partial Q}{\partial x} = -1 ). Green’s theorem gives: [ \iint_R {1 - (-1)} dx , dy = -\oint_C (y , dx - x , dy) ] [ 2 \iint_R dx , dy = \oint_C (x , dy - y , dx) ] Therefore, the area of the closed region ( A = \iint_R dx , dy = \frac{1}{2} \oint_C (x , dy - y , dx) )
🔑 Definition — Area formula using line integral: ( A = \frac{1}{2} \oint_C (x , dy - y , dx) )
Example 2: Area Enclosed by y = 3x² and y = 6x
Points of intersection: ( 3x^2 = 6x \Rightarrow x = 0 ) or ( x = 2 ). Evaluate along two paths: OA along c₁ (y = 3x²) and AO along c₂ (y = 6x).
- I₁: c₁ is y = 3x² ⇒ dy = 6x dx. ( I_1 = \int_0^2 (6x^2 dx - 3x^2 dx) = \int_0^2 3x^2 dx = [x^3]_0^2 = 8 )
- I₂: c₂ is y = 6x ⇒ dy = 6 dx. ( I_2 = \int_2^0 (6x dx - 6x dx) = 0 ) So ( 2A = I_1 + I_2 = 8 \Rightarrow A = 4 ) square units.
📌 Example: The area bounded by y = 3x² and y = 6x is 4 square units.
Example 3: Area Bounded by y = 2x³, y = x³ + 1, and x = 0 (for x > 0)
Point of intersection: ( 2x^3 = x^3 + 1 \Rightarrow x = 1 ). Evaluate along three paths:
- OA (c₁): y = 2x³, dy = 6x² dx. ( I_1 = \int_0^1 (6x^3 - 2x^3) dx = \int_0^1 4x^3 dx = [x^4]_0^1 = 1 )
- AB (c₂): y = x³ + 1, dy = 3x² dx. ( I_2 = \int_1^0 (3x^3 - (x^3 + 1)) dx = \int_1^0 (2x^3 - 1) dx = \left[ \frac{1}{2}x^4 - x \right]_1^0 = \frac{1}{2} )
- BO (c₃): x = 0, dx = 0. ( I_3 = 0 ) So ( 2A = 1 + \frac{1}{2} + 0 = \frac{3}{2} \Rightarrow A = \frac{3}{4} ) square units.
Revision Summary — Properties of Line Integrals
- Sign reversal: Reversing the direction of integration reverses the sign of the line integral.
- Path parallel to y-axis: dx = 0 ⇒ ( I_c = \int_c Q , dy )
- Path parallel to x-axis: dy = 0 ⇒ ( I_c = \int_c P , dx )
- Path of integration must be continuous and single-valued.
- In general, the value of the line integral depends on the particular path.
- Exact differential: If P dx + Q dy is an exact differential, then: (a) ( \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ) (b) ( I = \int_c (P dx + Q dy) ) is independent of path (c) ( \oint_C (P dx + Q dy) = 0 )
- Exact differential in three variables: For P dx + Q dy + R dw: (a) ( \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}, \frac{\partial P}{\partial w} = \frac{\partial R}{\partial x}, \frac{\partial R}{\partial y} = \frac{\partial Q}{\partial w} ) (b) Path independent; (c) ( \oint = 0 )
- Green’s theorem: ( \oint_C (P dx + Q dy) = -\iint_R \left( \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x} \right) dx , dy ) and ( \oint_C (x dy - y dx) = 2 \iint_R dx , dy = 2A )
Gradient of a Scalar Function
The del operator is given by ( \nabla = \left( i \frac{\partial}{\partial x} + j \frac{\partial}{\partial y} + k \frac{\partial}{\partial z} \right) ) [ \nabla \phi = \text{grad } \phi = \left( i \frac{\partial}{\partial x} + j \frac{\partial}{\partial y} + k \frac{\partial}{\partial z} \right) \phi = i \frac{\partial \phi}{\partial x} + j \frac{\partial \phi}{\partial y} + k \frac{\partial \phi}{\partial z} ]
🔑 Definition — Gradient: ( \text{grad } \phi = \nabla \phi = \frac{\partial \phi}{\partial x} i + \frac{\partial \phi}{\partial y} j + \frac{\partial \phi}{\partial z} k )
Divergence of a Vector Function
If ( A = a_1 i + a_2 j + a_3 k ), then: [ \text{div } A = \nabla \cdot A = \left( i \frac{\partial}{\partial x} + j \frac{\partial}{\partial y} + k \frac{\partial}{\partial z} \right) \cdot (a_1 i + a_2 j + a_3 k) = \frac{\partial a_1}{\partial x} + \frac{\partial a_2}{\partial y} + \frac{\partial a_3}{\partial z} ]
💡 Why this matters: The grad operator acts on a scalar and gives a vector; the div operator acts on a vector and gives a scalar.
📌 Example: If ( A = x^2 y i - xyz j + yz^2 k ), then div A = ( \frac{\partial}{\partial x}(x^2 y) - \frac{\partial}{\partial y}(xyz) + \frac{\partial}{\partial z}(yz^4) = 2xy - xz + 2yz )
📌 Example: If ( A = 2x^2 y i - 2(xy^2 + y^3)j + 3y^2 z^2 k ), then div A = 4xy - 2(2xy + 3y²z) + 6y²z = 0. Such a vector with ( \nabla \cdot A = 0 ) at all points is called a solenoid vector.
Curl of a Vector Function
The curl operator ( \nabla \times ) acts on a vector and gives another vector.
If ( A = a_1 i + a_2 j + a_3 k ), then: [ \text{curl } A = \nabla \times A = \begin{vmatrix} i & j & k \ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \ a_1 & a_2 & a_3 \end{vmatrix} ] [ = i \left( \frac{\partial a_3}{\partial y} - \frac{\partial a_2}{\partial z} \right) + j \left( \frac{\partial a_1}{\partial z} - \frac{\partial a_3}{\partial x} \right) + k \left( \frac{\partial a_2}{\partial x} - \frac{\partial a_1}{\partial y} \right) ]
🔑 Definition — Curl: curl A = ( \nabla \times A ) is a vector function.
📌 Example: If ( A = (y^4 - x^2 z^2)i + (x^2 + y^2)j - x^2 yz k ), find curl A at (1, 3, -2). ( \nabla \times A = i{ -x^2 z } - j{ -2xyz + 2x^2 z } + k{ 2x - 4y^3 } ) At (1, 3, -2): ( \nabla \times A = i(2) - j(12 - 4) + k(2 - 108) = 2i - 8j - 106k )
📌 Example: Determine curl F at (2, 0, 3) given ( F = ze^{2xy} i + 2xy \cos y j + (x + 2y)k ). Expanding the determinant: ( \nabla \times F = i{2 - 2x \cos y} - j{1 - e^{2xy}} + k{2z \cos y - 2xz e^{2xy}} ) At (2, 0, 3): ( \nabla \times F = i(2-4) - j(1-1) + k(6-12) = -2i - 6k = -2(i + 3k) )
Summary of Grad, Div, and Curl
(a) Grad operator ( \nabla ) acts on a scalar field → gives a vector field. (b) Div operator ( \nabla \cdot ) acts on a vector field → gives a scalar field. (c) Curl operator ( \nabla \times ) acts on a vector field → gives a vector field. (d) For scalar function ( \phi(x,y,z) ): ( \text{grad } \phi = \nabla \phi = \frac{\partial \phi}{\partial x} i + \frac{\partial \phi}{\partial y} j + \frac{\partial \phi}{\partial z} k ) (e) For vector function ( A = a_x i + a_y j + a_z k ): (i) ( \text{div } A = \nabla \cdot A = \frac{\partial a_x}{\partial x} + \frac{\partial a_y}{\partial y} + \frac{\partial a_z}{\partial z} ) (ii) ( \text{curl } A = \nabla \times A = \begin{vmatrix} i & j & k \ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \ a_x & a_y & a_z \end{vmatrix} )
Multiple Operations — Grad div A
If ( A = x^2 y i + y z^3 j - z x^3 k ), then div A = ( 2xy + z^3 + x^3 = \phi ) (say). Then grad (div A) = ( \nabla(\nabla \cdot A) = \frac{\partial \phi}{\partial x} i + \frac{\partial \phi}{\partial y} j + \frac{\partial \phi}{\partial z} k = (2y + 3x^2)i + (2x)j + (3z^2)k )
📌 Example: If ( \phi = xyz - 2y^2 z + x^2 z^2 ), find div grad ( \phi ) at (2, 4, 1). grad ( \phi = (yz + 2xz^2)i + (xz - 4yz)j + (xy - 2y^2 + 2x^2 z)k ) div grad ( \phi = \nabla \cdot (\nabla \phi) = 2z^2 - 4z + 2x^2 ) At (2, 4, 1): ( \nabla \cdot (\nabla \phi) = 2 - 4 + 8 = 6 )
📐 Formula: div grad ( \phi = \nabla \cdot (\nabla \phi) = \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} + \frac{\partial^2 \phi}{\partial z^2} )
Multiple Operations — Curl curl F
If ( F = x^2 yz i + xyz^2 j + y^2 z k ), find curl curl F at (2, 1, 1). First: curl F = ( \nabla \times F = (2yz - 2xyz)i + x^2 y j + (yz^2 - x^2 z)k ) Then: curl curl F = ( \nabla \times (\nabla \times F) = z^2 i - (-2xz - 2y + 2xy)j + (2xy - 2z + 2xz)k ) At (2, 1, 1): curl curl F = i + 2j + 6k
Two Interesting General Results
(a) curl grad ( \phi = 0 ): Let ( \phi ) be a scalar. Then grad ( \phi = \frac{\partial \phi}{\partial x} i + \frac{\partial \phi}{\partial y} j + \frac{\partial \phi}{\partial z} k ). Computing the curl: [ \nabla \times (\nabla \phi) = i\left( \frac{\partial^2 \phi}{\partial y \partial z} - \frac{\partial^2 \phi}{\partial z \partial y} \right) - j\left( \frac{\partial^2 \phi}{\partial z \partial x} - \frac{\partial^2 \phi}{\partial x \partial z} \right) + k\left( \frac{\partial^2 \phi}{\partial x \partial y} - \frac{\partial^2 \phi}{\partial y \partial x} \right) = 0 ] ✅ Result: curl grad ( \phi = \nabla \times (\nabla \phi) = 0 )
(b) div curl A = 0: Let ( A = a_x i + a_y j + a_z k ). curl A = ( i\left( \frac{\partial a_z}{\partial y} - \frac{\partial a_y}{\partial z} \right) - j\left( \frac{\partial a_z}{\partial x} - \frac{\partial a_x}{\partial z} \right) + k\left( \frac{\partial a_y}{\partial x} - \frac{\partial a_x}{\partial y} \right) ) Then div curl A = ( \frac{\partial}{\partial x}\left( \frac{\partial a_z}{\partial y} - \frac{\partial a_y}{\partial z} \right) - \frac{\partial}{\partial y}\left( \frac{\partial a_z}{\partial x} - \frac{\partial a_x}{\partial z} \right) + \frac{\partial}{\partial z}\left( \frac{\partial a_y}{\partial x} - \frac{\partial a_x}{\partial y} \right) = 0 ) ✅ Result: div curl A = ( \nabla \cdot (\nabla \times A) = 0 )
(c) div grad ( \phi ): [ \nabla \cdot (\nabla \phi) = \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} + \frac{\partial^2 \phi}{\partial z^2} ] This is sometimes denoted by ( \nabla^2 \phi ).
⭐ Key Takeaways
Green’s theorem converts a line integral over a closed curve into a double integral over the enclosed area, with the area formula ( A = \frac{1}{2} \oint (x dy - y dx) ) as a special case. The three fundamental vector operators are: gradient (( \nabla \phi ), vector result from scalar), divergence (( \nabla \cdot A ), scalar result from vector), and curl (( \nabla \times A ), vector result from vector). Two essential identities are curl grad φ = 0 and div curl A = 0, which are crucial for verifying conservative fields and vector field properties. Multiple operations like div grad φ produce the Laplacian ( \nabla^2 \phi ), combining second partial derivatives. Mastering these operators and identities is foundational for advanced topics in electromagnetism and fluid dynamics.
🧠 Quick Revision Questions
- What is the formula for area using Green’s theorem, and how is it derived from the special case P = y, Q = -x?
- Compute the area bounded by the curves y = 3x² and y = 6x using the line integral method.
- If A = 2x²y i - 2(xy² + y³)j + 3y²z²k, show that div A = 0 and state what type of vector this is called.
- Prove that curl grad φ = 0 for any scalar function φ.
- Given F = x²yz i + xyz² j + y²z k, compute curl curl F at the point (2, 1, 1).
📘 Lecture 35 — Definite Integrals
📖 Overview: This lecture focuses on evaluating definite integrals of powers of sine and cosine functions over the interval [0, π/2], leading to the Wallis Sine Formula. It also introduces Integration by Parts as a technique for integrating products of functions, and begins the topic of Line Integrals for scalar fields along curves.
🗂️ Topics Covered
The lecture covers definite integrals for sinⁿx and cosⁿx from 0 to π/2 for n = 2 through 12, establishing patterns for even and odd exponents. It then formalizes these patterns into the Wallis Sine Formula. The second half introduces Integration by Parts with worked examples, and concludes with an introduction to Line Integrals of scalar fields along curves, including parametric evaluation.
📝 Lecture Summary
Definite integral for sinⁿx and cosⁿx , 0 ≤ x ≤ π/2
The lecture begins by evaluating specific definite integrals of sinⁿx and cosⁿx from 0 to π/2. For n=2, using the identity sin²x = (1 - cos 2x)/2, the result is π/4. Similarly, cos²x integrates to π/4. For n=3, using sin³x = sin²x sin x = (1 - cos²x) sin x, the integral evaluates to 2/3. For n=4, using sin⁴x = (sin²x)² and the double-angle formula again, the result is 3π/16. The same process is repeated for cos⁴x, yielding the same value.
🔑 Definition — Definite Integral of sinⁿx: The integral of sinⁿx from 0 to π/2 depends on whether n is even or odd. 📐 Formula: For n=2, ∫₀^{π/2} sin²x dx = π/4 📌 Example: ∫₀^{π/2} sin⁴x dx = 1/4 [ (3/2)(π/2) - sin π + (sin 2π)/8 ] = 3π/16
The pattern continues: ∫₀^{π/2} sin⁵x dx = (4·2)/(5·3) = 8/15. ∫₀^{π/2} sin⁶x dx = (5·3·1)/(6·4·2) · π/2 = 5π/32. ∫₀^{π/2} sin⁷x dx = (6·4·2)/(7·5·3) = 48/105. ∫₀^{π/2} sin⁸x dx = (7·5·3·1)/(8·6·4·2) · π/2 = 35π/256. The same patterns hold for cosⁿx: ∫₀^{π/2} cos⁵x dx = 8/15, ∫₀^{π/2} cos⁶x dx = 5π/32, etc.
💡 Why this matters: These integrals appear frequently in physics and engineering, especially in Fourier series and wave analysis.
Wallis Sine Formula
The Wallis Sine Formula provides a compact way to evaluate ∫₀^{π/2} sinⁿx dx and ∫₀^{π/2} cosⁿx dx for any positive integer n.
🔑 Definition — Wallis Sine Formula: A formula for the definite integral of sinⁿx (or cosⁿx) from 0 to π/2. 📐 Formula: When n is even: ∫₀^{π/2} sinⁿx dx = (n-1)/(n) · (n-3)/(n-2) · (n-5)/(n-4) · ... · (5·3·1)/(6·4·2) · π/2. When n is odd: ∫₀^{π/2} sinⁿx dx = (n-1)/(n) · (n-3)/(n-2) · ... · (6·4·2)/(7·5·3). 📌 Example: For n=11 (odd): ∫₀^{π/2} sin¹¹x dx = (10·8·6·4·2)/(11·9·7·5·3). For n=12 (even): ∫₀^{π/2} sin¹²x dx = (11·9·7·5·3·1)/(10·8·6·4·2) · π/2.
The same formula applies for cosⁿx.
Integration By Parts
Integration by Parts is a technique derived from the product rule for differentiation.
🔑 Definition — Integration by Parts: A method to integrate the product of two functions. 📐 Formula: ∫UV dx = U∫V dx - ∫[∫V dx · (dU/dx)] dx 📌 Example: Evaluate ∫x ln x dx. Let U = ln x, V = x. Then ∫x ln x dx = ln x (x²/2) - ∫[(x²/2)(1/x)] dx = (x²/2) ln x - ∫(x/2) dx = (x²/2) ln x - x²/4 + C. 📌 Example: Evaluate ∫x sin x dx. Let U = x, V = sin x. Then ∫x sin x dx = x(-cos x) - ∫(-cos x)(1) dx = -x cos x + ∫cos x dx = -x cos x + sin x + C.
Line Integrals
A line integral extends integration along a curve in space.
🔑 Definition — Line Integral: ∫_c V(r) dr, where V is a scalar field and the integral is taken along curve c from point A to point B. 🔑 Definition — Scalar Field: A function V(r) that assigns a scalar value to every point in space. 🔑 Definition — Position Vector r: A vector from the origin to a point on the curve.
The curve c is divided into small vector elements dr_p. As dr → 0, the sum of V(r)dr_p becomes the line integral. To evaluate, express dr in components: dr = dx i + dy j + dz k, and parameterize x, y, z in terms of a parameter u.
📌 Example: If x = x(u), y = y(u), z = z(u), then dx = (dx/du) du, etc., and the integral becomes ∫_c V(x,y,z) √[(dx/du)² + (dy/du)² + (dz/du)²] du.
⭐ Key Takeaways
For definite integrals of sinⁿx and cosⁿx from 0 to π/2, a clear pattern emerges: when n is even, the result includes a factor of π/2; when n is odd, the result is a rational number. The Wallis Sine Formula captures this pattern and allows quick computation without repeated integration. Integration by Parts requires careful selection of U (to be differentiated) and V (to be integrated), and is essential for products like x ln x or x sin x. Line integrals extend integration to curves in space and require parametric representation of the curve for evaluation. The scalar field V(r) is integrated along the curve by summing contributions from infinitesimal vector arc elements dr.
🧠 Quick Revision Questions
- What is ∫₀^{π/2} sin⁴x dx equal to?
- State the Wallis Sine Formula for even n.
- What is ∫₀^{π/2} cos⁹x dx using the Wallis pattern?
- Using Integration by Parts, evaluate ∫x cos x dx.
- How do you evaluate a line integral of a scalar field V along a curve c?