Angles between lines and planes in 3D
About this app
Compare two planes, two lines or a line and a plane. See angle arcs and formulas update as you change the geometry.
The three cases
Angles between lines and planes are computed with the dot product; the absolute value in the numerator always gives the acute angle between 0° and 90°. Two planes meet at the angle between their normals: cos φ = |n₁·n₂|/(|n₁||n₂|). For two lines with directions u and v, cos φ = |u·v|/(|u||v|). For a line and a plane, the angle is measured between the line and its shadow in the plane. It is the complement of the angle with the normal, so the sine appears: sin φ = |u·n|/(|u||n|).
What the app shows
There are three modes: two planes, two lines, and line and plane. You set the components of the normal and direction vectors, and the scene shows planes, lines and the angle arc. In line-and-plane mode both arcs are drawn, the angle to the plane and the angle to the normal, which add up to 90°. The measurements panel shows the formula with numbers filled in; a zero vector is caught.
What to watch for
The formulas always return the acute angle. In applications the obtuse angle is sometimes meant, so check 90° − φ or 180° − φ. The info panel works through a ramp example: direction u = (4, 0, 1), ground normal n = (0, 0, 1), giving sin φ = 1/√17 and φ ≈ 14.0°. Try flipping a normal vector: the angle stays the same because the absolute value removes the sign.
Frequently asked questions
- How do you calculate the angle between a line and a plane?
- Use sin φ = |u·n|/(|u||n|), where u is the direction of the line and n the normal of the plane. The sine replaces the cosine because φ is the complement of the angle between the line and the normal.
- How do you find the angle between two planes?
- Take the angle between their normal vectors: cos φ = |n₁·n₂|/(|n₁||n₂|). The absolute value ensures the acute angle between 0° and 90°.
- Why is there an absolute value in the angle formula?
- Normal and direction vectors can point either way without changing the plane or line. The absolute value makes the result independent of that choice and always gives the acute angle of intersection.
- Which modes does the app have?
- Two planes, two lines, and line and plane. In each mode you set the vector components and read the angle arc, the formula and the result live.
Subject: Analytic geometry
More from Analytic geometry
- Point-to-line distance in 3D
- Distance between skew lines in 3D
- Planes in space
- Coordinates after Descartes: geometry becomes algebra (3D)
- Right-handed systems in 2D and 3D
- Shoelace method: the cross product
- Dot product: coordinate formula from the definition
- Cross and scalar triple products in 3D
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps