General Physics II · Mathematical Toolkit
This page collects the mathematical support supplied with lectures 1–4. Some appendix details were assigned for independent reading rather than fully developed in class. They support the first six classes and introduce no additional physics syllabus.
1. Vectors, components, and projections
Write \(\mathbf A=A_x\hat{\mathbf x}+A_y\hat{\mathbf y}+A_z\hat{\mathbf z}\). In a Cartesian orthonormal basis,
The dot product extracts a projected contribution, as in work or flux. The component along a unit vector \(\hat{\mathbf n}\) is \(\mathbf A\cdot\hat{\mathbf n}\); the projected vector is \((\mathbf A\cdot\hat{\mathbf n})\hat{\mathbf n}\).
The cross product has magnitude \(AB\sin\theta\) and direction from the right-hand rule:
It represents torque \(\mathbf r\times\mathbf F\) and the oriented area of a parallelogram. Having a magnitude and direction does not by itself make a quantity a vector; vector addition and transformation rules must also hold. Finite three-dimensional rotations, for example, are not generally added as ordinary vectors.
中文提示:点乘用于取投影,叉乘用于取有向面积和力矩。先明确向量的起点、终点、方向,再代入坐标分量。
2. Taylor expansion and controlled approximations
For a sufficiently smooth function near zero,
Useful small-parameter forms are
Use dimensionless expansion parameters. For a far-field problem \(r\gg d\), the small parameter is \(d/r\), not the dimensional distance \(d\) by itself. For example,
In a dipole, leading monopole terms cancel. Keep enough terms before subtracting to retain the first nonzero answer. The same lesson applies to estimating the far field of a disk and the narrow-gap limit of a coaxial capacitor.
3. Line integrals(曲线积分)
Parameterize a curve by \(\mathbf r(t)=(x(t),y(t),z(t))\), \(t_i\le t\le t_f\):
The vector displacement includes direction and reverses when the curve is traversed backward. A scalar line integral instead uses positive arc length,
Do not replace the vector displacement in work with its magnitude unless the required directional projection is already included.
For a potential field \(\mathbf A=\nabla f\), the fundamental theorem gives \(\int_i^f\nabla f\cdot d\boldsymbol\ell=f_f-f_i\). For \(\mathbf E=-\nabla V\), the minus sign reverses the potential difference.
4. Surface integrals and normals(曲面积分)
A scalar surface integral adds a quantity per unit area: \(Q=\int_S\sigma_s\,dA\). A flux integral uses an oriented normal: \(\Phi=\int_S\mathbf A\cdot\hat{\mathbf n}\,dA\).
For a surface \(z=f(x,y)\), an upward normal and area element satisfy
Thus the product simplifies:
and for the upward-oriented surface,
This is evaluated on the surface, so any apparent \(z\) dependence must be replaced by \(f(x,y)\). A downward orientation changes the flux sign. Scalar area does not change sign.
More generally, for \(\mathbf r(u,v)\),
5. Spherical coordinates(球坐标)
Use \(r\ge0\), polar angle \(0\le\theta\le\pi\) measured from \(+z\), and azimuth \(0\le\phi<2\pi\) measured from \(+x\) toward \(+y\):
The basis \(\hat{\mathbf r},\hat{\boldsymbol\theta},\hat{\boldsymbol\phi}\) is orthonormal locally but changes with position. The differential displacement is
The volume and spherical-surface elements are
The solid-angle element is \(d\Omega=\sin\theta\,d\theta\,d\phi\), integrating to \(4\pi\) over a sphere.
Gradient and divergence
For a scalar,
For a vector field with spherical components,
For radial \(\mathbf A=A_r(r)\hat{\mathbf r}\) this reduces to \(r^{-2}d(r^2A_r)/dr\). For a spherically symmetric potential,
These factors account for the change of geometry and basis; Cartesian component formulas cannot be copied unchanged into spherical components.
6. Two integral theorems
The divergence theorem relates a volume to its closed outward boundary:
Stokes's theorem relates an oriented surface to its oriented boundary curve:
Both require appropriate regularity, or careful treatment of excluded singularities. A field proportional to \(\hat{\mathbf r}/r^2\) is not smooth at the origin, so an ordinary zero-divergence calculation at \(r>0\) cannot discard its point source.
Why zero curl needs a domain condition
On the punctured \(xy\) plane, take
Its curl vanishes away from the axis, but a loop once around the origin has integral \(2\pi\). Any spanning disk intersects the excluded singular axis, so one cannot apply the smooth-field version of Stokes's theorem there. There is no globally single-valued potential on the punctured domain. This mathematical example explains the qualifier used in classes 3–4.
7. Dirac delta and ideal point charges
The delta distribution is defined by integration against a smooth test function:
It has unit inverse length, and its integral is one. The slide shorthand “zero except at one point, infinite there” is a mnemonic; \(\delta\) is not an ordinary function whose value at the point is a number.
In three dimensions,
Its volume integral gives \(q\) when the point is inside. The distributional Coulomb identities are
These reconcile local differentiation away from the origin with the nonzero flux through an enclosing sphere.
References
Lecture 1 appendices provide vector algebra and expansions; lecture 2 appendices provide spherical coordinates and surface integration; lecture 3's appendix provides parameterized line integration; lecture 4 appendices provide spherical divergence and delta distributions. The domain counterexample is an explanatory mathematical addition, not a claim that it was separately lectured.