Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Angle Between Two Vectors in Vector Algebra

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How to Find the Angle Between Two Vectors Using Dot Product Formula

Geometry is one of the topics that many students love, no matter if they like calculations. Making angles using scale and compass gives us a different kind of joy and relaxation in the world of numbers and multiplication tables. But then comes trigonometry to add a bit of complexity and along with trigonometry, you get your first taste of vectors


Yes, vectors are also a part of Mathematics and geometry. An angle between two vectors is the smallest angle that can be used for one vector to rotate on its axis so that it aligns with the other vector. Two vectors are needed to produce a scalar quantity, which is said to be a real number. 


Today, we will be trying to find the angle between the two vectors using trigonometric formulas. We will be doing it in such a way that it will become easier for students to understand.  


(Image Will be Updated Soon)


(Two vectors connected via dot making angle theta.)


If you are looking to find an angle between two vectors using a calculator, you might be in for a surprise. Still, there are many websites online that can show you the direct answer, but that's not how you will get marks in your exams. So, we will be helping to solve it. 


Angle between Two Vectors Formula

To find the angle between the vectors, we first need to take two vectors in the equation. Let's assume two vectors and name them vector (X) and vector (Y). Now separate these two vectors with angle. 


Here, we have now set up the situation to help us find out the angle between the two vectors. To find out the angle, we first need to find out the given vectors' dot product. As a result, vector (X) and vector (Y) = |X| |Y| Cos.


Thus, making the angle between the two vectors given in the formula will be as follows:

\[ \theta  = Cos^{-1}\frac{\overrightarrow{x}.\overrightarrow{y}}{|\overrightarrow{x}||\overrightarrow{y}|}\]


In the above equation, we can find the angle between the two vectors. 


This was the easy way to find the angle between two vectors. Let us now go through the two common ways to determine this angle, and then we will decide which one to use for our case.


Two Methods to Calculate the Angle between Two Vectors

