Write an equation representing a pair of lines through the point (a, b) and parallel to the coordinates axes.

Given:


Point (a, b)


To find:


Equation representing a pair of lines through the point (a, b) and parallel to the coordinates axes.


Explanation:


The lines passing through (a, b) and parallel to the x-axis and y-axis are y = b and x = a, respectively.


Therefore, their combined equation is given below:


(x – a)(y – b) = 0


1