# The equation of a line when two point are given.

- Author:
- Mathguru

We can clearly see a line ‘a’ whose equation is \(ax+by = c\)and which passes through two given points A and B. \(x_1, y_1)\)are co-ordinates of A and \(x_2, y_2)\)are co-ordinates of B.
We can change the values of \(x_1\), \(y_1\), \(x_2\) and \(y_2\) using their corresponding slide bars. Observe how the position of the line changes as we change the values of \(x_1\), \(y_1\), \(x_2\) and \(y_2\).