Principles of Rational Trigonometry

Principles of Rational Trigonometry & Universal Geometry — Norman J. Wildberger

Primary Treatises: Divine Proportions: Rational Trigonometry to Universal Geometry (2005) & Universal Hyperbolic Geometry (2008).
Executable Formalization: 28 executable principles (W.01–W.28) formalized in SymPy by the GEOMETOR Project.
Digital Edition: 2-track codex (Synthesis · Code) with interactive SVG diagrams and exact symbolic proofs.

Table of Contents

The GEOMETOR Wildberger Codex gathers 28 foundational principles (\(\text{W.01}\) through \(\text{W.28}\)) of Rational Trigonometry and Universal Geometry (Wildberger2005, Wildberger2008), demonstrating each theorem through 100% exact SymPy symbolic proofs, runnable geometor.model constructions, and interactive SVG diagrams.

  • Part I (W.01 – W.05): Planar proportions, reflections, quadrance, spread, and spread polynomials \(S_n(s)\) (including Pentagonal Golden Spreads).

  • Part II (W.06 – W.11): The Five Fundamental Laws (Pythagoras, Triple Quad, Spread Law, Cross Law, Triple Spread) and Kepler’s Golden Right Triangle.

  • Part III (W.12 – W.23): Triangle centers, Euler line & Nine-Point Circle over \(\mathbb{Q}\) and \(\mathbb{F}_p\), circles, cyclic quadrilaterals, golden pentagons, metrical conics, Taylor tangents, projective cross-ratio, and Chromogeometry (Blue, Red, Green metrics).

  • Part IV (W.24 – W.28): Polynomial triangle solvers, Snellius–Pothenot resection, Hansen’s surveying benchmark, algebraic physics, exact rational dihedral spreads of all five Platonic solids, rational polar curves, and the Ellipson.

l_3 p_3 n_3 A_1 = [0, 1] A_2 = [6, 4] A_3 = [2, 6] F_3 = [18/5, 14/5] A = [4, 7] l_3 = <-3:6:-6> F_3 = [18/5, 14/5] A1A1 A2A2 A3A3 F3F3 + − ⟲ Lbl Gde

Field-Independent Coordinate Incidence, Parallels, and Altitudes

l / A A_r / (Q = 196/5) m m_r P_1 = [0, 0] P_2 = [2, 1] A = [1, 4] B = [5, 4] F = [12/5, 6/5] A_r = [19/5, -8/5] C = [31/5, 8/5] D = [8, 4] A_r = [19/5, -8/5] s(l,m) = s(l,m_r) = 1/5 P1P1 P2P2 AA BB FF ArAr + − ⟲ Lbl Gde

Square-Root-Free Point and Line Reflections Across Arbitrary Non-Null Axes

l b_12 / A_0 F_0 / (Q = 98/5) A_1 = [1, 1] A_2 = [7, 3] A_0 = [2, 6] M = [4, 2] F_0 = [17/5, 9/5] A = [6, -4] Q(A_1,A_2) = 40, Q(A_1,M) = 10 Q(A_0, l) = 98/5 A1A1 A2A2 A0A0 MM F0F0 + − ⟲ Lbl Gde

Replacing Irrational Euclidean Distance with Exact Quadratic Point Separation

l_1 l_2 n_bc (Q = 10) A = [0, 0] B = [5, 5] C = [6, 2] s(l_1,l_2) = 1/5 c = 4/5, t = 1/4 AA BB CC + − ⟲ Lbl Gde

Algebraic Separation of Unoriented Lines Replacing Transcendental Angle

l_0 l_1 l_2 l_3 l_4 O = [0, 0] V_0 = [5, 0] V_1 = [4, 2] A = [2, 8/3] B = [2, 11] C = [2, -48/7] s_1 = 1/5, S_2 = 16/25, S_3 = 121/125 S_5(s)=0 => (3-phi)/4, (2+phi)/4 OO V0V0 V1V1 + − ⟲ Lbl Gde

Universal Chebyshev Analogues, Semigroup Composition, and Exact Golden Roots

