Find the equation of the straight lines passing through the following pair of points:

(0, 0) and (2, - 2)

Given:


( x1, y1) = (0, 0), ( x2, y2) = (2, -2)


Concept Used:


The equation of the line passing through the two points ( x1, y1) and ( x2, y2).


To find:


The equation of the straight line passing through a pair of points.


Explanation:


So, the equation of the line passing through the two points (0, 0) and (2, −2) is


The formula used:



y = -x


Hence, equation of line is y = -x


1