Posts

Deriving the Outer-Product Matrix BAᵀ from Matrix Multiplication

Let A, B and X be column vectors in ℝ³: A = a₁ a₂ a₃ , B = b₁ b₂ b₃ , X = x y z . BAᵀX = B(AᵀX). Matrix multiplication is associative, so AᵀX may be evaluated first. Since Aᵀ is a 1 × 3 row matrix and X is a 3 × 1 column matrix, their product is a scalar: AᵀX = a₁x + a₂y + a₃z. Therefore, BAᵀX = b₁ b₂ b₃ (a₁x + a₂y + a₃z). The quantity in parentheses is a scalar, so it multiplies every component of B: BAᵀX = b₁a₁x + b₁a₂y + b₁a₃z b₂a₁x + b₂a₂y + b₂a₃z b₃a₁x + b₃a₂y + b₃a₃z . Collect the coefficients of x, y and z into a matrix multiplying X: BAᵀX = b₁a₁ b₁a₂ b₁a₃ b₂a₁ b₂a₂ b...

Constructing the [v]ₓ Matrix from Skew-Symmetry and the Null Space

Let v = p q r ≠ 0 0 0 The objective is to construct the standard 3 × 3 matrix [v]ₓ associated with v, without assuming its entries in advance. Begin with two requirements: Kᵀ = −K Kv = 0. The first condition requires skew-symmetry. The second requires v to lie in the null space of K. 1. Write the general skew-symmetric matrix Since Kᵀ = −K, the diagonal entries must be zero and entries reflected across the diagonal must have opposite signs. Therefore, K = 0 α β −α 0 γ −β −γ 0 At this stage, α, β and γ are unknown. 2. Require Kv = 0 0 α β −α 0 γ −β −γ 0 p q r ...

Constructing the General 3 × 3 Skew-Symmetric Matrix from First Principles

A skew-symmetric matrix is a square matrix whose transpose equals its negative. The construction below begins with an arbitrary 3 × 3 matrix, subtracts its transpose, and derives the complete general form without assuming the result in advance. K is skew-symmetric precisely when Kᵀ = −K. 1. Begin with an arbitrary matrix Let A = a b c d e f g h i and Aᵀ = a d g b e h c f i Transposition reflects the entries across the main diagonal: rows become columns and columns become rows. 2. Subtract the transpose Define K = A − Aᵀ. Subtract corresponding entries: K = a−a b−d c−g d−b e−e f−h g−c h−f i−i The diagonal entries cancel: ...

Rank, Nullity and Column Space: Understanding What a Matrix Preserves and Loses

A matrix transforms input vectors into output vectors. Some independent directions survive, some are combined, and some may disappear completely into the zero vector. Span, dimension, column space, rank, null space and nullity describe this process precisely. input space → matrix transformation → column space 1. Span: all reachable combinations Given vectors v₁, v₂, …, vₖ, their span is the set of every vector that can be made by scaling and adding them: Span{v₁, v₂, …, vₖ} = {c₁v₁ + c₂v₂ + ⋯ + cₖvₖ : c₁, c₂, …, cₖ ∈ ℝ}. One non-zero direction spans a line through the origin. Two independent directions span a plane through the origin. Three independent directions in ℝ³ span all of ℝ³. 2. Independence and dimension Vectors are linearly independent when none of them can be constructed from the others. Each independent vector contributes a genuinely new direction. A dependent vector contributes no new...

A Direct Proof That a 3 × 3 Skew-Symmetric Matrix Sends Its Defining Vector to Zero

Image
Let v = (p, q, r) T be a vector in ℝ³. From its three components, form the 3 × 3 skew-symmetric matrix K = ( 0 −r q r 0 −p −q p 0 ) . The entries reflected across the main diagonal have opposite signs, while every diagonal entry is zero. Therefore, K T = −K. Multiplication by the vector Matrix-vector multiplication can be written as a linear combination of the columns of K. The first column is multiplied by p, the second by q, and the third by r: K v = p ( 0 r −q ) + q ( −r 0 p ) + r ( q −p 0 ) . Distributing p, q and r gives K v = ( 0 · p + (−r) · q + q · r r · p + 0 · q + (−p) · r −q · p + p · q + 0 · r ) . Combining the entries in each row produces ...

Proof That M − Mᵀ Is Skew-Symmetric for a Real 3 × 3 Matrix

Image
This proof demonstrates that subtracting the transpose of any real 3 × 3 matrix from the original matrix produces a 3 × 3 skew-symmetric matrix. Construction Let M = ( a b c d e f g h i ) Its transpose is M T = ( a d g b e h c f i ) Subtracting the transpose from the original matrix gives K = M − M T = ( 0 b − d c − g d − b 0 f − h g − c h − f 0 ) ...

Deriving the Direction Cosines of a Unit Vector

Direction Cosines of a Unit Vector A vector in 3D can be written as v = (x, y, z). This vector points from the origin to the point (x, y, z). Its direction depends on how much it travels in the x-direction, the y-direction and the z-direction. Magnitude of the Vector The magnitude, or length, of v is |v| = √(x² + y² + z²). This comes from the 3D version of Pythagoras' theorem. The vector has three perpendicular components: x, y and z. Squaring them, adding them, and taking the square root gives the total length. Unit Vector A unit vector is a vector with length 1. To turn v into a unit vector, divide every component by the magnitude of v: v̂ = (1 / |v|)(x, y, z). So v̂ = (x / |v|, y / |v|, z / |v|). This new vector points in the same direction as v, but its length is exactly 1. The Dot Product The dot product has two important forms. Algebraic form: a · b = a₁b₁ + a₂b₂ + a₃b₃. Geometric form: a · b = |a||b|cos(θ). The algebraic form uses co...