t c (Q = 25/4) / A_3 F_3 / (Q = 144/25) A_1 = [0, 3] A_2 = [4, 0] A_3 = [0, 0] M_3 = [2, 3/2] F_3 = [36/25, 48/25] Q_1=16 + Q_2=9 = Q_3=25 s_3 = 1 A1A1 A2A2 A3A3 M3M3 F3F3 + − ⟲ Lbl Gde

Equivalence of Perpendicularity (s_3 = 1) and Additive Quadrances (Q_1 + Q_2 = Q_3)

t l_base h_3 (Q = 144) A_1 = [0, 0] A_2 = [14, 0] A_3 = [5, 12] P_col = [9, 0] A = [5, 0] Quadrea A = 112896 = 16 * 84^2 Collinear P_col: A(81, 25, 196) = 0 A1A1 A2A2 A3A3 PcolPcol + − ⟲ Lbl Gde

Polynomial Collinearity Criterion and Radical-Free Triangle Area Algebra

t c (Q = 4225/64) / A_1 F_1 / (Q = 3136/25) / A_2 F_2 / (Q = 28224/169) A_1 = [0, 0] A_2 = [14, 0] A_3 = [5, 12] F_1 = [224/25, 168/25] F_2 = [350/169, 840/169] C = [7, 33/8] s_i / Q_i = 16/4225 = 1/(4K) K = 4225/64 A1A1 A2A2 A3A3 F1F1 F2F2 CC + − ⟲ Lbl Gde

Exact Rational Proportionality of Vertex Spreads and Opposite Quadrances

t l_1 alt_1 (Q = 784/41) A_1 = [0, 0] A_2 = [7, 0] A_3 = [2, 4] F_1 = [112/41, 140/41] (Q_1+Q_2-Q_3)^2 = 144 = 4*Q_1*Q_2*c_3 s_3 = 196/205, c_3 = 9/205 A1A1 A2A2 A3A3 F1F1 + − ⟲ Lbl Gde

Quadratic Replacement for the Law of Cosines Without Ambiguous Angle Signs

t l_1 l_2 l_3 A_1 = [0, 0] A_2 = [8, 1] A_3 = [3, 6] s = (9/13, 81/130, 9/10) (s_1+s_2+s_3)^2 = 2*sum(s_i^2) + 4*s_1*s_2*s_3 A1A1 A2A2 A3A3 + − ⟲ Lbl Gde

Cubic Polynomial Harmony Replacing theta_1 + theta_2 + theta_3 = pi

t_kepler alt (Q = -1/2 + sqrt(5)/2) A_1 = [-1/2 + sqrt(5)/2, -sqrt(1/2 + sqrt(5)/2)/2 + sqrt(5)*sqrt(1/2 + sqrt(5)/2)/2] A_2 = [0, 0] A_3 = [GoldenRatio, 0] F_1 = [-1/2 + sqrt(5)/2, 0] Q = (1, phi, phi^2), F_1 splits phi : 1 s = (2 - phi, phi - 1, 1) = (1/phi^2, 1/phi, 1) A1A1 A2A2 A3A3 F1F1 + − ⟲ Lbl Gde

Pons Asinorum, the 3/4 Equilateral Spread, and Pure Golden Powers Q = (1, phi, phi^2)

t c_in (Q = 16) b_1 b_2 b_3 A_1 = [0, 0] A_2 = [14, 0] A_3 = [5, 12] I_0 = [6, 4] A = [6, 0] B = [6 - 12*sqrt(13)/13, 4 - 8*sqrt(13)/13] C = [12*sqrt(13)/13 + 6, 8*sqrt(13)/13 + 4] D = [6 - 8*sqrt(5)/5, 4*sqrt(5)/5 + 4] E = [8*sqrt(5)/5 + 6, 4 - 4*sqrt(5)/5] F = [6 - 4*sqrt(65)/65, 32*sqrt(65)/65 + 4] G = [4*sqrt(65)/65 + 6, 4 - 32*sqrt(65)/65] I_0 = [6, 4], Inquadrance R_0 = 16 s(I_0 A_1, I_0 A_2) = 49/65 A1A1 A2A2 A3A3 I0I0 + − ⟲ Lbl Gde

