Cubic and quartic equations, complex numbers, the weak law of large numbers (applications of the reals)
import /Freeks/reals.book(section 4 まで) /Freeks/arith.book
1 The core of Cardano: an identity and injectivity of the cube
Over the real numbers \(\mathbb{R}\), we prove Cardano's formula for the cubic equation (the part with discriminant \(D \ge 0\)) and Ferrari's decomposition for the quartic equation (the part where the resolvent cubic has a positive root). Complex numbers are not used, so both are partial versions covering real roots. The existence of cube roots and square roots is shown from the supremum axiom.
The core of Cardano: if \(u^3 + v^3 + q = 0\) and \(3uv + p = 0\), then \(x = u + v\) is a root of \(x^3 + px + q = 0\) (\((u+v)^3 = u^3 + v^3 + 3uv(u+v)\)).
Difference of cubes: \(a^3 - b^3 = (a - b)(a^2 + ab + b^2)\).
The cube is injective: if \(a^3 = b^3\) then \(a = b\). If \(a \ne b\), then \(a^2 + ab + b^2 = 0\), but \(2(a^2 + ab + b^2) = a^2 + b^2 + (a+b)^2\) is a sum of three nonnegative terms, so \(a = b = 0\).
Linj3 …
\(a , b \in \mathbb{R} , ( a \cdot a ) \cdot a = ( b \cdot b ) \cdot b \Longrightarrow a = b\) \(\blacktriangleleft\) AxR ,\(\mathbb{W}.\) ,AxℤIf \(u^3 = -\frac{q}{2} + w\), \(v^3 = -\frac{q}{2} - w\) and \(w^2 = \frac{q^2}{4} + \frac{p^3}{27}\), then \((uv)^3 = u^3 v^3 = -\frac{p^3}{27}\).
Cardano's formula: if \(D = \left(\frac{q}{2}\right)^2 + \left(\frac{p}{3}\right)^3 = w^2\), \(u^3 = -\frac{q}{2} + w\) and \(v^3 = -\frac{q}{2} - w\), then \(x = u + v\) is a root of \(x^3 + px + q = 0\). (\(uv = -\frac{p}{3}\) is determined by the cubes of \(u, v\).)
LCm …
\(p , q , h , t , w , u , v \in \mathbb{R} , 2 \cdot h = 1 , 3 \cdot t = 1 , w \cdot w = ( q \cdot h ) \cdot ( q \cdot h ) + ( ( p \cdot t ) \cdot ( p \cdot t ) ) \cdot ( p \cdot t ) , ( u \cdot u ) \cdot u = ( - ( q \cdot h ) ) + w , ( v \cdot v ) \cdot v = ( - ( q \cdot h ) ) + ( - w ) \Longrightarrow ( ( u + v ) \cdot ( u + v ) ) \cdot ( u + v ) + p \cdot ( u + v ) + q = 0\) \(\blacktriangleleft\) RM1 ,AxR ,\(\mathbb{W}.\) ,Axℤ