S7-SA2-0173
What is the Angle between Two Lines using Vectors?
Grade Level:
Class 12
AI/ML, Physics, Biotechnology, FinTech, EVs, Space Technology, Climate Science, Blockchain, Medicine, Engineering, Law, Economics
Definition
What is it?
The angle between two lines using vectors tells us how much one line needs to 'turn' to match the direction of the other line. We can find this angle by using the dot product of the direction vectors of the two lines.
Simple Example
Quick Example
Imagine two cricket bats lying on the ground, forming an 'X' shape. Each bat points in a certain direction. If we represent the direction of each bat as a vector, finding the angle between them means figuring out how wide or narrow that 'X' shape is.
Worked Example
Step-by-Step
Let's find the angle between two lines with direction vectors v1 = (1, 2, 3) and v2 = (4, 5, 6).
Step 1: Write down the formula for the cosine of the angle (theta) between two vectors: cos(theta) = (v1 . v2) / (|v1| * |v2|).
---
Step 2: Calculate the dot product (v1 . v2).
v1 . v2 = (1 * 4) + (2 * 5) + (3 * 6) = 4 + 10 + 18 = 32.
---
Step 3: Calculate the magnitude of v1 (|v1|).
|v1| = sqrt(1^2 + 2^2 + 3^2) = sqrt(1 + 4 + 9) = sqrt(14).
---
Step 4: Calculate the magnitude of v2 (|v2|).
|v2| = sqrt(4^2 + 5^2 + 6^2) = sqrt(16 + 25 + 36) = sqrt(77).
---
Step 5: Substitute these values into the formula.
cos(theta) = 32 / (sqrt(14) * sqrt(77)) = 32 / sqrt(1078).
---
Step 6: Calculate the value of sqrt(1078) which is approximately 32.83.
cos(theta) = 32 / 32.83 approx 0.9746.
---
Step 7: Find the angle theta by taking the inverse cosine (arccos).
theta = arccos(0.9746) approx 12.9 degrees.
Answer: The angle between the two lines is approximately 12.9 degrees.
Why It Matters
Understanding angles between vectors is crucial in fields like AI/ML for robot navigation and computer vision, and in Physics for analyzing forces and motion. Engineers use this to design structures and even in FinTech to model data relationships.
Common Mistakes
MISTAKE: Using the position vectors instead of direction vectors. | CORRECTION: Always use the direction vectors of the lines to find the angle between them.
MISTAKE: Forgetting to take the absolute value of the dot product or the magnitude. | CORRECTION: Remember that the angle between two lines is usually considered acute (between 0 and 90 degrees), so ensure your cosine value is positive. If it's negative, take its absolute value.
MISTAKE: Confusing dot product with cross product. | CORRECTION: The dot product (scalar product) gives a scalar value and is used for angles. The cross product (vector product) gives a vector perpendicular to both original vectors.
Practice Questions
Try It Yourself
QUESTION: Find the angle between two lines whose direction vectors are v1 = (2, -1, 2) and v2 = (1, 1, 0). | ANSWER: Approximately 61.87 degrees
QUESTION: If the direction vectors of two lines are v1 = (3, 0, 4) and v2 = (0, 5, -12), find the cosine of the angle between them. | ANSWER: cos(theta) = -48 / 65
QUESTION: Two lines pass through the origin. One line passes through point A(1, 0, 1) and the other through point B(2, 2, 0). Find the angle between these two lines. (Hint: The position vectors of A and B can be considered as the direction vectors). | ANSWER: Approximately 78.46 degrees
MCQ
Quick Quiz
Which of the following formulas is used to find the angle (theta) between two vectors v1 and v2?
sin(theta) = (v1 . v2) / (|v1| * |v2|)
cos(theta) = (v1 . v2) / (|v1| * |v2|)
tan(theta) = (v1 x v2) / (|v1| * |v2|)
cos(theta) = (|v1| * |v2|) / (v1 . v2)
The Correct Answer Is:
B
The correct formula for finding the angle between two vectors uses the dot product in the numerator and the product of their magnitudes in the denominator, all under the cosine function.
Real World Connection
In the Real World
In navigation apps like Google Maps or Ola, vectors are used to represent routes. When your auto-rickshaw takes a turn, the app calculates the angle of the turn using vectors to guide the driver and estimate arrival time. Similarly, ISRO scientists use vectors to plot satellite trajectories and ensure they don't collide.
Key Vocabulary
Key Terms
VECTOR: A quantity having both magnitude and direction | DOT PRODUCT: A scalar value obtained by multiplying corresponding components of two vectors and summing them up | MAGNITUDE: The length or size of a vector | DIRECTION VECTOR: A vector that indicates the direction of a line
What's Next
What to Learn Next
Next, you can explore how to find the angle between a line and a plane, or between two planes using vectors. This will build on your understanding of angles in 3D space, which is super useful for advanced physics and engineering problems!