Number-Theoretic Criterion for Rational Bisectors and Symmetric Inquadrances

t t_med / A_1 M_1 / (Q = 153/2) / A_2 M_2 / (Q = 261/2) / A_3 M_3 / (Q = 90) A_1 = [0, 0] A_2 = [12, 0] A_3 = [3, 9] M_1 = [15/2, 9/2] M_2 = [3/2, 9/2] M_3 = [6, 0] G = [5, 3] 4*Q(A_3,M_3) = 360 = 2*Q_1 + 2*Q_2 - Q_3 G = [5, 3], Q(A,G)=4*Q(G,M) A1A1 A2A2 A3A3 M1M1 M2M2 M3M3 GG + − ⟲ Lbl Gde

Exact Quadratic Cevian Laws, Apollonius’ Identity, and X(2) Concurrency

t / A_1 B_1 / (Q = 44064/529) / A_2 B_2 / (Q = 75168/625) / A_3 B_3 / (Q = 333/4) A_1 = [0, 0] A_2 = [12, 0] A_3 = [4, 9] A_0 = [5, 3] B_1 = [180/23, 108/23] B_2 = [48/25, 108/25] B_3 = [11/2, 0] Ceva Q-product = 2070829332/66125 Alt Spreads r_1*r_2*r_3 = 14907321/1026238660 A1A1 A2A2 A3A3 A0A0 B1B1 B2B2 B3B3 + − ⟲ Lbl Gde

Multiplicative Quadrance and Spread Balance for Collinearity and Concurrency

t t_orth c_circ (Q = 4225/64) / A_1 F_1 / (Q = 3136/25) / A_2 F_2 / (Q = 28224/169) / A_3 F_3 / (Q = 144) A_1 = [0, 0] A_2 = [14, 0] A_3 = [5, 12] C = [7, 33/8] O = [5, 15/4] F_1 = [224/25, 168/25] F_2 = [350/169, 840/169] F_3 = [5, 0] C = [7, 33/8] O = [5, 15/4] A1A1 A2A2 A3A3 CC OO F1F1 F2F2 F3F3 + − ⟲ Lbl Gde

Radical-Free Coordinates for X(3), X(4), and Orthic Bisector Symmetry

t c_circ (Q = 610/9) c_nine (Q = 305/18) l_euler A_1 = [0, 0] A_2 = [14, 0] A_3 = [4, 12] C = [7, 13/3] G = [6, 4] N = [11/2, 23/6] O = [4, 10/3] M_1 = [9, 6] M_2 = [2, 6] M_3 = [7, 0] F_1 = [504/61, 420/61] F_2 = [7/5, 21/5] F_3 = [4, 0] E_1 = [2, 5/3] E_2 = [9, 5/3] E_3 = [4, 23/3] A = [7 - sqrt(61), 13/3 - sqrt(61)/3] B = [7 + sqrt(61), sqrt(61)/3 + 13/3] D = [11/2 - sqrt(61)/2, 23/6 - sqrt(61)/6] E = [sqrt(61)/2 + 11/2, sqrt(61)/6 + 23/6] K_9 = K/4 = 305/18 Euler Line: 3*G = 2*C + O, 2*N = C + O A1A1 A2A2 A3A3 CC GG NN OO M1M1 M2M2 M3M3 F1F1 F2F2 F3F3 E1E1 E2E2 E3E3 + − ⟲ Lbl Gde

Exact Collinearity of C, G, N, O and the K/4 Nine-Point Circle in Q and F_p

c (Q = 25) / P_1 P_2 / (Q = 50) / B P_1 / (Q = 90) / B P_2 / (Q = 80) l_sec1 l_sec2 O_c = [0, 0] P_1 = [-3, 4] P_2 = [4, 3] B = [0, -5] Q_1 = [5, 0] Q_2 = [4, -3] A_0 = [15/2, -5/4] s(BP_1,BP_2) = 1/2, central = S_2(s) = 1 Secant Q-prod = 275625/256 OcOc P1P1 P2P2 BB Q1Q1 Q2Q2 A0A0 + − ⟲ Lbl Gde

Thales’ Right-Diameter Law, Inscribed Spread s_2(s), and Stereographic Parametrization

q_cyc c (Q = 25) d_13 (Q = 90) d_24 (Q = 100) O_c = [0, 0] A_1 = [-5, 0] A_2 = [-3, 4] A_3 = [4, 3] A_4 = [3, -4] P_x = [-1, 4/3] Opposite spreads: s_1 = s_3 = 1, s_2 = s_4 = 9/10 Ptolemy: A(1000, 4000, 9000) = 0 OcOc A1A1 A2A2 A3A3 A4A4 PxPx + − ⟲ Lbl Gde

Opposite-Spread Equality, Radical-Free Brahmagupta/Robbins, and Determinant Cocircularity

pent star c (Q = 1) O = [0, 0] P_0 = [0, 1] P_1 = [sqrt(2)*sqrt(sqrt(5) + 5)/4, -1/4 + sqrt(5)/4] P_2 = [sqrt(2)*sqrt(5 - sqrt(5))/4, -sqrt(5)/4 - 1/4] P_3 = [-sqrt(2)*sqrt(5 - sqrt(5))/4, -sqrt(5)/4 - 1/4] P_4 = [-sqrt(2)*sqrt(sqrt(5) + 5)/4, -1/4 + sqrt(5)/4] Q_diag / Q_side = phi^2 = phi + 1 s_diag = (3-phi)/4, s_side = (2+phi)/4 OO P0P0 P1P1 P2P2 P3P3 P4P4 + − ⟲ Lbl Gde

Exact Golden Quadrance Ratios Q_diag / Q_side = phi^2 and Rational Pentagons Over F_19

parabola quadrola grammola l_dir / F_0 D_1 / (Q = 29) F_0 = [0, 2] D_1 = [-5, 0] D_2 = [5, 0] V_p = [0, 1] F_1 = [7, 2] F_2 = [13, 2] C_q = [10, 2] Parabola: Q(X, F_0) = Q(X, l_dir) Quadrola: A(Q_1, Q_2, 100) = 0 F0F0 D1D1 D2D2 VpVp F1F1 F2F2 CqCq + − ⟲ Lbl Gde

Quadratic Focus-Directrix and Bifocal Loci Over Arbitrary Fields

parabola quadrola l_dir t_tan l_in l_out t_q / F_1 P_q / (Q = 1156/25) / F_2 P_q / (Q = 256/25) F_0 = [0, 2] D_1 = [-4, 0] D_2 = [6, 0] A = [4, 5] D_0 = [4, 0] F_1 = [10, 2] F_2 = [16, 2] P_q = [16, 26/5] B = [6, 9] C = [3/2, 0] D = [-8/3, 0] E = [18, 4] F = [74/3, 0] G = [89/13, 139/13] H = [256/27, 82/9] I = [4, 62/5] Parabola: s_in = s_out = 1/5 Quadrola: s_1 = s_2 = 25/34 F0F0 D1D1 D2D2 AA D0D0 F1F1 F2F2 PqPq + − ⟲ Lbl Gde

Derivative-Free Tangent Proportions and Exact Equal-Spread Focal Reflections

l_a l_b r_1 r_2 r_3 r_4 O_p = [4, 8] A_1 = [0, 0] A_2 = [4, 0] A_3 = [3, 0] A_4 = [6, 0] B_1 = [12/7, 24/7] B_2 = [4, 4] B_3 = [108/31, 120/31] B_4 = [84/17, 72/17] A = [-12, 0] Harmonic Range [0,4; 3,6]: CR_Q = 1 Pencil Spread CR_s = CR_Q(B) = 1 OpOp A1A1 A2A2 A3A3 A4A4 B1B1 B2B2 B3B3 B4B4 + − ⟲ Lbl Gde

