Home page for accesible maths 1 Vectors

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

1.5 Equations of lines and planes

Lines in R2

There are several ways to write the equation of a straight line in ℝ2. If the line is not parallel to the y-axis, then we can write: y=m⁢x+c where m is the gradient of the line, and c is the point where the line crosses the y-axis. If we know that the line passes through the point (x0,y0) then we can write this equation in a slightly different form:

y-y0=m⁢(x-x0)

If (x1,y1) is another point on the line then we can calculate m as y1-y0x1-x0.

We can also write the equation of the line in vector form: if 𝐯 is a vector in the direction of the line, then the line is the set of all points of the form (x0,y0)+λ⁢𝐯 for λ∈ℝ. Once again, if (x1,y1) is another point on the line then we can be more precise: in this case, we can take 𝐯=(x1-x0,y1-y0).

Let us look again at the equation y=m⁢x+c. Rearranging, we obtain: (x⁢y)⋅(-m⁢  1)=c. Alternatively, (x⁢(y-c))⋅(-m⁢  1)=0. This can best be explained via a diagram:

The vector 𝐧=(-m⁢  1) is called a normal vector to the line L.

Example 1.18

Find a normal vector to the line 2⁢x+5⁢y=1.

A normal vector to the line a⁢x+b⁢y=c is (a⁢b). To see this,

Example 1.19

Find the equation of the line with normal vector (2  1) which passes through the point (1-1).

It may be useful to remember that (x⁢y) and (y-x) are orthogonal vectors.


Planes in R3

We saw above that in ℝ2, a line can be described via an equation: (x⁢y)⋅𝐧=c, where 𝐧 is a normal vector to the line. What happens in ℝ3? Let’s consider a specific example: let 𝐧=(0  0  1) and c=0. Then (x⁢y⁢z)⋅𝐧=z, so the set of vectors satisfying (x⁢y⁢z)⋅𝐧=0 is precisely the set of vectors of the form (x⁢y⁢  0). This is not a line but a plane, usually called the x-y plane.

This demonstrates the following difference between ℝ2 and ℝ3:

- if 𝐮 is a non-zero vector in ℝ2, then the set of vectors orthogonal to 𝐮 is a line,

- if 𝐮 is a non-zero vector in ℝ3, then the set of vectors orthogonal to 𝐮 is a plane.

Following the same procedure as we used to find the equation of a line in ℝ2, we can find the equation of a plane in ℝ3.

Example 1.20

Find the equation of the plane in R3 with normal vector (1⁢2-1), passing through the point (-3  2  0).