wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
FORMULA SHEET • MODULES 2.1–2.25 Reference Sections

Vector Spaces, Rank–Nullity, Linear Systems & Inner Products

Vector spaces over ℝ and ℂ, subspaces, linear independence, row echelon form (REF/RREF), basis and dimension, linear transformations and matrix representations, Gauss elimination, inner products, norms, and Cauchy–Schwarz.

Mathematical Rigor & Accuracy Notes
  • Real vs. Complex Field Dimension Caveat: Cn\mathbb{C}^n has dimension nn as a vector space over scalar field C\mathbb{C}, whereas viewing Cn\mathbb{C}^n as a vector space over R\mathbb{R} doubles its dimension to 2n2n. Always check which scalar field F∈{R,C}\mathbb{F} \in \{\mathbb{R}, \mathbb{C}\} defines closure and linear combinations.
  • Row Operations Preserve Row Space and Nullspace — Not Column Space: Elementary row operations transform A→UA \to U without changing solutions to Ax=0A\mathbf{x} = \mathbf{0} or R(AT)\mathcal{R}(A^T), but they do alter the Column Space. Read pivot column indices from REF/RREF, then pick those exact columns from the original matrix AA for a basis of C(A)\mathcal{C}(A).
  • Homogeneous vs. Non-Homogeneous Consistency: Every homogeneous system Ax=0A\mathbf{x} = \mathbf{0} is guaranteed consistent (0\mathbf{0} is always a solution). A non-homogeneous system Ax=bA\mathbf{x} = \mathbf{b} is consistent if and only if rank⁡(A)=rank⁡([A∣b])\operatorname{rank}(A) = \operatorname{rank}([A \mid \mathbf{b}]) (Rouché–Capelli Theorem).
  • Complex Inner Product Conjugate Symmetry: Over Cn\mathbb{C}^n, positivity ⟨x,x⟩≥0\langle \mathbf{x}, \mathbf{x}\rangle \ge 0 requires complex conjugation on one factor: ⟨u,v⟩=u∗v=∑i=1nui‾ vi\langle \mathbf{u}, \mathbf{v}\rangle = \mathbf{u}^*\mathbf{v} = \sum_{i=1}^n \overline{u_i}\,v_i (physics/linear-algebra convention conjugate-linear in u\mathbf{u}, linear in v\mathbf{v}). Cauchy–Schwarz equality holds if and only if u\mathbf{u} and v\mathbf{v} are linearly dependent.

1. Vector Spaces over ℝ & ℂ, Subspaces & Spanning Sets

A vector space (V,+,⋅)(V, +, \cdot) over field F∈{R,C}\mathbb{F} \in \{\mathbb{R}, \mathbb{C}\} satisfies eight vector-addition/scalar-multiplication axioms together with closure under addition and scalar scaling.

Two-Step Subspace Criterion
W≤V  ⟺  (W≠∅)∧(∀ α,β∈F,  ∀ u,v∈W,  αu+βv∈W)W \le V \iff \bigl(W \neq \emptyset\bigr) \land \bigl(\forall\,\alpha,\beta \in \mathbb{F},\; \forall\,\mathbf{u},\mathbf{v} \in W,\; \alpha\mathbf{u} + \beta\mathbf{v} \in W\bigr)

Condition:Every subspace must contain the zero vector 0\mathbf{0}; a plane or line shifted off 0\mathbf{0} (e.g. x+y=1x + y = 1) fails closure.

Linear Combination & Spanning Set
span⁡{v1,…,vk}={∑i=1kcivi:c1,…,ck∈F}\operatorname{span}\{\mathbf{v}_1,\dots,\mathbf{v}_k\} = \left\{\sum_{i=1}^k c_i\mathbf{v}_i : c_1,\dots,c_k \in \mathbb{F}\right\}

span⁡(S)\operatorname{span}(S) is always the smallest subspace of VV containing SS.

Subspace Sum & Direct Sum
V=W1⊕W2  ⟺  (V=W1+W2)∧(W1∩W2={0})V = W_1 \oplus W_2 \iff \bigl(V = W_1 + W_2\bigr) \land \bigl(W_1 \cap W_2 = \{\mathbf{0}\}\bigr)

Every vector v∈W1⊕W2\mathbf{v} \in W_1 \oplus W_2 splits uniquely as v=w1+w2\mathbf{v} = \mathbf{w}_1 + \mathbf{w}_2 with wi∈Wi\mathbf{w}_i \in W_i.

Real vs. Complex Polynomial & Matrix Spaces
dim⁡Pn(F)=n+1,dim⁡Mm×n(F)=mn\dim\mathcal{P}_n(\mathbb{F}) = n + 1, \qquad \dim M_{m\times n}(\mathbb{F}) = m n

