# Rational trigonometry

Rational trigonometry is a proposed reformulation of metrical planar and solid geometries (which includes trigonometry) by Canadian mathematician Norman J. Wildberger, currently an associate professor of mathematics at the University of New South Wales. His ideas are set out in his 2005 book Divine Proportions: Rational Trigonometry to Universal Geometry. According to New Scientist, part of his motivation for an alternative to traditional trigonometry was to avoid some problems that occur when infinite series are used in mathematics. Rational trigonometry avoids direct use of transcendental functions like sine and cosine by substituting their squared equivalents. Wildberger draws inspiration from mathematicians predating Georg Cantor's infinite set-theory, like Gauss and Euclid, who he claims were far more wary of using infinite sets than modern mathematicians.[nb 1] To date, rational trigonometry is largely unmentioned in mainstream mathematical literature.

## Approach

Rational trigonometry follows an approach built on the methods of linear algebra to the topics of elementary (high school level) geometry. Distance is replaced with its squared value (quadrance) and 'angle' is replaced with the squared value of the usual sine ratio (spread) associated to either angle between two lines. (Spread also corresponds to a scaled form of the inner product between the lines taken as vectors). The three main laws in trigonometry: Pythagoras's theorem, the sine law and the cosine law, given in rational (square-equivalent) form, are augmented by two further laws: the triple quad formula (relating the quadrances of three collinear points) and the triple spread formula (relating the spreads of three concurrent lines), giving the five main laws of the subject.

Rational trigonometry is otherwise broadly based on Cartesian analytic geometry, with a point defined as an ordered pair of rational numbers and a line as a general linear equation with rational coefficients and .

By avoiding calculations that rely on square root operations giving only approximate distances between points, or standard trigonometric functions (and their inverses), giving only truncated polynomial approximations of angles (or their projections) geometry becomes entirely algebraic. There is no assumption, in other words, of the existence of real number solutions to problems, with results instead given over the field of rational numbers, their algebraic field extensions, or finite fields. Following this, it is claimed, makes many classical results of Euclidean geometry applicable in rational form (as quadratic analogs) over any field not of characteristic two.

The book Divine Proportions shows the application of calculus using rational trigonometric functions, including three-dimensional volume calculations. It also deals with rational trigonometry's application to situations involving irrationals, such as the proof that Platonic Solids all have rational 'spreads' between their faces.[nb 2]

Quadrance and distance (as its square root) both measure separation of points in Euclidean space. Following Pythagoras's theorem, the quadrance of two points and in a plane is therefore defined as the sum of squares of differences in the and coordinates: Unlike vector addition of distances with line segments, adding the quadrances of two vectors to obtain their combined magnitude always entails finding a third leg of the associated triangle they form, including collinear segments as a special case of degenerate triangle where the same calculation made with distance-vectors simplifies to addition. In effect, the triangle inequality: is modified under rational trigonometry to a symmetric form: equivalent to Pythagoras's theorem. Suppose  1 and  2 intersect at the point A. Let C be the foot of the perpendicular from B to  2. Then the spread is s = Q/R.

Spread gives one measure to the separation of two lines as a single dimensionless number in the range (from parallel to perpendicular) for Euclidean geometry. It replaces the concept of angle but has several differences from angle, discussed in the section below. Spread can have several interpretations.

• Trigonometric (most elementary): it is the sine-ratio for the quadrances in a right triangle and therefore equivalent to the square of the sine of the angle.
• Vector: as a rational function of the relative directions (practically, the slopes) of a pair of lines where they meet.
• Cartesian: as a rational function of the three co-ordinates used to ascribe the two vectors.
• Linear algebra (from the dot product) a normalized rational function: the square of the determinant of two vectors (or pair of intersecting lines) divided by the product of their quadrances.

#### Trigonometric

Suppose two lines,  1 and  2, intersect at the point A as shown at right. Choose a point B  A on  1 and let C be the foot of the perpendicular from B to  2. Then the spread s is #### Vector/slope (two-variable)

Like angle, spread depends only on the relative slopes of two lines (constant terms being eliminated) and is invariant under translation (i.e. it is preserved when lines are moved keeping parallel with themselves). So given two lines whose equations are and we may rewrite them as two lines which meet at the origin with equations and In this position the point satisfies the first equation and satisfies the second and the three points and forming the spread will give three quadrances:   The cross law – see below – in terms of spread is: which becomes: This simplifies, in the numerator, to: giving: (Note 1 - s is the expression for the Cross, the square of the cosine of either angle between a pair of lines or vectors, that gives its name to the Cross Law.)

