Diagonal of a Rectangular Prism: Build It via Right Triangles and Vectors
Loading the math board and drawing, please wait…
In collections
Open Middle: Diagonal of a Rectangular Prism
This example demonstrates how to construct the space diagonal of a rectangular prism between opposite vertices, and how to obtain its length by organizing the geometry into right-triangle relationships. Key concepts include solid geometry (rectangular prism, segment/diagonal), the Pythagorean theorem for right triangles, vector ideas for spatial distance, and translating 3D length into computable segment measures through auxiliary constructs. Construction highlights: define key vertices and edges using Point and Segment; enforce right-angle structures using Angle and OrthogonalLine; use Sphere/Circle together with Rotate and Translate to support the spatial visualization and positioning; compute auxiliary points via Intersect; and form the relevant triangles/regions with Polygon while tracking the diagonal segment for measurement. Suitable for advanced middle school, high school geometry, and early undergraduate instruction focused on spatial reasoning, modeling, and revisiting Pythagorean relationships in 3D.
GeoGebra Commands & Parameters
Textfield(a) → InputBox1Textfield(b) → InputBox2Textfield(c) → InputBox3Textfield(d) → InputBox4Textfield(f) → InputBox5Textfield(g) → InputBox6If(Length[Mode[l1]] ≟ 0, "No digits repeat!", "Repeated digits exist.") → text4Textfield(h) → InputBox7PointIn(Plane[(0, 0, 0), (1, 0, 0), (1, 1, 0)]) → DCircle(D, (10 * a) + b, zAxis) → ePoint(e) → ELine(D, E) → iRotate(D, ((-pi)) / 2, E, Plane[(0, 0, 0), (1, 0, 0), (1, 1, 0)]) → D'Line(D', E) → jSegment(D, E) → kCircle(E, d, Line[E, E + (0, 0, 1)]) → pIntersect(j, p) → F, HSegment(E, H) → lAngle(H, E, D) → αSegment(D, H) → mLine(H, H + (0, 0, 1)) → nSphere(H, c) → oIntersect(n, o) → I, JSegment(H, J) → qSegment(J, D) → rPolygon(D, E, H) → t1, h_1, d_1, e_1Polygon(D, H, J) → t2, j_1, d_2, h_2OrthogonalLine(J, Vector[J, D], Vector[J, H]) → sLine(H, J) → tCircle(J, sqrt((100 * f) + (10 * g) + h), s) → c_1Point(c_1) → KSegment(J, K) → f_1Line(E, E + (0, 0, 1)) → g_1Sphere(E, Radius[c_1]) → uSphere(E, c) → vIntersect(g_1, v) → L, MLine(D, d_1) → i_1Sphere(D, d) → wIntersect(i_1, w) → N, OTranslate(O, Vector[E, M]) → O'Translate(D, Vector[E, M]) → D'_{1}Polygon(D, O, O', D'_{1}) → q1, d_3, o_1, o', d'_{1}Polygon(D'_{1}, M, E, D) → q2, k_1, m_1, e_2, d_4Polygon(M, J, H, E) → q3, m_2, j_2, h_3, e_3Polygon(H, J, O', O) → q4, h_4, j_3, l_1, o_2Polygon(D'_{1}, M, J, O') → q5, n_1, m_3, j_4, p_1Segment(O', D'_{1}) → q_1Segment(D'_{1}, D) → r_1Segment(D, O) → s_1Segment(O, O') → t_1Segment(E, M) → a_1Segment(M, D'_{1}) → b_1Segment(M, J) → f_2Segment(J, O') → g_2Segment(H, O) → i_2Angle(J, H, D) → β
AI Drawing Prompt Reference
Draw a rectangular prism and highlight its space diagonal. The prism is formed by three mutually perpendicular planes, and the diagonal connects two opposite vertices. Auxiliary points, line segments, circles, and spheres are used to illustrate the calculation of the diagonal's length and spatial relationships. The construction order is: first establish the base plane and points, then add auxiliary circles and points, then connect line segments and angles, and finally form the diagonal region.
The prompt above was compiled from the original drawing commands and is for reference only.