Search topics and sections

Algebra is the branch of mathematics that uses symbols, usually letters, in place of specific numbers, and studies the rules for working with them.[1] An equation is a statement that two expressions are equal.[1]

Writing x+a=bx + a = b turns a whole family of word puzzles into one equation. The same standard steps then solve every puzzle in the family.[1]

Elementary and abstract algebra

Algebra works at two broad levels.

Symbols and variables

A variable is a symbol, usually a letter, that stands for a number.[2]

Notation

A few habits of writing make algebra short to read.[2]

  • Known and unknown letters: by a habit that goes back to René Descartes, letters near the start of the alphabet (aa, bb, cc) stand for known numbers, and letters near the end (xx, yy, zz) stand for unknowns.[2][4]
  • Multiplication: writing two letters side by side means multiplying them, so axax is aa times xx.[2]
  • Powers: a small raised number counts repeated factors, so x2x^2 means xxxx.[2]

Expressions

Variables combine into expressions using the usual operations of arithmetic.[2]

One expression can describe many situations. The expression axax can mean the interest on aa dollars at rate xx, or the distance a car covers in aa hours at xx miles per hour.[2]

Equations and how to solve them

Solving an equation means finding the values of the unknown that make it true.[1]

The basic move is to do the same thing to both sides, which keeps them equal.[1] For example, to solve 2x+3=112x + 3 = 11:

  1. Subtract 3 from both sides, giving 2x=82x = 8.
  2. Divide both sides by 2, giving x=4x = 4.
  3. Check by putting 4 back in: 2⋅4+3=112 \cdot 4 + 3 = 11.
Balance scale showing 2x + 3 = 11xx111111111111112x + 3 = 11x = 4
A level balance shows the equation 2x+3=112x + 3 = 11. Two unknown boxes and three unit weights on one pan balance eleven unit weights on the other, so x=4x = 4.

Where the word comes from

The word algebra comes from al-jabr, a word in the title of a book on equations by the Baghdad scholar al-Khwarizmi.[5][6]

The title names two moves for simplifying equations, shown in the table below.[5]

The second move uses like terms. These are terms with the same variables raised to the same powers, such as 3x3x and 10x10x.

Move Meaning What it does Example
al-jabr "completion" Removes a subtracted term by adding it to both sides x2=40x−4x2x^2 = 40x - 4x^2 becomes 5x2=40x5x^2 = 40x[5]
al-muqabala "balancing" Cancels like terms on both sides 50+3x+x2=29+10x50 + 3x + x^2 = 29 + 10x becomes 21+x2=7x21 + x^2 = 7x[5]

The rules of arithmetic

Algebra simplifies expressions using a few laws that hold for ordinary numbers.[2][7] The laws use these terms:

  • Commutative: changing the order of the terms does not change the result.
  • Associative: grouping the terms differently does not change the result.
  • Identity: an element that leaves other elements unchanged under an operation, such as 0 for addition.[8]
  • Inverse: an element that combines with another element to give the identity, such as −a-a for addition.[8]
  • Distributive: multiplying a sum gives the same result as multiplying each term and then adding.

The table lists the laws for any numbers aa, bb, and cc.

Law Addition Multiplication
Commutative a+b=b+aa + b = b + a ab=baab = ba
Associative a+(b+c)=(a+b)+ca + (b + c) = (a + b) + c a(bc)=(ab)ca(bc) = (ab)c
Identity a+0=aa + 0 = a a⋅1=aa \cdot 1 = a
Inverse a+(−a)=0a + (-a) = 0 a⋅1a=1a \cdot \frac{1}{a} = 1, if a≠0a \neq 0
Distributive a(b+c)=ab+aca(b + c) = ab + ac

Polynomials and their roots

A polynomial is an expression built from numbers and variables using only addition, subtraction, and multiplication, such as ax2+bx+cax^2 + bx + c.[2]

François Viète introduced the word polynomial in the late 16th century.[2]