Condition:Dimensions hold directly over scalar field F∈{R,C}\mathbb{F} \in \{\mathbb{R}, \mathbb{C}\}.

2. Linear Independence, Echelon Form (REF/RREF), Basis & Dimension

Linear Independence Criterion
c1v1+c2v2+⋯+ckvk=0  ⟹  c1=c2=⋯=ck=0c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k = \mathbf{0} \implies c_1 = c_2 = \cdots = c_k = 0

Condition:Only the trivial scalar combination yields 0\mathbf{0}; otherwise some vector lies in the span of the others.

Unique Coordinate Vector Relative to Basis ℬ
x=c1b1+⋯+cnbn  ⟷  [x]B=[c1⋮cn]=P−1x\mathbf{x} = c_1\mathbf{b}_1 + \cdots + c_n\mathbf{b}_n \;\longleftrightarrow\; [\mathbf{x}]_{\mathcal{B}} = \begin{bmatrix} c_1 \\ \vdots \\ c_n \end{bmatrix} = P^{-1}\mathbf{x}

Condition:Requires B=(b1,…,bn)\mathcal{B} = (\mathbf{b}_1,\dots,\mathbf{b}_n) to be both linearly independent and spanning (n=dim⁡Vn = \dim V).

Dimension Formula for Subspace Sums
dim⁡(W1+W2)=dim⁡W1+dim⁡W2−dim⁡(W1∩W2)\dim(W_1 + W_2) = \dim W_1 + \dim W_2 - \dim(W_1 \cap W_2)

In finite-dimensional VV, any linearly independent set of size dim⁡V\dim V automatically spans VV.

Square Matrix Independence & Basis Test
{a1,…,an} forms a basis of Fn  ⟺  rank⁡(A)=n  ⟺  det⁡(A)≠0\{\mathbf{a}_1,\dots,\mathbf{a}_n\} \text{ forms a basis of } \mathbb{F}^n \iff \operatorname{rank}(A) = n \iff \det(A) \neq 0
  • **Elementary Row Operations (Invertible Pre-Multiplication):** Row swap Ri↔RjR_i \leftrightarrow R_j, nonzero scaling Ri←cRiR_i \leftarrow cR_i (c≠0c \neq 0), and row replacement Ri←Ri+cRjR_i \leftarrow R_i + cR_j preserve the nullspace N(A)\mathcal{N}(A), row space R(AT)\mathcal{R}(A^T), and all linear relations among columns.
  • **Row Echelon Form (REF):** Zero rows lie at the bottom, and each row's leading nonzero entry (pivot) sits strictly to the right of the pivot in the row above.
  • **Reduced Row Echelon Form (RREF):** Every pivot equals 11 and is the sole nonzero entry in its column — exposing basic/free variable dependencies immediately.

3. Rank, Linear Transformations, Rank–Nullity & Matrix Representation

Linear Transformation Axioms
T(αu+βv)=αT(u)+βT(v)(∀ α,β∈F,  u,v∈V)T(\alpha\mathbf{u} + \beta\mathbf{v}) = \alpha T(\mathbf{u}) + \beta T(\mathbf{v}) \qquad (\forall\,\alpha,\beta \in \mathbb{F},\; \mathbf{u},\mathbf{v} \in V)

Condition:Every linear map satisfies T(0)=0T(\mathbf{0}) = \mathbf{0}; affine shifts T(x)=Ax+bT(\mathbf{x}) = A\mathbf{x} + \mathbf{b} with b≠0\mathbf{b} \neq \mathbf{0} are not linear.

Rank–Nullity Theorem (General & Matrix Form)
rank⁡(T)+nullity⁡(T)=dim⁡V,rank⁡(A)+dim⁡N(A)=n\operatorname{rank}(T) + \operatorname{nullity}(T) = \dim V, \qquad \operatorname{rank}(A) + \dim\mathcal{N}(A) = n

Condition:Applies to any linear map T:V→WT: V \to W (finite-dimensional VV) and any m×nm \times n matrix AA.

Four Fundamental Subspace Orthogonalities (ℝ)
R(AT)⊥N(A) in Rn,C(A)⊥N(AT) in Rm,dim⁡R(AT)=dim⁡C(A)=r\mathcal{R}(A^T) \perp \mathcal{N}(A) \text{ in } \mathbb{R}^n, \qquad \mathcal{C}(A) \perp \mathcal{N}(A^T) \text{ in } \mathbb{R}^m, \qquad \dim\mathcal{R}(A^T)=\dim\mathcal{C}(A)=r
Matrix Representation Relative to Ordered Bases ℬ → 𝒞
[T(x)]C=[T]B→C [x]B,[T]B→C=[ [T(v1)]C∣⋯∣[T(vn)]C ][T(\mathbf{x})]_{\mathcal{C}} = [T]_{\mathcal{B}\to\mathcal{C}}\, [\mathbf{x}]_{\mathcal{B}}, \qquad [T]_{\mathcal{B}\to\mathcal{C}} = \bigl[\,[T(\mathbf{v}_1)]_{\mathcal{C}} \mid \cdots \mid [T(\mathbf{v}_n)]_{\mathcal{C}}\,\bigr]

