Y = mx + d, Where value of ‘m’ is the given Slope and the y- intercept is given by ‘d’. Here we will see how to find the equation of a line.
There are various methods to find the equation of a line such as:
When Point and slope are given.
When two points are given.
When a point and a parallel line are given.
When a point and a perpendicular line are given.
Mathematically, to find the equation of a line through two different co Ordinate points (a1, b1) and (a2, b2) is given by
(i) b = b1 + [(b2 – b1) / (a2 – a1)] · (a – a1),
where a1 and a2 are supposed to be distinct. If two points are equal, then equation can be written as a = a1 and it does not need a second point.
Above equation of line can also be written as:
b – b1 = [(b2- b1) / (a2 – a1)] · (a – a1),
or it can be written as:
(a2 – a1)·(b – b1) = (b2 – b1)·(a – a1),
Whereas, the easiest formula for line to remember is:
(b – b1)/(b2 – b1) = (a – a1)/(a2 – a1),
Above equation is the simplest formula to find the equation of line.
To find the equation of a line through Point-slope equation is given by:
The equation of a line through point (p, q) with a given slope of m is y = m(x - a) + b
or y - b = m(x - a).
Example: Find the equation of a line if the Slope of a line is 1/3 and the point is (3, - 4)?
Solution: Here m = 1/3, a= 3 and b= -4 given, therefore according to the formula y = m(x – a) + b
So, y = 1/3(x – 3) + 4.
Equation is given as: 3y = x + 9.