UNIHIVE

Study Hub UNIPORT ENG 202

ENG 202 · Engineering Mathematics II (Linear Algebra & Analytic Geometry)

Vector spaces, Euclidean space and orthogonality

Linear spaces, basis and dimension, inner products, and the Gram-Schmidt process.

Our notes

1 min read

Linear (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).

  1. u₁ = (1, 1, 0)
  2. v₂·u₁ = 1, u₁·u₁ = 2: u₂ = (1, 0, 1) − ½(1, 1, 0) = (½, −½, 1)
  3. 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

Watch

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.

All ENG 202 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.