4.3 Vector Analysis, Linear Algebra, Matrices & Complex Analysis
Key Takeaways
- Vector differential operators—gradient ($\nabla \phi$), divergence ($\nabla \cdot \mathbf{A}$), curl ($\nabla \times \mathbf{A}$), and Laplacian ($\nabla^2 \phi$)—form the mathematical foundation of Maxwell's electromagnetic field equations.
- Gauss's Divergence Theorem connects volume integrals of field divergence to closed surface flux integrals ($\iiint_V \nabla\cdot\mathbf{A}\,dV = \iint_S \mathbf{A}\cdot d\mathbf{S}$), while Stokes' Theorem relates surface curl integrals to closed line integrals ($\iint_S (\nabla\times\mathbf{A})\cdot d\mathbf{S} = \oint_C \mathbf{A}\cdot d\mathbf{r}$).
- Square matrices and determinants are used to analyze multi-mesh electrical networks, where matrix inversion $A^{-1} = \frac{\text{adj}(A)}{\det(A)}$ and Cramer's rule solve simultaneous linear nodal and mesh equations.
- System characteristic equations $\det(\mathbf{A} - \lambda \mathbf{I}) = 0$ yield eigenvalues $\lambda$ and eigenvectors that determine modal stability, natural frequencies, and state-space dynamic responses.
- Complex analytic functions satisfy the Cauchy-Riemann equations ($\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}$, $\frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}$), enabling contour integration via Cauchy's Residue Theorem ($\oint_C f(z)\,dz = 2\pi j \sum \text{Res}$).
4.3 Vector Analysis, Linear Algebra, Matrices & Complex Analysis
Advanced engineering mathematics unifies spatial electromagnetic field theory, multi-variable circuit network equations, system dynamics, and complex boundary integrals. For electrical engineers preparing for the PRC Board Exam, proficiency in vector calculus differential and integral operators, matrix transformations (Cramer's Rule and eigenvalue analysis), and complex analytical residue integration provides essential tools for electromagnetic fields, power system stability, and advanced circuit synthesis.
1. Vector Operations & Differential Calculus
Vector Multiplication
- Dot (Scalar) Product: $\mathbf{A} \cdot \mathbf{B} = |\mathbf{A}||\mathbf{B}| \cos\theta = A_x B_x + A_y B_y + A_z B_z$
- Cross (Vector) Product: $\mathbf{A} \times \mathbf{B} = |\mathbf{A}||\mathbf{B}| \sin\theta , \hat{\mathbf{n}} = \det \begin{bmatrix} \hat{\mathbf{i}} & \hat{\mathbf{j}} & \hat{\mathbf{k}} \ A_x & A_y & A_z \ B_x & B_y & B_z \end{bmatrix}$
- Scalar Triple Product: $\mathbf{A} \cdot (\mathbf{B} \times \mathbf{C}) = \det \begin{bmatrix} A_x & A_y & A_z \ B_x & B_y & B_z \ C_x & C_y & C_z \end{bmatrix}$ (Represents parallelepiped volume)
- Vector Triple Product: $\mathbf{A} \times (\mathbf{B} \times \mathbf{C}) = (\mathbf{A} \cdot \mathbf{C}) \mathbf{B} - (\mathbf{A} \cdot \mathbf{B}) \mathbf{C}$ (BAC-CAB rule)
Vector Differential Operators (Cartesian Coordinates)
Using Del operator $\nabla = \hat{\mathbf{i}}\frac{\partial}{\partial x} + \hat{\mathbf{j}}\frac{\partial}{\partial y} + \hat{\mathbf{k}}\frac{\partial}{\partial z}$:
-
Gradient of a Scalar Field $\phi$: Physical Meaning: Points in the direction of maximum rate of increase of scalar potential $\phi$ (e.g., Electric Field $\mathbf{E} = -\nabla V$).
-
Divergence of a Vector Field $\mathbf{A}$: Physical Meaning: Measures net outward flux per unit volume from an infinitesimal region. If $\nabla \cdot \mathbf{A} = 0$, field $\mathbf{A}$ is solenoidal (e.g., Magnetic Field $\nabla \cdot \mathbf{B} = 0$).
-
Curl of a Vector Field $\mathbf{A}$: Physical Meaning: Measures local circulation or rotational intensity per unit area. If $\nabla \times \mathbf{A} = \mathbf{0}$, field $\mathbf{A}$ is irrotational or conservative.
-
Laplacian Operator $\nabla^2$:
2. Integral Theorems of Vector Calculus
Gauss's Divergence Theorem
Relates a volume integral of field divergence over region $V$ to a surface flux integral over bounding closed surface $S$:
Stokes' Theorem
Relates a surface integral of field curl over open surface $S$ to a closed line integral along bounding perimeter curve $C$:
Green's Theorem in the Plane
Special 2D case of Stokes' Theorem for planar region $R$ bounded by simple closed curve $C$:
3. Linear Algebra, Matrices & Cramer's Rule
Matrix Inversion
For an non-singular $n \times n$ square matrix $\mathbf{A}$ with $\det(\mathbf{A}) \neq 0$: where $\text{adj}(\mathbf{A}) = \mathbf{C}^T$ is the transpose of the cofactor matrix $\mathbf{C}$.
Cramer's Rule for Solving Linear Systems
For a system of $n$ linear equations $\mathbf{A} \mathbf{x} = \mathbf{b}$: where matrix $\mathbf{A}_i$ is formed by replacing the $i$-th column of coefficient matrix $\mathbf{A}$ with column vector $\mathbf{b}$.
4. Eigenvalues & Eigenvectors
For a square matrix $\mathbf{A}$, non-zero eigenvector $\mathbf{v}$ and scalar eigenvalue $\lambda$ satisfy:
Characteristic Equation
To obtain non-trivial solutions $\mathbf{v} \neq \mathbf{0}$:
Key Eigenvalue Properties
- Trace Identity: Sum of eigenvalues equals the matrix trace: $\sum_{i=1}^n \lambda_i = \text{Tr}(\mathbf{A}) = \sum_{i=1}^n a_{ii}$.
- Determinant Identity: Product of eigenvalues equals matrix determinant: $\prod_{i=1}^n \lambda_i = \det(\mathbf{A})$.
- System Stability: State space matrix $\dot{\mathbf{x}} = \mathbf{A}\mathbf{x}$ is asymptotically stable if and only if all eigenvalues $\lambda_i$ have strictly negative real parts ($\text{Re}{\lambda_i} < 0$).
5. Complex Variable Theory & Residue Calculus
Analytic Functions & Cauchy-Riemann Equations
A complex function $f(z) = u(x, y) + j v(x, y)$ is analytic (differentiable) in a region if continuous first partial derivatives satisfy the Cauchy-Riemann Equations: Both $u(x,y)$ and $v(x,y)$ satisfy Laplace's equation ($\nabla^2 u = 0, \nabla^2 v = 0$) and are called harmonic conjugates.
Cauchy's Integral Theorem & Formula
- Cauchy's Theorem: If $f(z)$ is analytic inside and on simple closed curve $C$:
- Cauchy's Integral Formula: If $f(z)$ is analytic inside $C$ containing point $z_0$:
Cauchy's Residue Theorem
For a function $f(z)$ with isolated singular points (poles) $z_1, z_2, \dots, z_k$ enclosed by contour $C$: For a simple pole at $z = z_0$, the residue is calculated as:
Step-by-Step Worked Numerical Examples
Example 4.3.1: Vector Divergence & Flux Calculation via Gauss's Theorem
Problem: Evaluate the outward flux of vector field $\mathbf{A} = 2x \hat{\mathbf{i}} + 3y \hat{\mathbf{j}} + 4z \hat{\mathbf{k}}$ through the closed surface of a sphere $x^2 + y^2 + z^2 = 9$ (radius $R = 3$).
Solution:
- Calculate the divergence of vector field $\mathbf{A}$:
- Apply Gauss's Divergence Theorem:
- Compute sphere volume $V$:
- Calculate total flux:
Example 4.3.2: Multi-Mesh Circuit Solution via Cramer's Rule
Problem: Solve for mesh currents $I_1$ and $I_2$ in the 2-mesh network system:
Solution:
- Calculate system determinant $D = \det(\mathbf{A})$:
- Formulate modified matrix $\mathbf{A}_1$ for $I_1$:
- Formulate modified matrix $\mathbf{A}_2$ for $I_2$:
- Apply Cramer's Rule:
Example 4.3.3: System Matrix Eigenvalue Analysis
Problem: Determine the eigenvalues $\lambda_1$ and $\lambda_2$ for state dynamic matrix $\mathbf{A} = \begin{bmatrix} -4 & 2 \ 1 & -3 \end{bmatrix}$ and assess system stability.
Solution:
- Formulate characteristic equation $\det(\mathbf{A} - \lambda \mathbf{I}) = 0$:
- Expand determinant quadratic:
- Factor quadratic to find roots:
- Verify properties:
- Trace check: $\text{Tr}(\mathbf{A}) = -4 + (-3) = -7$. Sum $\lambda_1 + \lambda_2 = -2 + (-5) = -7$ (Matches).
- Determinant check: $\det(\mathbf{A}) = (-4)(-3) - (2)(1) = 10$. Product $\lambda_1 \lambda_2 = (-2)(-5) = 10$ (Matches).
- Assess Stability: Because both eigenvalues are real and strictly negative ($\lambda_1, \lambda_2 < 0$), the dynamic system is asymptotically stable.
What is the value of the vector divergence $\nabla \cdot \mathbf{B}$ for a magnetic field $\mathbf{B}$?
What is the determinant of a diagonal $3 \times 3$ mesh impedance matrix with diagonal entries 4, 5, and 6?
What is the value of the closed contour integral $\oint_C \frac{1}{z - 3} , dz$ around a circle $C$ centered at the origin with radius $R = 5$ in the counterclockwise direction?