In the context of mathematics, What is the difference between equation and formula?

An equation is a statement of equality, however latter is defined. The usual symbol in mathematics abbreviating is equal to is $=.$ Thus, any formula containing that symbol is called an equation.

That brings us to formula. A formula is an expression, but it's usually used for well-formed expressions. From the name, a formula is a recipe -- sort of -- a method, an algorithm, expressing a sequence of operations and relationships. Thus all equations may be regarded as formulae, but clearly there are many other expressions that are not equations. We may make a distinction between a formula and its expression, but I have blurred that distinction here, just as we blur the distinction between a numeral and a number, or between a function and its values, for example.


A formula is a special kind of equation, namely one that is solved for the unknown.

For example, in its general form the equation $a^2+b^2 = c^2$ in the Pythagorean Theorem is just that, an equation.

But if you rewrite it as $c = \sqrt{a^2+b^2}$, then you have a formula to get the hypotenuse of a right-angled triangle from its legs.


A formula is any expression built from mathematical symbols built in accordance to their rules of syntax. A simples formula may be just one symbol, for example $2$. More complicated formula are for example $2+x$, $x < y$ or $A^{-1}b$. If the formula contains no symbols representing variables, then the formula has a value; if it contains any symbols of variables, then the formula represents a function, and it has value only if we assign specific values to the variables. These values may be numerical like for the formulae $2+2$ or $\sqrt{4}$, but it may also be logical like for the formulae $2<3$ or $2=3$, or belong to some other category (it can be a set, vector, etc.).

An equation is a formula that has the specific form $$ formula1 = formula 2$$ where at least one of the formulae contains a variable, for example $Ax=b$. We call a specific value of that variable a solution of the exuation, if for that value of the variable the equation has a logical value 'true'. For example $A^{-1}b$ is a solution of equation $Ax=b$.

When we have a equation that simply says for example $x=A^{-1}b$ it can be said that the value of $x$ is given by the formula $A^{-1}b$, that is, this formual gives the only value of $x$ that solves the equation.

To sum up you can understand an expression $ x=A^{-1}b$ in two ways:

  • as a formula that for various values of $x4 may be true or false (an equation), or

  • as a statement that $A^{-1}b$ is the solution of some equation containing variable $x$.

In the cited fragment it is used in the second sense.