Academy
Formulas/maths/3d Geometry/Angle Between a Line and a Plane

Angle Between a Line and a Plane

Angle θ between line with DRs (a₁,b₁,c₁) and plane ax+by+cz+d=0. Note sin (not cos) because θ is measured from the plane, not from the normal. Complementary to the angle between the line and the normal.
Derivation

Let line LL have direction vector b=(a1,b1,c1)\mathbf{b} = (a_1,b_1,c_1) and plane Π\Pi have normal n=(a,b,c)\mathbf{n} = (a,b,c).

The angle ϕ\phi between b\mathbf{b} and n\mathbf{n} satisfies:

cos⁡ϕ=∣b⋅n∣∣b∣∣n∣\cos\phi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}||\mathbf{n}|}

The angle θ\theta between the line and the plane is the complement of ϕ\phi:

θ=90°−ϕ  ⟹  sin⁡θ=cos⁡ϕ\theta = 90° - \phi \implies \sin\theta = \cos\phi sin⁡θ=∣a1a+b1b+c1c∣a12+b12+c12⋅a2+b2+c2\sin\theta = \frac{|a_1a+b_1b+c_1c|}{\sqrt{a_1^2+b_1^2+c_1^2}\cdot\sqrt{a^2+b^2+c^2}}

Line perpendicular to plane: b∥n\mathbf{b} \parallel \mathbf{n}, i.e. a1/a=b1/b=c1/ca_1/a = b_1/b = c_1/c. Then θ=90°\theta = 90°.

Line parallel to plane: b⊥n\mathbf{b} \perp \mathbf{n}, i.e. a1a+b1b+c1c=0a_1a+b_1b+c_1c=0. Then θ=0°\theta = 0° (line lies in the plane or is parallel to it).

Line in the plane: Satisfies both b⋅n=0\mathbf{b}\cdot\mathbf{n}=0 (direction) and the point lies on the plane.