Exact Equivalence of Line-Pencil Spread Cross-Ratio and Point-Range Quadrance Cross-Ratio

t p_chromo e_B e_R e_G A_1 = [0, 0] A_2 = [8, 2] A_3 = [2, 6] G = [10/3, 8/3] C_B = [41/11, 23/11] O_B = [28/11, 42/11] N_B = [69/22, 65/22] C_R = [53/11, 47/11] O_R = [4/11, -6/11] C_G = [16/11, 18/11] O_G = [78/11, 52/11] Q_B^2 = Q_R^2 + Q_G^2: 68^2 = 60^2 + 32^2 N_B = (C_R + C_G)/2, Euler lines concur at G A1A1 A2A2 A3A3 GG CBCB OBOB NBNB CRCR OROR CGCG OGOG + − ⟲ Lbl Gde

Inspect how Blue (Euclidean), Red (Lorentzian), and Green (Hyperbolic) geometries share unified polynomial laws, trace Kepler’s golden right triangle in rational invariants.

t_surv l_ground seg_tower (Q = 36) A = [0, 0] B = [5, 0] D_foot = [9, 0] C_top = [9, 6] P_obs = [3, 0] s_A=4/13, s_B=9/13 => H = 36 Regiomontanus (4,9): X_opt=36, s_max=25/169 AA BB DfootDfoot CtopCtop PobsPobs + − ⟲ Lbl Gde

Polynomial QQQ/QQS/QSS/SQQ Solvers, Inaccessible Heights, and Regiomontanus’ Extremum

q_hansen d_ac (Q = 41) d_bd (Q = 25) A = [0, 0] B = [1, 5] C = [5, 4] D = [4, 1] Baseline Q(A,B) = 26 Recovered Q_AD=17, Q_BC=17, Q_AC=41 AA BB CC DD + − ⟲ Lbl Gde

Exact Algebraic Coordinate Recovery from Unmeasured Stations via Spread Triples

traj l_dir l_iface l_norm / I_inc P_ref / (Q = 25) / P_ref T_trans / (Q = 25) O = [0, 0] V_apex = [4, 2] R_range = [8, 0] F_traj = [4, 0] A = [0, 4] B = [8, 4] P_ref = [12, 0] I_inc = [8, 3] T_trans = [15, -4] C = [12, 3] D = [16, 0] Projectile s=1/2: Q_range = (v^4/g^2)*S_2(s) = 64 Snell (n=3->4): 3^2*(16/25) = 4^2*(9/25) = 144/25 OO VapexVapex RrangeRrange FtrajFtraj PrefPref IincIinc TtransTtrans + − ⟲ Lbl Gde

Eliminating Transcendental Angles from Ballistics, Wave Refraction, and Lorentz Boosts

t_base / V_0 V_1 / (Q = 25/9) / V_0 V_2 / (Q = 8) / V_0 V_3 / (Q = 13/9) s_ap1 (Q = 109/36) s_ap2 (Q = 205/36) V_0 = [1/2, 2/3] V_1 = [3/2, -2/3] V_2 = [-3/2, -4/3] V_3 = [-1/2, 4/3] M_edge = [0, -1] Platonic Dihedral Spreads: 8/9, 1, 8/9, 4/9, 4/5 De Gua Quadreas: 2016 = 144 + 1296 + 576 V0V0 V1V1 V2V2 V3V3 MedgeMedge + − ⟲ Lbl Gde

Miraculous Cancellation of sqrt(5): Purely Rational Face Spreads 8/9, 1, 8/9, 4/9, 4/5

lemniscate cardioid folium ellipson_slice ellipson_c_half l_ref O = [0, 0] A_ref = [0, 4] Lemniscate: Q = 16*(2*s - 1) Ellipson: S(u,u,4u(1-u))=0 & s_3=1/2 circle OO ArefAref + − ⟲ Lbl Gde

Parametrizing Curves by [s, Q] and Slicing the Cubic Triple-Spread Surface


Scholarly Apparatus