Difference between revisions of "Expression"

m
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
  
In [[mathematics]], an '''expression''' is a combination of [[number]]s, [[variable]]s, and [[operator]]s that can be evaluated. [[Constant]]s, such as [[e]] and [[pi]], are commonly used in expressions.
+
In [[mathematics]], an '''expression''' is any meaningful combination of symbols.  What this means exactly varies depending on the mathematical context.  For instance, arithmetic expressions typically consist of [[number]]s, [[variable]]s, and [[operator]]s, arranged in a sensible way. Thus, <math>3 - \frac x4</math> is an arithmetic expression, while <math>7 \times + 43</math> is not.
  
Variables can be bound or free. For example, in the expression <math>\displaystyle\sum^{5}_{k=1}kx</math>, <math>x</math> is a free variable, but <math>k</math> is bound.
+
Again depending on context, one is often interested in finding equivalences between expressions of various sorts. In standard arithmetic, for instance, the two expressions <math>(3x + 4) - x + 2</math> is equivalent to the expression <math>2x + 6</math>.  This is represented by the use of an equal sign, <math>3x + 4 -x +2 = 2x - 6</math>.  In other branches of mathematics, other symbols are sometimes used, especially the symbol <math>\equiv</math>.
  
Two expressions are [[equivalent]] if they represent the same [[function]]. Equivalence is represented by an equal sign (=).
+
Note that in arithmetic, an equality like the one above is ''not'' an expression.  In [[mathematical logic]], however, arithmetic equations often ''are'' expressions.  For instance, <math>3x + 2 = 11</math> is a valid expression in [[Peano arithmetic]] (with a proper interpretation of symbols), and is logically equivalent to the expression <math>x = 3</math>. We might write this equivalence of expressions as <math>\left(3x +2 = 11\right) \Longleftrightarrow \left(x = 3\right)</math>.  Just like the equality of two arithmetic expressions is not an arithmetic expression, this equivalence of logical expressions is not a logical expression.
  
 
== See Also ==
 
== See Also ==
 
* [[Algebra]]
 
* [[Algebra]]
 
* [[Order of operations]]
 
* [[Order of operations]]

Revision as of 19:58, 9 November 2006

This article is a stub. Help us out by expanding it.

In mathematics, an expression is any meaningful combination of symbols. What this means exactly varies depending on the mathematical context. For instance, arithmetic expressions typically consist of numbers, variables, and operators, arranged in a sensible way. Thus, $3 - \frac x4$ is an arithmetic expression, while $7 \times + 43$ is not.

Again depending on context, one is often interested in finding equivalences between expressions of various sorts. In standard arithmetic, for instance, the two expressions $(3x + 4) - x + 2$ is equivalent to the expression $2x + 6$. This is represented by the use of an equal sign, $3x + 4 -x +2 = 2x - 6$. In other branches of mathematics, other symbols are sometimes used, especially the symbol $\equiv$.

Note that in arithmetic, an equality like the one above is not an expression. In mathematical logic, however, arithmetic equations often are expressions. For instance, $3x + 2 = 11$ is a valid expression in Peano arithmetic (with a proper interpretation of symbols), and is logically equivalent to the expression $x = 3$. We might write this equivalence of expressions as $\left(3x +2 = 11\right) \Longleftrightarrow \left(x = 3\right)$. Just like the equality of two arithmetic expressions is not an arithmetic expression, this equivalence of logical expressions is not a logical expression.

See Also