The degree of a polynomial in one unknown is the highest power of the unknown in it.[2] A polynomial equation in one unknown has the general form

anxn+an−1xn−1+⋯+a1x+a0=0,a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = 0,

where the aia_i are fixed numbers called coefficients, xx is the unknown, and nn is the degree (with an≠0a_n \neq 0).[1] A number that makes the polynomial equal zero is called a root.[2]

Formulas for roots

The best-known formula is the quadratic formula. For ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \neq 0, the roots are

x=−b±b2−4ac2a.x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Here aa, bb, and cc are the coefficients, and the ±\pm sign gives the two roots.[9]

When aa, bb, and cc are real and b2−4acb^2 - 4ac is negative, the two roots are not real numbers but a conjugate pair of complex numbers.[10] A complex number has the form p+qip + qi, where ii is a number whose square is −1-1.

  • The real part is pp, the part without ii.
  • The imaginary part is qq, the number that multiplies ii.
  • A conjugate pair is two complex numbers p+qip + qi and p−qip - qi, with the same real part and opposite imaginary parts.

Factoring, which means rewriting an expression as a product of simpler expressions, is another way to find roots. A cubic is a polynomial of degree 3. For example, the cubic x3+2x2−x−2x^3 + 2x^2 - x - 2 factors as (x2−1)(x+2)(x^2 - 1)(x + 2), so its roots are 11, −1-1, and −2-2.[11]

Graph of a cubic with three real roots−2−11(0, −2)xyy = (x²−1)(x+2)
The cubic y=x3+2x2−x−2=(x2−1)(x+2)y = x^3 + 2x^2 - x - 2 = (x^2 - 1)(x + 2) crosses the xx-axis at its three real roots x=−2x = -2, x=−1x = -1 and x=1x = 1, and crosses the yy-axis at (0,−2)(0, -2).

The fundamental theorem of algebra

The fundamental theorem of algebra counts the roots. It states that every polynomial equation of degree n≥1n \geq 1 with complex coefficients has nn complex roots, when repeated roots are counted.[11]

Albert Girard suggested the theorem in 1629. Carl Friedrich Gauss gave a proof in his doctoral dissertation of 1799.[11]

Solving by radicals

A solution by radicals is a formula for the roots that uses only the coefficients, the four basic operations, and taking roots such as square roots or cube roots.[12] Such formulas exist for the general equation up to degree 4 but not beyond.[11]

Degree Name General formula by radicals
2 Quadratic Known in method since the Babylonians[12]
3 Cubic Found in the 16th century; published by Cardano in 1545[13][12]
4 Quartic Found by Ferrari in 1540[12]
5 or more Quintic and higher None exists for the general equation[11]

Niels Henrik Abel gave the first valid proof in 1824 that no such formula exists for general equations beyond degree 4.[11]

Paolo Ruffini had published a proof starting in 1799. Historians differ on how complete it was: MacTutor finds one gap,[12] while Britannica describes several significant gaps.[11]

Today the result is called the Abel-Ruffini theorem.

Some particular equations of degree 5 or more can still be solved by radicals.[11]

Galois and solvable groups

Évariste Galois found which equations can be solved by radicals. He studied the group of permutations, or reorderings, of an equation's roots.[11] Groups are defined in the section "Groups" below.

Two kinds of group are needed to state his result.

  • An abelian group is a group whose operation is commutative, so the order of the two elements does not change the result.[8]
  • A solvable group is one that can be built up in stages from abelian groups.[14]

Galois showed that an equation is solvable by radicals exactly when its group of permutations of the roots is a solvable group.[11] This idea grew into Galois theory.

Systems of equations and linear algebra

A system of equations is a set of equations solved together. A problem adapted from the Chinese classic Nine Chapters on the Mathematical Procedures asks how much grain one sheaf of each of two kinds of wheat gives, leading to

3x+5y=1,4x+2y=1.3x + 5y = 1, \qquad 4x + 2y = 1.

