maths.free › Number Theory › Divisibility › Number theory
Number theory
Number theory is a branch of mathematics devoted primarily to the study of the integers and arithmetic functions.
Number theory
Number theory is a branch of mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example, rational numbers), or defined as generalizations of the integers (for example, algebraic integers).
Integers can be considered either in themselves or as solutions to equations (Diophantine geometry). Questions in number theory can often be understood through the study of analytical objects, such as the Riemann zeta function, that encode properties of the integers, primes or other number-theoretic objects in some fashion (analytic number theory). One may also study real numbers in relation to rational numbers, as for instance how irrational numbers can be approximated by fractions (Diophantine approximation).
Number theory is one of the oldest branches of mathematics alongside geometry. One quirk of number theory is that it deals with statements that are simple to understand but are very difficult to solve. Examples of this are Fermat's Last Theorem, which was proved 358 years after the original formulation, and Goldbach's conjecture, which remains unsolved since the 18th century. German mathematician Carl Friedrich Gauss (1777-1855) once remarked, "Mathematics is the queen of the sciences, and number theory is the queen of mathematics." It was regarded as the epitome of pure mathematics, with no applications outside mathematics, until the 1970s, when prime numbers became the basis for the creation of public-key cryptography algorithms, such as the RSA cryptosystem.
Definition
Number theory is the branch of mathematics that studies integers and their properties and relations. The integers comprise a set that extends the set of natural numbers \(\{1, 2, 3, \dots\}\) to include number \(0\) and the negation of natural numbers \(\{-1, -2, -3, \dots\}\). Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example, rational numbers), or defined as generalizations of the integers (for example, algebraic integers).
Number theory is closely related to arithmetic and some authors use the terms as synonyms. However, the word "arithmetic" is used today to mean the study of numerical operations and extends to the real numbers. In a more specific sense, number theory is restricted to the study of integers and focuses on their properties and relationships. Traditionally, it is known as higher arithmetic. By the early twentieth century, the term number theory had been widely adopted. The term number means whole numbers, which refers to either the natural numbers or the integers.
Elementary number theory studies aspects of integers that can be investigated using elementary methods such as elementary proofs. Analytic number theory, by contrast, relies on complex numbers and techniques from analysis and calculus. Algebraic number theory employs algebraic structures such as fields and rings to analyze the properties of and relations between numbers. Geometric number theory uses concepts from geometry to study numbers. Further branches of number theory are probabilistic number theory, combinatorial number theory, computational number theory, and applied number theory, which examines the application of number theory to science and technology.
History
In recorded history, knowledge of numbers existed in the ancient civilisations of Mesopotamia, Egypt, China, and India. The earliest historical find of an arithmetical nature is the Plimpton 322, dated c. 1800 BC. It is a broken clay tablet that contains a list of Pythagorean triples, that is, integers \((a,b,c)\) such that \(a^2+b^2=c^2\). The triples are too numerous and too large to have been obtained by brute force. The table's layout suggests that it was constructed by means of what amounts, in modern language, to the identity\[\left(\frac{1}{2} \left(x - \frac{1}{x}\right)\right)^2 + 1 = \left(\frac{1}{2} \left(x + \frac{1}{x} \right)\right)^2,\]which is implicit in routine Old Babylonian exercises. It has been suggested instead that the table was a source of numerical examples for school problems. Plimpton 322 tablet is the only surviving evidence of what today would be called number theory within Babylonian mathematics, though a kind of Babylonian algebra was much more developed.
Although other civilizations probably influenced Greek mathematics at the beginning, all evidence of such borrowings appear relatively late, and it is likely that Greek arithmētikḗ, the theoretical or philosophical study of numbers, is an indigenous tradition. Ancient Greek mathematicians conventionally separated numbers (mostly positive integers but occasionally rationals) from magnitudes or lengths, with only the former being the subject of arithmetic.
A keen interest in divisibility is found in early Greek arithmetic. Pythagoreans often attributed mystical qualities to perfect and amicable numbers, and dedicated time to the study polygonal or figurate numbers. Later, Euclid devoted part of his Elements to topics that belong to elementary number theory, including prime numbers and divisibility. He gave the Euclidean algorithm for computing the greatest common divisor of two numbers and a proof implying the infinitude of primes. Building on the works of the earlier Pythagoreans, Nicomachus of Gerasa wrote an Introduction to Arithmetic that was to be influential in later centuries, while Theon of Smyrna's Mathematics Useful For Understanding Plato discusses the idea of congruences. The most important late antique author was arguably Diophantus of Alexandria, who probably lived in the 3rd century AD. He wrote the Arithmetica, a collection of worked-out problems where the task is invariably to find rational solutions to a system of polynomial equations, usually of the form \(f(x,y)=z^2\) or \(f(x,y,z)=w^2\). In modern parlance, Diophantine equations are polynomial equations to which rational or integer solutions are sought.
French mathematician Pierre de Fermat (1607-1665) never published his writings but communicated through correspondence and wrote in marginal notes instead. His contributions to number theory brought renewed interest in the field in Europe. He conjectured Fermat's little theorem, a basic result in modular arithmetic, and Fermat's Last Theorem, as well as proved Fermat's right triangle theorem. He also studied prime numbers, the four-square theorem, and Pell's equations.
Condensed: the full section is in Wikipedia.
Elementary number theory
Elementary number theory deals with the topics in number theory by means of basic methods in arithmetic. Its primary subjects of study are divisibility, factorization, and primality, as well as congruences in modular arithmetic. Other topics in elementary number theory include Diophantine equations, continued fractions, integer partitions, and Diophantine approximations.
Arithmetic is the study of numerical operations and investigates how numbers are combined and transformed using the arithmetic operations of addition, subtraction, multiplication, division, exponentiation, extraction of roots, and logarithms. Multiplication, for instance, is an operation that combines two numbers, referred to as factors, to form a single number, termed the product, such as \(2 \times 3 = 6\).
Divisibility is a property between two nonzero integers related to division. An integer \(a\) is said to be divisible by a nonzero integer \(b\) if \(a\) is a multiple of \(b\); that is, if there exists an integer \(q\) such that \(a = bq\). An equivalent formulation is that \(b\) divides \(a\) and is denoted by a vertical bar, which in this case is \(b | a\). Conversely, if this were not the case, then \(a\) would not be divided evenly by \(b\), resulting in a remainder. Euclid's division lemma asserts that \(a\) and \(b\) can generally be written as \(a = bq + r\), where the remainder \(r\) accounts for the smallest positive leftover quantity. Elementary number theory studies divisibility rules in order to quickly identify if a given integer is divisible by a fixed divisor. For instance, it is known that any integer is divisible by 3 if its decimal digit sum is divisible by 3.
A common divisor of several nonzero integers is an integer that divides all of them. The greatest common divisor (gcd) is the largest of such divisors. Two integers are said to be coprime or relatively prime to one another if their greatest common divisor, and simultaneously their only divisor, is \(1\). The Euclidean algorithm computes the greatest common divisor of two integers \(a,b\) by means of repeatedly applying the division lemma and shifting the divisor and remainder after every step. The algorithm can be extended to solve a special case of linear Diophantine equations \(ax + by = 1\). A Diophantine equation has several unknowns and integer coefficients. Another kind of Diophantine equation is described in the Pythagorean theorem, \(x^2 + y^2 = z^2\), whose solutions are called Pythagorean triples if they are all integers. Another kind of expression is the continued fraction, which writes a sum of an integer and a fraction whose denominator is another such sum.
Condensed: the full section is in Wikipedia.
Analytic number theory
Analytic number theory, in contrast to elementary number theory, relies on complex numbers and techniques from analysis and calculus. Analytic number theory may be defined
- in terms of its tools, as the study of the integers by means of tools from real and complex analysis; or
- in terms of its concerns, as the study within number theory of estimates on the size and density of certain numbers (e.g., primes), as opposed to identities.
It studies the distribution of primes, behavior of number-theoretic functions, and irrational numbers.
Number theory has the reputation of being a field many of whose results can be stated to the layperson. At the same time, many of the proofs of these results are not particularly accessible, in part because the range of tools they use is, if anything, unusually broad within mathematics. The following are examples of problems in analytic number theory: the prime number theorem, the Goldbach conjecture, the twin prime conjecture, the Hardy-Littlewood conjectures, the Waring problem and the Riemann hypothesis. Some of the most important tools of analytic number theory are the circle method, sieve methods and L-functions (or, rather, the study of their properties). The theory of modular forms (and, more generally, automorphic forms) also occupies an increasingly central place in the toolbox of analytic number theory.
Analysis is the branch of mathematics that studies the limit, defined as the value to which a sequence or function tends as the argument (or index) approaches a specific value. For example, the limit of the sequence \(0.9, 0.99, 0.999, ...\) is \(1\). In the context of functions, the limit of \(\frac1x\) as \(x\) approaches infinity is \(0\). The complex numbers extend the real numbers with the imaginary unit \(i\) defined as the solution to \(i^2 = -1\). Every complex number can be expressed as \(x + iy\), where \(x\) is called the real part and \(y\) is called the imaginary part.
The distribution of primes, described by the function \(\pi\) that counts all primes up to a given real number, is unpredictable and is a major subject of study in number theory. Elementary formulas for a partial sequence of primes, including Euler's prime-generating polynomials have been developed. However, these cease to function as the primes become too large. The prime number theorem in analytic number theory provides a formalisation of the notion that prime numbers appear less commonly as their numerical value increases. One distribution states, informally, that the function \(\frac{x}{\log(x)}\) approximates \(\pi(x)\). Another distribution involves an offset logarithmic integral which converges to \(\pi(x)\) more quickly.
The zeta function has been demonstrated to be connected to the distribution of primes. It is defined as the series\[\zeta(s) = \sum_{n=1}^\infty \frac{1}{n^s} = \frac{1}{1^s} + \frac{1}{2^s} + \frac{1}{3^s} + \cdots\]that converges if \(s\) is greater than \(1\). Euler demonstrated a link involving the infinite product over all prime numbers, expressed as the identity \[\zeta(s) = \prod_{p \text{ prime}} \left(1 - \frac{1}{p^{s}}\right)^{-1}.\]Riemann extended the definition to a complex variable and conjectured that all nontrivial cases (\(0 < \Re(s) < 1\)) where the function returns a zero are those in which the real part of \(s\) is equal to \(\frac12\). He established a connection between the nontrivial zeroes and the prime-counting function. In what is now recognised as the unsolved Riemann hypothesis, a solution to it would imply direct consequences for understanding the distribution of primes.
Condensed: the full section is in Wikipedia.
Algebraic number theory
An algebraic number is any complex number that is a solution to some polynomial equation \(f(x)=0\) with rational coefficients; for example, every solution \(x\) of \(x^5 + (11/2) x^3 - 7 x^2 + 9 = 0\) is an algebraic number. Fields of algebraic numbers are also called algebraic number fields, or shortly number fields. Algebraic number theory studies algebraic number fields.
It could be argued that the simplest kind of number fields, namely quadratic fields, were already studied by Gauss, as the discussion of quadratic forms in Disquisitiones Arithmeticae can be restated in terms of ideals and norms in quadratic fields. (A quadratic field consists of all numbers of the form \(a + b \sqrt{d}\), where \(a\) and \(b\) are rational numbers and \(d\) is a fixed rational number whose square root is not rational.) For that matter, the eleventh-century chakravala method amounts, in modern terms, to an algorithm for finding the units of a real quadratic number field. However, neither Bhāskara nor Gauss knew of number fields as such.
The grounds of the subject were set in the late nineteenth century, when ideal numbers, the theory of ideals and valuation theory were introduced; these are three complementary ways of dealing with the lack of unique factorization in algebraic number fields. (For example, in the field generated by the rationals and \(\sqrt{-5}\), the number \(6\) can be factorised both as \(6 = 2 \cdot 3\) and \(6 = (1 + \sqrt{-5}) ( 1 - \sqrt{-5})\); all of \(2\), \(3\), \(1 + \sqrt{-5}\) and \(1 - \sqrt{-5}\) are irreducible, and thus, in a naïve sense, analogous to primes among the integers.) The initial impetus for the development of ideal numbers (by Kummer) seems to have come from the study of higher reciprocity laws, that is, generalizations of quadratic reciprocity.
Number fields are often studied as extensions of smaller number fields: a field L is said to be an extension of a field K if L contains K. (For example, the complex numbers C are an extension of the reals R, and the reals R are an extension of the rationals Q.) Classifying the possible extensions of a given number field is a difficult and partially open problem. Abelian extensions, that is, extensions L of K such that the Galois group Gal(L/K) of L over K is an abelian group, are relatively well understood. Their classification was the object of the programme of class field theory, which was initiated in the late nineteenth century (partly by Kronecker and Eisenstein) and carried out largely in 1900-1950.
An example of an active area of research in algebraic number theory is Iwasawa theory. The Langlands program, one of the main current large-scale research plans in mathematics, is sometimes described as an attempt to generalise class field theory to non-abelian extensions of number fields.
Diophantine geometry
The central problem of Diophantine geometry is to determine when a Diophantine equation has integer or rational solutions, and if it does, how many. The approach taken is to think of the solutions of an equation as a geometric object.
For example, an equation in two variables defines a curve in the plane. More generally, an equation or system of equations in two or more variables defines a curve, a surface, or some other such object in n-dimensional space. In Diophantine geometry, one asks whether there are any rational points (points all of whose coordinates are rationals) or integral points (points all of whose coordinates are integers) on the curve or surface. If there are any such points, the next step is to ask how many there are and how they are distributed. A basic question in this direction is whether there are finitely or infinitely many rational points on a given curve or surface.
Consider, for instance, the Pythagorean equation \(x^2+y^2 = 1\). One would like to know its rational solutions, namely \((x,y)\) such that x and y are both rational. This is the same as asking for all integer solutions to \(a^2 + b^2 = c^2\); any solution to the latter equation gives us a solution \(x = a/c\), \(y = b/c\) to the former. It is also the same as asking for all points with rational coordinates on the curve described by \(x^2 + y^2 = 1\) (a circle of radius 1 centered on the origin).
The rephrasing of questions on equations in terms of points on curves is felicitous. The finiteness or not of the number of rational or integer points on an algebraic curve (that is, rational or integer solutions to an equation \(f(x,y)=0\), where \(f\) is a polynomial in two variables) depends crucially on the genus of the curve. A major achievement of this approach is Wiles's proof of Fermat's Last Theorem, for which other geometrical notions are just as crucial.
There is also the closely linked area of Diophantine approximations: given a number \(x\), determine how well it can be approximated by rational numbers. One seeks approximations that are good relative to the amount of space required to write the rational number: call \(a/q\) (with \(\gcd(a,q)=1\)) a good approximation to \(x\) if \(|x-a/q|<\frac{1}{q^c}\), where \(c\) is large. This question is of special interest if \(x\) is an algebraic number. If \(x\) cannot be approximated well, then some equations do not have integer or rational solutions. Moreover, several concepts (especially that of height) are critical both in Diophantine geometry and in the study of Diophantine approximations. This question is also of special interest in transcendental number theory: if a number can be approximated better than any algebraic number, then it is a transcendental number. It is by this argument that π and e have been shown to be transcendental.
Diophantine geometry should not be confused with the geometry of numbers, which is a collection of graphical methods for answering certain questions in algebraic number theory. Arithmetic geometry is a contemporary term for the same domain covered by Diophantine geometry, particularly when one wishes to emphasize the connections to modern algebraic geometry (for example, in Faltings' theorem) rather than to techniques in Diophantine approximations.
Other subfields
Probabilistic number theory starts with questions such as the following: Take an integer n at random between one and a million. How likely is it to be prime? (this is just another way of asking how many primes there are between one and a million). How many prime divisors will n have on average? What is the probability that it will have many more or many fewer divisors or prime divisors than the average?
Combinatorics in number theory starts with questions like the following: Does a fairly "thick" infinite set \(A\) contain many elements in arithmetic progression: \(a\),
\(a+b, a+2 b, a+3 b, \ldots, a+10b\)? Should it be possible to write large integers as sums of elements of \(A\)?
There are two main questions: "Can this be computed?" and "Can it be computed rapidly?" Anyone can test whether a number is prime or, if it is not, split it into prime factors; doing so rapidly is another matter. Fast algorithms for testing primality are now known, but, in spite of much work (both theoretical and practical), no truly fast algorithm for factoring.
Applications
For a long time, number theory in general, and the study of prime numbers in particular, was seen as the canonical example of pure mathematics, with no applications outside of mathematics other than the use of prime numbered gear teeth to distribute wear evenly. In particular, number theorists such as British mathematician G. H. Hardy prided themselves on doing work that had absolutely no military significance. The number-theorist Leonard Dickson (1874-1954) said "Thank God that number theory is unsullied by any application". Such a view is no longer applicable to number theory.
This vision of the purity of number theory was shattered in the 1970s, when it was publicly announced that prime numbers could be used as the basis for the creation of public-key cryptography algorithms. Schemes such as RSA are based on the difficulty of factoring large composite numbers into their prime factors. These applications have led to significant study of algorithms for computing with prime numbers, and in particular of primality testing, methods for determining whether a given number is prime. Prime numbers are also used in computing for checksums, hash tables, and pseudorandom number generators.
In 1974, Donald Knuth said "virtually every theorem in elementary number theory arises in a natural, motivated way in connection with the problem of making computers do high-speed numerical calculations". Elementary number theory is taught in discrete mathematics courses for computer scientists. It also has applications to the continuous in numerical analysis.
Number theory has now several modern applications spanning diverse areas such as:
- Computer science: The fast Fourier transform (FFT) algorithm, which is used to efficiently compute the discrete Fourier transform, has important applications in signal processing and data analysis.
- Physics: The Riemann hypothesis has connections to the distribution of prime numbers and has been studied for its potential implications in physics.
- Error correction codes: The theory of finite fields and algebraic geometry have been used to construct efficient error-correcting codes.
- Study of musical scales: the concept of "equal temperament", which is the basis for most modern Western music, involves dividing the octave into 12 equal parts. This has been studied using number theory and in particular the properties of the 12th root of 2.
Now you No calculator settles this one, but the pieces of it are computable. Try one below, or type your own.
Symbols used here
Tap any symbol for the full definition, a picture, and what every letter in it means.
Questions people ask
Why are primes so important?
Every integer factors into primes in exactly one way, so primes are the atoms of multiplication. Cryptography relies on that factoring being easy to state and hard to do.
How do I tell whether a big number is prime?
Trial division up to the square root works for small numbers. For large ones, probabilistic tests (Miller-Rabin) give an answer that is wrong with negligible probability, and deterministic tests (AKS) exist but are slower.
Parts of this page are adapted from Wikipedia (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.
More in Number Theory
Prime factorisationPrime numbersGCD and LCMModular arithmeticDivisorsSequencesNumber basesDiophantine equationsFermat's little theorem and Euler's theoremRSA: cryptography from number theory