Professional Documents
Culture Documents
Straight Lines
Straight Lines
Parallel lines
Perpendicular lines
The mathematical way of describing these steps is to say that the product of the gradients of lines equals
minus 1.
The equation for a straight line can always be described by an equation of the form:
y = mx + c
where m is the gradient of the line, and c is where the line intercepts the y-axis. (This is because the graph
crosses the y-axis when x = 0, and if x = 0, y =
c.)
For example:
If we know the gradient and the position of one point on the line, we can easily find the equation of the
line by inserting the values we know into the equation y = mx + c.
For example:
If we know a point on the line is (4, 2) and that the gradient is 3, then:
2 = 3 x 4 + c.
Therefore, c = 2 - 12 = -10.
Explanation:
This works because the gradient between any two points on the line is always the same. Therefore the
gradient between a general point (x, y) and a known point (x1, y1) is constant.
This gives:
or more usefully,
If we know the position of two points on the line, we can easily find the gradient (m), using:
Once you have calculated the gradient, you can use either of the known points to then find the equation
of the line.
For example:
The point at which two lines cross is the point of intersection for the two lines.
If the point of intersection is at (x,y), then x and y are the only points on the line where the same value of
x will give the same value of y in the equations for both lines. So we must solve the simultaneous
equations.
At the point of intersection the equations of the two lines are equal. Hence,
For example:
True Data Analytics
Find where the following two lines meet:
Line 1: y = 2x + 5
Line 2: y = -0.5x + 10
Using m1x + c1 = m2x +c2 (the equation described above) we know that:
x = 2.
So we know the lines intersect where x = 2. Now all we need is the y value.
To do this insert x = 2 into the equation for either line. If we use line 1 we get,
y=2x2+5
= 9