Solving the second equation for yy and putting the result into the first gives x=3/14x = 3/14 and y=1/14y = 1/14.[2]

Two lines intersecting at one pointxy4x + 2y = 13x + 5y = 1(3/14, 1/14)
The lines 3x+5y=13x + 5y = 1 and 4x+2y=14x + 2y = 1 cross at exactly one point, (3/14,1/14)(3/14, 1/14). That point is the only solution of the system.

The general system ax+by=cax + by = c and Ax+By=CAx + By = C has a general solution:

x=Bc−bCaB−Ab,y=Ca−cAaB−Ab.x = \frac{Bc - bC}{aB - Ab}, \qquad y = \frac{Ca - cA}{aB - Ab}.

The shared denominator aB−AbaB - Ab is the determinant of the system.[2]

  • If aB−Ab≠0aB - Ab \neq 0, the formulas give the solution.[2]
  • If aB−Ab=0aB - Ab = 0, the formulas cannot be used, since they would divide by zero. The system then has either no solution (parallel lines) or infinitely many (the same line).[2]

Both equations above are linear equations, in which every unknown appears only to the first power.[1] Linear algebra extends their study to any number of unknowns.

Linear algebra studies vectors and matrices, and more generally vector spaces and linear transformations.[15]

A system of linear equations can be written in short form as Ax=bAx = b, where AA is the matrix of coefficients, xx the vector of unknowns, and bb a given vector.[15]

Abstract algebra

From numbers to structures

The methods of elementary algebra work in many settings besides ordinary numbers.[16] Examples include:

  • the integers modulo nn, or clock arithmetic, where numbers wrap around after nn;
  • the subsets of a set under union (combining the elements of two sets) and intersection (keeping only the elements they share);
  • the permutations, or reorderings, of a set under composition, which means applying one reordering after another.

A set together with operations that obey stated laws is called an algebraic structure, or simply an algebra.[16]

Abstract algebra studies classes of such structures rather than one number system at a time.[16] It focuses on the structure shared by sets such as the real numbers, complex numbers, matrices, and vector spaces, not on rules for handling individual elements.[3]

Groups

A group is a set GG with one operation ⋆\star that combines any two elements a,ba, b of GG into an element a⋆ba \star b of GG, such that:[7]

  • Associativity: a⋆(b⋆c)=(a⋆b)⋆ca \star (b \star c) = (a \star b) \star c for all a,b,ca, b, c.
  • Identity: there is an element ee with a⋆e=e⋆a=aa \star e = e \star a = a for all aa.
  • Inverses: each aa has an element a−1a^{-1} with a⋆a−1=a−1⋆a=ea \star a^{-1} = a^{-1} \star a = e.

Some groups also have the commutative law, and the examples below show both kinds.[7]

  • Abelian group: a group in which a⋆b=b⋆aa \star b = b \star a always holds, also called a commutative group.
  • Integers under addition: an abelian group, with identity 0 and inverse −a-a.
  • Invertible n×nn \times n matrices under matrix multiplication: a group that is not abelian when n>1n > 1.

Groups can describe symmetry and certain types of transformations in geometry.[8] Ruffini used groups of permutations in his 1799 work on the quintic equation, and Galois later tied solvability by radicals to them.[17][11] The study of groups is group theory.

Rings and fields

A ring is a set with two operations, called addition and multiplication, that satisfy these rules:[7][3]

  • Under addition, the set is an abelian group, with zero as its identity.
  • Multiplication is associative.
  • The distributive laws a(b+c)=ab+aca(b + c) = ab + ac and (a+b)c=ac+bc(a + b)c = ac + bc hold.

Two extra properties name special kinds of ring:[7]

  • Commutative ring: multiplication is commutative.
  • Ring with identity: there is an element 11 such that a⋅1=1⋅a=aa \cdot 1 = 1 \cdot a = a.

Two examples show the range of rings:[3]

  • The integers are the simplest example of a ring.
  • For n≥2n \geq 2, the n×nn \times n matrices form a ring whose multiplication is not commutative.