Then, using the important identity due to Fibonacci: the standard expression for spread in terms of slopes (or directions) of two lines becomes: In this form (and in its Cartesian equivalent that follows) a spread is the ratio of the square of a determinant of two vectors (numerator) to the product of their quadrances (denominator)

#### Cartesian (three-variable)

This replaces with with and the origin (as the point of intersection of two lines) with in the previous result:  The spread of two lines can be measured in four equivalent positions.

Unlike angle, which can define a relationship between rays emanating from a point, by a circular measure parametrization, and where a pair of lines can be considered four pairs of rays, forming four angles, 'spread' is more fundamental in rational trigonometry, describing two lines by a single measure of a rational function (see above). Being equivalent to the square of a sine of the corresponding angle θ (and to the haversine of the chord-based double-angle Δ = 2θ), the spread of both an angle and its supplementary angle are equal.

sin2(θ) Turn Radian Degree Gon Unit
0 0 turn 0 rad 0g
1/4 1/12 turn π/6 rad 30° 33 13g
1/2 1/8 turn π/4 rad 45° 50g
3/4 1/6 turn π/3 rad 60° 66 23g
1 1/4 turn π/2 rad 90° 100g orthogonal lines
3/4 1/3 turn 2π/3 rad 120° 133 13g
1/2 3/8 turn 3π/4 rad 135° 150g
1/4 5/12 turn 5π/6 rad 150° 166 23g
0 1/2 turn π rad 180° 200g

Spread is not proportional, however, to the separation between lines as angle would be; with spreads of 0, 1/4, 1/2, 3/4, and 1 corresponding to unevenly spaced angles 0, 30, 45, 60 and 90 degrees.

Instead, (recalling the supplementary property) two equal, co-terminal spreads determine a third spread, whose value will be a solution of the triple spread formula for a triangle (or three concurrent lines) with spreads of and :  giving the quadratic polynomial (in ):  and solutions (trivial) or This is equivalent to the trigonometric identity : of the angles and of a triangle, using to denote a second spread polynomial in .

Tripling spreads likewise involves a triangle (or three concurrent lines) with one spread of (the previous solution), one spread of and obtaining a third spread polynomial, in . This turns out to be: Further multiples of any basic spread of lines can be generated by continuing this process using the triple spread formula.

Every multiple of a spread which is rational will thus be rational, but the converse does not apply. For example, by the half-angle formula, two lines meeting at a 15° (or 165°) angle have spread of: and thus exists by algebraic extension of the rational numbers.

### Twist

As seen for double and triple spreads, an nth multiple of any spread, gives a polynomial in that spread, denoted , as one solution to the triple spread formula.

In the conventional language of circular functions, these nth-degree spread polynomials, for n = 0, 1, 2, ..., can be characterized by the identity: ### Identities

#### Explicit formulas (Michael Hirschhorn, Shuxiang Goh) (M. Hovdan) (M. Hovdan)

From the definition it immediately follows that #### Recursion formula #### Relation to Chebyshev polynomials

The spread polynomials are related to the Chebyshev polynomials of the first kind, Tn by the identity This implies The second equality above follows from the identity on Chebyshev polynomials.

#### Composition

The spread polynomials satisfy the composition identity #### Coefficients in finite fields

When the coefficients are taken to be members of the finite field Fp, then the sequence { Sn }n = 0, 1, 2, ... of spread polynomials is periodic with period (p2  1)/2. In other words, if k = (p2  1)/2, then Sn + k = Sn, for all n.

#### Orthogonality

When the coefficients are taken to be real, then for n  m, we have For n = m, the integral is π/8 unless n = m = 0, in which case it is π/4.

#### Generating functions

The ordinary generating function is (Michael Hirschhorn)

The exponential generating function is #### Differential equation

Sn(s) satisfies the second order linear non-homogeneous differential equation For every integer n and every prime p, there is a natural number m such that Sn(s) is divisible by p precisely when m divides n. This number m is a divisor of either p  1 or p + 1. The proof of this number theoretical property was first given in a paper by Shuxiang Goh and N. J. Wildberger. It involves considering the projective analogue to quadrance in the finite projective line P1(Fp).

### Table of spread polynomials, with factorizations

The first several spread polynomials are as follows: ## Laws of rational trigonometry

Wildberger states that there are five basic laws in rational trigonometry. He also states that these laws can be verified using high-school level mathematics. Some are equivalent to standard trigonometrical formulae with the variables expressed as quadrance and spread.

