🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Angle Between Lines and Planes

CBSE Class 12 Maths3D GeometryđŸŸĸ Free Lesson

Reading direction ratios before any formula

A line handed over as a symmetric chain of fractions already carries its direction ratios underneath the fraction bars. A line handed over in vector form carries them as the components of the vector attached to the parameter, and a line given as two points carries them as coordinate differences taken in the same order. All three readings produce proportional triples, and proportionality is all the angle formula consumes: replacing by cancels the factor four between numerator and denominator, so the cosine never changes. The same scaling freedom applies to a plane, where the coefficients of , and form a normal vector and multiplying the whole equation by a constant leaves the plane exactly where it was. What scaling cannot absorb is a sign: reversing a normal replaces the reported angle by its supplement, which is why the absolute value sits in the numerator of every angle formula here.

The three angle tests side by side

Pair of objectsTest for perpendicularTest for parallel
Two linesdirection ratios proportional
Two planesnormals have zero dot productnormals proportional
Line and planedirection ratios proportional to the normal

The third row is where the reversal happens. A line meets a plane at a right angle when it runs along the normal, so for a line and a plane the perpendicular case is the one with a zero dot product, while the parallel case is the one with proportional direction ratios. Students who carry the line-line habit across unchanged report exactly the wrong condition, and the numerical answer that follows is wrong as well. The safest reading is geometric rather than algebraic: draw the direction of the line, draw the normal to the plane, and ask whether those two arrows are aligned or perpendicular before writing anything down.

Plane against plane: the angle between normals

The angle between two planes is defined as the angle between their normal vectors, taken acute by the absolute value, because a plane has no preferred orientation and the two supplementary angles between the same pair of normals describe the same geometric picture. Since the formula is a ratio of dot product to product of lengths, it is unchanged if either equation is multiplied by a non-zero constant, so and give the same angle as any other rescaling. The result therefore depends only on the direction of the two planes, never on where they sit in space.

Line against plane: where the sine comes from

Let be the angle between the line's direction and the plane's normal. The line and its projection onto the plane span a right triangle in which and are complementary, so and the same dot-product ratio that produced a cosine for the line-line case produces a sine here. Nothing else changes: the absolute value still forces the acute answer, and the value still lies between and degrees. A line parallel to the plane is perpendicular to the normal, the dot product vanishes, and , which matches intuition. A line perpendicular to the plane is parallel to the normal, the ratio becomes , and degrees.

Worked example: angle between two lines

Find the angle between the lines: and

The answer sitting just below a right angle is a useful sanity signal: the dot product of is small compared with the product of the two magnitudes, , so the directions are close to perpendicular but not exactly there. Had the numerator come out larger than the denominator, the data would have been inconsistent rather than merely steep.

Worked example: angle between two planes

Find the angle between the planes and .

Notice that the two plane equations do not appear anywhere in the final computation. Only the normal vectors were used, because the angle between planes is a question about orientation, not about position. If the constant terms had been and , the answer would have been identical.

Worked example: a line perpendicular to a plane

Find the equation of the line passing through and perpendicular to the plane .

A line perpendicular to a plane takes the normal as its own direction, so the whole problem collapses to reading the coefficients off the plane equation. The reverse question, a line perpendicular to a second line, would give a condition on direction ratios rather than a ready-made direction, and mixing the two is what turns a one-mark setup into a lost attempt.

Worked example: a line parallel to a plane

Find the equation of the line through that is parallel to the plane and perpendicular to the line .

Solving the constraint problems in Python

Three helper functions cover the whole lesson, and each one is written so that the absolute value and the choice of sine or cosine are impossible to swap by accident. The printed values reproduce the worked examples above.

python
import numpy as np
from math import acos, asin, degrees

def line_angle(d1, d2):
    c = np.dot(d1, d2) / (np.linalg.norm(d1) * np.linalg.norm(d2))
    return round(degrees(acos(np.clip(c, -1.0, 1.0))), 2)

def plane_angle(n1, n2):
    c = abs(np.dot(n1, n2)) / (np.linalg.norm(n1) * np.linalg.norm(n2))
    return round(degrees(acos(np.clip(c, -1.0, 1.0))), 2)

