Straight line

Equations of straight lines

The equations of a straight lines describes a relationship between two variables. This variables are usually described as x which is independent variable and y which is dependant variable. The value of x determines the value of y in the line.

consider two arbitrary points on a Cartesian plane shown below.

Any two points joined together can make a straight line. Let the points be A(x1 y1) and B(x2, y2). From our previous lessons on gradient of a line; we can find gradient from the equation:

$$gradient = \frac{\text{change in y}}{\text{change in y}}$$

and so the gradient of any arbitrary line on a cartesian plane can be given by:

$$gradient = \frac{y_2 – y_1}{x_2 – x_1}$$

let the gradient be m:

$$m = \frac{y_2 – y_1}{x_2 – x_1}$$

we will make y to be the subject;

$$y_2 – y_1 = m(x_2 – x_1)$$
$$y_2 = m(x_2 – x_1) + y_1$$

we express the general equation of the line as :

$$ y = mx+c $$

where c is the point at which the line cuts the y -axis.

Example problem on equations of straight lines

What is the equation of the line passing through A(-2, 3) and B(5, 8) on a cartesian plane?

solution:

$$gradient = \frac{y_2 – y_1}{x_2 – x_1}$$

y1 = 3, y2=8

x1 = -2 , x2=5

substituting in the equation above;

$$gradient = \frac{8 – 3}{5 – -2} = \frac{5}{7}$$

we now take an arbitrary (x, y) and one point we know about line point (5,8) point on the line and calculate gradient again. That is

$$gradient = \frac{y – 8}{x-5} = \frac{5}{7}$$

we see that 7(y-8)= 5(x-5)

7y – 56 = 5x -25

7y = 5x -25 +56

7y = 5x +31

hence the equation of the line is :

$$y = \frac{5}{7} x + \frac{31}{7} $$

Related topics


Discover more from precisestudy

Subscribe to get the latest posts sent to your email.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from precisestudy

Subscribe now to keep reading and get access to the full archive.

Continue reading