Point–Gradient Form, Parallel and Perpendicular Lines
Theory
The point–gradient form \(y-y_1=m(x-x_1)\) gives the equation of a line straight from one point and the gradient. This Year 11 Mathematics Advanced page shows how to use it to find lines in gradient–intercept and general form, including lines parallel or perpendicular to a given line, and how to find unknown constants from points, gradients and parallel or perpendicular conditions.
If a line has gradient \(m\) and passes through the fixed point \((x_1,y_1)\), then any other point \((x,y)\) on it gives the same gradient: \(\dfrac{y-y_1}{x-x_1}=m\). Multiplying by \(x-x_1\) gives the point–gradient form \(y-y_1=m(x-x_1)\).
Use it whenever you know one point and the gradient. If you know two points, find the gradient first and use either point. Then rearrange into the form the question asks for: gradient–intercept form \(y=mx+c\) or general form \(ax+by+c=0\) with integer coefficients.
Parallel lines have equal gradients, \(m_1=m_2\). Perpendicular lines have gradients that multiply to \(-1\), \(m_1m_2=-1\), so the perpendicular gradient is the negative reciprocal \(-\dfrac{1}{m_1}\).
A point lies on a line when its coordinates satisfy the line’s equation. This gives an equation for any unknown in the coordinates.
The line through \((x_1,y_1)\) with gradient \(m\):
Lines with gradients \(m_1\) and \(m_2\):
How to find the equation of a line
- Find a point and the gradient. The gradient may be given, come from two points, or come from a parallel line (same \(m\)) or a perpendicular line (\(-\dfrac{1}{m}\)).
- Substitute into \(y-y_1=m(x-x_1)\). Put negative coordinates in brackets: through \((-3,2)\) gives \(y-2=m(x+3)\).
- Rearrange into the form asked. For general form, multiply both sides to clear any fraction, then move every term to one side.
- Check that the given point satisfies your final equation.
Finding an unknown constant
- Point on a line: substitute the coordinates into the equation and solve.
- Gradient condition: write the gradient from the gradient formula, set it equal to the required value, and solve.
- Two lines with an unknown coefficient: rearrange each to \(y=mx+c\), then use \(m_1=m_2\) or \(m_1m_2=-1\) (Example 4).
Substitute \(x_1=-3\), \(y_1=2\), \(m=-4\):
| \(y-y_1\) | \(=\) | \(m(x-x_1)\) |
| \(y-2\) | \(=\) | \(-4(x-(-3))\) |
| \(y-2\) | \(=\) | \(-4x-12\) |
| \(y\) | \(=\) | \(-4x-10\) |
\(\therefore\) gradient–intercept form: \(\boldsymbol{y=-4x-10}\)
Move every term to the left-hand side:
\(\therefore\) general form: \(\boldsymbol{4x+y+10=0}\)
Check: \(4(-3)+2+10=0\). ✓
Find the gradient of the given line:
| \(2y\) | \(=\) | \(5x+3\) |
| \(y\) | \(=\) | \(\dfrac{5}{2}x+\dfrac{3}{2}\) |
Parallel lines have equal gradients, so \(m=\dfrac{5}{2}\). Point–gradient form through \((-1,4)\):
| \(y-4\) | \(=\) | \(\dfrac{5}{2}(x+1)\) |
| \(2y-8\) | \(=\) | \(5x+5\) |
| \(0\) | \(=\) | \(5x-2y+13\) |
\(\therefore\) \(\boldsymbol{5x-2y+13=0}\)
Shortcut: a parallel line has the form \(5x-2y+k=0\). Substituting \((-1,4)\): \(-5-8+k=0\), so \(k=13\), the same answer.
(i) Find the equation of the line in general form.
(ii) Find the coordinates of \(Q\).
(i) Gradient of the given line:
| \(3y\) | \(=\) | \(4x+1\) |
| \(y\) | \(=\) | \(\dfrac{4}{3}x+\dfrac{1}{3}\) |
So \(m_1=\dfrac{4}{3}\), and since \(m_1m_2=-1\), \(m_2=-\dfrac{3}{4}\).
| \(y-5\) | \(=\) | \(-\dfrac{3}{4}(x+2)\) |
| \(4y-20\) | \(=\) | \(-3x-6\) |
| \(3x+4y-14\) | \(=\) | \(0\) |
\(\therefore\) \(\boldsymbol{3x+4y-14=0}\)
(ii) At \(Q\), \(y=0\): \(3x-14=0\), so \(x=\dfrac{14}{3}\).
\(\therefore\) \(\boldsymbol{Q\left(\dfrac{14}{3},0\right)}\)
(i) Show that \(\ell_1\) and \(\ell_2\) are perpendicular.
(ii) Find the coordinates of \(P\).
(iii) The line \(kx+3y-1=0\) is perpendicular to \(\ell_1\). Find the value of \(k\).
(i) Compare gradients:
| \(\ell_1:\ 2y\) | \(=\) | \(-x+7\ \Rightarrow\ m_1=-\dfrac{1}{2}\) |
| \(\ell_2:\ y\) | \(=\) | \(2x-4\ \Rightarrow\ m_2=2\) |
\(m_1m_2=-\dfrac{1}{2}\times 2=-1\), so \(\boldsymbol{\ell_1\perp\ell_2}\).
(ii) Solve simultaneously:
| \(x+2y\) | \(=\) | \(7\quad (1)\) |
| \(2x-y\) | \(=\) | \(4\quad (2)\) |
| \((2)\times 2:\ 4x-2y\) | \(=\) | \(8\) |
| \(\text{add (1)}:\ 5x\) | \(=\) | \(15\) |
| \(x\) | \(=\) | \(3\) |
Substitute into (1): \(3+2y=7\), so \(y=2\). \(\therefore\) \(\boldsymbol{P(3,2)}\)
(iii) Gradient of \(kx+3y-1=0\):
| \(3y\) | \(=\) | \(-kx+1\) |
| \(y\) | \(=\) | \(-\dfrac{k}{3}x+\dfrac{1}{3}\) |
Perpendicular to \(\ell_1\): \(m_1m_2=-1\)
| \(-\dfrac{k}{3}\times\left(-\dfrac{1}{2}\right)\) | \(=\) | \(-1\) |
| \(\dfrac{k}{6}\) | \(=\) | \(-1\) |
| \(k\) | \(=\) | \(-6\) |
\(\therefore\) \(\boldsymbol{k=-6}\)
Check: with \(k=-6\) the line is \(y=2x+\dfrac{1}{3}\), which has gradient \(2\), the same as \(\ell_2\).
Common pitfalls
Frequently asked questions
What is the point-gradient form of a straight line?
It is \(y-y_1=m(x-x_1)\), where \((x_1,y_1)\) is a point on the line and \(m\) is its gradient. It gives the equation straight from one point and the gradient.
How do you find the equation of a line parallel to another line?
Find the gradient of the given line by making \(y\) the subject. The parallel line has the same gradient, so substitute it and the given point into \(y-y_1=m(x-x_1)\) and rearrange.
How do you find the equation of a line perpendicular to another line?
Find the gradient of the given line, then take its negative reciprocal: flip it and change the sign. Use that gradient and the given point in \(y-y_1=m(x-x_1)\).
How do you change point-gradient form into general form?
Expand the bracket, multiply both sides to clear any fraction, and move every term to one side so it equals \(0\) with integer coefficients. For example, \(y-2=3(x-1)\) becomes \(3x-y-1=0\).
How do you find where two lines intersect?
Solve the two equations simultaneously, by elimination or by substitution. The solution \((x,y)\) is the point that lies on both lines.