Finding the acute angle between two lines (or between two vectors)

 
 
Acute angle between the lines blog post.jpeg
 
 
 

What is an acute angle?

An acute angle is an angle that’s less than 9090^\circ, like this:

picture of an acute angle
Krista King Math.jpg

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

If we want to find the acute angle between two lines, we can convert the lines to standard vector form and then use the formula

cosθ=abab\cos{\theta}=\frac{a\cdot b}{|a||b|}

where aa and bb are the given vectors, aba\cdot{b} is the dot product of the vectors, a|a| is the magnitude of the vector aa (its length) and b|b| is the magnitude of the vector bb (its length). We can find the magnitude of both vectors using the distance formula

D=(x2x1)2+(y2y1)2D=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

for a two-dimensional vector where the point (x1,y1)(x_1,y_1) is the origin (0,0)(0,0).

If the formula above gives a result that’s greater than 9090^\circ, then we’ve found the obtuse angle between the lines. To find the acute angle, we just subtract the obtuse angle from 180180^\circ, and we’ll get the acute angle.

 
 

How do we find the acute angle between two lines, when the lines are defined by vectors?


 
Krista King Math Signup.png
 
Calculus 3 course.png

Take the course

Want to learn more about Calculus 3? I have a step-by-step course for that. :)

 
 

 
 

Converting lines into vectors, then finding the angle between those two vectors

Example

Find the acute angle between the lines.

x+3y=2x+3y=2

3x6y=53x-6y=5

First we’ll convert the lines to standard vector form.

x+3y=2x+3y=2

a=1,3a=\langle1,3\rangle

and

3x6y=53x-6y=5

b=3,6b=\langle3,-6\rangle

Before we can use our formula, we need to find the dot product of aa and bb.

ab=(1)(3)+(3)(6)a\cdot{b}=(1)(3)+(3)(-6)

ab=318a\cdot{b}=3-18

ab=15a\cdot{b}=-15

Now we need to find the length of each vector using the distance formula.

a=(10)2+(30)2|a|=\sqrt{(1-0)^2+(3-0)^2}

a=1+9|a|=\sqrt{1+9}

a=10|a|=\sqrt{10}

and

b=(30)2+(60)2|b|=\sqrt{(3-0)^2+(-6-0)^2}

b=9+36|b|=\sqrt{9+36}

b=45|b|=\sqrt{45}

Acute angle between the lines for Calculus 3.jpg

If we want to find the acute angle between two lines, we can convert the lines to standard vector form.

Plugging ab=15a\cdot{b}=-15, a=10|a|=\sqrt{10}, and b=45|b|=\sqrt{45} into the formula, we get

cosθ=151045\cos{\theta}=\frac{-15}{\sqrt{10}\sqrt{45}}

cosθ=15450\cos{\theta}=\frac{-15}{\sqrt{450}}

cosθ=15450\cos{\theta}=\frac{-15}{\sqrt{450}}

cosθ=152252\cos{\theta}=\frac{-15}{\sqrt{225\cdot2}}

cosθ=15152\cos{\theta}=\frac{-15}{15\sqrt{2}}

cosθ=12\cos{\theta}=\frac{-1}{\sqrt{2}}

Rationalize the denominator.

cosθ=12(22)\cos{\theta}=\frac{-1}{\sqrt{2}}\left(\frac{\sqrt{2}}{\sqrt{2}}\right)

cosθ=22\cos{\theta}=\frac{-\sqrt{2}}{2}

Looking at the top half of the unit circle, we can see that

θ=3π4=135\theta=\frac{3\pi}{4}=135^\circ

Since the answer is greater than 9090^\circ, we’ve found the obtuse angle between the lines. To find the acute angle, we’ll just subtract this value from 180180^\circ.

θ=180135\theta=180^\circ-135^\circ

θ=45\theta=45^\circ

The acute angle between the lines is 4545^\circ.

 
Krista King.png
 

Get access to the complete Calculus 3 course