Two different lines in a plane either meet at exactly one point or are parallel. This lesson shows how to find the meeting point, how to measure the angle between two lines, how to write down at once a line parallel or perpendicular to a given one, and how to tell whether three lines pass through a single point.
Point of intersection#
The point where two lines meet lies on both, so its coordinates satisfy both equations. Solve the two equations simultaneously.
Example 1#
Find the point of intersection of 2 x + 3 y = 13 2x + 3y = 13 2 x + 3 y = 13 and x − y = − 1 x - y = -1 x − y = − 1 .
From the second equation, x = y − 1 x = y - 1 x = y − 1 . Substitute into the first:
2 ( y − 1 ) + 3 y = 13 ⟹ 5 y = 15 ⟹ y = 3 2(y - 1) + 3y = 13 \implies 5y = 15 \implies y = 3 2 ( y − 1 ) + 3 y = 13 ⟹ 5 y = 15 ⟹ y = 3
Then x = 3 − 1 = 2 x = 3 - 1 = 2 x = 3 − 1 = 2 . The lines meet at ( 2 , 3 ) (2, 3) ( 2 , 3 ) .
Angle between two lines#
Let two non-vertical lines have slopes m 1 m_1 m 1 and m 2 m_2 m 2 , and let θ \theta θ be the acute angle between them. Then
tan θ = ∣ m 1 − m 2 1 + m 1 m 2 ∣ \displaystyle \tan\theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right| tan θ = 1 + m 1 m 2 m 1 − m 2
Why. If the inclinations are θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 , the angle between the lines is θ 1 − θ 2 \theta_1 - \theta_2 θ 1 − θ 2 (or its supplement), and
tan ( θ 1 − θ 2 ) = tan θ 1 − tan θ 2 1 + tan θ 1 tan θ 2 = m 1 − m 2 1 + m 1 m 2 \displaystyle \tan(\theta_1 - \theta_2) = \frac{\tan\theta_1 - \tan\theta_2}{1 + \tan\theta_1\tan\theta_2} = \frac{m_1 - m_2}{1 + m_1 m_2} tan ( θ 1 − θ 2 ) = 1 + tan θ 1 tan θ 2 tan θ 1 − tan θ 2 = 1 + m 1 m 2 m 1 − m 2
Taking the modulus gives the acute angle. The formula also shows the earlier conditions again: the lines are parallel when m 1 = m 2 m_1 = m_2 m 1 = m 2 (so tan θ = 0 \tan\theta = 0 tan θ = 0 ), and perpendicular when 1 + m 1 m 2 = 0 1 + m_1 m_2 = 0 1 + m 1 m 2 = 0 (so tan θ \tan\theta tan θ is undefined and θ = 90 ° \theta = 90° θ = 90° ).
Example 2#
Find the acute angle between y = 2 x + 1 y = 2x + 1 y = 2 x + 1 and y = − 3 x + 4 y = -3x + 4 y = − 3 x + 4 .
Here m 1 = 2 m_1 = 2 m 1 = 2 and m 2 = − 3 m_2 = -3 m 2 = − 3 :
tan θ = ∣ 2 − ( − 3 ) 1 + ( 2 ) ( − 3 ) ∣ = ∣ 5 − 5 ∣ = 1 \displaystyle \tan\theta = \left|\frac{2 - (-3)}{1 + (2)(-3)}\right| = \left|\frac{5}{-5}\right| = 1 tan θ = 1 + ( 2 ) ( − 3 ) 2 − ( − 3 ) = − 5 5 = 1
So θ = 45 ° \theta = 45° θ = 45° .
Example 3#
Find the acute angle between x − 3 y + 1 = 0 x - 3y + 1 = 0 x − 3 y + 1 = 0 and 2 x − y + 5 = 0 2x - y + 5 = 0 2 x − y + 5 = 0 .
The slopes are m 1 = − 1 − 3 = 1 3 \displaystyle m_1 = -\frac{1}{-3} = \frac{1}{3} m 1 = − − 3 1 = 3 1 and m 2 = − 2 − 1 = 2 \displaystyle m_2 = -\frac{2}{-1} = 2 m 2 = − − 1 2 = 2 :
tan θ = ∣ 1 3 − 2 1 + 2 3 ∣ = ∣ − 5 3 5 3 ∣ = 1 , so θ = 45 ° \displaystyle \tan\theta = \left|\frac{\frac{1}{3} - 2}{1 + \frac{2}{3}}\right| = \left|\frac{-\frac{5}{3}}{\frac{5}{3}}\right| = 1, \quad \text{so } \theta = 45° tan θ = 1 + 3 2 3 1 − 2 = 3 5 − 3 5 = 1 , so θ = 45°
For a 1 x + b 1 y + c 1 = 0 a_1x + b_1y + c_1 = 0 a 1 x + b 1 y + c 1 = 0 and a 2 x + b 2 y + c 2 = 0 a_2x + b_2y + c_2 = 0 a 2 x + b 2 y + c 2 = 0 , comparing slopes − a 1 b 1 \displaystyle -\frac{a_1}{b_1} − b 1 a 1 and − a 2 b 2 \displaystyle -\frac{a_2}{b_2} − b 2 a 2 gives:
Parallel when a 1 a 2 = b 1 b 2 \displaystyle \frac{a_1}{a_2} = \frac{b_1}{b_2} a 2 a 1 = b 2 b 1 (that is, a 1 b 2 = a 2 b 1 a_1b_2 = a_2b_1 a 1 b 2 = a 2 b 1 ).
Perpendicular when a 1 a 2 + b 1 b 2 = 0 a_1a_2 + b_1b_2 = 0 a 1 a 2 + b 1 b 2 = 0 .
This gives two quick rules for writing down lines.
A line parallel to a x + b y + c = 0 ax + by + c = 0 a x + b y + c = 0 has the form a x + b y + k = 0 ax + by + k = 0 a x + b y + k = 0 (same x x x and y y y coefficients).
A line perpendicular to a x + b y + c = 0 ax + by + c = 0 a x + b y + c = 0 has the form b x − a y + k = 0 bx - ay + k = 0 b x − a y + k = 0 (swap the coefficients and change one sign).
The number k k k is found from a point the line must pass through.
Example 4#
Find the lines through ( 1 , − 2 ) (1, -2) ( 1 , − 2 ) that are (a) parallel (b) perpendicular to 3 x − 4 y + 7 = 0 3x - 4y + 7 = 0 3 x − 4 y + 7 = 0 .
(a) The line is 3 x − 4 y + k = 0 3x - 4y + k = 0 3 x − 4 y + k = 0 . Through ( 1 , − 2 ) (1, -2) ( 1 , − 2 ) : 3 + 8 + k = 0 3 + 8 + k = 0 3 + 8 + k = 0 , so k = − 11 k = -11 k = − 11 . The line is 3 x − 4 y − 11 = 0 3x - 4y - 11 = 0 3 x − 4 y − 11 = 0 .
(b) The line is 4 x + 3 y + k = 0 4x + 3y + k = 0 4 x + 3 y + k = 0 . Through ( 1 , − 2 ) (1, -2) ( 1 , − 2 ) : 4 − 6 + k = 0 4 - 6 + k = 0 4 − 6 + k = 0 , so k = 2 k = 2 k = 2 . The line is 4 x + 3 y + 2 = 0 4x + 3y + 2 = 0 4 x + 3 y + 2 = 0 .
Concurrent lines#
Three or more lines are concurrent if they all pass through one point. To test three lines: find where two of them meet, and check whether that point lies on the third.
There is also a determinant test: the lines a r x + b r y + c r = 0 a_rx + b_ry + c_r = 0 a r x + b r y + c r = 0 (r = 1 , 2 , 3 r = 1, 2, 3 r = 1 , 2 , 3 ), no two of them parallel, are concurrent exactly when
∣ a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3 ∣ = 0 \begin{vmatrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{vmatrix} = 0 a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3 = 0
Example 5#
Show that x + y − 5 = 0 x + y - 5 = 0 x + y − 5 = 0 , 2 x − y − 1 = 0 2x - y - 1 = 0 2 x − y − 1 = 0 and 3 x + 2 y − 12 = 0 3x + 2y - 12 = 0 3 x + 2 y − 12 = 0 are concurrent.
Adding the first two equations: 3 x − 6 = 0 3x - 6 = 0 3 x − 6 = 0 , so x = 2 x = 2 x = 2 and y = 3 y = 3 y = 3 . In the third: 3 ( 2 ) + 2 ( 3 ) − 12 = 0 3(2) + 2(3) - 12 = 0 3 ( 2 ) + 2 ( 3 ) − 12 = 0 . So all three pass through ( 2 , 3 ) (2, 3) ( 2 , 3 ) .
By determinants: ∣ 1 1 − 5 2 − 1 − 1 3 2 − 12 ∣ = 1 ( 12 + 2 ) − 1 ( − 24 + 3 ) − 5 ( 4 + 3 ) = 14 + 21 − 35 = 0 \begin{vmatrix} 1 & 1 & -5 \\ 2 & -1 & -1 \\ 3 & 2 & -12 \end{vmatrix} = 1(12 + 2) - 1(-24 + 3) - 5(4 + 3) = 14 + 21 - 35 = 0 1 2 3 1 − 1 2 − 5 − 1 − 12 = 1 ( 12 + 2 ) − 1 ( − 24 + 3 ) − 5 ( 4 + 3 ) = 14 + 21 − 35 = 0 .
Lines through the meeting point of two lines#
Example 6#
Find the line through the origin and the point of intersection of x + y − 5 = 0 x + y - 5 = 0 x + y − 5 = 0 and 2 x − y − 1 = 0 2x - y - 1 = 0 2 x − y − 1 = 0 .
From Example 5 the lines meet at ( 2 , 3 ) (2, 3) ( 2 , 3 ) . The line through ( 0 , 0 ) (0, 0) ( 0 , 0 ) and ( 2 , 3 ) (2, 3) ( 2 , 3 ) has slope 3 2 \displaystyle \frac{3}{2} 2 3 , so it is y = 3 2 x \displaystyle y = \frac{3}{2}x y = 2 3 x , that is, 3 x − 2 y = 0 3x - 2y = 0 3 x − 2 y = 0 .
Practice#
Find the point of intersection of x + 2 y = 7 x + 2y = 7 x + 2 y = 7 and 3 x − y = 7 3x - y = 7 3 x − y = 7 .
Find the acute angle between y = 3 x + 2 y = 3x + 2 y = 3 x + 2 and y = − 2 x + 5 y = -2x + 5 y = − 2 x + 5 .
Find the acute angle between 3 x − y + 1 = 0 \sqrt{3}x - y + 1 = 0 3 x − y + 1 = 0 and x − 3 y + 2 = 0 x - \sqrt{3}y + 2 = 0 x − 3 y + 2 = 0 .
Show that 2 x + 3 y − 6 = 0 2x + 3y - 6 = 0 2 x + 3 y − 6 = 0 and 3 x − 2 y + 4 = 0 3x - 2y + 4 = 0 3 x − 2 y + 4 = 0 are perpendicular.
Find the line through ( 2 , 3 ) (2, 3) ( 2 , 3 ) parallel to 4 x − y + 1 = 0 4x - y + 1 = 0 4 x − y + 1 = 0 .
Find the line through ( − 1 , 2 ) (-1, 2) ( − 1 , 2 ) perpendicular to 2 x + 5 y − 3 = 0 2x + 5y - 3 = 0 2 x + 5 y − 3 = 0 .
Find k k k so that k x + 2 y − 3 = 0 kx + 2y - 3 = 0 k x + 2 y − 3 = 0 is perpendicular to 3 x − 4 y + 1 = 0 3x - 4y + 1 = 0 3 x − 4 y + 1 = 0 .
Show that x − y + 1 = 0 x - y + 1 = 0 x − y + 1 = 0 , 2 x + y − 4 = 0 2x + y - 4 = 0 2 x + y − 4 = 0 and x + 2 y − 5 = 0 x + 2y - 5 = 0 x + 2 y − 5 = 0 are concurrent.
Find k k k so that x + y − 3 = 0 x + y - 3 = 0 x + y − 3 = 0 , 2 x − y − 3 = 0 2x - y - 3 = 0 2 x − y − 3 = 0 and k x + 3 y − 7 = 0 kx + 3y - 7 = 0 k x + 3 y − 7 = 0 are concurrent.
Find the line through the point of intersection of 2 x + y − 5 = 0 2x + y - 5 = 0 2 x + y − 5 = 0 and x − y − 1 = 0 x - y - 1 = 0 x − y − 1 = 0 , parallel to 3 x + 4 y = 0 3x + 4y = 0 3 x + 4 y = 0 .
Answers#
Show answers
From the second, y = 3 x − 7 y = 3x - 7 y = 3 x − 7 ; then x + 6 x − 14 = 7 x + 6x - 14 = 7 x + 6 x − 14 = 7 , so x = 3 x = 3 x = 3 and y = 2 y = 2 y = 2 : the point ( 3 , 2 ) (3, 2) ( 3 , 2 ) .
tan θ = ∣ 3 + 2 1 − 6 ∣ = 1 \displaystyle \tan\theta = \left|\frac{3 + 2}{1 - 6}\right| = 1 tan θ = 1 − 6 3 + 2 = 1 , so θ = 45 ° \theta = 45° θ = 45° .
The slopes are 3 \sqrt{3} 3 and 1 3 \displaystyle \frac{1}{\sqrt{3}} 3 1 (inclinations 60 ° 60° 60° and 30 ° 30° 30° ), so θ = 30 ° \theta = 30° θ = 30° . By the formula, tan θ = 3 − 1 3 1 + 1 = 1 3 \displaystyle \tan\theta = \frac{\sqrt{3} - \frac{1}{\sqrt{3}}}{1 + 1} = \frac{1}{\sqrt{3}} tan θ = 1 + 1 3 − 3 1 = 3 1 .
a 1 a 2 + b 1 b 2 = 6 − 6 = 0 a_1a_2 + b_1b_2 = 6 - 6 = 0 a 1 a 2 + b 1 b 2 = 6 − 6 = 0 .
4 x − y + k = 0 4x - y + k = 0 4 x − y + k = 0 with 8 − 3 + k = 0 8 - 3 + k = 0 8 − 3 + k = 0 , so k = − 5 k = -5 k = − 5 : 4 x − y − 5 = 0 4x - y - 5 = 0 4 x − y − 5 = 0 .
5 x − 2 y + k = 0 5x - 2y + k = 0 5 x − 2 y + k = 0 with − 5 − 4 + k = 0 -5 - 4 + k = 0 − 5 − 4 + k = 0 , so k = 9 k = 9 k = 9 : 5 x − 2 y + 9 = 0 5x - 2y + 9 = 0 5 x − 2 y + 9 = 0 .
3 k + 2 ( − 4 ) = 0 3k + 2(-4) = 0 3 k + 2 ( − 4 ) = 0 , so k = 8 3 \displaystyle k = \frac{8}{3} k = 3 8 .
The first two meet where 3 x = 3 3x = 3 3 x = 3 , at ( 1 , 2 ) (1, 2) ( 1 , 2 ) ; and 1 + 4 − 5 = 0 1 + 4 - 5 = 0 1 + 4 − 5 = 0 , so the third passes through it too.
The first two meet at ( 2 , 1 ) (2, 1) ( 2 , 1 ) ; then 2 k + 3 − 7 = 0 2k + 3 - 7 = 0 2 k + 3 − 7 = 0 , so k = 2 k = 2 k = 2 .
The lines meet where 3 x = 6 3x = 6 3 x = 6 , at ( 2 , 1 ) (2, 1) ( 2 , 1 ) . The required line is 3 x + 4 y + k = 0 3x + 4y + k = 0 3 x + 4 y + k = 0 with 6 + 4 + k = 0 6 + 4 + k = 0 6 + 4 + k = 0 , so 3 x + 4 y − 10 = 0 3x + 4y - 10 = 0 3 x + 4 y − 10 = 0 .