In mathematics, an equation is a statement that two quantities are equal. It is usually regarded as a kind of mathematical problem in which you have to find a value which makes the equation true. A simple example is the question: What do you have to fill in on the dots in … + 2 = 3? The answer is 1, because 1 + 2 = 3. The unknown quantity in such problems is frequently denoted by a letter, often x, so that the equation becomes x + 2 = 3. The solution of this equation is x = 1. In general, an equation may have no solution, one solution or many solutions.
By contrast, an identity is an equality which is stated to be universally true for all permissible values of the variables, rather than representing a condition on those values. For example, is an identity for real numbers, since it is true for all real values of x and y.
Scientific laws are often formulated as equations, especially in physics and other natural sciences. Examples are Newton's laws, the equation of a harmonic oscillator and the Schrödinger equation. The term equation is used also in chemistry, indicating conservation of atomic or isotopic content (and rarely other forms of energy, e.g. light) during chemical reactions.
Domain of the unknown
Technically, an equation has to indicate what values the unknown variable can take. This is called the domain of the variable. For instance, the equation x + 1 = 0 has no solutions if x is supposed to be a natural number, but it does have a solution (namely, x = −1) if x is supposed to be an integer number.
Similarly, the equation has no solutions if the domain is formed by the rational numbers, it has two solutions (namely, and ) among the real numbers, and it has only one solution (namely, ) among the positive real numbers.
Often, the domain is not specified explicitly, but it is assumed that the reader knows what it is supposed to be.
The equation may have the form
Function in equation (1) ; or functions and in equation (2) may also depend on some parameter(s). In this case, the solution(s) also may depend on parameter(s). Indicating the function, the parameter, say, , can be specified as a second argument, writing , or as subscript, writing , .
In relatively simple cases, function depends only on the unknown variable, and depends on the parameter; for example,
In this case, the solution is considered as an inverse function of , which can be written as
Dependending on the function , range of values of and set , there may exist no inverse function, one inverse function or several inverse functions.
Graphical solution of equations
Solving equations, it may worth to begin with graphic solution of the equation, which allows the quick and dirty estimates. One plots both functions, and at the same graphic, and watch the point (s) of the intersection of the curves. In figure 1, functions is plotted with black line, and function is plotted with red curve. The intersections with black curve indicate values of which are solutions.
At the same figure, the cases (only one solution, ) and (no solutions among real numbers) are shown with green and blue curves.
System of equations
In the equations (1) or (2), may denote several numbers at once, ; and functions and may return values from multidimensional space . In this case, one says that there is system of equations. For example, there is well developed theory of systems of linear equations, while unknown variables are real or complex numbers.
In particular, the variable may denote a function of one or several variables, so that the set of possible values is some functional space, usually a Banach or even Hilbert space; the function is then an operator on this space which may be expressed in terms of derivatives or integrals of the function elements. In these cases, the equation is called a differential equation or an integral equation.
Equations can be used for objects of any origin, as soon, as the operation of equality is defined. In particular, in Quantum mechanics, the Heisenberg equation deals with non-commuting objects (operators).