Solving Equations
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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 In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...
, consisting generally of two expressions related by an equals sign. When seeking a solution, one or more
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 are designated as ''unknowns''. A solution is an assignment of values to the unknown variables that makes the equality in the equation true. In other words, a solution is a value or a collection of values (one for each unknown) such that, when
substituted A substitution reaction (also known as single displacement reaction or single substitution reaction) is a chemical reaction during which one functional group in a chemical compound is replaced by another functional group. Substitution reactions ar ...
for the unknowns, the equation becomes an equality. A solution of an equation is often called a root of the equation, particularly but not only for polynomial equations. The set of all solutions of an equation is its
solution set In mathematics, a solution set is the set of values that satisfy a given set of equations or inequalities. For example, for a set of polynomials over a ring , the solution set is the subset of on which the polynomials all vanish (evaluate to ...
. An equation may be solved either
numerically Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods th ...
or symbolically. Solving an equation ''numerically'' means that only numbers are admitted as solutions. Solving an equation ''symbolically'' means that expressions can be used for representing the solutions. For example, the equation is solved for the unknown by the expression , because substituting for in the equation results in , a true statement. It is also possible to take the variable to be the unknown, and then the equation is solved by . Or and can both be treated as unknowns, and then there are many solutions to the equation; a symbolic solution is , where the variable may take any value. Instantiating a symbolic solution with specific numbers gives a numerical solution; for example, gives (that is, ), and gives . The distinction between known variables and unknown variables is generally made in the statement of the problem, by phrases such as "an equation ''in'' and ", or "solve ''for'' and ", which indicate the unknowns, here and . However, it is common to reserve , , , ... to denote the unknowns, and to use , , , ... to denote the known variables, which are often called parameters. This is typically the case when considering polynomial equations, such as quadratic equations. However, for some problems, all variables may assume either role. Depending on the context, solving an equation may consist to find either any solution (finding a single solution is enough), all solutions, or a solution that satisfies further properties, such as belonging to a given interval. When the task is to find the solution that is the ''best'' under some criterion, this is an optimization problem. Solving an optimization problem is generally not referred to as "equation solving", as, generally, solving methods start from a particular solution for finding a better solution, and repeating the process until finding eventually the best solution.


Overview

One general form of an equation is :f\left(x_1,\dots,x_n\right)=c, where is a function, are the unknowns, and is a constant. Its solutions are the elements of the inverse image :f^(c)=\bigl\, where is the
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined **Domain of definition of a partial function **Natural domain of a partial function **Domain of holomorphy of a function * Do ...
of the function . The set of solutions can be the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other ...
(there are no solutions), a singleton (there is exactly one solution), finite, or infinite (there are infinitely many solutions). For example, an equation such as :3x+2y=21z, with unknowns and , can be put in the above form by subtracting from both sides of the equation, to obtain :3x+2y-21z=0 In this particular case there is not just ''one'' solution, but an infinite set of solutions, which can be written using
set builder notation In set theory and its applications to logic, mathematics, and computer science, set-builder notation is a mathematical notation for describing a set by enumerating its elements, or stating the properties that its members must satisfy. Defining ...
as :\bigl\. One particular solution is . Two other solutions are , and . There is a unique
plane Plane(s) most often refers to: * Aero- or airplane, a powered, fixed-wing aircraft * Plane (geometry), a flat, 2-dimensional surface Plane or planes may also refer to: Biology * Plane (tree) or ''Platanus'', wetland native plant * Planes (gen ...
in three-dimensional space which passes through the three points with these
coordinates In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine the position of the points or other geometric elements on a manifold such as Euclidean space. The order of the coordinates is sig ...
, and this plane is the set of all points whose coordinates are solutions of the equation.


Solution sets

The
solution set In mathematics, a solution set is the set of values that satisfy a given set of equations or inequalities. For example, for a set of polynomials over a ring , the solution set is the subset of on which the polynomials all vanish (evaluate to ...
of a given set of equations or inequalities is the
set Set, The Set, SET or SETS may refer to: Science, technology, and mathematics Mathematics *Set (mathematics), a collection of elements *Category of sets, the category whose objects and morphisms are sets and total functions, respectively Electro ...
of all its solutions, a solution being a tuple of values, one for each unknown, that satisfies all the equations or inequalities. If the
solution set In mathematics, a solution set is the set of values that satisfy a given set of equations or inequalities. For example, for a set of polynomials over a ring , the solution set is the subset of on which the polynomials all vanish (evaluate to ...
is empty, then there are no values of the unknowns that satisfy simultaneously all equations and inequalities. For a simple example, consider the equation :x^2=2. This equation can be viewed as a
Diophantine equation In mathematics, a Diophantine equation is an equation, typically a polynomial equation in two or more unknowns with integer coefficients, such that the only solutions of interest are the integer ones. A linear Diophantine equation equates to a c ...
, that is, an equation for which only integer solutions are sought. In this case, the solution set is the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other ...
, since 2 is not the square of an integer. However, if one searches for real solutions, there are two solutions, and ; in other words, the solution set is . When an equation contains several unknowns, and when one has several equations with more unknowns than equations, the solution set is often infinite. In this case, the solutions cannot be listed. For representing them, a parametrization is often useful, which consists of expressing the solutions in terms of some of the unknowns or auxiliary variables. This is always possible when all the equations are linear. Such infinite solution sets can naturally be interpreted as
geometric Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is ca ...
shapes such as
lines Line most often refers to: * Line (geometry), object with zero thickness and curvature that stretches to infinity * Telephone line, a single-user circuit on a telephone communication system Line, lines, The Line, or LINE may also refer to: Arts ...
,
curves A curve is a geometrical object in mathematics. Curve(s) may also refer to: Arts, entertainment, and media Music * Curve (band), an English alternative rock music group * ''Curve'' (album), a 2012 album by Our Lady Peace * "Curve" (song), a 20 ...
(see picture),
planes Plane(s) most often refers to: * Aero- or airplane, a powered, fixed-wing aircraft * Plane (geometry), a flat, 2-dimensional surface Plane or planes may also refer to: Biology * Plane (tree) or ''Platanus'', wetland native plant * ''Planes' ...
, and more generally algebraic varieties or
manifold In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an n-dimensional manifold, or ''n-manifold'' for short, is a topological space with the property that each point has a n ...
s. In particular,
algebraic geometry Algebraic geometry is a branch of mathematics, classically studying zeros of multivariate polynomials. Modern algebraic geometry is based on the use of abstract algebraic techniques, mainly from commutative algebra, for solving geometrical ...
may be viewed as the study of solution sets of algebraic equations.


Methods of solution

The methods for solving equations generally depend on the type of equation, both the kind of expressions in the equation and the kind of values that may be assumed by the unknowns. The variety in types of equations is large, and so are the corresponding methods. Only a few specific types are mentioned below. In general, given a class of equations, there may be no known systematic method ( algorithm) that is guaranteed to work. This may be due to a lack of mathematical knowledge; some problems were only solved after centuries of effort. But this also reflects that, in general, no such method can exist: some problems are known to be unsolvable by an algorithm, such as
Hilbert's tenth problem Hilbert's tenth problem is the tenth on the list of mathematical problems that the German mathematician David Hilbert posed in 1900. It is the challenge to provide a general algorithm which, for any given Diophantine equation (a polynomial equat ...
, which was proved unsolvable in 1970. For several classes of equations, algorithms have been found for solving them, some of which have been implemented and incorporated in computer algebra systems, but often require no more sophisticated technology than pencil and paper. In some other cases, heuristic methods are known that are often successful but that are not guaranteed to lead to success.


Brute force, trial and error, inspired guess

If the solution set of an equation is restricted to a finite set (as is the case for equations in modular arithmetic, for example), or can be limited to a finite number of possibilities (as is the case with some
Diophantine equation In mathematics, a Diophantine equation is an equation, typically a polynomial equation in two or more unknowns with integer coefficients, such that the only solutions of interest are the integer ones. A linear Diophantine equation equates to a c ...
s), the solution set can be found by
brute force Brute Force or brute force may refer to: Techniques * Brute force method or proof by exhaustion, a method of mathematical proof * Brute-force attack, a cryptanalytic attack * Brute-force search, a computer problem-solving technique People * Brut ...
, that is, by testing each of the possible values (
candidate solutions In mathematical optimization, a feasible region, feasible set, search space, or solution space is the set of all possible points (sets of values of the choice variables) of an optimization problem that satisfy the problem's constraints, poten ...
). It may be the case, though, that the number of possibilities to be considered, although finite, is so huge that an exhaustive search is not practically feasible; this is, in fact, a requirement for strong encryption methods. As with all kinds of
problem solving Problem solving is the process of achieving a goal by overcoming obstacles, a frequent part of most activities. Problems in need of solutions range from simple personal tasks (e.g. how to turn on an appliance) to complex issues in business an ...
, trial and error may sometimes yield a solution, in particular where the form of the equation, or its similarity to another equation with a known solution, may lead to an "inspired guess" at the solution. If a guess, when tested, fails to be a solution, consideration of the way in which it fails may lead to a modified guess.


Elementary algebra

Equations involving linear or simple rational functions of a single real-valued unknown, say , such as :8x+7=4x+35 \quad \text \quad \frac = 2 \, , can be solved using the methods of elementary algebra.


Systems of linear equations

Smaller systems of linear equations can be solved likewise by methods of elementary algebra. For solving larger systems, algorithms are used that are based on linear algebra.


Polynomial equations

Polynomial equations of degree up to four can be solved exactly using algebraic methods, of which the quadratic formula is the simplest example. Polynomial equations with a degree of five or higher require in general numerical methods (see below) or special functions such as
Bring radical In algebra, the Bring radical or ultraradical of a real number ''a'' is the unique real root of the polynomial : x^5 + x + a. The Bring radical of a complex number ''a'' is either any of the five roots of the above polynomial (it is thus m ...
s, although some specific cases may be solvable algebraically, for example :4x^5 - x^3 - 3 = 0 (by using the rational root theorem), and :x^6 - 5x^3 + 6 = 0 \, , (by using the substitution , which simplifies this to a quadratic equation in ).


Diophantine equations

In Diophantine equations the solutions are required to be integers. In some cases a brute force approach can be used, as mentioned above. In some other cases, in particular if the equation is in one unknown, it is possible to solve the equation for rational-valued unknowns (see Rational root theorem), and then find solutions to the Diophantine equation by restricting the solution set to integer-valued solutions. For example, the polynomial equation :2x^5-5x^4-x^3-7x^2+2x+3=0\, has as rational solutions and , and so, viewed as a Diophantine equation, it has the unique solution . In general, however, Diophantine equations are among the most difficult equations to solve.


Inverse functions

In the simple case of a function of one variable, say, , we can solve an equation of the form for some constant by considering what is known as the '' inverse function'' of . Given a function , the inverse function, denoted and defined as , is a function such that :h^\bigl(h(x)\bigr) = h\bigl(h^(x)\bigr) = x \,. Now, if we apply the inverse function to both sides of , where is a constant value in , we obtain :\begin h^\bigl(h(x)\bigr) &= h^(c) \\ x &= h^(c) \\ \end and we have found the solution to the equation. However, depending on the function, the inverse may be difficult to be defined, or may not be a function on all of the set (only on some subset), and have many values at some point. If just one solution will do, instead of the full solution set, it is actually sufficient if only the functional identity :h\left(h^(x)\right) = x holds. For example, the
projection Projection, projections or projective may refer to: Physics * Projection (physics), the action/process of light, heat, or sound reflecting from a surface to another in a different direction * The display of images by a projector Optics, graphic ...
defined by has no post-inverse, but it has a pre-inverse defined by . Indeed, the equation is solved by :(x,y) = \pi_1^(c) = (c,0). Examples of inverse functions include the th root (inverse of ); the logarithm (inverse of ); the
inverse trigonometric function In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
s; and Lambert's function (inverse of ).


Factorization

If the left-hand side expression of an equation can be factorized as , the solution set of the original solution consists of the union of the solution sets of the two equations and . For example, the equation :\tan x + \cot x = 2 can be rewritten, using the identity as :\frac = 0, which can be factorized into :\frac= 0. The solutions are thus the solutions of the equation , and are thus the set :x = \tfrac + k\pi, \quad k = 0, \pm 1, \pm 2, \ldots.


Numerical methods

With more complicated equations in real or complex numbers, simple methods to solve equations can fail. Often, root-finding algorithms like the Newton–Raphson method can be used to find a numerical solution to an equation, which, for some applications, can be entirely sufficient to solve some problem.


Matrix equations

Equations involving matrices and vectors of real numbers can often be solved by using methods from linear algebra.


Differential equations

There is a vast body of methods for solving various kinds of differential equations, both
numerically Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods th ...
and analytically. A particular class of problem that can be considered to belong here is
integration Integration may refer to: Biology *Multisensory integration *Path integration * Pre-integration complex, viral genetic material used to insert a viral genome into a host genome *DNA integration, by means of site-specific recombinase technology, ...
, and the analytic methods for solving this kind of problems are now called
symbolic integration In calculus, symbolic integration is the problem of finding a formula for the antiderivative, or ''indefinite integral'', of a given function ''f''(''x''), i.e. to find a differentiable function ''F''(''x'') such that :\frac = f(x). This is also ...
. Solutions of differential equations can be ''
implicit Implicit may refer to: Mathematics * Implicit function * Implicit function theorem * Implicit curve * Implicit surface * Implicit differential equation Other uses * Implicit assumption, in logic * Implicit-association test, in social psychology ...
'' or ''explicit''.


See also

*
Extraneous and missing solutions In mathematics, an extraneous solution (or spurious solution) is a solution, such as that to an equation, that emerges from the process of solving the problem but is not a valid solution to the problem. A missing solution is a solution that is a v ...
* Simultaneous equations *
Equating coefficients In mathematics, the method of equating the coefficients is a way of solving a functional equation of two expressions such as polynomials for a number of unknown parameters. It relies on the fact that two expressions are identical precisely when co ...
*
Solving the geodesic equations Solving the geodesic equations is a procedure used in mathematics, particularly Riemannian geometry, and in physics, particularly in general relativity, that results in obtaining geodesics. Physically, these represent the paths of (usually ideal) ...
* Unification (computer science) — solving equations involving symbolic expressions


References

{{DEFAULTSORT:Equation Solving Equations Inverse functions Unification (computer science)