It’s everybody’s favourite: AS and A level maths revision of vectors, YAY! Here we’re looking at the vector equation of a line, converting between vector form and cartesian form and the intersection of two lines.

*This guide assumes you know about and have revised vectors already!*

As always, let’s start with the basics:

The vector equation of a line consists of two vectors – a position vector, a vector from the origin to *any* point on the line – and a direction vector – which describes the gradient of the line. The vector equation of a line is given by:

Where is the position vector, is the direction vector and is a parameter which can take any value. Each point on the line has a different value of

Due to the nature of the vector equation of the line, the same line can have multiple equations. The position vector can be the position vector of *any* point on the line. The direction vector too can be written in many different ways. For example means the line goes 4 units up for every 2 across. This is the same as or even

#### General vector form of the equation of a line

**a**and

**b**is given by:

### Converting to the cartesian form of a line

You may want to (actually, you probably won’t, but the examiner might want you to!) convert from the vector equation of a line to the cartesian form – involving x and y values. To do this firstly write r as , for example:

This enables you to see equations for x and for y:

From here, rearrange both to make the subject:

You can now eliminate by equating the two expressions:

This is the correct answer, however you may wish to tidy it up to make it look nicer! If you’re asked to simplify then make sure you do for those extra marks.

#### General form (2 and 3 dimensions)

Can be written in cartesian form as:

For 3 dimensions:

Can be written in cartesian form as:

### Converting from cartesian form to vector form

But what if the examiner is an awkward sod and wants you to convert the other way around? To convert from cartesian form to vector form you first want to find a position vector, to do this find any point on the line, the easiest way is to substitute x = 0 into the equation and find a value for y. You then need to calculate then convert the gradient of the line into vector form to give you your direction vector.

#### Example

**Example question:** Write y = 2x + 3 in vector form

**Worked solution:** Firstly find a point on the line, in this case substituting x = 0 gives y = 3, this point (0, 3) has the position vector and gives the first part of the vector form of the equation. The gradient in this example is 2 as the equation is in the form y = mx + c. This needs to be converted into vector form, a gradient of 2 means the line goes up 2 units for every 1 across, thus the direction vector is . Hence the final equation is:

### Intersection of two lines

Finding the points of intersection of two lines in vector form is similar to that involving lines in cartesian form. For example, take these two lines in vector form

is just a parameter like .

Start by equating the two equations together:

You can now create two equations involving and

You now have to two simultaneous equations (lucky you!) which can be solved to give value(s) of and which satisfy both equations.

This is example is pretty easy as the second equation gives us the value of right away. Substituting this into the top equation gives . You’re not finished yet though, to find the position vector of the this point you need to substitute *either* or into the original equations.

OR

Hence the position vector of the point of intersection is

If you have the time, substitute it into both equations to make sure you get the same answer: If you don’t, you’ve gone wrong!