def line_plane_angle(d, n):
    s = abs(np.dot(d, n)) / (np.linalg.norm(d) * np.linalg.norm(n))
    return round(degrees(asin(np.clip(s, -1.0, 1.0))), 2)

print("two lines      :", line_angle([2, -3, 1], [3, 1, -2]))    # 85.91
print("two planes     :", plane_angle([1, 2, 3], [2, -1, 1]))    # 70.89
print("perpendicular  :", line_angle([1, 2, 3], [2, -1, 0]))     # 90.0
print("parallel       :", line_angle([2, -3, 1], [-4, 6, -2]))   # 0.0
print("line vs plane  :", line_plane_angle([1, 1, 1], [2, -1, 2]))  # 35.26
print("line parallel  :", line_plane_angle([1, 0, -1], [2, -1, 2])) # 0.0

The last two lines are the discriminating pair. The same plane normal is used in both, and the two directions return and , which is exactly the distinction the sine formula is there to make.

The constraint problem from the previous section is a separate computation, because it asks for a direction rather than an angle. A direction that is perpendicular to two independent vectors is their cross product, so the cross product of the plane normal with the direction of the given line answers it directly.

python
import numpy as np

def line_direction(plane_normal, other_line):
    """Direction of a line that is parallel to a plane and
    perpendicular to another line: orthogonal to both inputs."""
    d = np.cross(plane_normal, other_line)
    pivot = next(x for x in d if abs(x) > 1e-9)
    return np.round(d / pivot, 6)

normal = np.array([2., -1., 2.])   # 2x - y + 2z = 5
given  = np.array([1., 1., 1.])    # x = y = z

d = line_direction(normal, given)
print("direction           :", d)                                  # [ 1.  0. -1.]
print("perp to normal      :", np.isclose(np.dot(d, normal), 0))   # True
print("perp to given line  :", np.isclose(np.dot(d, given), 0))     # True
print("line-plane angle    :", line_plane_angle(d, normal))         # 0.0

Both orthogonality checks returning True confirm the two constraints, and the line-plane angle of confirms the first constraint from the other side: the constructed line really is parallel to the plane.

What examiners are really testing

Every question in this topic is a disguised reading test. The direction ratios must be extracted correctly from whichever form the line was given in, the correct trigonometric function must be matched to the pair of objects being compared, and the absolute value must be applied so the answer comes out acute. A fourth check is available at almost no cost: a perpendicular pair must return exactly , a parallel pair exactly , and any answer outside the range to degrees means a sign was dropped before the inverse was taken. Reported angles such as or are not alternative correct answers, they are evidence that the absolute value or the inverse function was misapplied.

Common Mistakes

Using the cosine formula for the angle between a line and a plane

Fix: Use the sine formula there, because the line-plane angle is complementary to the angle between the direction and the normal.

Concluding that a line is perpendicular to a plane when the direction and the normal have a zero dot product

Fix: Zero dot product means perpendicular direction and normal, which makes the line parallel to the plane; the perpendicular case is proportional direction ratios.

Reporting an obtuse angle between two lines or two planes

Fix: Keep the absolute value on the dot product, since the angle between lines and the angle between planes are defined as acute.

Reading a denominator of zero in a symmetric equation as a division error

Fix: Interpret it as a missing variable: the corresponding coordinate is fixed, and the answer should be written as a plane equation paired with the fraction chain.

Key Takeaways

  • Direction ratios may be rescaled freely, so every angle formula depends only on their direction, while a sign flip in a normal is the one change that replaces an angle by its supplement.
  • Line-line and plane-plane angles come from a cosine of the dot product, but the line-plane angle comes from a sine, because it is complementary to the direction-versus-normal angle.
  • Perpendicularity and parallelism swap roles between the two cases: a zero dot product means perpendicular lines but a line parallel to the plane.
  • A line constrained by two perpendicularity conditions has a direction given by the cross product of the two vectors it must avoid, and a zero direction ratio should be reported as a fixed coordinate.
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-16

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert CBSE Class 12 Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement