Finding the angle between two lines using a formula is the goal of this lesson. When two lines intersect in a plane, their intersection forms two pairs of opposite angles called vertical angles.
If the two lines are not perpendicular and have slopes m1 and m2, then you can use the following formula to find the angle between the two lines.
First, notice that when two lines intersect, one of the two pairs is acute and the other pair is obtuse. The angle between two lines is defined as the smallest of these angles or the acute angle denoted by θ.
We are going to use the inclinations of the two lines to find the angle between the two lines. You may need to review the lesson about inclination of line.
Second, we need to show that θ = θ2 - θ1
Using triangle ABC, we know that the sum of the angles in that tiangle is equal to 180 degrees.
θ + θ1 + x = 180 (equation 1)
Furthermore, x + θ2 = 180 (equation 2) since x and θ2 form a straight line.
Replace 180 with x + θ2 in equation 1.
We get θ + θ1 + x = x + θ2
Subtract x from both sides
θ + θ1 + x - x = x - x + θ2
θ + θ1 = θ2
Subtract θ1 from both sides
θ + θ1 - θ1 = θ2 - θ1
θ = θ2 - θ1
Now, you can use the formula for the tangent of the difference of two angles.
tan θ = tan ( θ2 - θ1)
Third, in the lesson about inclination of a line, we learned that tan θ = m
Thus, tan θ1 = m1 and tan θ2 = m2
After substituting m1 for tan θ1 and m2 for tan θ2 in the equation immediately above, we get:
Notice the use of the absolute value to ensure that tan θ is equal to a positive number.
1) Find the angle between the following two lines.
Line 1: 3x -2y = 4
Line 2: x + 4y = 1
Put 3x - 2y = 4 into slope-intercept form so you can clearly identify the slope.
3x - 2y = 4
2y = 3x - 4
y = 3x / 2 - 4/2
y = (3/2)x - 2
Put x + 4y = 1 into slope-intercept form so you can clearly identify the slope.
x + 4y = 1
4y = -x + 1
y = -x/4 + 1/4
y = (-1/4)x + 1/4
The slopes are 3/2 and -1/4 or 1.5 and -0.25. It does not matter which one is m1 or m2. You will get the same answer.
Let m1 = 1.5 and m2 = -0.25
θ = tan-1(2.8) = 70.35 degrees
2) Find the angle between the following two lines.
Line 1: x - 4y + 4 = 0
Line 2: 3x - 4y - 8 = 0
Put x - 4y + 4 = 0 into slope-intercept form so you can clearly identify the slope.
x - 4y + 4 = 0
4y = x + 4
y = x / 4 + 4/4
y = (1/4)x + 1
Put 3x - 4y - 8 = 0 into slope-intercept form so you can clearly identify the slope.
3x - 4y - 8 = 0
4y = 3x - 8
y = 3x/4 - 8/4
y = (3/4)x - 2
The slopes are 3/4 and 1/4 or 0.75 and 0.25. Again, it does not matter which one is m1 or m2. You will get the same answer.
Let m1 = 0.75 and m2 = 0.25
tan θ = |-0.4211| = 0.4211
θ = tan-1(0.4211) = 22.84 degrees