Question
Question: Find the acute angle between the pair of lines \[x + 3y + 5 = 0\] and \[2x + y - 1 = 0\] ....
Find the acute angle between the pair of lines x+3y+5=0 and 2x+y−1=0 .
Solution
Simplify the above given equations in y=mx+c format and find slopes of both lines. After that use the formula tanθ=1+m1m2m1−m2 to get the angles between the lines where m1 and m2 are the slopes of lines.
Complete step-by-step answer:
The equation of first line is
x+3y+5=0
On comparing the above equation by y=mx+c , we get the slope of the first line as m1=−31 .
The equation of second line is
2x+y−1=0
∴y=−2x+1
On comparing the above equation by y=mx+c , we get the slope of the second line as m2=−2 .
Now, for angle between the lines, we use the formula tanθ=1+m1m2m1−m2 .
∴tanθ=1+(−31)(−2)−31−(−2)
∴tanθ=1+32−31+2
∴tanθ=33+23−1+6
Thus, the angle between the lines is 45∘ .
Note: The slope of a line can also be written as m=tanθ .
So, here m1=tanθ1=−31 and m2=tanθ2=−2 .
Instead of tanθ=1+m1m2m1−m2 , you can also use the formula tan(θ1−θ2)=1+tanθ1tanθ2tanθ1−tanθ2 to find the angle between the lines.