In the following five formulas, we have a triangle made of three points A1, A2, A3, . The spreads of the angles at those points are s1, s2, s3, , and Q1, Q2, Q3, are the quadrances of the triangle sides opposite A1, A2, and A3, respectively. As in classical trigonometry, if we know three of the six elements s1, s2, s3, , Q1, Q2, Q3, and these three are not the three s, then we can compute the other three.

The three points A1, A2, A3 are collinear if and only if: where Q1, Q2 and Q3 represent the quadrances between A1, A2 and A3 respectively. It can either be proved by analytic geometry (the preferred means within rational trigonometry) or derived from Heron's formula, using the condition for collinearity that the triangle formed by the three points has zero area.

### Pythagoras's theorem

The lines A1A3 (of quadrance Q1) and A2A3 (of quadrance Q2) are perpendicular (their spread is 1) if and only if: where Q3 is the quadrance between A1 and A2.

This is equivalent to the Pythagorean theorem (and its converse).

There are many classical proofs of Pythagoras's theorem; this one is framed in the terms of rational trigonometry.

The spread of an angle is the square of its sine. Given the triangle ABC with a spread of 1 between sides AB and AC, where Q is the "quadrance", i.e. the square of the distance.

For any triangle with nonzero quadrances: This is the law of sines, just squared.

### Cross law

For any triangle , This is analogous to the law of cosines. It is called 'cross law' because , the square of the cosine of the angle, is called the 'cross'.

For any triangle  This relation can be derived from the formula for the sine of a compound angle: in a triangle (whose three angles sum to 180°) we have, .

Equivalently, it describes the relationship between the spreads of three concurrent lines, as spread (like angle) is unaffected when the sides of a triangle are moved parallel to themselves to meet in a common point.

Knowing two spreads allows the third to be calculated by solving the associated quadratic formula but, since two solutions are possible, further triangle spread rules must be used to select the appropriate one. (The relative complexity of this process contrasts with the much simpler method of obtaining a supplementary angle of two others.)

## Trigonometry over arbitrary fields

As the laws of rational trigonometry give algebraic (and not transcendental) relations, they apply in generality to algebraic number fields beyond the rational numbers. Specifically, any finite field which does not have characteristic 2 reproduces a form of these laws, and thus a finite field geometry. The 'plane' formed by a finite field is the cartesian product of all ordered pairs of field elements, with opposite edges identified forming the surface of a discrete torus. Individual elements correspond to standard 'points' whereas 'lines' are sets of no more than points related by incidence (an initial point) plus direction or slope given in lowest terms (say all points '2 over and 1 up') that 'wrap' the plane before repeating.

### Example: (verify the spread law in F13)

The figure (right) shows a triangle of three such lines in the finite field setting F13 × F13:

Each line has its own symbol and the intersections of lines (vertices) is marked by two symbols present at points: A Triangle through the points (2, 8), (9, 9), and (10, 0) of the finite field-plane F13 × F13.
(2, 8), (9, 9) and (10, 0).

Using Pythagoras's theorem with arithmetic modulo 13, we find these sides have quadrances of:

(9 − 2)2 + (9 − 8)2 = 50 11 mod 13
(9 − 10)2 + (9 − 0)2 = 82 4 mod 13
(10 − 2)2 + (0 − 8)2 = 128 11 mod 13

Rearranging the Cross law as gives separate expressions for each spread, in terms of the three quadrances:

1 − (4 + 11 − 11)2/4 (4)(11) = 1 − 3/7 8 mod 13
1 − (11 + 11 − 4)2/4(11)(11) = 1 −12/3 10 mod 13
1 − (4 + 11 − 11)2/4 (4)(11) = 1 − 3/7 8 mod 13

In turn we note these ratios are all equal – as per the Spread law (at least in mod 13):

8/11 : 10/4 : 8/11

Since first and last ratios match (making the triangle isosceles) we just cross multiply, and take differences, to show equality with the middle ratio also:

(11)(10) − (8)(4) 78 (0 mod 13)

Otherwise, the standard Euclidean plane is taken to consist of just rational points, , omitting any non-algebraic numbers as solutions. Properties like incidence of objects, representing the solutions or 'content' of geometric theorems, therefore follow a number theoretic approach that differs and is more restrictive than one allowing real numbers. For instance, not all lines passing through a circle's centre are considered to meet the circle at its circumference. To be incident such lines must be of the form: and necessarily meet the circle in a rational point.

## Computation – complexity and efficiency

