A complex number is a number that can be expressed in the form a + bi, where a and b are real numbers, i is a solution of the equation x2 = −1. Because no real number satisfies this equation, i is called an imaginary number. For the complex number a + bi, a is called the real part, b is called the imaginary part. Despite the historical nomenclature "imaginary", complex numbers are regarded in the mathematical sciences as just as "real" as the real numbers, are fundamental in many aspects of the scientific description of the natural world. Complex numbers allow solutions to certain equations. For example, the equation 2 = − 9 has no real solution, since the square of a real number cannot be negative. Complex numbers provide a solution to this problem; the idea is to extend the real numbers with an indeterminate i, taken to satisfy the relation i2 = −1, so that solutions to equations like the preceding one can be found. In this case the solutions are −1 + 3i and −1 − 3i, as can be verified using the fact that i2 = −1: 2 = 2 = = 9 = − 9, 2 = 2 = 2 = 9 = − 9.
According to the fundamental theorem of algebra, all polynomial equations with real or complex coefficients in a single variable have a solution in complex numbers. In contrast, some polynomial equations with real coefficients have no solution in real numbers; the 16th century Italian mathematician Gerolamo Cardano is credited with introducing complex numbers in his attempts to find solutions to cubic equations. Formally, the complex number system can be defined as the algebraic extension of the ordinary real numbers by an imaginary number i; this means that complex numbers can be added and multiplied, as polynomials in the variable i, with the rule i2 = −1 imposed. Furthermore, complex numbers can be divided by nonzero complex numbers. Overall, the complex number system is a field. Geometrically, complex numbers extend the concept of the one-dimensional number line to the two-dimensional complex plane by using the horizontal axis for the real part and the vertical axis for the imaginary part.
The complex number a + bi can be identified with the point in the complex plane. A complex number whose real part is zero is said to be purely imaginary. A complex number whose imaginary part is zero can be viewed as a real number. Complex numbers can be represented in polar form, which associates each complex number with its distance from the origin and with a particular angle known as the argument of this complex number; the geometric identification of the complex numbers with the complex plane, a Euclidean plane, makes their structure as a real 2-dimensional vector space evident. Real and imaginary parts of a complex number may be taken as components of a vector with respect to the canonical standard basis; the addition of complex numbers is thus depicted as the usual component-wise addition of vectors. However, the complex numbers allow for a richer algebraic structure, comprising additional operations, that are not available in a vector space. Based on the concept of real numbers, a complex number is a number of the form a + bi, where a and b are real numbers and i is an indeterminate satisfying i2 = −1.
For example, 2 + 3i is a complex number. This way, a complex number is defined as a polynomial with real coefficients in the single indeterminate i, for which the relation i2 + 1 = 0 is imposed. Based on this definition, complex numbers can be added and multiplied, using the addition and multiplication for polynomials; the relation i2 + 1 = 0 induces the equalities i4k = 1, i4k+1 = i, i4k+2 = −1, i4k+3 = −i, which hold for all integers k. The real number a is called the real part of the complex number a + bi. To emphasize, the imaginary part does not include a factor i and b, not bi, is the imaginary part. Formally, the complex numbers are defined as the quotient ring of the polynomia
A prime number is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers. A natural number greater than 1, not prime is called a composite number. For example, 5 is prime because the only ways of writing it as a product, 1 × 5 or 5 × 1, involve 5 itself. However, 6 is composite because it is the product of two numbers that are both smaller than 6. Primes are central in number theory because of the fundamental theorem of arithmetic: every natural number greater than 1 is either a prime itself or can be factorized as a product of primes, unique up to their order; the property of being prime is called primality. A simple but slow method of checking the primality of a given number n, called trial division, tests whether n is a multiple of any integer between 2 and n. Faster algorithms include the Miller–Rabin primality test, fast but has a small chance of error, the AKS primality test, which always produces the correct answer in polynomial time but is too slow to be practical.
Fast methods are available for numbers of special forms, such as Mersenne numbers. As of December 2018 the largest known prime number has 24,862,048 decimal digits. There are infinitely many primes, as demonstrated by Euclid around 300 BC. No known simple formula separates prime numbers from composite numbers. However, the distribution of primes within the natural numbers in the large can be statistically modelled; the first result in that direction is the prime number theorem, proven at the end of the 19th century, which says that the probability of a randomly chosen number being prime is inversely proportional to its number of digits, that is, to its logarithm. Several historical questions regarding prime numbers are still unsolved; these include Goldbach's conjecture, that every integer greater than 2 can be expressed as the sum of two primes, the twin prime conjecture, that there are infinitely many pairs of primes having just one number between them. Such questions spurred the development of various branches of number theory, focusing on analytic or algebraic aspects of numbers.
Primes are used in several routines in information technology, such as public-key cryptography, which relies on the difficulty of factoring large numbers into their prime factors. In abstract algebra, objects that behave in a generalized way like prime numbers include prime elements and prime ideals. A natural number is called a prime number if it is greater than 1 and cannot be written as a product of two natural numbers that are both smaller than it; the numbers greater than 1 that are not prime are called composite numbers. In other words, n is prime if n items cannot be divided up into smaller equal-size groups of more than one item, or if it is not possible to arrange n dots into a rectangular grid, more than one dot wide and more than one dot high. For example, among the numbers 1 through 6, the numbers 2, 3, 5 are the prime numbers, as there are no other numbers that divide them evenly. 1 is not prime, as it is excluded in the definition. 4 = 2 × 2 and 6 = 2 × 3 are both composite. The divisors of a natural number n are the numbers.
Every natural number has both itself as a divisor. If it has any other divisor, it cannot be prime; this idea leads to a different but equivalent definition of the primes: they are the numbers with two positive divisors, 1 and the number itself. Yet another way to express the same thing is that a number n is prime if it is greater than one and if none of the numbers 2, 3, …, n − 1 divides n evenly; the first 25 prime numbers are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97. No number n greater than 2 is prime because any such number can be expressed as the product 2 × n / 2. Therefore, every prime number other than 2 is an odd number, is called an odd prime; when written in the usual decimal system, all prime numbers larger than 5 end in 1, 3, 7, or 9. The numbers that end with other digits are all composite: decimal numbers that end in 0, 2, 4, 6, or 8 are and decimal numbers that end in 0 or 5 are divisible by 5; the set of all primes is sometimes denoted by P or by P.
The Rhind Mathematical Papyrus, from around 1550 BC, has Egyptian fraction expansions of different forms for prime and composite numbers. However, the earliest surviving records of the explicit study of prime numbers come from Ancient Greek mathematics. Euclid's Elements proves the infinitude of primes and the fundamental theorem of arithmetic, shows how to construct a perfect number from a Mersenne prime. Another Greek invention, the Sieve of Eratosthenes, is still used to construct lists of primes. Around 1000 AD, the Islamic mathematician Alhazen found Wilson's theorem, characterizing the prime numbers as the numbers n that evenly divide
Least common multiple
In arithmetic and number theory, the least common multiple, lowest common multiple, or smallest common multiple of two integers a and b denoted by LCM, is the smallest positive integer, divisible by both a and b. Since division of integers by zero is undefined, this definition has meaning only if a and b are both different from zero. However, some authors define LCM as 0 for all a, the result of taking the LCM to be the least upper bound in the lattice of divisibility; the LCM is the "lowest common denominator" that can be used before fractions can be added, subtracted or compared. The LCM of more than two integers is well-defined: it is the smallest positive integer, divisible by each of them. A multiple of a number is the product of an integer. For example, 10 is a multiple of 5 because 5 × 2 = 10, so 10 is divisible by 5 and 2; because 10 is the smallest positive integer, divisible by both 5 and 2, it is the least common multiple of 5 and 2. By the same principle, 10 is the least common multiple of − 2 as well.
In this article we will denote the least common multiple of two integers b as lcm. Some older textbooks use; the programming language J uses a*.b What is the LCM of 4 and 6? Multiples of 4 are: 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76...and the multiples of 6 are: 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72... Common multiples of 4 and 6 are the numbers that are in both lists: 12, 24, 36, 48, 60, 72.... So, from this list of the first few common multiples of the numbers 4 and 6, their least common multiple is 12; when adding, subtracting, or comparing vulgar fractions, it is useful to find the least common multiple of the denominators called the lowest common denominator, because each of the fractions can be expressed as a fraction with this denominator. For instance, 2 21 + 1 6 = 4 42 + 7 42 = 11 42 where the denominator 42 was used because it is the least common multiple of 21 and 6. Suppose there are two meshing gears in a machine, having m and n teeth and the gears are marked by a line segment drawn from the center of the first gear to the center of the second gear.
When the gears begin rotating, we can determine how many rotations the first gear must complete to realign the line segment by making use of LCM. The first gear must complete LCM/m rotations for the realignment. By that time, the second gear will have made LCM/n rotations. Suppose there are three planets revolving around a star which take l, m and n units of time to complete their orbits. Assume that l, m and n are integers. Assuming the planets started moving around the star after an initial linear alignment, all the planets attain a linear alignment again after LCM units of time. At this time, the first and third planet will have completed LCM/l, LCM/m and LCM/n orbits around the star; the following formula reduces the problem of computing the least common multiple to the problem of computing the greatest common divisor known as the greatest common factor: lcm = | a ⋅ b | gcd . This formula is valid when one of a and b is 0, since gcd = |a|. However, if both a and b are 0, this formula would cause division by zero.
There are fast algorithms for computing the GCD that do not require the numbers to be factored, such as the Euclidean algorithm. To return to the example above, lcm = 21 ⋅ 6 gcd = 21 ⋅ 6 gcd = 21 ⋅ 6 3 = 126 3 = 42; because gcd is a divisor of both a and b, it is more efficient to compute the LCM by dividing before multiplying: lcm = ⋅ | b | = ⋅ | a |. This reduces the size of one input for both the division and the multiplication, reduces the required storage needed for inte
In mathematics, the natural numbers are those used for counting and ordering. In common mathematical terminology, words colloquially used for counting are "cardinal numbers" and words connected to ordering represent "ordinal numbers"; the natural numbers can, at times, appear as a convenient set of codes. Some definitions, including the standard ISO 80000-2, begin the natural numbers with 0, corresponding to the non-negative integers 0, 1, 2, 3, …, whereas others start with 1, corresponding to the positive integers 1, 2, 3, …. Texts that exclude zero from the natural numbers sometimes refer to the natural numbers together with zero as the whole numbers, but in other writings, that term is used instead for the integers; the natural numbers are a basis from which many other number sets may be built by extension: the integers, by including the neutral element 0 and an additive inverse for each nonzero natural number n. These chains of extensions make the natural numbers canonically embedded in the other number systems.
Properties of the natural numbers, such as divisibility and the distribution of prime numbers, are studied in number theory. Problems concerning counting and ordering, such as partitioning and enumerations, are studied in combinatorics. In common language, for example in primary school, natural numbers may be called counting numbers both to intuitively exclude the negative integers and zero, to contrast the discreteness of counting to the continuity of measurement, established by the real numbers; the most primitive method of representing a natural number is to put down a mark for each object. A set of objects could be tested for equality, excess or shortage, by striking out a mark and removing an object from the set; the first major advance in abstraction was the use of numerals to represent numbers. This allowed systems to be developed for recording large numbers; the ancient Egyptians developed a powerful system of numerals with distinct hieroglyphs for 1, 10, all the powers of 10 up to over 1 million.
A stone carving from Karnak, dating from around 1500 BC and now at the Louvre in Paris, depicts 276 as 2 hundreds, 7 tens, 6 ones. The Babylonians had a place-value system based on the numerals for 1 and 10, using base sixty, so that the symbol for sixty was the same as the symbol for one, its value being determined from context. A much advance was the development of the idea that 0 can be considered as a number, with its own numeral; the use of a 0 digit in place-value notation dates back as early as 700 BC by the Babylonians, but they omitted such a digit when it would have been the last symbol in the number. The Olmec and Maya civilizations used 0 as a separate number as early as the 1st century BC, but this usage did not spread beyond Mesoamerica; the use of a numeral 0 in modern times originated with the Indian mathematician Brahmagupta in 628. However, 0 had been used as a number in the medieval computus, beginning with Dionysius Exiguus in 525, without being denoted by a numeral; the first systematic study of numbers as abstractions is credited to the Greek philosophers Pythagoras and Archimedes.
Some Greek mathematicians treated the number 1 differently than larger numbers, sometimes not as a number at all. Independent studies occurred at around the same time in India and Mesoamerica. In 19th century Europe, there was mathematical and philosophical discussion about the exact nature of the natural numbers. A school of Naturalism stated that the natural numbers were a direct consequence of the human psyche. Henri Poincaré was one of its advocates, as was Leopold Kronecker who summarized "God made the integers, all else is the work of man". In opposition to the Naturalists, the constructivists saw a need to improve the logical rigor in the foundations of mathematics. In the 1860s, Hermann Grassmann suggested a recursive definition for natural numbers thus stating they were not natural but a consequence of definitions. Two classes of such formal definitions were constructed. Set-theoretical definitions of natural numbers were initiated by Frege and he defined a natural number as the class of all sets that are in one-to-one correspondence with a particular set, but this definition turned out to lead to paradoxes including Russell's paradox.
Therefore, this formalism was modified so that a natural number is defined as a particular set, any set that can be put into one-to-one correspondence with that set is said to have that number of elements. The second class of definitions was introduced by Charles Sanders Peirce, refined by Richard Dedekind, further explored by Giuseppe Peano, it is based on an axiomatization of the properties of ordinal numbers: each natural number has a
Mathematics includes the study of such topics as quantity, structure and change. Mathematicians use patterns to formulate new conjectures; when mathematical structures are good models of real phenomena mathematical reasoning can provide insight or predictions about nature. Through the use of abstraction and logic, mathematics developed from counting, calculation and the systematic study of the shapes and motions of physical objects. Practical mathematics has been a human activity from as far back; the research required to solve mathematical problems can take years or centuries of sustained inquiry. Rigorous arguments first appeared in Greek mathematics, most notably in Euclid's Elements. Since the pioneering work of Giuseppe Peano, David Hilbert, others on axiomatic systems in the late 19th century, it has become customary to view mathematical research as establishing truth by rigorous deduction from appropriately chosen axioms and definitions. Mathematics developed at a slow pace until the Renaissance, when mathematical innovations interacting with new scientific discoveries led to a rapid increase in the rate of mathematical discovery that has continued to the present day.
Mathematics is essential in many fields, including natural science, medicine and the social sciences. Applied mathematics has led to new mathematical disciplines, such as statistics and game theory. Mathematicians engage in pure mathematics without having any application in mind, but practical applications for what began as pure mathematics are discovered later; the history of mathematics can be seen as an ever-increasing series of abstractions. The first abstraction, shared by many animals, was that of numbers: the realization that a collection of two apples and a collection of two oranges have something in common, namely quantity of their members; as evidenced by tallies found on bone, in addition to recognizing how to count physical objects, prehistoric peoples may have recognized how to count abstract quantities, like time – days, years. Evidence for more complex mathematics does not appear until around 3000 BC, when the Babylonians and Egyptians began using arithmetic and geometry for taxation and other financial calculations, for building and construction, for astronomy.
The most ancient mathematical texts from Mesopotamia and Egypt are from 2000–1800 BC. Many early texts mention Pythagorean triples and so, by inference, the Pythagorean theorem seems to be the most ancient and widespread mathematical development after basic arithmetic and geometry, it is in Babylonian mathematics that elementary arithmetic first appear in the archaeological record. The Babylonians possessed a place-value system, used a sexagesimal numeral system, still in use today for measuring angles and time. Beginning in the 6th century BC with the Pythagoreans, the Ancient Greeks began a systematic study of mathematics as a subject in its own right with Greek mathematics. Around 300 BC, Euclid introduced the axiomatic method still used in mathematics today, consisting of definition, axiom and proof, his textbook Elements is considered the most successful and influential textbook of all time. The greatest mathematician of antiquity is held to be Archimedes of Syracuse, he developed formulas for calculating the surface area and volume of solids of revolution and used the method of exhaustion to calculate the area under the arc of a parabola with the summation of an infinite series, in a manner not too dissimilar from modern calculus.
Other notable achievements of Greek mathematics are conic sections, trigonometry (Hipparchus of Nicaea, the beginnings of algebra. The Hindu–Arabic numeral system and the rules for the use of its operations, in use throughout the world today, evolved over the course of the first millennium AD in India and were transmitted to the Western world via Islamic mathematics. Other notable developments of Indian mathematics include the modern definition of sine and cosine, an early form of infinite series. During the Golden Age of Islam during the 9th and 10th centuries, mathematics saw many important innovations building on Greek mathematics; the most notable achievement of Islamic mathematics was the development of algebra. Other notable achievements of the Islamic period are advances in spherical trigonometry and the addition of the decimal point to the Arabic numeral system. Many notable mathematicians from this period were Persian, such as Al-Khwarismi, Omar Khayyam and Sharaf al-Dīn al-Ṭūsī. During the early modern period, mathematics began to develop at an accelerating pace in Western Europe.
The development of calculus by Newton and Leibniz in the 17th century revolutionized mathematics. Leonhard Euler was the most notable mathematician of the 18th century, contributing numerous theorems and discoveries; the foremost mathematician of the 19th century was the German mathematician Carl Friedrich Gauss, who made numerous contributions to fields such as algebra, differential geometry, matrix theory, number theory, statistics. In the early 20th century, Kurt Gödel transformed mathematics by publishing his incompleteness theorems, which show that any axiomatic system, consistent will contain unprovable propositions. Mathematics has since been extended, there has been a fruitful interaction between mathematics and science, to
In mathematics, a ring is one of the fundamental algebraic structures used in abstract algebra. It consists of a set equipped with two binary operations that generalize the arithmetic operations of addition and multiplication. Through this generalization, theorems from arithmetic are extended to non-numerical objects such as polynomials, series and functions. A ring is an abelian group with a second binary operation, associative, is distributive over the abelian group operation, has an identity element. By extension from the integers, the abelian group operation is called addition and the second binary operation is called multiplication. Whether a ring is commutative or not has profound implications on its behavior as an abstract object; as a result, commutative ring theory known as commutative algebra, is a key topic in ring theory. Its development has been influenced by problems and ideas occurring in algebraic number theory and algebraic geometry. Examples of commutative rings include the set of integers equipped with the addition and multiplication operations, the set of polynomials equipped with their addition and multiplication, the coordinate ring of an affine algebraic variety, the ring of integers of a number field.
Examples of noncommutative rings include the ring of n × n real square matrices with n ≥ 2, group rings in representation theory, operator algebras in functional analysis, rings of differential operators in the theory of differential operators, the cohomology ring of a topological space in topology. The conceptualization of rings was completed in the 1920s. Key contributors include Dedekind, Hilbert and Noether. Rings were first formalized as a generalization of Dedekind domains that occur in number theory, of polynomial rings and rings of invariants that occur in algebraic geometry and invariant theory. Afterward, they proved to be useful in other branches of mathematics such as geometry and mathematical analysis; the most familiar example of a ring is the set of all integers, Z, consisting of the numbers …, −5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5, …The familiar properties for addition and multiplication of integers serve as a model for the axioms for rings. A ring is a set R equipped with two binary operations + and · satisfying the following three sets of axioms, called the ring axioms R is an abelian group under addition, meaning that: + c = a + for all a, b, c in R. a + b = b + a for all a, b in R.
There is an element 0 in R such that a + 0 = a for all a in R. For each a in R there exists −a in R such that a + = 0. R is a monoid under multiplication, meaning that: · c = a · for all a, b, c in R. There is an element 1 in R such that a · 1 = a and 1 · a = a for all a in R. Multiplication is distributive with respect to addition, meaning that: a ⋅ = + for all a, b, c in R. · a = + for all a, b, c in R. As explained in § History below, many authors follow an alternative convention in which a ring is not defined to have a multiplicative identity; this article adopts the convention that, unless otherwise stated, a ring is assumed to have such an identity. A structure satisfying all the axioms except the requirement that there exists a multiplicative identity element is called a rng. For example, the set of integers with the usual + and ⋅ is a rng, but not a ring; the operations + and ⋅ are called multiplication, respectively. The multiplication symbol ⋅ is omitted, so the juxtaposition of ring elements is interpreted as multiplication.
For example, xy means x ⋅ y. Although ring addition is commutative, ring multiplication is not required to be commutative: ab need not equal ba. Rings that satisfy commutativity for multiplication are called commutative rings. Books on commutative algebra or algebraic geometry adopt the convention that ring means commutative ring, to simplify terminology. In a ring, multiplication does not have to have an inverse. A commutative ring such; the additive group of a ring is the ring equipped just with the structure of addition. Although the definition assumes that the additive group is abelian, this can be inferred from the other ring axioms; some basic properties of a ring follow from the axioms: The additive identity, the additive inverse of each element, the multiplicative identity are unique. For any element x in a ring R, one has x0 = 0 = 0x and x = –x. If 0 = 1 in a ring R R has only one element, is called the zero ring; the binomial formula holds for any commuting pair of elements. Equip the set Z 4 = with the following operat