A field is a commutative ring with identity, with 1≠01 \neq 0, in which every nonzero element has a multiplicative inverse.[7] In a field, one can add, subtract, multiply, and divide by anything except zero.

System Ring? Field? Reason
Natural numbers N\mathbb{N} No No No negatives, so no additive inverses[7]
Integers Z\mathbb{Z} Yes No 2 has no integer inverse, since no integer nn gives 2n=12n = 1[7]
Rationals Q\mathbb{Q}, reals R\mathbb{R}, complex numbers C\mathbb{C} Yes Yes Every nonzero element has an inverse[7][3]
n×nn \times n matrices, n≥2n \geq 2 Yes No Multiplication is not commutative, and some nonzero matrices have no inverse[3]
Polynomials with real coefficients Yes No xx has no polynomial inverse[7]

Fields need not be infinite. The finite field with two elements, 0 and 1, has 1+1=01 + 1 = 0, and it is used to encode and transmit digital data.[15]

Ladder of algebraic structuresGroupOne operation: associative, identity, inversesExample: integers under +add ruleAbelian groupOperation is commutativeadd ruleRingAdds multiplication: associative, distributive; addition is an abelian groupExamples: integers, n×n matricesadd ruleCommutative ringMultiplication commutes: ab = baExamples: integers, polynomialsadd ruleFieldHas 1 ≠ 0; every nonzero element has an inverseExamples: ℚ, ℝ, ℂ, field with two elements {0,1}
Each structure keeps the rules of the one above it and adds more. Groups have one operation, rings add multiplication, and fields let you divide by every nonzero element.

Vector spaces

A vector space has two parts:[15]

  • Vectors: elements that can be added to each other and multiplied by scalars, while the ordinary arithmetic properties still hold.
  • Scalars: the numbers used to multiply vectors. They are often real numbers, but they can come from any field, such as the complex numbers or the field with two elements.

Linear algebra also studies linear transformations, which are maps TT that send vectors to vectors and keep both operations.[15] For any vectors v,wv, w and any scalar cc,

T(v+w)=T(v)+T(w),T(cv)=cT(v).T(v + w) = T(v) + T(w), \qquad T(cv) = cT(v).

Universal algebra and category theory

Universal algebra studies what all algebraic structures have in common. A variety is the class of all structures that satisfy a given set of equations, and groups, rings, and vector spaces over a given field all form varieties.[16] Three ways of building new algebras from old ones describe varieties:

  • A homomorphic image is the result of a homomorphism, a map between two algebras that keeps their operations.[16]
  • A subalgebra is a subset of an algebra that is closed under its operations.[16]
  • A direct product combines algebras into one whose elements are tuples, with the operations done component by component.[16]

In 1935 Garrett Birkhoff showed that a class of algebras is a variety exactly when forming homomorphic images, subalgebras, and direct products never leads outside the class.[16] This result is Birkhoff's HSP theorem.

Category theory, begun by Saunders Mac Lane and Samuel Eilenberg, studies an area of mathematics through the maps between its objects.[18] For groups, these maps are homomorphisms.[18]

Category theory became the standard language of algebraic topology and homology, which use algebraic tools such as groups to study the properties of spaces.[18]

Branches of algebra

Modern algebra spans many research areas. The 2020 Mathematics Subject Classification gives several of them their own top-level codes.[19]

Code Area
08 General algebraic systems (universal algebra)
12 Field theory and polynomials
13 Commutative algebra
14 Algebraic geometry
15 Linear and multilinear algebra; matrix theory
16 Associative rings and algebras
17 Nonassociative rings and algebras
18 Category theory; homological algebra
20 Group theory and generalizations

Two of these names need a short explanation.

  • Multilinear algebra studies functions of several inputs that are linear in each input.[20]
  • Nonassociative rings and algebras have a multiplication that need not be associative, so grouping a product differently can give a different result.[21]

