Vector Calculus
Divergence Gradient and Curl
Ross Mcgowan
Table of Contents
Section 1 - DIV
Lecture Page
1 – Introduction
2 - Vectors Functions 1
3 – Electrostatics 2
4 - Unit Normal 7
5 - Surface Integral 9
6 - Flux 14
7 - Divergence of a Vector Field 17
8 - Divergence in Cylindrical Coordinates 20
9 - Divergence in Spherical Coordinates 22
10 - The Del Operator 25
11 - Divergence Theorem 26
12 – MATLAB Divergence 30
Section 2 - CURL
13 - Line Integral 31
14 - Path Independence and Circulation 34
15 - Curl 37
16 - Curl Intuition 41
17 - Curl Cylindrical Coordinates 44
(i)
Lecture Page
18 - Curl Spherical Coordinates 47
19 - Differential Form of Circulation 50
20 - Stoke’s Theorem 52
21 - Application of Stoke’s Theorem 55
22 - Simply Connected Regions and Path Independence 56
23 - MATLAB Curl 58
Section 3 - GRAD
24 - Gradient Vector (GRAD) 61
25 - Directional Derivative 63
26 - Equipotential Surfaces 66
27 - Gradient in Cylindrical Coordinates 67
28 - Gradient in Spherical Coordinates 68
29 – MATLAB Gradient 69
Section 4 – LAPLACIAN
30 - Laplacian 71
31 - Finding Electrostatic Field 73
32 - MATLAB Laplacian 77
33 – Summary 78
34 – Goodbye
(ii)
Matlab Files
1 - Vector_Function.m
2 - Divergence.m
3 – DIVERGENCE_SYMBOLIC.m
4 - Curl.m
5 - CURL_SYMBOLIC
6 - Gradient.m
7 – GRADIENT_SYMBOLIC.m
9 - Laplacian.m
10 - LAPLACIAN_SYMBOLIC
(iii)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79