Knowledge / Mathematics / Vector spaces and linear transformations

Vector spaces and linear transformations

Mathematics (B.Sc) · Algebra · free study notes for exams, placements and interviews

In short

A vector space is a set of objects that can be added together and scaled by numbers from a field, obeying eight axioms; a linear transformation is a map between two such spaces that preserves both operations. Together they are the backbone of linear algebra: every matrix is a linear map in disguise, and every system of linear equations is a question about a kernel or an image. B.Sc Algebra and Linear Algebra papers examine this heavily (definitions, proofs of independence, basis extension, rank-nullity), and it carries large weight in GATE Mathematics (MA), CSIR-UGC NET, IIT JAM, ISI/CMI entrances and TIFR screening. In placements it underpins data-science rounds at Mu Sigma, Fractal, Tiger Analytics, ZS Associates, quant desks at WorldQuant and Graviton, and ML/graphics roles at TCS Research, Qualcomm and Nvidia India.

Explained

Vector spaces: definition and examples

Subspaces, span and sums

Linear independence, basis, dimension

Linear transformations, kernel and image

Matrix of a linear map, and change of basis

Inner product spaces and orthogonality

Scope note and syllabus placement

Key points

Formulas and examples

Subspace test: W ≠ ∅ and (au + bv ∈ W for all a, b ∈ F, u, v ∈ W)
Span: span{v₁,…,v_k} = { Σ a_i v_i : a_i ∈ F }
Dimension of a sum: dim(W₁ + W₂) = dim W₁ + dim W₂ − dim(W₁ ∩ W₂)
Rank-nullity: dim(ker T) + dim(Im T) = dim V (V = domain, finite-dimensional)
Matrix action: [T(v)]_C = [T]_CB · [v]_B ; [S∘T] = [S]·[T]
Change of basis: [v]_B = P [v]_{B′} and [T]_{B′} = P⁻¹ [T]_B P
Solution dimension: Ax = b consistent ⟺ rank A = rank[A|b]; solution set = x₀ + ker A, dim = n − rank A
Dual and map spaces: dim L(V,W) = (dim V)(dim W); dim V* = dim V
Cauchy-Schwarz: |⟨u,v⟩| ≤ ‖u‖ ‖v‖ ; projection of v on u: ⟨v,u⟩u/‖u‖²
Gram-Schmidt: w_k = v_k − Σ_{i<k} (⟨v_k, w_i⟩/⟨w_i, w_i⟩) w_i , then e_k = w_k/‖w_k‖

(All quantities here are pure numbers — vector spaces are unitless; units enter only in applications such as least-squares fitting of measured data.)

Example 1 - Independence and basis of a span in ℝ⁴. Take v₁ = (1,2,0,1), v₂ = (2,4,1,3), v₃ = (0,0,1,1). Row-reduce:

Example 2 - Rank-nullity for an explicit map. T : ℝ⁴ → ℝ³, T(x,y,z,w) = (x + 2y − z, 2x + 4y + z + 3w, 3x + 6y + 3w). Matrix A = [[1,2,−1,0],[2,4,1,3],[3,6,0,3]].

y = 1, w = 0 → (−2,1,0,0); y = 0, w = 1 → (−1,0,−1,1).

Example 3 - Matrix of a map and change of basis. T : P₂(ℝ) → P₂(ℝ), T(p) = p′ (differentiation), basis B = {1, x, x²}.

Example 4 - Dimension of a sum of subspaces. In ℝ⁴ let W₁ = span{(1,0,0,0), (0,1,0,0)} and W₂ = span{(0,1,0,0), (0,0,1,0), (0,0,0,1)}.

Example 5 - Gram-Schmidt in ℝ³. v₁ = (1,1,0), v₂ = (1,0,1), v₃ = (0,1,1).

ConceptLives in the domainLives in the codomain
Kernel / null space of AYes, dimension n − r—
Image / column space of A—Yes, dimension r
Row space of AYes, dimension r—
Rank-nullity sums todim V = n—
PropertyFinite-dimensional V, WInfinite-dimensional
Injective ⟺ surjective (when dim V = dim W)TrueFalse (x·p(x) on F[x])
Every independent set extends to a basisTrue, constructivelyTrue, needs Zorn's lemma
Dual space dimensiondim V* = dim Vdim V* > dim V
Every linear map is continuous (normed case)TrueFalse

Where it is used

Interview questions

Common mistakes

Related topics

Matrices, eigenvalues and diagonalisation · Group theory · Rings and fields · Determinants and systems of linear equations · Inner product spaces and quadratic forms · Numerical linear algebra and least squares

Open in the Knowledge reader →Find jobs →