Elementary algebra encompasses the basic concepts of
algebra
Algebra () is one of the broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathematics.
Elementary ...
. It is often contrasted with
arithmetic: arithmetic deals with specified
number
A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers c ...
s, whilst algebra introduces
variables (quantities without fixed values).
This use of variables entails use of algebraic notation and an understanding of the general rules of the
operations introduced in arithmetic. Unlike
abstract algebra
In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures. Algebraic structures include group (mathematics), groups, ring (mathematics), rings, field (mathematics), fields, module (mathe ...
, elementary algebra is not concerned with
algebraic structures outside the realm of
real
Real may refer to:
Currencies
* Brazilian real (R$)
* Central American Republic real
* Mexican real
* Portuguese real
* Spanish real
* Spanish colonial real
Music Albums
* ''Real'' (L'Arc-en-Ciel album) (2000)
* ''Real'' (Bright album) (2010) ...
and
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s.
It is typically taught to
secondary school students and builds on their understanding of
arithmetic. The use of variables to denote quantities allows general relationships between quantities to be formally and concisely expressed, and thus enables solving a broader scope of problems. Many quantitative relationships in
science
Science is a systematic endeavor that Scientific method, builds and organizes knowledge in the form of Testability, testable explanations and predictions about the universe.
Science may be as old as the human species, and some of the earli ...
and mathematics are expressed as algebraic
equations.
Algebraic notation
Algebraic notation describes the rules and conventions for writing
mathematical expressions, as well as the terminology used for talking about parts of expressions. For example, the expression
has the following components:
A ''coefficient'' is a numerical value, or letter representing a numerical constant, that multiplies a variable (the operator is omitted). A ''term'' is an
addend or a summand, a group of coefficients, variables, constants and exponents that may be separated from the other terms by the plus and minus operators. Letters represent variables and constants. By convention, letters at the beginning of the alphabet (e.g.
) are typically used to represent
constants, and those toward the end of the alphabet (e.g.
and ) are used to represent
variable
Variable may refer to:
* Variable (computer science), a symbolic name associated with a value and whose associated value may be changed
* Variable (mathematics), a symbol that represents a quantity in a mathematical expression, as used in many ...
s. They are usually printed in italics.
Algebraic operation
Algebraic may refer to any subject related to algebra in mathematics and related branches like algebraic number theory and algebraic topology. The word algebra itself has several meanings.
Algebraic may also refer to:
* Algebraic data type, a data ...
s work in the same way as
arithmetic operations
Arithmetic () is an elementary part of mathematics that consists of the study of the properties of the traditional operations on numbers—addition, subtraction, multiplication, division, exponentiation, and extraction of roots. In the 19th ce ...
, such as
addition,
subtraction,
multiplication,
division
Division or divider may refer to:
Mathematics
*Division (mathematics), the inverse of multiplication
*Division algorithm, a method for computing the result of mathematical division
Military
*Division (military), a formation typically consisting ...
and
exponentiation
Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
. and are applied to algebraic variables and terms. Multiplication symbols are usually omitted, and implied when there is no space between two variables or terms, or when a
coefficient is used. For example,
is written as
, and
may be written
.
Usually terms with the highest power (
exponent), are written on the left, for example,
is written to the left of . When a coefficient is one, it is usually omitted (e.g.
is written
). Likewise when the exponent (power) is one, (e.g.
is written
). When the exponent is zero, the result is always 1 (e.g.
is always rewritten to ). However
, being undefined, should not appear in an expression, and care should be taken in simplifying expressions in which variables may appear in exponents.
Alternative notation
Other types of notation are used in algebraic expressions when the required formatting is not available, or can not be implied, such as where only letters and symbols are available. As an illustration of this, while exponents are usually formatted using superscripts, e.g.,
, in
plain text
In computing, plain text is a loose term for data (e.g. file contents) that represent only characters of readable material but not its graphical representation nor other objects (floating-point numbers, images, etc.). It may also include a limit ...
, and in the
TeX
Tex may refer to:
People and fictional characters
* Tex (nickname), a list of people and fictional characters with the nickname
* Joe Tex (1933–1982), stage name of American soul singer Joseph Arrington Jr.
Entertainment
* ''Tex'', the Italian ...
mark-up language, the
caret
Caret is the name used familiarly for the character , provided on most QWERTY keyboards by typing . The symbol has a variety of uses in programming and mathematics. The name "caret" arose from its visual similarity to the original proofreade ...
symbol represents exponentiation, so
is written as "x^2"., as well as some programming languages such as Lua. In programming languages such as
Ada
Ada may refer to:
Places
Africa
* Ada Foah, a town in Ghana
* Ada (Ghana parliament constituency)
* Ada, Osun, a town in Nigeria
Asia
* Ada, Urmia, a village in West Azerbaijan Province, Iran
* Ada, Karaman, a village in Karaman Province, ...
,
Fortran,
Perl
Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offic ...
,
Python
Python may refer to:
Snakes
* Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia
** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia
* Python (mythology), a mythical serpent
Computing
* Python (pro ...
and
Ruby
A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called ...
, a double asterisk is used, so
is written as "x**2". Many programming languages and calculators use a single asterisk to represent the multiplication symbol, and it must be explicitly used, for example,
is written "3*x".
Concepts
Variables
Elementary algebra builds on and extends arithmetic by introducing letters called variables to represent general (non-specified) numbers. This is useful for several reasons.
#Variables may represent numbers whose values are not yet known. For example, if the temperature of the current day, C, is 20 degrees higher than the temperature of the previous day, P, then the problem can be described algebraically as
.
#Variables allow one to describe ''general'' problems, without specifying the values of the quantities that are involved. For example, it can be stated specifically that 5 minutes is equivalent to
seconds. A more general (algebraic) description may state that the number of seconds,
, where m is the number of minutes.
#Variables allow one to describe mathematical relationships between quantities that may vary. For example, the relationship between the circumference, ''c'', and diameter, ''d'', of a circle is described by
.
#Variables allow one to describe some mathematical properties. For example, a basic property of addition is
commutativity which states that the order of numbers being added together does not matter. Commutativity is stated algebraically as
.
Simplifying expressions
Algebraic expressions may be evaluated and simplified, based on the basic properties of arithmetic operations (
addition,
subtraction,
multiplication,
division
Division or divider may refer to:
Mathematics
*Division (mathematics), the inverse of multiplication
*Division algorithm, a method for computing the result of mathematical division
Military
*Division (military), a formation typically consisting ...
and
exponentiation
Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to r ...
). For example,
*Added terms are simplified using coefficients. For example,
can be simplified as
(where 3 is a numerical coefficient).
*Multiplied terms are simplified using exponents. For example,
is represented as
*Like terms are added together, for example,
is written as
, because the terms containing
are added together, and, the terms containing
are added together.
*Brackets can be "multiplied out", using
the distributive property. For example,
can be written as
which can be written as
*Expressions can be factored. For example,
, by dividing both terms by
can be written as
Equations
An equation states that two expressions are equal using the symbol for equality, (the
equals sign
The equals sign (British English, Unicode) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality in some well-defined sense. In an equation, it is placed between tw ...
). One of the best-known equations describes Pythagoras' law relating the length of the sides of a
right angle triangle:
:
This equation states that
, representing the square of the length of the side that is the hypotenuse, the side opposite the right angle, is equal to the sum (addition) of the squares of the other two sides whose lengths are represented by and .
An equation is the claim that two expressions have the same value and are equal. Some equations are true for all values of the involved variables (such as
); such equations are called
identities. Conditional equations are true for only some values of the involved variables, e.g.
is true only for
and
. The values of the variables which make the equation true are the solutions of the equation and can be found through
equation solving
In mathematics, to solve an equation is to find its solutions, which are the values (numbers, functions, sets, etc.) that fulfill the condition stated by the equation, consisting generally of two expressions related by an equals sign. When s ...
.
Another type of equation is inequality. Inequalities are used to show that one side of the equation is greater, or less, than the other. The symbols used for this are:
where
represents 'greater than', and
where
represents 'less than'. Just like standard equality equations, numbers can be added, subtracted, multiplied or divided. The only exception is that when multiplying or dividing by a negative number, the inequality symbol must be flipped.
Properties of equality
By definition, equality is an
equivalence relation, meaning it has the properties (a)
reflexive (i.e.
), (b)
symmetric
Symmetry (from grc, συμμετρία "agreement in dimensions, due proportion, arrangement") in everyday language refers to a sense of harmonious and beautiful proportion and balance. In mathematics, "symmetry" has a more precise definiti ...
(i.e. if
then
) (c)
transitive (i.e. if
and
then
). It also satisfies the important property that if two symbols are used for equal things, then one symbol can be substituted for the other in any true statement about the first and the statement will remain true. This implies the following properties:
* if
and
then
and
;
* if
then
and
;
* more generally, for any function , if
then
.
Properties of inequality
The relations ''less than''
and greater than
have the property of transitivity:
* If
and
then
;
* If
and
then
;
* If
and
then
;
* If
and
then
.
By reversing the inequation,
and
can be swapped, for example:
*
is equivalent to
Substitution
Substitution is replacing the terms in an expression to create a new expression. Substituting 3 for in the expression makes a new expression with meaning . Substituting the terms of a statement makes a new statement. When the original statement is true independently of the values of the terms, the statement created by substitutions is also true. Hence, definitions can be made in symbolic terms and interpreted through substitution: if
is meant as the definition of
as the product of with itself, substituting for informs the reader of this statement that
means . Often it's not known whether the statement is true independently of the values of the terms. And, substitution allows one to derive restrictions on the possible values, or show what conditions the statement holds under. For example, taking the statement , if is substituted with , this implies , which is false, which implies that if then cannot be .
If and are
integers
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
,
rationals
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all rationa ...
, or
real numbers, then implies or . Consider . Then, substituting for and for , we learn or . Then we can substitute again, letting and , to show that if then or . Therefore, if , then or ( or ), so implies or or .
If the original fact were stated as " implies or ", then when saying "consider ," we would have a conflict of terms when substituting. Yet the above logic is still valid to show that if then or or if, instead of letting and , one substitutes for and for (and with , substituting for and for ). This shows that substituting for the terms in a statement isn't always the same as letting the terms from the statement equal the substituted terms. In this situation it's clear that if we substitute an expression into the term of the original equation, the substituted does not refer to the in the statement " implies or ."
Solving algebraic equations
The following sections lay out examples of some of the types of algebraic equations that may be encountered.
Linear equations with one variable
Linear equations are so-called, because when they are plotted, they describe a straight line. The simplest equations to solve are
linear equations that have only one variable. They contain only constant numbers and a single variable without an exponent. As an example, consider:
: Problem in words: If you double the age of a child and add 4, the resulting answer is 12. How old is the child?
:Equivalent equation:
where represent the child's age
To solve this kind of equation, the technique is add, subtract, multiply, or divide both sides of the equation by the same number in order to isolate the variable on one side of the equation. Once the variable is isolated, the other side of the equation is the value of the variable. This problem and its solution are as follows:
In words: the child is 4 years old.
The general form of a linear equation with one variable, can be written as:
Following the same procedure (i.e. subtract from both sides, and then divide by ), the general solution is given by
Linear equations with two variables
A linear equation with two variables has many (i.e. an infinite number of) solutions. For example:
:Problem in words: A father is 22 years older than his son. How old are they?
:Equivalent equation:
where is the father's age, is the son's age.
That cannot be worked out by itself. If the son's age was made known, then there would no longer be two unknowns (variables). The problem then becomes a linear equation with just one variable, that can be solved as described above.
To solve a linear equation with two variables (unknowns), requires two related equations. For example, if it was also revealed that:
; Problem in words
: In 10 years, the father will be twice as old as his son.
;Equivalent equation
:
Now there are two related linear equations, each with two unknowns, which enables the production of a linear equation with just one variable, by subtracting one from the other (called the elimination method):
:
:
In other words, the son is aged 12, and since the father 22 years older, he must be 34. In 10 years, the son will be 22, and the father will be twice his age, 44. This problem is illustrated on the associated plot of the equations.
For other ways to solve this kind of equations, see below,
System of linear equations.
Quadratic equations
A quadratic equation is one which includes a term with an exponent of 2, for example,
, and no term with higher exponent. The name derives from the Latin ''quadrus'', meaning square. In general, a quadratic equation can be expressed in the form
, where is not zero (if it were zero, then the equation would not be quadratic but linear). Because of this a quadratic equation must contain the term
, which is known as the quadratic term. Hence
, and so we may divide by and rearrange the equation into the standard form
:
where
and
. Solving this, by a process known as
completing the square
:
In elementary algebra, completing the square is a technique for converting a quadratic polynomial of the form
:ax^2 + bx + c
to the form
:a(x-h)^2 + k
for some values of ''h'' and ''k''.
In other words, completing the square places a perfe ...
, leads to the
quadratic formula
In elementary algebra, the quadratic formula is a formula that provides the solution(s) to a quadratic equation. There are other ways of solving a quadratic equation instead of using the quadratic formula, such as factoring (direct factoring, g ...
:
where
the symbol "±" indicates that both
:
are solutions of the quadratic equation.
Quadratic equations can also be solved using
factorization
In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several ''factors'', usually smaller or simpler objects of the same kind ...
(the reverse process of which is
expansion
Expansion may refer to:
Arts, entertainment and media
* ''L'Expansion'', a French monthly business magazine
* ''Expansion'' (album), by American jazz pianist Dave Burrell, released in 2004
* ''Expansions'' (McCoy Tyner album), 1970
* ''Expansio ...
, but for two
linear terms is sometimes denoted
foiling). As an example of factoring:
:
which is the same thing as
:
It follows from the
zero-product property
In algebra, the zero-product property states that the product of two nonzero elements is nonzero. In other words, \textab=0,\texta=0\textb=0.
This property is also known as the rule of zero product, the null factor law, the multiplication proper ...
that either
or
are the solutions, since precisely one of the factors must be equal to
zero
0 (zero) is a number representing an empty quantity. In place-value notation such as the Hindu–Arabic numeral system, 0 also serves as a placeholder numerical digit, which works by multiplying digits to the left of 0 by the radix, usual ...
. All quadratic equations will have two solutions in the
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
system, but need not have any in the
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
system. For example,
:
has no real number solution since no real number squared equals −1.
Sometimes a quadratic equation has a root of
multiplicity
Multiplicity may refer to: In science and the humanities
* Multiplicity (mathematics), the number of times an element is repeated in a multiset
* Multiplicity (philosophy), a philosophical concept
* Multiplicity (psychology), having or using mult ...
2, such as:
:
For this equation, −1 is a root of multiplicity 2. This means −1 appears twice, since the equation can be rewritten in factored form as
:
Complex numbers
All quadratic equations have exactly two solutions in
complex numbers
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
(but they may be equal to each other), a category that includes
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s,
imaginary numbers, and sums of real and imaginary numbers. Complex numbers first arise in the teaching of quadratic equations and the quadratic formula. For example, the quadratic equation
:
has solutions
:
Since
is not any real number, both of these solutions for ''x'' are complex numbers.
Exponential and logarithmic equations
An exponential equation is one which has the form
for
, which has solution
:
when
. Elementary algebraic techniques are used to rewrite a given equation in the above way before arriving at the solution. For example, if
:
then, by subtracting 1 from both sides of the equation, and then dividing both sides by 3 we obtain
:
whence
:
or
:
A logarithmic equation is an equation of the form
for
, which has solution
:
For example, if
:
then, by adding 2 to both sides of the equation, followed by dividing both sides by 4, we get
:
whence
:
from which we obtain
:
Radical equations
A radical equation is one that includes a radical sign, which includes
square root
In mathematics, a square root of a number is a number such that ; in other words, a number whose ''square'' (the result of multiplying the number by itself, or ⋅ ) is . For example, 4 and −4 are square roots of 16, because .
...
s,
cube roots,