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: 2x + 4 = 12 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: ax+b=c Following the same procedure (i.e. subtract from both sides, and then divide by ), the general solution is given by x=\frac{c-b}{a}
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: y = x + 22 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 : \begin{align} y + 10 &= 2 \times (x + 10)\\ y &= 2 \times (x + 10) - 10 && \text{Subtract 10 from both sides}\\ y &= 2x + 20 - 10 && \text{Multiple out brackets}\\ y &= 2x + 10 && \text{Simplify} \end{align} 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): :\begin{cases} y = x + 22 & \text{First equation}\\ y = 2x + 10 & \text{Second equation} \end{cases} :\begin{align} &&&\text{Subtract the first equation from}\\ (y - y) &= (2x - x) +10 - 22 && \text{the second in order to remove } y\\ 0 &= x - 12 && \text{Simplify}\\ 12 &= x && \text{Add 12 to both sides}\\ x &= 12 && \text{Rearrange} \end{align} 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, x^2, 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 ax^2 + bx + c = 0, 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 ax^2, which is known as the quadratic term. Hence a \neq 0, and so we may divide by and rearrange the equation into the standard form : x^2 + px + q = 0 where p = \frac{b}{a} and q = \frac{c}{a}. Solving this, by a process known as
completing the square, leads to the
quadratic formula :x=\frac{-b \pm \sqrt {b^2-4ac}}{2a}, where
the symbol "±" indicates that both : x=\frac{-b + \sqrt {b^2-4ac}}{2a}\quad\text{and}\quad x=\frac{-b - \sqrt {b^2-4ac}}{2a} are solutions of the quadratic equation. Quadratic equations can also be solved using
factorization (the reverse process of which is
expansion, but for two
linear terms is sometimes denoted
foiling). As an example of factoring: : x^{2} + 3x - 10 = 0, which is the same thing as : (x + 5)(x - 2) = 0. It follows from the
zero-product property that either x = 2 or x = -5 are the solutions, since precisely one of the factors must be equal to
zero. All quadratic equations will have two solutions in the
complex number system, but need not have any in the
real number system. For example, : x^{2} + 1 = 0 has no real number solution since no real number squared equals −1. Sometimes a quadratic equation has a root of
multiplicity 2, such as: : (x + 1)^2 = 0. 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 :[x-(-1)][x-(-1)]=0.
Complex numbers All quadratic equations have exactly two solutions in
complex numbers (but they may be equal to each other), a category that includes
real numbers,
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 :x^2+x+1=0 has solutions :x=\frac{-1 + \sqrt{-3}}{2} \quad \quad \text{and} \quad \quad x=\frac{-1-\sqrt{-3}}{2}. Since \sqrt{-3} is not any real number, both of these solutions for
x are complex numbers.
Exponential and logarithmic equations of the logarithm to base 2 crosses the
x axis (horizontal axis) at 1 and passes through the points with
coordinates , , and . For example, , because The graph gets arbitrarily close to the
y axis, but
does not meet or intersect it. An exponential equation is one which has the form a^x = b for a > 0, which has solution : x = \log_a b = \frac{\ln b}{\ln a} when b > 0. Elementary algebraic techniques are used to rewrite a given equation in the above way before arriving at the solution. For example, if : 3 \cdot 2^{x - 1} + 1 = 10 then, by subtracting 1 from both sides of the equation, and then dividing both sides by 3 we obtain : 2^{x - 1} = 3 whence : x - 1 = \log_2 3 or : x = \log_2 3 + 1. A logarithmic equation is an equation of the form log_a(x) = b for a > 0, which has solution : x = a^b. For example, if : 4\log_5(x - 3) - 2 = 6 then, by adding 2 to both sides of the equation, followed by dividing both sides by 4, we get : \log_5(x - 3) = 2 whence : x - 3 = 5^2 = 25 from which we obtain : x = 28.
Radical equations {{Image frame|align=right|width=150|caption=Radical equation showing two ways to represent the same expression. The triple bar means the equation is true for all values of
x|content=\overset{}{\underset{}{\sqrt[2]{x^3} \equiv x^{\frac 3 2} } }}} A radical equation is one that includes a radical sign, which includes
square roots, \sqrt{x},
cube roots, \sqrt[3]{x}, and
nth roots, \sqrt[n]{x}. Recall that an
nth root can be rewritten in exponential format, so that \sqrt[n]{x} is equivalent to x^{\frac{1}{n}}. Combined with regular exponents (powers), then \sqrt[2]{x^3} (the square root of cubed), can be rewritten as x^{\frac{3}{2}}. So a common form of a radical equation is \sqrt[n]{x^m}=a (equivalent to x^\frac{m}{n}=a) where and are
integers. It has
real solution(s): For example, if: :(x + 5)^{2/3} = 4 then : \begin{align} x + 5 & = \pm (\sqrt{4})^3,\\ x + 5 & = \pm 8,\\ x & = -5 \pm 8, \end{align} and thus :x = 3 \quad \text{or}\quad x = -13
System of linear equations There are different methods to solve a system of linear equations with two variables.
Elimination method An example of solving a system of linear equations is by using the elimination method: : \begin{cases}4x + 2y&= 14 \\ 2x - y&= 1.\end{cases} Multiplying the terms in the second equation by 2: : 4x + 2y = 14 : 4x - 2y = 2. Adding the two equations together to get: : 8x = 16 which simplifies to : x = 2. Since the fact that x = 2 is known, it is then possible to deduce that y = 3 by either of the original two equations (by using
2 instead of ) The full solution to this problem is then : \begin{cases} x = 2 \\ y = 3. \end{cases} This is not the only way to solve this specific system; could have been resolved before .
Substitution method Another way of solving the same system of linear equations is by substitution. : \begin{cases}4x + 2y &= 14 \\ 2x - y &= 1.\end{cases} An equivalent for can be deduced by using one of the two equations. Using the second equation: : 2x - y = 1 Subtracting 2x from each side of the equation: : \begin{align}2x - 2x - y & = 1 - 2x \\ - y & = 1 - 2x \end{align} and multiplying by −1: : y = 2x - 1. Using this value in the first equation in the original system: : \begin{align}4x + 2(2x - 1) &= 14\\ 4x + 4x - 2 &= 14 \\ 8x - 2 &= 14 \end{align} Adding
2 on each side of the equation: : \begin{align}8x - 2 + 2 &= 14 + 2 \\ 8x &= 16 \end{align} which simplifies to : x = 2 Using this value in one of the equations, the same solution as in the previous method is obtained. : \begin{cases} x = 2 \\ y = 3. \end{cases} This is not the only way to solve this specific system; in this case as well, could have been solved before .
Other types of systems of linear equations Inconsistent systems In the above example, a solution exists. However, there are also systems of equations which do not have any solution. Such a system is called
inconsistent. An obvious example is : \begin{cases}\begin{align} x + y &= 1 \\ 0x + 0y &= 2\,. \end{align} \end{cases} As 0≠2, the second equation in the system has no solution. Therefore, the system has no solution. However, not all inconsistent systems are recognized at first sight. As an example, consider the system : \begin{cases}\begin{align}4x + 2y &= 12 \\ -2x - y &= -4\,. \end{align}\end{cases} Multiplying by 2 both sides of the second equation, and adding it to the first one results in : 0x+0y = 4 \,, which clearly has no solution.
Undetermined systems There are also systems which have infinitely many solutions, in contrast to a system with a unique solution (meaning, a unique pair of values for and ) For example: : \begin{cases}\begin{align}4x + 2y & = 12 \\ -2x - y & = -6 \end{align}\end{cases} Isolating in the second equation: : y = -2x + 6 And using this value in the first equation in the system: : \begin{align}4x + 2(-2x + 6) = 12 \\ 4x - 4x + 12 = 12 \\ 12 = 12 \end{align} The equality is true, but it does not provide a value for . Indeed, one can easily verify (by just filling in some values of ) that for any there is a solution as long as y = -2x + 6. There is an infinite number of solutions for this system.
Over- and underdetermined systems Systems with more variables than the number of linear equations are called
underdetermined. Such a system, if it has any solutions, does not have a unique one but rather an infinitude of them. An example of such a system is : \begin{cases}\begin{align}x + 2y & = 10\\ y - z & = 2 .\end{align}\end{cases} When trying to solve it, one is led to express some variables as functions of the other ones if any solutions exist, but cannot express
all solutions
numerically because there are an infinite number of them if there are any. A system with a higher number of equations than variables is called
overdetermined. If an overdetermined system has any solutions, necessarily some equations are
linear combinations of the others. == See also ==