There are two major formulas that are generally used to determine the angle between two vectors: one is in terms of dot product and the other is in terms of the cross product. However, the most widely used formula to determine the angle between two vectors involves the dot product method. Now, we will see what problem arises when we use the cross-product method. Consider x and y to be two vectors and θ to be the angle between them. The following are the two formulas that can be used to find the angle between them. These formulas use both the dot product and the cross product.

  • The angle between two vectors can be determined using the dot product as \[ \theta  = cos^{-1} [ \frac{x . y}{ \left | x \right | \left | y \right |}\]

  • The angle between two vectors can be determined using the cross product as \[ \theta  =sin^{-1} [ \frac{x \times y}{ \left | x \right | \left | y \right |}\].

Here, x · y is the dot product and x × y is the cross product of x and y. It is to be noted that the cross product formula requires the magnitude of the numerator, while the dot product formula does not.


Note: When it comes to finding out the angle between two equal vectors, you don’t need to solve any equation as the angle will be zero. The main reason behind it is that two equal vectors will have the same direction and magnitude as one another.  


Solved Example

Let's try to use the following equation to determine the angle between the two vectors 3i + 4j - k and 2i - j + k. 

The first vector is 3i + 4j - k. 

The second vector is 2i - j + k. 

Now, let's find the dot product of these two. 

= (3i + 4j - k ).(2i - j + k).

= (3)(2) + (4)(-1) + (-1)(1)

= (6-4-1)

= -1

Thus, the dot product of the two vectors  = 1.

Now, we have to find out the magnitude of the vectors. 

For the first one, \[\sqrt{3^{2}+4^{2}+(-1)^{2}}\] = \[\sqrt{26}\] = 5.09

For the second one,  \[\sqrt{2^{2}+(-1)^{2}+1^{2}}\] = \[\sqrt{6}\] = 2.45

Now, putting the values in the formula.,

\[\theta=Cos^{-1}\frac{\overrightarrow{x}.\overrightarrow{y}}{|\overrightarrow{x}||\overrightarrow{y}|}\] 

= \[Cos^{-1}\frac{1}{(5.09)(2.45)}\]

= \[Cos^{-1}\frac{1}{(12.47)}\]

= \[Cos^{-1} (0.0802)\]

= 85.39o


Conclusion

To summarise, let us go through the major points that we have learned about this topic. The angle between the tails of two vectors is known as the angle between these vectors. There are two ways in which we can find this angle, that is, either by using the dot product (scalar product) or the cross product (vector product). It must be noted that the angle between two vectors will always lie somewhere between 0° and 180°.

FAQs on Angle Between Two Vectors in Vector Algebra

1. What is the angle between two vectors?

The angle between two vectors is the measure of rotation required to align one vector with another, calculated using the dot product formula. It represents how far apart the directions of the two vectors are in space.

The angle θ between vectors 𝐚 and 𝐛 is given by:

cos θ = (𝐚 · 𝐛) / (|𝐚||𝐛|)

Where:

  • 𝐚 · 𝐛 is the dot product
  • |𝐚| and |𝐛| are magnitudes of the vectors
  • θ is the angle between them (0° ≤ θ ≤ 180°)

2. What is the formula to find the angle between two vectors?

The formula to find the angle between two vectors is θ = cos⁻¹[(𝐚 · 𝐛)/(|𝐚||𝐛|)]. This formula comes directly from the definition of the dot product.

Steps to use the formula:

  • Compute the dot product: 𝐚 · 𝐛
  • Find magnitudes: |𝐚| and |𝐛|
  • Substitute into the formula
  • Take inverse cosine to get θ

3. How do you find the angle between two vectors step by step?

To find the angle between two vectors, use the dot product formula and follow a clear step-by-step process.

Example: Let 𝐚 = (1, 2) and 𝐛 = (3, 4).

  • Step 1: Dot product → 𝐚 · 𝐛 = (1)(3) + (2)(4) = 11
  • Step 2: Magnitudes → |𝐚| = √5, |𝐛| = 5
  • Step 3: Apply formula → cos θ = 11/(5√5)
  • Step 4: θ = cos⁻¹(11/(5√5))
This gives the required angle between the two vectors.

4. What is the angle between two perpendicular vectors?

The angle between two perpendicular vectors is 90°. Perpendicular (orthogonal) vectors have a dot product equal to zero.

If 𝐚 · 𝐛 = 0, then:

  • cos θ = 0
  • θ = cos⁻¹(0)
  • θ = 90°
This property is commonly used to test whether two vectors are orthogonal.

5. What is the angle between parallel vectors?

The angle between parallel vectors is either or 180°, depending on their direction. If they point in the same direction, the angle is 0°; if opposite, it is 180°.

For parallel vectors:

  • 𝐚 = k𝐛 for some scalar k
  • If k > 0 → θ = 0°
  • If k < 0 → θ = 180°

6. Can the angle between two vectors be negative?

No, the angle between two vectors is always between 0° and 180°. The dot product formula defines θ using inverse cosine, which returns values in this range.

Although vectors can have direction, the standard definition of angle between vectors in linear algebra does not allow negative angles.

7. How do you find the angle between two 3D vectors?

To find the angle between two 3D vectors, use the same dot product formula applied to three components.

For 𝐚 = (a₁, a₂, a₃) and 𝐛 = (b₁, b₂, b₃):

  • Dot product: 𝐚 · 𝐛 = a₁b₁ + a₂b₂ + a₃b₃
  • Magnitudes: |𝐚| = √(a₁² + a₂² + a₃²)
  • Angle: θ = cos⁻¹[(𝐚 · 𝐛)/(|𝐚||𝐛|)]
The formula works the same in 2D and 3D vector geometry.

8. Why is the dot product used to find the angle between two vectors?

The dot product is used because it directly relates vector multiplication to the cosine of the angle between them. By definition:

𝐚 · 𝐛 = |𝐚||𝐛| cos θ

Rearranging gives:

  • cos θ = (𝐚 · 𝐛)/(|𝐚||𝐛|)
This relationship connects algebra (components) with geometry (angle), making it the standard method in vector mathematics.

9. What happens to the angle if one vector is a zero vector?

The angle between a zero vector and any other vector is undefined. This is because the magnitude of the zero vector is 0.

In the formula:

  • cos θ = (𝐚 · 𝐛)/(|𝐚||𝐛|)
If one vector is zero, the denominator becomes zero, and division by zero is undefined.

10. What are common mistakes when finding the angle between two vectors?

Common mistakes when calculating the angle between two vectors usually involve errors in dot product, magnitude, or inverse cosine calculation.

Typical errors include:

  • Incorrect dot product calculation
  • Forgetting square roots when finding magnitudes
  • Not using parentheses in the formula
  • Rounding too early before applying cos⁻¹
  • Using degrees instead of radians (or vice versa) incorrectly
Careful step-by-step calculation helps avoid these mistakes.