ENG 202 · Engineering Mathematics II (Linear Algebra & Analytic Geometry)
Our notes
1 min readLinear (vector) spaces
A vector space is a set where you can add members and multiply them by numbers and stay in the set, following the usual rules (associative, commutative, zero vector, negatives, distributive). Examples: ℝⁿ, all m × n matrices, all polynomials of degree ≤ n, solutions of a homogeneous linear ODE.
Subspace, span, independence
- A subspace is a subset that is itself a vector space (contains 0, closed under + and scaling).
- The span of vectors is all their linear combinations.
- Vectors are linearly independent if c₁v₁ + ... + cₖvₖ = 0 only when every c = 0.
- A basis is an independent set that spans; the number of vectors in it is the dimension.
Test for n vectors in ℝⁿ: put them as columns; they form a basis exactly when det ≠ 0.
Euclidean space
ℝⁿ with the dot product u·v is Euclidean space. It gives length |v| = √(v·v) and angle cos θ = u·v/(|u||v|).
- Orthogonal vectors: u·v = 0.
- An orthonormal basis: orthogonal unit vectors (like i, j, k). Coordinates in it are just dot products.
The Gram-Schmidt process
Turns any basis into an orthogonal one:
- u₁ = v₁
- u₂ = v₂ − (v₂·u₁ / u₁·u₁) u₁
- u₃ = v₃ − (v₃·u₁ / u₁·u₁) u₁ − (v₃·u₂ / u₂·u₂) u₂
Then divide each by its length to make them unit vectors.
Worked example
v₁ = (1, 1, 0), v₂ = (1, 0, 1), v₃ = (0, 1, 1).
- u₁ = (1, 1, 0)
- v₂·u₁ = 1, u₁·u₁ = 2: u₂ = (1, 0, 1) − ½(1, 1, 0) = (½, −½, 1)
- v₃·u₁ = 1; v₃·u₂ = −½ + 1 = ½; u₂·u₂ = ¼ + ¼ + 1 = 3/2.
u₃ = (0, 1, 1) − ½(1, 1, 0) − (½ ÷ 3/2)(½, −½, 1) = (0, 1, 1) − (½, ½, 0) − ⅓(½, −½, 1) = (−⅔, ⅔, ⅔)
Check: u₁·u₂ = ½ − ½ + 0 = 0; u₁·u₃ = −⅔ + ⅔ = 0; u₂·u₃ = −⅓ − ⅓ + ⅔ = 0. ✓
Exams usually ask
- Show that given vectors form a basis.
- Apply Gram-Schmidt to three vectors.
- Show that a set is (or is not) a subspace.
Common mistake
Projecting v₃ onto the original v₂ instead of the new u₂. Each step uses the orthogonal vectors already built.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Vector space
(opens en.wikipedia.org in a new tab)
Wikipedia, Vector space, CC BY-SA 4.0 · licence
-
Orthogonality (mathematics)
(opens en.wikipedia.org in a new tab)
Wikipedia, Orthogonality (mathematics), CC BY-SA 4.0 · licence
-
NOUN MTH 212: Linear Algebra
NOUN course book (PDF, about 3.1 MB). Vector spaces, matrices and eigenvalues.
(opens nou.edu.ng in a new tab)
Watch
-
Best pick Understanding Vector Spaces
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Vector Space
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
Vector spaces | Lecture 16 | Matrix Algebra for Engineers
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Vector Spaces Explained | Linear Algebra
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
Part III: Linear Algebra, Lec 1: Vector Spaces
32 min · ≈ 144 MB · about ₦81
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.