Linear Algebra: Parametric Representation of a Line

Lines in 2-d space can be represented by y = mx + b, but with higher dimensional spaces it can help to generalize the formula for a line. If we have a→, we can define a set S = {c ∗a→|c ∈ ℝ}. Taking all real numbers and multiplying them by our vector give us a set of vectors that span the line of a→. This set notation can be used to create a line from a vector of any dimension.

Linear Algebra: Defining Parallel Lines

Defining a parallel line becomes simple, especially when dealing with many dimensions where ”slope” isn’t intuitive. Let’s say we have a→ = (2,1),b→ = (0,3) and we want a parallel line from S = {c ∗a→|c ∈ ℝ} that passes through the point defined by b→. What we can do is take our set S and modify it to be the parallel line P = {b→ + t ∗a→|t ∈ ℝ}. This is taking all the point defined on our line by S, and offsetting them by b→ over to a parallel line that passes through b→, as seen in the graph below. This definition extends to vectors of any dimension.

Parallel Lines

Linear Algebra: Defining Lines through 2 Vectors

Defining a line that passes through the endpoints of 2 vectors is also simple with our set definition of a line. All we need is to translate either a→ or b→ by all the points on the line defined by a→ −b→, which is just the vector between their endpoints. Formula is L = {a→ + t(a→ −b→)|t ∈ ℝ}.

Line Through Two Vectors