Rational trigonometry makes nearly all problems solvable with only addition, subtraction, multiplication or division, as trigonometric functions (of angle) are purposively avoided in favour of trigonometric ratios in quadratic form. At most, therefore, results required as distance (or angle) can be approximated from an exact-valued rational equivalent of quadrance (or spread) after these simpler operations have been carried out. To make use of this advantage however, each problem must either be given, or set up, in terms of prior quadrances and spreads, which entails additional work.

The laws of rational trigonometry, being algebraic and 'exact-valued', introduce subtleties into the solutions of problems, such as the non-additivity of quadrances of collinear points (in the case of the triple quad formula) or the spreads of concurrent lines (in the case of the triple spread formula) absent from the classical subject, where linearity is incorporated into distance and circular measure of angles, albeit 'transcendental' techniques, necessitating approximation in results.

## Notability and criticism

Rational trigonometry is mentioned in only a modest number of mathematical publications, besides Wildberger's own articles and book. Divine Proportions was dismissed by reviewer Paul J. Campbell, writing in the Mathematics Magazine of the Mathematical Association of America (MAA): "the author claims that this new theory will take 'less than half the usual time to learn'; but I doubt it. and it would still have to be interfaced with the traditional concepts and notation." Reviewer William Barker, the Isaac Henry Wing Professor of Mathematics at Bowdoin College, also writing for the MAA, was more approving: "Divine Proportions is unquestionably a valuable addition to the mathematics literature. It carefully develops a thought provoking, clever, and useful alternate approach to trigonometry and Euclidean geometry. It would not be surprising if some of its methods ultimately seep into the standard development of these subjects. However, unless there is an unexpected shift in the accepted views of the foundations of mathematics, there is not a strong case for rational trigonometry to replace the classical theory"  New Scientist's Amanda Gefter described the approach of Wildberger as an example of finitism. James Franklin in the Mathematical Intelligencer argued that the book deserved careful consideration.

An analysis by Michael Gilsdorf of the same example trigonometric problems used by the author in an earlier paper, found one of the claims (that rational trigonometry takes fewer steps to solve most problems compared to classical methods) may not be true, if free selection of classical methods is available for optimal solution of a given problem; like using the cross product formula for the area of a triangle from the coordinates of its vertices, or applying Stewart's theorem directly to (and in the special case of) the median of a triangle. Concerning pedagogy, and whether the quadratic measures introduced by rational trigonometry offered real benefits over traditional teaching and learning of the subject, the analysis made further observations that classical trigonometry was not based on the use of Taylor series to approximate angles, but rather on measurements of chord (twice the sine of an angle), so with a proper understanding students could reap advantages from continued use of linear measurement without the claimed logical inconsistencies when circular parametrization of angles is subsequently introduced.

## Notes

1. For Wildberger's views on the history of infinity, see the Gefter New Scientist article, but also see Wildberger's History of Mathematics and Math Foundations lectures, University of New South Wales, circa 2009–2014 in more than 120 videos and lectures, available online @youtube
2. See Divine Proportions for numerous examples of calculus done with rational trigonometric functions, as well as problems involving the application of rational trigonometry to situations containing irrationals.

## References

1. Wildberger, Norman John (2005). Divine Proportions: Rational Trigonometry to Universal Geometry (1 ed.). Australia: Wild Egg Pty Ltd. ISBN 0-9757492-0-X. Retrieved 2015-12-01.
2. "Infinity's end: Time to ditch the never-ending story?" by Amanda Gefter, New Scientist, 15 August 2013
3. Wildberger, Norman J. (2007). "A Rational Approach to Trigonometry". Math Horizons. Washington, DC: Mathematical Association of America. November 2007: 16–20. ISSN 1072-4117.
4. Shuxiang Goh, N. J. Wildberger (November 5, 2009). "Spread polynomials, rotations and the butterfly effect". arXiv:0911.1025 .
5. Le Anh Vinh, Dang Phuong Dung (July 17, 2008). "Explicit tough Ramsey graphs". arXiv:0807.2692 ., page 1. Another version of this article is at Le Anh Vinh, Dang Phuong Dung (2008), "Explicit tough Ramsey Graphs", Proceedings of International Conference on Relations, Orders and Graphs: Interaction with Computer Science 2008, Nouha Editions, 139–146.
6. Olga Kosheleva (2008), "Rational trigonometry: computational viewpoint", Geombinatorics, Vol. 1, No. 1, pp. 18–25.
7. http://www.maa.org/publications/maa-reviews/divine-proportions-rational-trigonometry-to-universal-geometry
8. J. Franklin, Review of Divine Proportions, Mathematical Intelligencer 28 (3) (2006), 73-4.
9. http://web.maths.unsw.edu.au/~norman/papers/TrigComparison.pdf