Cubes, cuboids and planes that cut a segment ·… | StemPy Lab
Course 22.3·Lesson 3 of 3
Cubes, cuboids and planes that cut a segment
Put a cube or a cuboid with one corner at the origin and its edges along the axes. Then every corner has coordinates that are 0 or an edge length. The face diagonal of a cube of side a is a2
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
place a cube or a cuboid in coordinates and find its diagonals, its centre and its midpoints;
find the shortest distance from a corner to a diagonal by a quadratic in one variable;
find the ratio in which a plane parallel to a coordinate plane divides a segment.
A box in a room
A cube is the simplest solid to describe with coordinates. Put one corner at the origin O and the three edges from it along the positive axes. For a cube of side a the eight corners are (0,0,0), (a,0,0), (0,a,0), (0,0,a), (a,a,0), (a,0,a), (0,a,a) and (a,a,a). For a cuboid with edges a, b, c, the coordinates are 0 or a, 0 or b, 0 or c.
Now everything is the distance formula.
Face diagonal of a cube: from (0,0,0) to (a,a,0), of length a2.
Body diagonal of a cube: from (0,0,0) to (a,a,a), of length a3.
Body diagonal of a cuboid: a2+b2+c2. All four body diagonals have this length and meet at the centre.
Centre:(2a,2b,2c). It is the midpoint of every body diagonal and is equally far from all eight corners.
A cuboid with one corner at the origin and the three edges from it along the positive axes, labelled a, b and c. The opposite corner is labelled (a, b, c). A red line is the body diagonal from the origin to that corner, and a dotted red line is a second body diagonal. The centre of the cuboid, where the diagonals meet, is marked in violet.
Example. A cuboid has edges 4, 6 and 12. Its diagonal is 16+36+144=14. Its centre is (2,3,6), and the distance of the centre from a corner is half the diagonal, 7.
Midpoints of edges
The midpoint of an edge uses the midpoint formula. For the cube of side 8, the edge from (8,0,0) to (8,8,0) has the midpoint (8,4,0). The centre is (4,4,4), so the distance from the centre to this midpoint is 16+0+16=42.
The shortest distance from a corner to a diagonal
Take the corner V(a,0,0) and the body diagonal from O to (a,a,a). A point of the diagonal is T(ta,ta,ta) for t between 0 and 1. Then
VT2=(a−ta)2+(ta)2+(ta)2=a2(1−2t+3t2).
Complete the square: 3t2−2t+1=3(t−31)2+32. The smallest value is 32, at t=31. So the shortest distance is a32, and the nearest point T is a third of the way along the diagonal. For a=6 the nearest point is (2,2,2) and the distance is 26.
This works for any point and any line, by the same method: write the squared distance as a quadratic in t and find its least value.
A plane that cuts a segment
A plane x=k is parallel to the yz-plane. It divides the segment from A(x1,y1,z1) to B(x2,y2,z2) in the ratio (k−x1):(x2−k). The section formula for the x-coordinate gives this. If the ratio is positive, the plane cuts inside the segment. The planes y=k and z=k work in the same way.
Example. A drone flies from A(−2,1,4) to B(6,−3,−4). It crosses the plane x=1 in the ratio (1+2):(6−1)=3:5. The crossing point is 83B+5A=(1,−21,1).
A coordinate plane is the special case k=0, which is the ratio −x1:x2 of the section formula lesson.
Practise with new numbers
Try it in Python
The program gives the diagonals of a cube of side 6. Then it searches many positions of T for the smallest distance VT and compares it with the formula.
Common mistakes
Using a2 for the body diagonal. The face diagonal is a2. The body diagonal is a3.
Forgetting the third edge. A diagonal through the inside of a cuboid uses all three edges.
Swapping the parts of the ratio. For the plane x=k the ratio is (k−x1):(x2−k), with A first.
Forgetting to check the sign of the ratio. A negative ratio means that the plane meets the line outside the segment.
Remember these
Cube of side a: face diagonal a2, body diagonal a3, centre (2a,2a,2a).
Cuboid: diagonal a2+b2+c2.
The shortest distance from a point to a line: write d2 as a quadratic in t and complete the square.
Plane x=k cuts AB in the ratio (k−x1):(x2−k).
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the face diagonal and the body diagonal of a cube of side 5.
A cuboid has edges 4, 6 and 12 along the axes. Find the length of its diagonal.
A cube has side 8 and one corner at the origin. Find its centre and the distance of the centre from a corner.
The plane z=3 cuts the segment from A(1,2,−1) to B(5,6,7). Find the ratio and the point.
A cube of side 3 has a corner at the origin. Find the nearest point of the body diagonal to the corner (3,0,0), and the distance.
References
NCERT, Mathematics Textbook for Class XI, the chapter Introduction to Three Dimensional Geometry, the section on the distance and section formulae.
OpenStax, Calculus Volume 3, Chapter 2, section 2.2 on vectors in three dimensions.
Enroll free in Loci, Spheres and Cuboid Problems
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.