Partial derivatives
Partial derivative is to differentiate functions of multiple variables. Assume a function f = f(x, y)
, you are differentiating f with respect x, that is the usual definition of a derivative of a function of one variable, but y is held constant. There is something called mix partial. It does not depend on the order that you take derivative. One important use is Taylor series. We can expend functions in terms of their partial derivatives.
Another important application of using partial derivatives is to find minimum of a function, e.g.: minimizing the sum of the squares. We set the partial derivatives with respect to variables to 0. That will give us a system of equations. Then we can solve by any method you like.
Chain Rule
Total differential tells you how function f is changing when you change both its variables, say x and y.
df = f(x + dx, y + dy) - f(x, y)
Total differential can also be written in partial derivatives.
df = βf/βx dx + βf/βy dy
Suppose, x and y are functions of t, when we got chain rule:0
df/dt = βf/βx dx/dt + βf/βy dy/dt
Triple Product Rule
Assume we have a function f with 3 variables x, y, and z, f(x, y, z) = 0
, but they are related x = x(y, z), z = z(x, y)
:
βx/βz βz/βx = 1 # reciprocity relation
βx/βy βy/βz βz/βx = -1 # triple product rule
Gradient
The gradient takes the partial derivative and puts them in a vector form. It shows up in all the fundamental equations of nature. The gradient is intrinsically a three dimensional object.
f = f(x, y, z)
df = βf/βx dx + βf/βy dy + βf/βz dz
= (βf/βx i + βf/βy j + βf/βz k) β (dx i + dy j + dz k)
= βf β dr
df is maximum when βf is parallel to dr. If you want to get the maximum change of f, you have to vary your motion in the direction of the gradient. So the direction of the gradient gives you the direction of the maximum change of f, when you move a little bit dr.
Del operator β
Differential operator “del” (also called nabla symbol):
β = i β/βx + j β/βy + k β/βz
Divergence
Divergence is fundamental to Maxwell’s equations. It means you have a source of something that is going out. We have a vector field:
u = u1(x, y, z) i + u2(x, y, z) j + u3(x, y, z) k
Divergence of u is:
β β u = (i β/βx + j β/βy + k β/βz) β (i u1 + j u2 + k u3)
= βu1/βx + βu2/βy + βu3/βz
An important example is the divergence of the electric field from a point charge is zero.
β β (r / |r|3) = 0, |r| β 0
Curl
If a vector field has a non-zero curl, it usually means that there’s some swirling motion, some vorticity in the vector field. The curl of a vector field is del cross u, the vector product, which can be calculated using 3 by 3 determinant.
β Γ u = (i β/βx + j β/βy + k β/βz) Γ (i u1 + j u2 + k u3)
= (βu3/βy - βu2/βz) i + (βu1/βz - βu3/βx) j + (βu2/βx - βu1/βy) k
An important example is the curl of gradient id zero.
β Γ (βf) = 0
and divergence of a curl is zero:
β β (β Γ u) = 0
Laplacian operator β2
Laplacian operator is defined as below. It can act on both a scalar field or a vector field. It shows up in a lot of PDEs.
β2 = β β β = β2/βx2 + β2/βy2 + β2/βz2
Electromagnetic waves
Light waves, radio waves, x-rays are all waves consisting of electric fields E and magnetic fields B. Free space means there is no charges, no currents. Maxwell’s equations in free space can be written:
β β E = 0
β β B = 0
β Γ E = - βB/βt
β Γ B = ΞΌ0Ξ΅0 βE/βt
To derive electromagnetic waves, we condense these equations into a single equation for the electric field.
My Certificate
For more on From Partial Derivatives to Maxwell’s Equations, please refer to the wonderful course here https://www.coursera.org/learn/vector-calculus-engineers
Related Quick Recap
I am Kesler Zhu, thank you for visiting my website. Check out more course reviews at https://KZHU.ai