Lines and planes in 3D: formulas
Pick a formula to see it explained with worked examples and a solver that shows every step.
About this topic
In 3D space you can describe lines and flat surfaces called planes using vectors. You can also find the distances between them. On this page you will find 20 pages, such as Volume of a parallelepiped / tetrahedron, Area of a triangle from vectors and Cartesian equation of a line.
Each page explains the idea in plain words and lets you try your own numbers in a solver that shows every step. Try Volume of a parallelepiped / tetrahedron first.
Formulas in this topic
- Distance between two points in 3DThe distance between (x1,y1,z1) and (x2,y2,z2) is d=a2+b2+c2, where a,b,c are the differences in the…
- Vector (cross) productThe vector (cross) product a×b is a vector perpendicular to both a and b, with magnitude ∣a∣∣b∣sinθ. In…
- Scalar triple productThe scalar triple product a⋅(b×c) is a single number, equal to the 3 × 3 determinant of the three vectors.…
- Volume of a parallelepiped / tetrahedronThe volume of the parallelepiped with edges a, b, c is ∣a⋅(b×c)∣. The tetrahedron on the same three edges has…
- Area of a triangle from vectorsThe area of a triangle with two sides given by vectors a and b is 21∣a×b∣=21∣a∣∣b∣sinθ. The calculator uses…
- Vector equation of a lineThe vector equation of a line is r=a+λb, where a is the position vector of a point on the line, b is a…
- Cartesian equation of a lineEliminating λ from r=a+λb gives the Cartesian form b1x−a1=b2y−a2=b3z−a3. In two dimensions this…
- Vector equation of a planeA plane has vector equation r=a+λb+μc, where a is a point on the plane and b, c are two non-parallel…
- Cartesian equation of a planeThe Cartesian equation of a plane is ax+by+cz=d, where (a,b,c) is a normal vector. It comes from r⋅n=a⋅n with…
- Distance from a point to a planeThe distance from the point (x0,y0,z0) to the plane ax+by+cz=d is a2+b2+c2∣ax0+by0+cz0−d∣.
- Distance from a point to a line (3D, vectors)The distance from a point P to the line through A with direction d is ∣d∣∣AP×d∣.
- Angle between two linesThe angle θ between two lines with direction vectors d1 and d2 satisfies cosθ=∣d1∣∣d2∣∣d1⋅d2∣, taking…
- Angle between a line and a planeThe angle φ between a line with direction d and a plane with normal n satisfies sinφ=∣d∣∣n∣∣d⋅n∣.
- Angle between two planesThe angle between two planes equals the angle between their normals: cosθ=∣n1∣∣n2∣∣n1⋅n2∣.
- Direction of the line of intersection of two planesTwo non-parallel planes with normals n1 and n2 meet in a line whose direction is n1×n2.
- Shortest distance between skew linesThe shortest distance between skew lines r=a1+λd1 and r=a2+μd2 is ∣n∣∣(a2−a1)⋅n∣, where n=d1×d2.
- Solutions of three linear equations in three unknownsThree linear equations in three unknowns represent three planes. They can meet in one point (a unique…
- Line in the form (r − a) × b = 0The line through a with direction b can be written (r−a)×b=0. It says that r−a is parallel to b.
- Intersection of a line and a planeTo find where the line r=a+λd meets the plane ax+by+cz=k, substitute the line’s coordinates into the plane…
- Vectors in 3D: lines, planes, magnitude and distancesVectors let you describe lines and planes in three dimensions. A line is a point plus a multiple of a…
Lines and planes in 3D questions
What is the cross product?
It is a way to multiply two vectors and get a new one that is at right angles to both.
Can I try my own numbers?
Yes. Open any page, type your own question into the solver and it works it out step by step.