For T:V→VT: V \to V under change of basis B→B′\mathcal{B} \to \mathcal{B}', similarity gives [T]B′=P−1[T]BP[T]_{\mathcal{B}'} = P^{-1}[T]_{\mathcal{B}}P.

4. Homogeneous & Non-Homogeneous Systems: Rank Criterion & Gauss Elimination

Rouché–Capelli Rank Consistency Theorem
Ax=b is consistent  ⟺  rank⁡(A)=rank⁡([A∣b])A\mathbf{x} = \mathbf{b} \text{ is consistent} \iff \operatorname{rank}(A) = \operatorname{rank}\bigl([A \mid \mathbf{b}]\bigr)

If rank⁡([A∣b])=rank⁡(A)+1\operatorname{rank}([A\mid\mathbf{b}]) = \operatorname{rank}(A) + 1, Gauss elimination produces a contradiction row [0  ⋯  0∣c][0\;\cdots\;0 \mid c] with c≠0c \neq 0.

Superposition Structure of Solutions
xgeneral=xp+xh=xp+∑k=1n−rtk vk,Axp=b,Avk=0\mathbf{x}_{\text{general}} = \mathbf{x}_p + \mathbf{x}_h = \mathbf{x}_p + \sum_{k=1}^{n-r} t_k\,\mathbf{v}_k, \qquad A\mathbf{x}_p = \mathbf{b}, \quad A\mathbf{v}_k = \mathbf{0}

Condition:There are n−rn - r free parameters where r=rank⁡(A)r = \operatorname{rank}(A) and nn is the number of unknowns.

Worked Example: Solving a 3×3 System via Gauss Elimination & Rank Analysis

[12−132419−1−240]→  R2←R2−2R1,  R3←R3+R1  [12−1300330033]\left[\begin{array}{ccc|c} 1 & 2 & -1 & 3 \\ 2 & 4 & 1 & 9 \\ -1 & -2 & 4 & 0 \end{array}\right] \xrightarrow{\;R_2 \leftarrow R_2 - 2R_1,\; R_3 \leftarrow R_3 + R_1\;} \left[\begin{array}{ccc|c} 1 & 2 & -1 & 3 \\ 0 & 0 & 3 & 3 \\ 0 & 0 & 3 & 3 \end{array}\right]
→  R3←R3−R2,  R2←13R2,  R1←R1+R2  [120400110000]\xrightarrow{\;R_3 \leftarrow R_3 - R_2,\; R_2 \leftarrow \tfrac{1}{3}R_2,\; R_1 \leftarrow R_1 + R_2\;} \left[\begin{array}{ccc|c} 1 & 2 & 0 & 4 \\ 0 & 0 & 1 & 1 \\ 0 & 0 & 0 & 0 \end{array}\right]
rank⁡(A)=rank⁡([A∣b])=2<n=3  ⟹  1 free variable x2=t∈R\operatorname{rank}(A) = \operatorname{rank}([A\mid\mathbf{b}]) = 2 < n = 3 \implies 1 \text{ free variable } x_2 = t \in \mathbb{R}
x=[4−2tt1]=[401]+t[−210]\mathbf{x} = \begin{bmatrix} 4 - 2t \\ t \\ 1 \end{bmatrix} = \begin{bmatrix} 4 \\ 0 \\ 1 \end{bmatrix} + t\begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix}

Notice how RREF isolates particular solution xp=[4,0,1]T\mathbf{x}_p = [4,0,1]^T (setting t=0t=0) plus special nullspace direction v1=[−2,1,0]T\mathbf{v}_1 = [-2,1,0]^T.

Solution Classification for $m \times n$ System $A\mathbf{x} = \mathbf{b}$ and Homogeneous $A\mathbf{x} = \mathbf{0}$

