expression

In mathematics, an expression is a written arrangement of symbols following the context-dependent, syntactic conventions of mathematical notation. Symbols can denote numbers (constants), variables, operations, functions. Other symbols include punctuation signs and brackets (often used for grouping, that is for considering a part of the expression as a single symbol).
Many authors distinguish an expression from a formula, the former denoting a mathematical object, and the latter denoting a statement about mathematical objects. This is analogous to natural language, where a noun phrase refers to an object, and a whole sentence refers to a fact. For example,



8
x

5


{\displaystyle 8x-5}

is an expression, while



8
x

5

3


{\displaystyle 8x-5\geq 3}

is a formula.
Expressions can be evaluated or partially evaluated by replacing operations that appear in them with their result. For example, the expression



8
×
2

5


{\displaystyle 8\times 2-5}

evaluates partially to



16

5


{\displaystyle 16-5}

and totally to



11.


{\displaystyle 11.}


An expression is often used to define a function, by taking the variables to be arguments, or inputs, of the function, and assigning the output to be the total evaluation of the resulting expression. For example,



x


x

2


+
1


{\displaystyle x\mapsto x^{2}+1}

and



f
(
x
)
=

x

2


+
1


{\displaystyle f(x)=x^{2}+1}

define the function that associates to each number its square plus one. An expression with no variables would define a constant function. Usually, two expressions are considered equal or equivalent if they define the same function. Such an equality is called a "semantic equality", that is, both expressions "mean the same thing."
A formal expression is a kind of string of symols, created by the same production rules as standard expressions, however, they are used without regard to the meaning of the expression. In this way, two formal expressions are considered equal only if they are syntactically equal, that is, if they are the exact same expression. For instance, the formal expressions "2" and "1+1" are not equal.

View More On Wikipedia.org
Back
Top