Some of these areas join algebra to other fields. Algebraic geometry studies the geometric properties of the solutions of polynomial equations.[22]

Other branches include:

History

Timeline of algebra Problems in words Symbolic algebra Structural algebra c. 1650 BCRhind papyrusLinear equations 9th centuryal-KhwarizmiAl-jabr book 1591VièteLetters 1799GaussFundamental theorem 1843HamiltonQuaternions 1930van der WaerdenModerne Algebra c. AD 250DiophantusShorthand 1545CardanoCubic, quartic 1637Descartesx, y, z 1824AbelNo quintic formula 1870JordanGroup theory
A timeline of algebra that is not drawn to scale. It runs from algebra written in words, through symbolic notation, to the structural algebra of the 19th and 20th centuries.

Ancient problem solving

The earliest algebra solved specific problems in words, with no symbols.[1]

  • Egypt: the Rhind papyrus (about 1650 BC) shows linear equations in one unknown being solved.[1]
  • Babylonia: Babylonian tablets from as early as 1800 BC pose problems about an unknown number and its square.[1]
  • Alexandria: Diophantus (active around AD 250) was the first to use a systematic shorthand for polynomial equations. He accepted only positive rational solutions, meaning numbers that can be written as a ratio of two integers.[1]
  • India: mathematicians such as Brahmagupta (598 to 670) gave consistent rules for negative numbers and for treating zero like any other number.[1]

The Islamic world

Al-Khwarizmi worked at the House of Wisdom in Baghdad. His book Al-Kitab al-mukhtasar fi hisab al-jabr wa'l-muqabala ("The Compendious Book on Calculation by Completion and Balancing") gave rules for solving linear and quadratic equations.[6] He reduced each equation to one of six standard forms and wrote everything in words.[5]

Al-Khwarizmi justified his rules with geometry. To solve x2+10x=39x^2 + 10x = 39, he drew a square of side xx, attached four rectangles of width 10/410/4, and added four corner squares of area 25/425/4 each. The completed square has area 39+25=6439 + 25 = 64, so its side is 8, and x=8−5=3x = 8 - 5 = 3.[5]

Completing the square for x² + 10x = 39 x² x x x² x by 5/2 area = x² + 10x = 39 x² 25/4 25/4 25/4 25/4 5/2 + x + 5/2 area = 39 + 4 × 25/4 = 64 side = 8, so x + 5 = 8 x = 3
Al-Khwarizmi's geometric solution of x2+10x=39x^2 + 10x = 39: four xx by 52\tfrac{5}{2} rectangles are attached to a square of side xx, then four 52\tfrac{5}{2} by 52\tfrac{5}{2} corners complete a square of area 39+25=6439 + 25 = 64, so x+5=8x + 5 = 8 and x=3x = 3. The lengths are not to scale, so the rectangles look long and thin.

The book was translated into Latin in the 12th century, and its title gave Europe the word algebra.[6]

Later mathematicians moved the subject further.[23]

  • Al-Karaji (born 953) replaced geometric operations with arithmetic ones.
  • Omar Khayyam (born 1048) classified cubic equations and solved them geometrically with conic sections, the curves such as circles, ellipses, parabolas, and hyperbolas.

Renaissance Italy

Italian mathematicians found formulas for cubic and quartic equations in the 16th century.

Mathematician Contribution Date
Scipione del Ferro First to find a formula for a cubic equation[9] Before his death in 1526[9]
Lodovico Ferrari Solved the quartic[12] 1540[12]
Gerolamo Cardano Published both methods in Ars Magna[13] 1545[13]

Because Cardano refused negative coefficients, he had to treat 13 separate cases of the cubic.[13]

Symbolic notation

Viète's In artem analyticam isagoge (1591) gave the first consistent idea of an equation in the modern sense.[13] He used vowels for unknowns and consonants for known quantities, so one formula could cover a whole class of problems.[4][13]