System TypeRank ConditionFree Parameters (n−rn - r)Solution Structure
Non-homogeneous Ax=bA\mathbf{x} = \mathbf{b}rank⁡(A)<rank⁡([A∣b])\operatorname{rank}(A) < \operatorname{rank}([A \mid \mathbf{b}])—Inconsistent: empty solution set ∅\emptyset
Non-homogeneous Ax=bA\mathbf{x} = \mathbf{b}rank⁡(A)=rank⁡([A∣b])=n\operatorname{rank}(A) = \operatorname{rank}([A \mid \mathbf{b}]) = n00Unique particular solution x=xp\mathbf{x} = \mathbf{x}_p
Non-homogeneous Ax=bA\mathbf{x} = \mathbf{b}rank⁡(A)=rank⁡([A∣b])=r<n\operatorname{rank}(A) = \operatorname{rank}([A \mid \mathbf{b}]) = r < nn−r≥1n - r \ge 1Infinitely many solutions forming an (n−r)(n-r)-dim affine subspace xp+N(A)\mathbf{x}_p + \mathcal{N}(A)
Homogeneous Ax=0A\mathbf{x} = \mathbf{0}rank⁡(A)=n\operatorname{rank}(A) = n00Trivial solution x=0\mathbf{x} = \mathbf{0} only (square case   ⟺  det⁡A≠0\iff \det A \neq 0)
Homogeneous Ax=0A\mathbf{x} = \mathbf{0}rank⁡(A)=r<n\operatorname{rank}(A) = r < nn−r≥1n - r \ge 1(n−r)(n - r)-dimensional Nullspace N(A)\mathcal{N}(A) of nontrivial solutions (always holds if m<nm < n)

5. Inner Products, Vector Norms, Orthogonality & Cauchy–Schwarz

Standard Real (ℝⁿ) & Complex (ℂⁿ) Inner Products
⟨u,v⟩Rn=uTv=∑i=1nuivi,⟨u,v⟩Cn=u∗v=∑i=1nui‾ vi\langle \mathbf{u}, \mathbf{v}\rangle_{\mathbb{R}^n} = \mathbf{u}^T\mathbf{v} = \sum_{i=1}^n u_i v_i, \qquad \langle \mathbf{u}, \mathbf{v}\rangle_{\mathbb{C}^n} = \mathbf{u}^*\mathbf{v} = \sum_{i=1}^n \overline{u_i}\,v_i

Condition:Satisfies linearity in v\mathbf{v}, conjugate symmetry ⟨u,v⟩=⟨v,u⟩‾\langle\mathbf{u},\mathbf{v}\rangle = \overline{\langle\mathbf{v},\mathbf{u}\rangle}, and positive definiteness ⟨u,u⟩≥0\langle\mathbf{u},\mathbf{u}\rangle \ge 0 (=0  ⟺  u=0=0 \iff \mathbf{u}=\mathbf{0}).

Induced Norm, L₁, L₂ and L∞ Vector Norms
∥x∥2=⟨x,x⟩,∥x∥1=∑i=1n∣xi∣,∥x∥∞=max⁡1≤i≤n∣xi∣\|\mathbf{x}\|_2 = \sqrt{\langle \mathbf{x}, \mathbf{x}\rangle}, \qquad \|\mathbf{x}\|_1 = \sum_{i=1}^n |x_i|, \qquad \|\mathbf{x}\|_\infty = \max_{1\le i\le n}|x_i|

Condition:Every norm satisfies positivity, homogeneity ∥αx∥=∣α∣∥x∥\|\alpha\mathbf{x}\| = |\alpha|\|\mathbf{x}\|, and the Triangle Inequality ∥u+v∥≤∥u∥+∥v∥\|\mathbf{u}+\mathbf{v}\| \le \|\mathbf{u}\| + \|\mathbf{v}\|.

Cauchy–Schwarz Inequality (Statement)
∣⟨u,v⟩∣≤∥u∥ ∥v∥(equality holds  ⟺  u,v are linearly dependent)\lvert \langle \mathbf{u}, \mathbf{v}\rangle \rvert \le \|\mathbf{u}\|\,\|\mathbf{v}\| \qquad \bigl(\text{equality holds} \iff \mathbf{u}, \mathbf{v} \text{ are linearly dependent}\bigr)

Defines geometric angle in real inner product spaces via cos⁡θ=⟨u,v⟩∥u∥ ∥v∥\cos\theta = \frac{\langle\mathbf{u},\mathbf{v}\rangle}{\|\mathbf{u}\|\,\|\mathbf{v}\|} and proves the Triangle Inequality.

Orthogonality, Pythagoras & Gram–Schmidt Orthogonalization
⟨u,v⟩=0  ⟹  ∥u+v∥2=∥u∥2+∥v∥2,uk=vk−∑j=1k−1⟨qj,vk⟩⟨qj,qj⟩qj\langle \mathbf{u}, \mathbf{v}\rangle = 0 \implies \|\mathbf{u}+\mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2, \qquad \mathbf{u}_k = \mathbf{v}_k - \sum_{j=1}^{k-1}\frac{\langle \mathbf{q}_j, \mathbf{v}_k\rangle}{\langle \mathbf{q}_j, \mathbf{q}_j\rangle}\mathbf{q}_j

Condition:Gram–Schmidt turns any linearly independent sequence (v1,…,vk)(\mathbf{v}_1,\dots,\mathbf{v}_k) into an orthogonal/orthonormal basis.

Related Formula Reference Sheets

All Formula Sheets