Ordered rings, inequalities, coordinates, and matrices
import /Freeks/basis.book /Freeks/arith.book(section 4 まで)
From ordered Abel groups and ordered commutative rings (\(\preceq\), absolute value), this book collects classical inequalities (#91 #78 #38), coordinate identities (#94 #57 #4 #65), determinants, Cramer, and Cayley–Hamilton (#97 #49), and projective geometry (#61 #87) in one volume. An alternative proof is placed right after the original proof.
The identities of coordinates, matrices, and projective geometry, Brahmagupta's identity, and the identities of the alternative proofs are proved in a single step of the ring-identity solver z[|X] (used throughout this book).
1 Ordered Abel groups
word+(ss[s,s][ss,s],c) …
\(\text{cone}\)lower …
\(\text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] )\) ≃
\(\{ p \mid p \subset X , e \in p , \forall x , y \in p . x \mathbin{{\sf f}} y \in p , \forall x \in X . ( x \in p \mathbin{\rm o\!r} \mathbin{{\sf i}} ( x ) \in p ) , \forall x \in p . ( \mathbin{{\sf i}} ( x ) \in p \Longrightarrow x = e ) \}\) word+(ss[s,s][ss,s]s,p)R …
\(:\mathsf{OAG}\)lower …
\(( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , P ) :\mathsf{OAG}\) ≃
\(( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] ) :\underline{2}\mathsf{C}\mathsf{A}\mathsf{E}\mathsf{Z} , P \in \text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] )\) word(sss,p) …
\(\preceq\)≼. …
\(x \preceq P y \Longleftrightarrow - x + y \in P\) Lrefl …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x \in X \Longrightarrow x \preceq P x\) \(\blacktriangleleft\) \(\mathbb{W}.\)Lmono …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x , y , z \in X , x \preceq P y \Longrightarrow x + z \preceq P y + z\) \(\blacktriangleleft\) \(\mathbb{W}.\)Ladd …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x , y , u , v \in X , x \preceq P y , u \preceq P v \Longrightarrow x + u \preceq P y + v\) \(\blacktriangleleft\) \(\mathbb{W}.\)2 Ordered commutative rings
word+(sss[s,s][ss,s][ss,s]s,p)R …
\(:\mathsf{OCRing}\)lower …
\(( X , e , u , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , [\mathbin{{\sf g}}] , P ) :\mathsf{OCRing}\) ≃
\(( X , e , u , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , [\mathbin{{\sf g}}] ) :\mathsf{CRing} , P \in \text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] ) , \forall x , y \in P . x \mathbin{{\sf g}} y \in P , \forall x , y \in P . ( x \neq e , y \neq e \Longrightarrow x \mathbin{{\sf g}} y \neq e )\) LOG …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow ( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG}\) \(\blacktriangleleft\) \(\mathbb{W}.\)Lsq …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x \in X \Longrightarrow \textit{0} \preceq P x \cdot x\) \(\blacktriangleleft\) \(\mathbb{W}.\)3 #91 Triangle inequality
word(ss,s)F …
\(\mathrm{abs}\)Absolute value: \(|a|\) is an element of \(P\) and equals \(a\) or \(-a\).
abs. …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , a \in X \Longrightarrow \mathrm{abs} ( P , a ) \in P , ( \mathrm{abs} ( P , a ) = a \mathbin{\rm o\!r} \mathrm{abs} ( P , a ) = - a )\) \(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} \Longrightarrow \forall a , b \in X . \mathrm{abs} ( P , a + b ) \preceq P \mathrm{abs} ( P , a ) + \mathrm{abs} ( P , b )\) \(\blacktriangleleft\) abs. ,\(\mathbb{W}.\)The integers \(\mathbb{Z}\) form an ordered Abel group with positive cone \(\mathbb{M}\).
ℤOAG …
\(( \mathbb{Z} , 0 , [-] , [+] , \mathbb{M} ) :\mathsf{OAG}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ4 #78 The Cauchy–Schwarz inequality
In an ordered commutative ring, \(\left(\sum a_i b_i\right)^2 \preceq \left(\sum a_i^2\right)\left(\sum b_i^2\right)\). First we show \(2cd \sum a_i b_i \preceq c^2 \sum b_i^2 + d^2 \sum a_i^2\) by induction from \((c b_i - d a_i)^2 \succeq 0\) for each term, and use it in the next induction.
Lcs …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in X , b ( i ) \in X \Longrightarrow \forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i ) \preceq P \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot a ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } b ( i ) \cdot b ( i )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ5 Alternative proof of #78 (Lagrange's identity)
Original: #78 above (general \(n\); show the termwise inequality \(2cd\sum a_ib_i \preceq c^2\sum b_i^2+d^2\sum a_i^2\) by induction and sum). A different route: show Lagrange's identity \(\left(\sum a_i^2\right)\left(\sum b_i^2\right) - \left(\sum a_ib_i\right)^2 = \sum_{i
In an ordered commutative ring \(X\) (positive cone \(P\)), \(x \preceq y\) means \(-x + y \in P\). Squares are \(\succeq 0\) (\(\mathrm{Lsq}\)), and the order is compatible with addition (\(\mathrm{Ladd}\)).
5.1 #78 The Cauchy–Schwarz inequality (n = 2)
\(n = 2\): \((a_1^2 + a_2^2)(b_1^2 + b_2^2) = (a_1 b_1 + a_2 b_2)^2 + (a_1 b_2 - a_2 b_1)^2\).
Lcs2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a_{1} , a_{2} , b_{1} , b_{2} \in X . ( a_{1} \cdot b_{1} + a_{2} \cdot b_{2} ) \cdot ( a_{1} \cdot b_{1} + a_{2} \cdot b_{2} ) \preceq P ( a_{1} \cdot a_{1} + a_{2} \cdot a_{2} ) \cdot ( b_{1} \cdot b_{1} + b_{2} \cdot b_{2} )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
5.2 #78 The Cauchy–Schwarz inequality (n = 3)
\(n = 3\): the \(\sum_{iLcs3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} \in X . ( a_{1} \cdot b_{1} + ( a_{2} \cdot b_{2} + a_{3} \cdot b_{3} ) ) \cdot ( a_{1} \cdot b_{1} + ( a_{2} \cdot b_{2} + a_{3} \cdot b_{3} ) ) \preceq P ( a_{1} \cdot a_{1} + ( a_{2} \cdot a_{2} + a_{3} \cdot a_{3} ) ) \cdot ( b_{1} \cdot b_{1} + ( b_{2} \cdot b_{2} + b_{3} \cdot b_{3} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
6 Chebyshev's sum inequality
For monotonically increasing sequences \(a_i, b_i\), \(\left(\sum a_i\right)\left(\sum b_i\right) \preceq n \sum a_i b_i\). First, if \(a_i \preceq c,\ b_i \preceq d\) (\(i \le n\)), we show \(\left(\sum a_i\right) d + c \sum b_i \preceq \sum a_i b_i + n\,cd\) (from \((c - a_i)(d - b_i) \succeq 0\) for each term), and use it in the induction with \(c = a_{n+1},\ d = b_{n+1}\).
Lch … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in X , b ( i ) \in X , \forall i , j \in \mathbb{M} ^{\times} . ( i \le j \Longrightarrow a ( i ) \preceq P a ( j ) , b ( i ) \preceq P b ( j ) ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } b ( i ) \preceq P n \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
7 #38 The AM–GM inequality
L1P … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \forall x \in X . ( x \in Q \mathbin{\rm o\!r} - x \in Q ) , \forall x , y \in Q . x \cdot y \in Q \Longrightarrow \textit{1} \in Q\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lk … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall k \in \mathbb{M} . ( k + 1 ) \cdot \textit{1} \in P\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ
Lk0 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \textit{0} \neq \textit{1} , \forall x \in Q . x \in X , \textit{1} \in Q , \forall x \in Q . x + \textit{1} \in Q , \forall x \in Q . ( - x \in Q \Longrightarrow x = \textit{0} ) \Longrightarrow \forall k \in \mathbb{M} . ( k + 1 ) \cdot \textit{1} \neq \textit{0}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ
Lmul … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , w \in X , w \in P , x \preceq P y \Longrightarrow w \cdot x \preceq P w \cdot y\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lcan … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , c \in X , c \in P , c \neq \textit{0} , c \cdot x \preceq P c \cdot y \Longrightarrow x \preceq P y\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lpw … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \forall x \in Q . x \in X , a , \textit{1} \in Q , \forall x , y \in Q . x \cdot y \in Q \Longrightarrow \forall k \in \mathbb{M} . a ^ k \in Q\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑0X
L↑⋅ … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , x , y \in X \Longrightarrow \forall k \in \mathbb{M} . ( x \cdot y ) ^ k = x ^ k \cdot y ^ k\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑0X
Y2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , a , c \in P \Longrightarrow \forall k \in \mathbb{M} . ( ( k + 1 ) \cdot \textit{1} ) \cdot ( a ^ k \cdot c ) \preceq P ( k \cdot \textit{1} ) \cdot a ^ { k + 1 } + c ^ { k + 1 }\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅0X ,↑0X
Lstep … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \textit{0} \neq \textit{1} , S , Q , x \in P \Longrightarrow \forall k \in \mathbb{M} . ( ( ( ( k + 1 ) \cdot \textit{1} ) ^ { k + 1 } ) \cdot Q \preceq P S ^ { k + 1 } \Longrightarrow ( ( ( ( k + 1 ) + 1 ) \cdot \textit{1} ) ^ { ( k + 1 ) + 1 } ) \cdot ( Q \cdot x ) \preceq P ( S + x ) ^ { ( k + 1 ) + 1 } )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅. ,⋅0X ,↑0X ,↑. ,↑s ,Lk ,Lk0 ,Lpw ,Lsq ,L1P ,Y2 ,L↑⋅ ,Lmul ,Lcan
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \textit{0} \neq \textit{1} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in P , p ( 1 ) = a ( 1 ) , \forall n \in \mathbb{M} ^{\times} . p ( n + 1 ) = p ( n ) \cdot a ( n + 1 ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \cdot \textit{1} ) ^ n \cdot p ( n ) \preceq P \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) ^ n\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ ,⋅0X ,↑0X
8 Alternative proof of #38 (Cauchy's forward–backward induction)
Original: #38 above (general \(n\); induction using a Bernoulli-type inequality). A different route: only the first 3 steps of Cauchy's forward–backward induction. From \(n = 2\) forward to \(n = 4\), and from \(n = 4\) backward to \(n = 3\) (substituting \(3a, 3b, 3c, a+b+c\)). The ring identities are shown in a single step z[|X]. For general \(n\), we need a step showing the forward step to \(2^k\) and the backward step over a partition of the sum (not yet done).
The form is \(n^n \prod a_i \preceq (\sum a_i)^n\) (no division). The numbers \(4, 3, 16, 256, 27\) are written as sums and products of \(1\). We assume \(4 \ne 0\) and \(a+b+c \ne 0\).
8.1 Lemmas
Inequalities between nonnegative elements can be multiplied: \(0 \preceq x \preceq y,\ 0 \preceq u \preceq w \Rightarrow xu \preceq yw\) (\(yw - xu = y(w-u) + u(y-x)\)).
Lmm … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , u , w \in X , y , u \in P , x \preceq P y , u \preceq P w \Longrightarrow x \cdot u \preceq P y \cdot w\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
8.2 n = 2
From \((a+b)^2 = 4ab + (a-b)^2\), \(4ab \preceq (a+b)^2\). The number 4 is written as \(f = 1+1+1+1\).
Lam2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b \in X . ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( a \cdot b ) \preceq P ( a + b ) \cdot ( a + b )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
8.3 n = 4 (forward)
Use the 2-term case twice: \(4ab \preceq (a+b)^2\), \(4cd \preceq (c+d)^2\), and \(4(a+b)(c+d) \preceq (a+b+c+d)^2\). Since inequalities between nonnegative elements can be multiplied (Lmm), \(16\,abcd \preceq (a+b)^2(c+d)^2 = ((a+b)(c+d))^2\) and \(16((a+b)(c+d))^2 \preceq (a+b+c+d)^4\). Put \(16 = h\) and \(256 = q = h^2\).
Lam4 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b , c , d \in X . ( a , b , c , d \in P \Longrightarrow ( ( ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) ) \cdot ( ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) ) ) \cdot ( ( a \cdot b ) \cdot ( c \cdot d ) ) \preceq P ( ( ( a + b ) + ( c + d ) ) \cdot ( ( a + b ) + ( c + d ) ) ) \cdot ( ( ( a + b ) + ( c + d ) ) \cdot ( ( a + b ) + ( c + d ) ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
8.4 n = 3 (backward)
Substitute into the formula for \(n = 4\) the values \(3a, 3b, 3c, x\) (\(x = a+b+c\)): since \(3a+3b+3c+x = 4x\), \(256 \cdot 27\,abc\,x \preceq (4x)^4 = 256\,x^4\). Cancelling \(256\,x\) (\(\ne 0\)) from both sides gives \(27\,abc \preceq x^3\) (a form without division). We assume \(4 \ne 0\) and \(x \ne 0\).
Lam3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b , c \in X . \forall f , h , q , t , k , x \in X . ( a , b , c \in P , \textit{0} \neq f , \textit{0} \neq x , f = ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) , h = f \cdot f , q = h \cdot h , t = ( \textit{1} + \textit{1} ) + \textit{1} , k = t \cdot ( t \cdot t ) , x = ( a + b ) + c \Longrightarrow k \cdot ( a \cdot ( b \cdot c ) ) \preceq P x \cdot ( x \cdot x ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
9 Coordinate identities (Heron, the law of cosines, Pythagoras, isosceles triangles)
Points are represented as pairs of elements of a commutative ring \(X\), and we prove the results by stacking lemmas on the inner product (squared distance) and on vector identities. After this section follow alternative proofs by the cross product (signed area) and Stewart's theorem.
Over a commutative ring \(X\), represent a point as a pair \((x, y)\), and let the squared distance between two points be \((x-u)^2 + (y-v)^2\). We need no reals; the results are identities in a general commutative ring.
For a triangle \(A=(x,y)\), \(B=(u,v)\), \(C=(s,t)\), we set \(a = |BC|^2\), \(b = |CA|^2\), \(c = |AB|^2\), \(m = \overrightarrow{CA}\cdot\overrightarrow{CB}\) (the inner product at \(C\)), and \(D = \overrightarrow{CA}\times\overrightarrow{CB}\) (twice the signed area), each as a formula inside a theorem. Orthogonality means \(m = 0\).
9.1 Vector identities (hidden lemmas)
9.2 #94 The law of cosines
\(c = a + b - 2m\). When \(m = 0\) (a right angle), it reduces to the Pythagorean theorem.
Lcosine … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t \in X . \forall a , b , c , m \in X . ( a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , c = ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v ) , m = ( x - s ) \cdot ( u - s ) + ( y - t ) \cdot ( v - t ) \Longrightarrow c = ( a + b ) - ( m + m ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
9.3 #57 Heron's formula
In the form \(16S^2 = 4a^2b^2 - (a^2+b^2-c^2)^2\): with \(D\) twice the signed area (\(D = 2S\)) and \(a, b, c\) the squared side lengths, \(4D^2 = 4ab - (a+b-c)^2\). This follows from \(ab = m^2 + D^2\) (Lagrange's identity) and the law of cosines.
Lheron … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t \in X . \forall a , b , c , m , D \in X . ( a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , c = ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v ) , m = ( x - s ) \cdot ( u - s ) + ( y - t ) \cdot ( v - t ) , D = ( x - s ) \cdot ( v - t ) - ( y - t ) \cdot ( u - s ) \Longrightarrow ( ( D \cdot D + D \cdot D ) + ( D \cdot D + D \cdot D ) ) = ( ( a \cdot b + a \cdot b ) + ( a \cdot b + a \cdot b ) ) - ( ( a + b ) - c ) \cdot ( ( a + b ) - c ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
9.4 #4 The Pythagorean theorem
Orthogonality (\(m = 0\)) is equivalent to \(a + b = c\). It is stated in the form \(m + m = 0\), so it holds also in rings where we cannot divide by \(2\).
Lpyth … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t \in X . \forall a , b , c , m \in X . ( a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , c = ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v ) , m = ( x - s ) \cdot ( u - s ) + ( y - t ) \cdot ( v - t ) \Longrightarrow ( c = a + b \Longleftrightarrow m + m = \textit{0} ) )\) \(\blacktriangleleft\) Lcosine ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
9.5 #65 The base angles of an isosceles triangle
\(|CA| = |CB|\) holds if and only if the inner products \(\overrightarrow{AB}\cdot\overrightarrow{AC} = \overrightarrow{BA}\cdot\overrightarrow{BC}\) (the cosines of the two base angles multiplied by \(|AB|\)) are equal. Since no order is used, it holds in a general commutative ring.
Lisos … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t \in X . \forall a , b , m , p , q \in X . ( a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , m = ( x - s ) \cdot ( u - s ) + ( y - t ) \cdot ( v - t ) , p = ( u - x ) \cdot ( s - x ) + ( v - y ) \cdot ( t - y ) , q = ( x - u ) \cdot ( s - u ) + ( y - v ) \cdot ( t - v ) \Longrightarrow ( b = a \Longleftrightarrow p = q ) )\) \(\blacktriangleleft\) Lmid ,Lcm ,Lneg ,Ltr ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
9.6 The squared distance is at least 0 (ordered rings)
This is the only place that needs an order. \(|AB|^2 = (x-u)^2 + (y-v)^2 \succeq 0\) (squares are at least 0).
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall x , y , u , v \in X . \textit{0} \preceq P ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
10 Alternative proofs of the coordinate identities (cross product, Stewart's theorem)
Original: #57 Heron, #4 Pythagoras, and #94 the law of cosines above (the versions proved with the inner product and lemmas). A different route: #57 and #4 take the cross product (signed area) as the basic quantity and need no lemmas, only a single step z[|X]. For #94, take a point on the segment \(BC\), \(D = C + k(B-C)\), prove Stewart's theorem in a single step z[|X], and cancel \(k\). The names would clash with those of the original versions, so they are \(\mathrm{Lheron2}\), \(\mathrm{Lpyth2}\), and \(\mathrm{Lcosine2}\).
A point is a pair of elements of a commutative ring \(X\), \((x, y)\). We use no reals, no order, and no division; the results are identities in a general commutative ring.
A point is a pair of elements of a commutative ring \(X\). In the version for the law of cosines, \(d = |AD|^2\). Since we do not use division, to cancel we assume that \(k\) is not a zero divisor (\(kz = 0 \Rightarrow z = 0\)).
10.1 #57 Heron's formula
For a triangle \(A=(x,y)\), \(B=(u,v)\), \(C=(s,t)\), let \(D = \overrightarrow{CA}\times\overrightarrow{CB}\) (cross product) be twice the signed area, and let \(a = |BC|^2\), \(b = |CA|^2\), \(c = |AB|^2\) be the squared side lengths. Since \(D = 2S\), \(16S^2 = 4a b - (a+b-c)^2\) takes the form \(4D^2 = 4ab - (a+b-c)^2\) (the same statement as in 20).
Lheron2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t \in X . \forall a , b , c , D \in X . ( a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , c = ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v ) , D = ( x - s ) \cdot ( v - t ) - ( y - t ) \cdot ( u - s ) \Longrightarrow ( ( D \cdot D + D \cdot D ) + ( D \cdot D + D \cdot D ) ) = ( ( a \cdot b + a \cdot b ) + ( a \cdot b + a \cdot b ) ) - ( ( a + b ) - c ) \cdot ( ( a + b ) - c ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
10.2 #4 The Pythagorean theorem (dissection of areas)
On each side of the square of side \(p+q\) with vertices \((0,0),(p+q,0),(p+q,p+q),(0,p+q)\), take the points dividing it in the ratio \(p : q\): \(P=(p,0)\), \(Q=(p+q,p)\), \(R=(q,p+q)\), \(S=(0,q)\). Then \(PQRS\) is a square with hypotenuse \(c = |PQ|^2 = p^2+q^2\), and the rest consists of 4 congruent right triangles (legs \(p, q\)). Areas are measured by sums of cross products (shoelace), written as twice the area: \(T = 2c\) (square \(PQRS\)) and the large square \(B = T + 4pq\) (twice the area of each of the 4 triangles is \(pq\)). Hence \((p+q)^2 = c + 2pq\).
Lpyth2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall p , q \in X . \forall c , T , B \in X . ( c = ( ( p + q ) - p ) \cdot ( ( p + q ) - p ) + ( p - \textit{0} ) \cdot ( p - \textit{0} ) , T = ( ( p \cdot p - ( p + q ) \cdot \textit{0} ) + ( ( p + q ) \cdot ( p + q ) - q \cdot p ) ) + ( ( q \cdot q - \textit{0} \cdot ( p + q ) ) + ( \textit{0} \cdot \textit{0} - p \cdot q ) ) , B = ( p + q ) \cdot ( p + q ) + ( p + q ) \cdot ( p + q ) \Longrightarrow T = c + c , B = T + ( ( p \cdot q + p \cdot q ) + ( p \cdot q + p \cdot q ) ) , ( p + q ) \cdot ( p + q ) = c + ( p \cdot q + p \cdot q ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
10.3 #94 The law of cosines
Stewart's theorem (in squared form): \(k\,c + (1-k)\,b = d + k(1-k)\,a\). Moreover \(d = b - 2km + k^2 a\). From these two equations, \(k\,(c - (a+b-2m)) = 0\).
Lcosine2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall x , y , u , v , s , t , k \in X . \forall d_{1} , d_{2} , a , b , c , m , d \in X . ( \forall z \in X . ( k \cdot z = \textit{0} \Longrightarrow z = \textit{0} ) , d_{1} = s + k \cdot ( u - s ) , d_{2} = t + k \cdot ( v - t ) , a = ( u - s ) \cdot ( u - s ) + ( v - t ) \cdot ( v - t ) , b = ( x - s ) \cdot ( x - s ) + ( y - t ) \cdot ( y - t ) , c = ( x - u ) \cdot ( x - u ) + ( y - v ) \cdot ( y - v ) , m = ( x - s ) \cdot ( u - s ) + ( y - t ) \cdot ( v - t ) , d = ( x - d_{1} ) \cdot ( x - d_{1} ) + ( y - d_{2} ) \cdot ( y - d_{2} ) \Longrightarrow c = ( a + b ) - ( m + m ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
11 Brahmagupta's identity (two squares, Pell type)
As identities in a general commutative ring, we show in a single step that the product has the same form (the composition law). The product of two sums of two squares is a sum of two squares (Brahmagupta–Fibonacci), and a product of the form \(x^2 - n y^2\) has the same form (composition of solutions of the Pell equation). No order and no division are used.
11.1 Product of two sums of two squares
Lbf … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d \in X . \forall u , v \in X . ( u = a \cdot c - b \cdot d , v = a \cdot d + b \cdot c \Longrightarrow ( a \cdot a + b \cdot b ) \cdot ( c \cdot c + d \cdot d ) = u \cdot u + v \cdot v )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
11.2 Composition of Pell type
Lpell … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall n , x , y , s , t \in X . \forall u , v \in X . ( u = x \cdot s + n \cdot ( y \cdot t ) , v = x \cdot t + y \cdot s \Longrightarrow ( x \cdot x - n \cdot ( y \cdot y ) ) \cdot ( s \cdot s - n \cdot ( t \cdot t ) ) = u \cdot u - n \cdot ( v \cdot v ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
12 Determinants, Cramer's rule, and Cayley–Hamilton (2×2 and 3×3)
Partial versions of #97 and #49 (\(n = 2, 3\)).
Write 2×2 and 3×3 matrices over a commutative ring \(X\) by their entries, and express products, determinants, and adjugate matrices as formulas in the entries (no new words are added). A **partial version (\(n=2, 3\))** of #97 (determinants and Cramer's rule) and #49 (Cayley–Hamilton). Determinants for general \(n\) (sums over permutations) need a large foundation, so we do not treat them. We use neither order nor division; the results are identities in a general commutative ring.
For a matrix \(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\) (for 3×3, \(a, \ldots, i\) arranged row by row), the product, \(\det\), and \(\operatorname{tr}\) are introduced inside theorems as expressions in derived variables, such as \(p = ae + bg\). Since Prover9 times out when the polynomials are large, the ring identities are proved in small steps using only hidden lemmas and the ring axioms.
12.1 #97 Determinant and Cramer's rule for 2×2
\(\det(AB) = \det A \cdot \det B\). Let the entries of the product \(AB\) be \(p, q, r, s\).
Mdet2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , e , f , g , h \in X . \forall p , q , r , s , u , v \in X . ( p = a \cdot e + b \cdot g , q = a \cdot f + b \cdot h , r = c \cdot e + d \cdot g , s = c \cdot f + d \cdot h , u = a \cdot d - b \cdot c , v = e \cdot h - f \cdot g \Longrightarrow p \cdot s - q \cdot r = u \cdot v )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Cramer: the solution of \(A\binom{x}{y} = \binom{u}{v}\) satisfies \(\det A \cdot x = \det A_1\) and \(\det A \cdot y = \det A_2\) (\(A_i\) is the matrix with column \(i\) replaced by the right-hand side). If \(\det A\) is a unit (\(z \det A = 1\)), we can divide: \(x = z \det A_1\).
Mcr2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , x , y \in X . \forall u , v , w \in X . ( u = a \cdot x + b \cdot y , v = c \cdot x + d \cdot y , w = a \cdot d - b \cdot c \Longrightarrow w \cdot x = u \cdot d - b \cdot v , w \cdot y = a \cdot v - u \cdot c )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Mcr2u … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , x , y , z \in X . \forall u , v , w \in X . ( u = a \cdot x + b \cdot y , v = c \cdot x + d \cdot y , w = a \cdot d - b \cdot c , z \cdot w = \textit{1} \Longrightarrow x = z \cdot ( u \cdot d - b \cdot v ) , y = z \cdot ( a \cdot v - u \cdot c ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
12.2 #49 Cayley–Hamilton (2×2)
\(A^2 - (\operatorname{tr}A)\,A + (\det A)\,I = 0\). Entry by entry, with the entries of \(A^2\) written \(p, q, r, s\), \(t = \operatorname{tr}A\), and \(w = \det A\).
Mch2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d \in X . \forall p , q , r , s , t , w \in X . ( p = a \cdot a + b \cdot c , q = a \cdot b + b \cdot d , r = c \cdot a + d \cdot c , s = c \cdot b + d \cdot d , t = a + d , w = a \cdot d - b \cdot c \Longrightarrow p + w = t \cdot a , q = t \cdot b , r = t \cdot c , s + w = t \cdot d )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
12.3 #97 Determinant, adjugate matrix, and Cramer's rule for 3×3
\(\det(AB) = \det A \cdot \det B\) (3×3). Write the entries of \(AB\) as \(A, \ldots, I\) (row by row), with \(s = \det A\), \(t = \det B\), and \(u = \det(AB)\) (expanding along the first row). The proof uses the fact that the cofactor of the first row is a sum of a 2×2 minor of \(A\) and a cofactor of \(B\) (Binet–Cauchy).
Mdet3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r \in X . \forall A , B , C , D , E , F , G , H , I , s , t , u \in X . ( A = a \cdot j + b \cdot m + c \cdot p , B = a \cdot k + b \cdot n + c \cdot q , C = a \cdot l + b \cdot o + c \cdot r , D = d \cdot j + e \cdot m + f \cdot p , E = d \cdot k + e \cdot n + f \cdot q , F = d \cdot l + e \cdot o + f \cdot r , G = g \cdot j + h \cdot m + i \cdot p , H = g \cdot k + h \cdot n + i \cdot q , I = g \cdot l + h \cdot o + i \cdot r , s = a \cdot ( e \cdot i - f \cdot h ) + b \cdot ( f \cdot g - d \cdot i ) + c \cdot ( d \cdot h - e \cdot g ) , t = j \cdot ( n \cdot r - o \cdot q ) + k \cdot ( o \cdot p - m \cdot r ) + l \cdot ( m \cdot q - n \cdot p ) , u = A \cdot ( E \cdot I - F \cdot H ) + B \cdot ( F \cdot G - D \cdot I ) + C \cdot ( D \cdot H - E \cdot G ) \Longrightarrow u = s \cdot t )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Write the entries of the adjugate matrix \(\operatorname{adj}A\) as \(j, \ldots, r\) (row by row) and \(w = \det A\) (expanding along the first row). Then \(A \cdot \operatorname{adj}A = w I\).
Madj3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , e , f , g , h , i \in X . \forall j , k , l , m , n , o , p , q , r , w \in X . ( j = e \cdot i - f \cdot h , k = c \cdot h - b \cdot i , l = b \cdot f - c \cdot e , m = f \cdot g - d \cdot i , n = a \cdot i - c \cdot g , o = c \cdot d - a \cdot f , p = d \cdot h - e \cdot g , q = b \cdot g - a \cdot h , r = a \cdot e - b \cdot d , w = a \cdot ( e \cdot i - f \cdot h ) + b \cdot ( f \cdot g - d \cdot i ) + c \cdot ( d \cdot h - e \cdot g ) \Longrightarrow a \cdot j + b \cdot m + c \cdot p = w , a \cdot k + b \cdot n + c \cdot q = \textit{0} , a \cdot l + b \cdot o + c \cdot r = \textit{0} , d \cdot j + e \cdot m + f \cdot p = \textit{0} , d \cdot k + e \cdot n + f \cdot q = w , d \cdot l + e \cdot o + f \cdot r = \textit{0} , g \cdot j + h \cdot m + i \cdot p = \textit{0} , g \cdot k + h \cdot n + i \cdot q = \textit{0} , g \cdot l + h \cdot o + i \cdot r = w )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Cramer: the solution of \(A\,(x, y, z)^T = (s, t, u)^T\) satisfies \(\det A \cdot x = j\), \(\det A \cdot y = k\), and \(\det A \cdot z = l\). Here \(j, k, l\) are the inner products of rows 1, 2, 3 of \(\operatorname{adj}A\) with the right-hand side (= the determinant of the matrix with column \(i\) replaced by the right-hand side).
Mcr3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , e , f , g , h , i , x , y , z \in X . \forall s , t , u , j , k , l , w \in X . ( s = a \cdot x + b \cdot y + c \cdot z , t = d \cdot x + e \cdot y + f \cdot z , u = g \cdot x + h \cdot y + i \cdot z , j = s \cdot ( e \cdot i - f \cdot h ) + t \cdot ( c \cdot h - b \cdot i ) + u \cdot ( b \cdot f - c \cdot e ) , k = s \cdot ( f \cdot g - d \cdot i ) + t \cdot ( a \cdot i - c \cdot g ) + u \cdot ( c \cdot d - a \cdot f ) , l = s \cdot ( d \cdot h - e \cdot g ) + t \cdot ( b \cdot g - a \cdot h ) + u \cdot ( a \cdot e - b \cdot d ) , w = a \cdot ( e \cdot i - f \cdot h ) + b \cdot ( f \cdot g - d \cdot i ) + c \cdot ( d \cdot h - e \cdot g ) \Longrightarrow w \cdot x = j , w \cdot y = k , w \cdot z = l )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
12.4 #49 Cayley–Hamilton (3×3)
\(A^3 - (\operatorname{tr}A)\,A^2 + c_2\,A - (\det A)\,I = 0\) (\(c_2\) is the sum of the principal minors), in the form \(A^3 + c_2 A = (\operatorname{tr}A) A^2 + (\det A) I\). With the entries of \(A^2\) written \(j, \ldots, r\), \(t = \operatorname{tr}A\), \(s = c_2\), and \(w = \det A\).
Mch3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a , b , c , d , e , f , g , h , i \in X . \forall t , s , w , j , k , l , m , n , o , p , q , r \in X . ( t = a + e + i , s = ( a \cdot e - b \cdot d ) + ( a \cdot i - c \cdot g ) + ( e \cdot i - f \cdot h ) , w = a \cdot ( e \cdot i - f \cdot h ) + b \cdot ( f \cdot g - d \cdot i ) + c \cdot ( d \cdot h - e \cdot g ) , j = a \cdot a + b \cdot d + c \cdot g , k = a \cdot b + b \cdot e + c \cdot h , l = a \cdot c + b \cdot f + c \cdot i , m = d \cdot a + e \cdot d + f \cdot g , n = d \cdot b + e \cdot e + f \cdot h , o = d \cdot c + e \cdot f + f \cdot i , p = g \cdot a + h \cdot d + i \cdot g , q = g \cdot b + h \cdot e + i \cdot h , r = g \cdot c + h \cdot f + i \cdot i \Longrightarrow a \cdot j + b \cdot m + c \cdot p + s \cdot a = t \cdot j + w , a \cdot k + b \cdot n + c \cdot q + s \cdot b = t \cdot k , a \cdot l + b \cdot o + c \cdot r + s \cdot c = t \cdot l , d \cdot j + e \cdot m + f \cdot p + s \cdot d = t \cdot m , d \cdot k + e \cdot n + f \cdot q + s \cdot e = t \cdot n + w , d \cdot l + e \cdot o + f \cdot r + s \cdot f = t \cdot o , g \cdot j + h \cdot m + i \cdot p + s \cdot g = t \cdot p , g \cdot k + h \cdot n + i \cdot q + s \cdot h = t \cdot q , g \cdot l + h \cdot o + i \cdot r + s \cdot i = t \cdot r + w )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
13 Ceva's theorem and Menelaus's theorem (barycentric coordinates)
Using the division ratios in barycentric coordinates, we state concurrence and collinearity as the vanishing of the 3×3 determinant of the coefficients of lines.
In the triangle with barycentric coordinates \(A=(1:0:0)\), \(B=(0:1:0)\), \(C=(0:0:1)\), the points on the sides \(BC, CA, AB\), \(D, E, F\), are given by the division ratios \(BD:DC = m:n\), \(CE:EA = p:q\), \(AF:FB = r:s\). That is, \(D=(0:n:m)\), \(E=(p:0:q)\), \(F=(s:r:0)\). Ratios are held as pairs of ring elements, and no division is used.
A **partial version** of #61 Ceva's theorem and Menelaus's theorem (general position, nondegenerate case). Concurrence of lines and collinearity of points are stated as the \(3\times 3\) determinant of the coordinates of three lines (three points) being \(0\), together with giving those points (lines) by components. No reals or order are needed; the results are identities in a general commutative ring. The facts that \(m, n, p, q, r, s\) really are division points (nonzero), and the nondegeneracy assumption that gives "if concurrent then the determinant is \(0\)" in an integral domain, are not included in the theorem.
13.1 #61 Ceva's theorem
The lines \(AD, BE, CF\) are \(m y = n z\), \(q x = p z\), \(r x = s y\) (the conditions for a point \((x:y:z)\) to lie on them). The determinant has the coefficients of the three lines as its rows, \(\begin{pmatrix} 0 & m & -n \\ q & 0 & -p \\ r & -s & 0 \end{pmatrix}\), and its value is \(nqs - mpr\).
Cdet … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p , q , r , s \in X . \forall D \in X . ( D = \textit{0} \cdot ( \textit{0} \cdot \textit{0} - ( \textit{0} - p ) \cdot ( \textit{0} - s ) ) + m \cdot ( ( \textit{0} - p ) \cdot r - q \cdot \textit{0} ) + ( \textit{0} - n ) \cdot ( q \cdot ( \textit{0} - s ) - \textit{0} \cdot r ) \Longrightarrow ( D = \textit{0} \Longleftrightarrow ( m \cdot p ) \cdot r = ( n \cdot q ) \cdot s ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
If \(BD\cdot CE\cdot AF = DC\cdot EA\cdot FB\), then the point \((ps : pr : qs)\) (Ceva's point) lies on all three lines.
Cpt … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p \in X . \forall q , r , s \in X . ( ( m \cdot p ) \cdot r = ( n \cdot q ) \cdot s \Longrightarrow ( m \cdot ( p \cdot r ) = n \cdot ( q \cdot s ) , q \cdot ( p \cdot s ) = p \cdot ( q \cdot s ) , r \cdot ( p \cdot s ) = s \cdot ( p \cdot r ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Conversely, if a point \((x:y:z)\) lies on all three lines, the determinant \(nqs-mpr\) makes all of \(x, y, z\) equal to \(0\). In an integral domain, if \((x:y:z)\ne 0\) then the determinant is \(0\), that is, \(BD\cdot CE\cdot AF = DC\cdot EA\cdot FB\).
Cinv … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p , q , r , s \in X . \forall x , y , z \in X . ( m \cdot y = n \cdot z , q \cdot x = p \cdot z , r \cdot x = s \cdot y \Longrightarrow ( ( ( n \cdot q ) \cdot s ) \cdot x = ( ( m \cdot p ) \cdot r ) \cdot x , ( ( n \cdot q ) \cdot s ) \cdot y = ( ( m \cdot p ) \cdot r ) \cdot y , ( ( n \cdot q ) \cdot s ) \cdot z = ( ( m \cdot p ) \cdot r ) \cdot z ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
13.2 Menelaus's theorem
The determinant with the coordinates of the points \(D=(0:n:m)\), \(E=(p:0:q)\), \(F=(s:r:0)\) as rows is \(nqs+mpr\). With signed ratios, \(\frac{BD}{DC}\frac{CE}{EA}\frac{AF}{FB} = -1\), that is, they are collinear when \(mpr + nqs = 0\).
Mdet … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p , q , r , s \in X . \forall D \in X . ( D = \textit{0} \cdot ( \textit{0} \cdot \textit{0} - q \cdot r ) + n \cdot ( q \cdot s - p \cdot \textit{0} ) + m \cdot ( p \cdot r - \textit{0} \cdot s ) \Longrightarrow ( D = \textit{0} \Longleftrightarrow ( m \cdot p ) \cdot r + ( n \cdot q ) \cdot s = \textit{0} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
If \(mpr + nqs = 0\), the line \((nq : mp : -np)\) (\(DE\)) passes through the three points \(D, E, F\).
Mpt … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p \in X . \forall q , r , s \in X . ( ( m \cdot p ) \cdot r + ( n \cdot q ) \cdot s = \textit{0} \Longrightarrow ( n \cdot ( m \cdot p ) + m \cdot ( \textit{0} - n \cdot p ) = \textit{0} , p \cdot ( n \cdot q ) + q \cdot ( \textit{0} - n \cdot p ) = \textit{0} , s \cdot ( n \cdot q ) + r \cdot ( m \cdot p ) = \textit{0} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
Conversely, if a line \(ux+vy+wz=0\) passes through the three points, the determinant \(nqs+mpr\) makes all of \(u, v, w\) equal to \(0\).
Minv … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall m , n , p , q , r , s \in X . \forall u , v , w \in X . ( n \cdot v + m \cdot w = \textit{0} , p \cdot u + q \cdot w = \textit{0} , s \cdot u + r \cdot v = \textit{0} \Longrightarrow ( ( ( n \cdot q ) \cdot s ) \cdot u + ( ( m \cdot p ) \cdot r ) \cdot u = \textit{0} , ( ( n \cdot q ) \cdot s ) \cdot v + ( ( m \cdot p ) \cdot r ) \cdot v = \textit{0} , ( ( n \cdot q ) \cdot s ) \cdot w + ( ( m \cdot p ) \cdot r ) \cdot w = \textit{0} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
14 Alternative proof of Ceva's theorem (area ratios and mass points)
Original: #61 Ceva above (3×3 determinant). A different route: without determinants, using the areas of triangles (cross products) and mass points.
When a point \(P\) is inside the triangle \(ABC\), the area coordinates of \(P\), \((e : f : g) = ([PBC] : [PCA] : [PAB])\), are exactly the division ratios of the feet \(D, E, F\) of the cevians (\(BD:DC = g:f\), etc.). Conversely, from the division ratios take the mass point \(P' = ps\,A + pr\,B + qs\,C\); then when \(mpr = nqs\) the three cevians meet at \(P'\).
A point is a pair of elements of a commutative ring \(X\). For the triangle \(ABC\), let twice its signed area be \(T = \overrightarrow{AB}\times\overrightarrow{AC}\) (cross product). We use no reals, no order, and no division; the results are identities in a general commutative ring. A division point \(D\) is held in the form \(\delta D = fB + gC\) (with weight \(\delta\)).
14.1 #61 Ceva's theorem (area ratios)
Let \(e, f, g\) be twice the areas of the triangles formed by \(P\) and each side, namely \(PBC, PCA, PAB\). Then \(e+f+g = T\). \(D\) (\(\delta D = fB + gC\), \(\delta = f+g\)) lies on the line \(AP\), and \(\delta\,[ABD] = gT\), \(\delta\,[ADC] = fT\) (the height from \(A\) is common, so \(BD:DC = [ABD]:[ADC] = g:f\)).
Lceva … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , b_{1} , b_{2} , c_{1} , c_{2} , u_{1} , u_{2} \in X . \forall T , e , f , g , h , i , j \in X . ( T = ( b_{1} - a_{1} ) \cdot ( c_{2} - a_{2} ) - ( b_{2} - a_{2} ) \cdot ( c_{1} - a_{1} ) , e = ( b_{1} - u_{1} ) \cdot ( c_{2} - u_{2} ) - ( b_{2} - u_{2} ) \cdot ( c_{1} - u_{1} ) , f = ( c_{1} - u_{1} ) \cdot ( a_{2} - u_{2} ) - ( c_{2} - u_{2} ) \cdot ( a_{1} - u_{1} ) , g = ( a_{1} - u_{1} ) \cdot ( b_{2} - u_{2} ) - ( a_{2} - u_{2} ) \cdot ( b_{1} - u_{1} ) , h = f + g , i = f \cdot b_{1} + g \cdot c_{1} , j = f \cdot b_{2} + g \cdot c_{2} \Longrightarrow T = ( e + f ) + g , ( u_{1} - a_{1} ) \cdot ( j - h \cdot a_{2} ) - ( u_{2} - a_{2} ) \cdot ( i - h \cdot a_{1} ) = \textit{0} , ( b_{1} - a_{1} ) \cdot ( j - h \cdot a_{2} ) - ( b_{2} - a_{2} ) \cdot ( i - h \cdot a_{1} ) = g \cdot T , ( i - h \cdot a_{1} ) \cdot ( c_{2} - a_{2} ) - ( j - h \cdot a_{2} ) \cdot ( c_{1} - a_{1} ) = f \cdot T )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
The three division ratios are \(BD:DC = g:f\), \(CE:EA = e:g\), \(AF:FB = f:e\) (likewise for \(E, F\)). The product of the ratios \(\frac{BD}{DC}\frac{CE}{EA}\frac{AF}{FB} = 1\) takes the form \(mpr = nqs\) (\(m=g,\ n=f,\ p=e,\ q=g,\ r=f,\ s=e\)).
Lratio … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , b_{1} , b_{2} , c_{1} , c_{2} , u_{1} , u_{2} \in X . \forall T , e , f , g , m , n , p , q , r , s \in X . ( T = ( b_{1} - a_{1} ) \cdot ( c_{2} - a_{2} ) - ( b_{2} - a_{2} ) \cdot ( c_{1} - a_{1} ) , e = ( b_{1} - u_{1} ) \cdot ( c_{2} - u_{2} ) - ( b_{2} - u_{2} ) \cdot ( c_{1} - u_{1} ) , f = ( c_{1} - u_{1} ) \cdot ( a_{2} - u_{2} ) - ( c_{2} - u_{2} ) \cdot ( a_{1} - u_{1} ) , g = ( a_{1} - u_{1} ) \cdot ( b_{2} - u_{2} ) - ( a_{2} - u_{2} ) \cdot ( b_{1} - u_{1} ) , m = g , n = f , p = e , q = g , r = f , s = e \Longrightarrow ( m \cdot p ) \cdot r = ( n \cdot q ) \cdot s )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
14.2 Converse (mass points)
Set the division points of \(BD:DC = m:n\), \(CE:EA = p:q\), \(AF:FB = r:s\) as \(\delta_D D = nB + mC\), \(\delta_E E = qC + pA\), \(\delta_F F = sA + rB\), and form the mass point \(P' = ps\,A + pr\,B + qs\,C\) (with weight \(w\)). That \(P'\) lies on the lines \(BE\) and \(CF\) always holds, and lying on \(AD\) is equivalent to \(mpr = nqs\) (the cross product for \(AD\) is \((mpr - nqs)\,T\)).
Lcev … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , b_{1} , b_{2} , c_{1} , c_{2} \in X . \forall m , n , p , q , r , s \in X . \forall T , i_{1} , i_{2} , l_{1} , l_{2} , o_{1} , o_{2} , k_{1} , k_{2} , w \in X . ( T = ( b_{1} - a_{1} ) \cdot ( c_{2} - a_{2} ) - ( b_{2} - a_{2} ) \cdot ( c_{1} - a_{1} ) , i_{1} = n \cdot b_{1} + m \cdot c_{1} , i_{2} = n \cdot b_{2} + m \cdot c_{2} , l_{1} = q \cdot c_{1} + p \cdot a_{1} , l_{2} = q \cdot c_{2} + p \cdot a_{2} , o_{1} = s \cdot a_{1} + r \cdot b_{1} , o_{2} = s \cdot a_{2} + r \cdot b_{2} , k_{1} = ( ( p \cdot s ) \cdot a_{1} + ( p \cdot r ) \cdot b_{1} ) + ( q \cdot s ) \cdot c_{1} , k_{2} = ( ( p \cdot s ) \cdot a_{2} + ( p \cdot r ) \cdot b_{2} ) + ( q \cdot s ) \cdot c_{2} , w = ( ( p \cdot s ) + ( p \cdot r ) ) + ( q \cdot s ) , ( m \cdot p ) \cdot r = ( n \cdot q ) \cdot s \Longrightarrow ( k_{1} - w \cdot a_{1} ) \cdot ( i_{2} - ( n + m ) \cdot a_{2} ) - ( k_{2} - w \cdot a_{2} ) \cdot ( i_{1} - ( n + m ) \cdot a_{1} ) = \textit{0} , ( k_{1} - w \cdot b_{1} ) \cdot ( l_{2} - ( p + q ) \cdot b_{2} ) - ( k_{2} - w \cdot b_{2} ) \cdot ( l_{1} - ( p + q ) \cdot b_{1} ) = \textit{0} , ( k_{1} - w \cdot c_{1} ) \cdot ( o_{2} - ( r + s ) \cdot c_{2} ) - ( k_{2} - w \cdot c_{2} ) \cdot ( o_{1} - ( r + s ) \cdot c_{1} ) = \textit{0} )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
15 Desargues's theorem (homogeneous coordinates)
We represent perspective triangles by triples in homogeneous coordinates and show the collinearity of the intersections of the sides.
A point with homogeneous coordinates \((x:y:z)\) is held as a triple of elements of a commutative ring \(X\), such as \(A=(a_1,a_2,a_3)\) (scalar multiples are the same point). Triangles \(ABC\) and \(A'B'C'\) are **perspective** from a point \(O\) (the lines \(AA', BB', CC'\) meet at \(O\)) when they can be written \(A'=s'O+sA\), \(B'=t'O+tB\), \(C'=u'O+uC\) (\(A'\) is a point on the line through \(O\) and \(A\)). Let the intersections of the sides be \(P=AB\cap A'B'\), \(Q=BC\cap B'C'\), \(R=CA\cap C'A'\).
A **partial version (general position, coordinate version)** of #87 Desargues's theorem. \(P=st'A-ts'B\) is a linear combination of \(A, B\), so it lies on the line \(AB\); by the first-half formula of the conclusion (\(P=t'A'-s'B'\), etc.) it is also a linear combination of \(A', B'\), so it lies on the line \(A'B'\). The same holds for \(Q, R\). Collinearity is stated by linear dependence \(u'P+s'Q+t'R=0\) (if the coefficients \((u':s':t')\) are not 0, then \(P, Q, R\) lie on one line). No order and no division are used; the results are identities in a general commutative ring. The nondegeneracy assumptions such as \(P\neq 0\) and the line \(AB\ne A'B'\) (the intersection being a single point) are not included in the theorem.
15.1 #87 Desargues's theorem
Dsg … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} \in X . \forall c_{1} , c_{2} , c_{3} , o_{1} , o_{2} , o_{3} \in X . \forall s , s' , t , t' , u , u' \in X . \forall a_{1}' , a_{2}' , a_{3}' , b_{1}' , b_{2}' , b_{3}' \in X . \forall c_{1}' , c_{2}' , c_{3}' , p_{1} , p_{2} , p_{3} \in X . \forall q_{1} , q_{2} , q_{3} , r_{1} , r_{2} , r_{3} \in X . ( a_{1}' = ( s' \cdot o_{1} ) + ( s \cdot a_{1} ) , a_{2}' = ( s' \cdot o_{2} ) + ( s \cdot a_{2} ) , a_{3}' = ( s' \cdot o_{3} ) + ( s \cdot a_{3} ) , b_{1}' = ( t' \cdot o_{1} ) + ( t \cdot b_{1} ) , b_{2}' = ( t' \cdot o_{2} ) + ( t \cdot b_{2} ) , b_{3}' = ( t' \cdot o_{3} ) + ( t \cdot b_{3} ) , c_{1}' = ( u' \cdot o_{1} ) + ( u \cdot c_{1} ) , c_{2}' = ( u' \cdot o_{2} ) + ( u \cdot c_{2} ) , c_{3}' = ( u' \cdot o_{3} ) + ( u \cdot c_{3} ) , p_{1} = ( ( s \cdot t' ) \cdot a_{1} ) - ( ( t \cdot s' ) \cdot b_{1} ) , p_{2} = ( ( s \cdot t' ) \cdot a_{2} ) - ( ( t \cdot s' ) \cdot b_{2} ) , p_{3} = ( ( s \cdot t' ) \cdot a_{3} ) - ( ( t \cdot s' ) \cdot b_{3} ) , q_{1} = ( ( t \cdot u' ) \cdot b_{1} ) - ( ( u \cdot t' ) \cdot c_{1} ) , q_{2} = ( ( t \cdot u' ) \cdot b_{2} ) - ( ( u \cdot t' ) \cdot c_{2} ) , q_{3} = ( ( t \cdot u' ) \cdot b_{3} ) - ( ( u \cdot t' ) \cdot c_{3} ) , r_{1} = ( ( u \cdot s' ) \cdot c_{1} ) - ( ( s \cdot u' ) \cdot a_{1} ) , r_{2} = ( ( u \cdot s' ) \cdot c_{2} ) - ( ( s \cdot u' ) \cdot a_{2} ) , r_{3} = ( ( u \cdot s' ) \cdot c_{3} ) - ( ( s \cdot u' ) \cdot a_{3} ) \Longrightarrow ( p_{1} = ( t' \cdot a_{1}' ) - ( s' \cdot b_{1}' ) , p_{2} = ( t' \cdot a_{2}' ) - ( s' \cdot b_{2}' ) , p_{3} = ( t' \cdot a_{3}' ) - ( s' \cdot b_{3}' ) , q_{1} = ( u' \cdot b_{1}' ) - ( t' \cdot c_{1}' ) , q_{2} = ( u' \cdot b_{2}' ) - ( t' \cdot c_{2}' ) , q_{3} = ( u' \cdot b_{3}' ) - ( t' \cdot c_{3}' ) , r_{1} = ( s' \cdot c_{1}' ) - ( u' \cdot a_{1}' ) , r_{2} = ( s' \cdot c_{2}' ) - ( u' \cdot a_{2}' ) , r_{3} = ( s' \cdot c_{3}' ) - ( u' \cdot a_{3}' ) , ( u' \cdot p_{1} ) + ( s' \cdot q_{1} ) + ( t' \cdot r_{1} ) = \textit{0} , ( u' \cdot p_{2} ) + ( s' \cdot q_{2} ) + ( t' \cdot r_{2} ) = \textit{0} , ( u' \cdot p_{3} ) + ( s' \cdot q_{3} ) + ( t' \cdot r_{3} ) = \textit{0} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
15.2 #87 Desargues's theorem (full version: intersections defined by cross products, det(P,Q,R)=0)
Points are triples in homogeneous coordinates, the line \(AB\) is the cross product \(A\times B\), and the intersection of two lines is the cross product \((A\times B)\times(A'\times B')\). Suppose \(A'=s'O+sA\), etc., so the triangles are perspective from a point \(O\). We define the intersections \(P,Q,R\) by cross products and show \(\det(P,Q,R)=0\) (collinearity) as an identity in a general commutative ring in a single step.
Dcol … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} , c_{1} , c_{2} , c_{3} , o_{1} , o_{2} , o_{3} , s , s' , t , t' , u , u' \in X . \forall x_{1} , x_{2} , x_{3} , y_{1} , y_{2} , y_{3} , w_{1} , w_{2} , w_{3} , f_{1} , f_{2} , f_{3} , g_{1} , g_{2} , g_{3} , h_{1} , h_{2} , h_{3} , k_{1} , k_{2} , k_{3} , m_{1} , m_{2} , m_{3} , n_{1} , n_{2} , n_{3} , p_{1} , p_{2} , p_{3} , q_{1} , q_{2} , q_{3} , r_{1} , r_{2} , r_{3} , d \in X . ( x_{1} = s' \cdot o_{1} + s \cdot a_{1} , x_{2} = s' \cdot o_{2} + s \cdot a_{2} , x_{3} = s' \cdot o_{3} + s \cdot a_{3} , y_{1} = t' \cdot o_{1} + t \cdot b_{1} , y_{2} = t' \cdot o_{2} + t \cdot b_{2} , y_{3} = t' \cdot o_{3} + t \cdot b_{3} , w_{1} = u' \cdot o_{1} + u \cdot c_{1} , w_{2} = u' \cdot o_{2} + u \cdot c_{2} , w_{3} = u' \cdot o_{3} + u \cdot c_{3} , f_{1} = ( a_{2} \cdot b_{3} - a_{3} \cdot b_{2} ) , f_{2} = ( a_{3} \cdot b_{1} - a_{1} \cdot b_{3} ) , f_{3} = ( a_{1} \cdot b_{2} - a_{2} \cdot b_{1} ) , g_{1} = ( x_{2} \cdot y_{3} - x_{3} \cdot y_{2} ) , g_{2} = ( x_{3} \cdot y_{1} - x_{1} \cdot y_{3} ) , g_{3} = ( x_{1} \cdot y_{2} - x_{2} \cdot y_{1} ) , h_{1} = ( b_{2} \cdot c_{3} - b_{3} \cdot c_{2} ) , h_{2} = ( b_{3} \cdot c_{1} - b_{1} \cdot c_{3} ) , h_{3} = ( b_{1} \cdot c_{2} - b_{2} \cdot c_{1} ) , k_{1} = ( y_{2} \cdot w_{3} - y_{3} \cdot w_{2} ) , k_{2} = ( y_{3} \cdot w_{1} - y_{1} \cdot w_{3} ) , k_{3} = ( y_{1} \cdot w_{2} - y_{2} \cdot w_{1} ) , m_{1} = ( c_{2} \cdot a_{3} - c_{3} \cdot a_{2} ) , m_{2} = ( c_{3} \cdot a_{1} - c_{1} \cdot a_{3} ) , m_{3} = ( c_{1} \cdot a_{2} - c_{2} \cdot a_{1} ) , n_{1} = ( w_{2} \cdot x_{3} - w_{3} \cdot x_{2} ) , n_{2} = ( w_{3} \cdot x_{1} - w_{1} \cdot x_{3} ) , n_{3} = ( w_{1} \cdot x_{2} - w_{2} \cdot x_{1} ) , p_{1} = ( f_{2} \cdot g_{3} - f_{3} \cdot g_{2} ) , p_{2} = ( f_{3} \cdot g_{1} - f_{1} \cdot g_{3} ) , p_{3} = ( f_{1} \cdot g_{2} - f_{2} \cdot g_{1} ) , q_{1} = ( h_{2} \cdot k_{3} - h_{3} \cdot k_{2} ) , q_{2} = ( h_{3} \cdot k_{1} - h_{1} \cdot k_{3} ) , q_{3} = ( h_{1} \cdot k_{2} - h_{2} \cdot k_{1} ) , r_{1} = ( m_{2} \cdot n_{3} - m_{3} \cdot n_{2} ) , r_{2} = ( m_{3} \cdot n_{1} - m_{1} \cdot n_{3} ) , r_{3} = ( m_{1} \cdot n_{2} - m_{2} \cdot n_{1} ) , d = p_{1} \cdot ( q_{2} \cdot r_{3} - q_{3} \cdot r_{2} ) + p_{2} \cdot ( q_{3} \cdot r_{1} - q_{1} \cdot r_{3} ) + p_{3} \cdot ( q_{1} \cdot r_{2} - q_{2} \cdot r_{1} ) \Longrightarrow d = \textit{0} )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
The intersection \(P\) lies on both the line \(AB\) and the line \(A'B'\) (\(f\cdot P=0\), \(g\cdot P=0\)).
Dinc … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} , x_{1} , x_{2} , x_{3} , y_{1} , y_{2} , y_{3} \in X . \forall f_{1} , f_{2} , f_{3} , g_{1} , g_{2} , g_{3} , p_{1} , p_{2} , p_{3} \in X . ( f_{1} = ( a_{2} \cdot b_{3} - a_{3} \cdot b_{2} ) , f_{2} = ( a_{3} \cdot b_{1} - a_{1} \cdot b_{3} ) , f_{3} = ( a_{1} \cdot b_{2} - a_{2} \cdot b_{1} ) , g_{1} = ( x_{2} \cdot y_{3} - x_{3} \cdot y_{2} ) , g_{2} = ( x_{3} \cdot y_{1} - x_{1} \cdot y_{3} ) , g_{3} = ( x_{1} \cdot y_{2} - x_{2} \cdot y_{1} ) , p_{1} = ( f_{2} \cdot g_{3} - f_{3} \cdot g_{2} ) , p_{2} = ( f_{3} \cdot g_{1} - f_{1} \cdot g_{3} ) , p_{3} = ( f_{1} \cdot g_{2} - f_{2} \cdot g_{1} ) \Longrightarrow f_{1} \cdot p_{1} + f_{2} \cdot p_{2} + f_{3} \cdot p_{3} = \textit{0} , g_{1} \cdot p_{1} + g_{2} \cdot p_{2} + g_{3} \cdot p_{3} = \textit{0} )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
When \(A'=O+A\) and \(B'=O+B\), the intersection is \(P=\det(A,B,O)\,(A-B)\) (the form in the search note).
Dint … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} , o_{1} , o_{2} , o_{3} \in X . \forall c_{1} , c_{2} , c_{3} , e_{1} , e_{2} , e_{3} , f_{1} , f_{2} , f_{3} , g_{1} , g_{2} , g_{3} , p_{1} , p_{2} , p_{3} , d \in X . ( c_{1} = o_{1} + a_{1} , c_{2} = o_{2} + a_{2} , c_{3} = o_{3} + a_{3} , e_{1} = o_{1} + b_{1} , e_{2} = o_{2} + b_{2} , e_{3} = o_{3} + b_{3} , f_{1} = ( a_{2} \cdot b_{3} - a_{3} \cdot b_{2} ) , f_{2} = ( a_{3} \cdot b_{1} - a_{1} \cdot b_{3} ) , f_{3} = ( a_{1} \cdot b_{2} - a_{2} \cdot b_{1} ) , g_{1} = ( c_{2} \cdot e_{3} - c_{3} \cdot e_{2} ) , g_{2} = ( c_{3} \cdot e_{1} - c_{1} \cdot e_{3} ) , g_{3} = ( c_{1} \cdot e_{2} - c_{2} \cdot e_{1} ) , p_{1} = ( f_{2} \cdot g_{3} - f_{3} \cdot g_{2} ) , p_{2} = ( f_{3} \cdot g_{1} - f_{1} \cdot g_{3} ) , p_{3} = ( f_{1} \cdot g_{2} - f_{2} \cdot g_{1} ) , d = a_{1} \cdot ( b_{2} \cdot o_{3} - b_{3} \cdot o_{2} ) + a_{2} \cdot ( b_{3} \cdot o_{1} - b_{1} \cdot o_{3} ) + a_{3} \cdot ( b_{1} \cdot o_{2} - b_{2} \cdot o_{1} ) \Longrightarrow p_{1} = d \cdot ( a_{1} - b_{1} ) , p_{2} = d \cdot ( a_{2} - b_{2} ) , p_{3} = d \cdot ( a_{3} - b_{3} ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+