Descartes's La Géométrie (1637) introduced xx, yy, zz for unknowns and aa, bb, cc for known quantities.[4] This is the notation still used in schools.[2]

Groups and new number systems

In the 19th century, the focus moved from solving equations to studying structures.[11]

  • Galois (1811 to 1832) tied solvability to groups of permutations.[11]
  • Camille Jordan's 1870 Traité des substitutions et des équations algébriques was the first book on group theory.[11]

In 1843 William Rowan Hamilton invented the quaternions.[3] They were the first example of a division ring (a ring with identity in which every nonzero element has a multiplicative inverse) whose multiplication is not commutative.[3]

The structural view

The structural view took hold in the early 20th century.[24]

  • Ernst Steinitz published an abstract theory of fields in 1910.
  • Emmy Noether and Emil Artin lectured on the new methods.
  • Bartel van der Waerden, who attended their lectures from 1924, wrote Moderne Algebra (1930), which made groups, rings, and fields the center of the subject.

Some modern results are work by many people on a very large scale. Completion of the classification of finite simple groups was announced in 1983 by Daniel Gorenstein, after work by hundreds of people over thousands of pages.[18]

Uses

  • Elementary algebra is a foundation for statistics, the natural sciences, computer science, economics, and business.[2]
  • Matrix calculations are used to display images, analyze electrical circuits, guide robots, produce medical scans, encrypt messages, and analyze statistics.[15]
  • Abstract algebra is used in public-key cryptography, in error-correcting codes in coding theory, and in the Boolean algebra of electrical circuits.[25]
  • Group theory has uses in physics, chemistry, and computer science.[3]
  • A computer algebra system carries out the routine handling of polynomials that once made algebra tedious.[2]

References

  1. Algebra, Leo Corry, Encyclopaedia Britannica.
  2. Elementary algebra, Encyclopaedia Britannica.
  3. Modern algebra, Encyclopaedia Britannica.
  4. Earliest Uses of Symbols for Variables, MacTutor History of Mathematics, University of St Andrews.
  5. Al-Khwarizmi (790 to 850), biography, MacTutor History of Mathematics, University of St Andrews.
  6. Al-Khwarizmi, Encyclopaedia Britannica.
  7. Introduction to Groups, Rings and Fields, Mathematical Institute, University of Oxford, lecture notes.
  8. Group theory, Encyclopaedia Britannica.
  9. Scipione del Ferro, biography, MacTutor History of Mathematics, University of St Andrews.
  10. Discriminant, Encyclopaedia Britannica.
  11. Algebra: The fundamental theorem of algebra; Galois theory, Leo Corry, Encyclopaedia Britannica.
  12. Paolo Ruffini, biography, MacTutor History of Mathematics, University of St Andrews.
  13. Algebra: Cardano and the solving of cubic and quartic equations; Viète and the formal equation, Leo Corry, Encyclopaedia Britannica.
  14. Applications: Galois Groups, Thomas W. Judson, Abstract Algebra: Theory and Applications.
  15. Linear algebra, Encyclopaedia Britannica.
  16. Algebra, Vaughan Pratt, Stanford Encyclopedia of Philosophy.
  17. The development of group theory, MacTutor History of Mathematics, University of St Andrews.
  18. Algebra: Algebraic superstructures, Leo Corry, Encyclopaedia Britannica.
  19. MSC2020 Mathematics Subject Classification System, zbMATH Open, 2020.
  20. Linear algebra, Encyclopedia of Mathematics, EMS Press and Springer.
  21. Non-associative rings and algebras, Encyclopedia of Mathematics, EMS Press and Springer.
  22. Algebraic geometry, Robert Alan Bix, Encyclopaedia Britannica.
  23. Arabic mathematics: forgotten brilliance?, MacTutor History of Mathematics, University of St Andrews.
  24. Algebra: Structural algebra, Leo Corry, Encyclopaedia Britannica.
  25. Abstract Algebra: Theory and Applications, Thomas W. Judson, open textbook.

Figure