From Wikipedia, the free encyclopedia - View original article

This article needs additional citations for verification. (January 2012) |

In mathematics, an **expression** (or **mathematical expression**) is a finite combination of symbols that is well-formed according to rules that depend on the context. Mathematical symbols can designate numbers (constants), variables, operations, functions, punctuation, symbols of grouping, and other syntactic symbols.

The use of expressions ranges from the simple:

to the complex:

Mathematical expressions include arithmetic expressions, polynomials, algebraic expressions, closed-form expressions, and analytical expressions. The table below highlights some similarities and differences between these different types.

Arithmetic expressions | Polynomials | Algebraic expressions | Closed-form expressions | Analytical expressions | Mathematical expressions | |
---|---|---|---|---|---|---|

Constant | Yes | Yes | Yes | Yes | Yes | Yes |

Variable | Yes | Yes | Yes | Yes | Yes | Yes |

Elementary arithmetic operation | Yes | Yes | Yes | Yes | Yes | Yes |

Factorial | Yes | Yes | Yes | Yes | Yes | Yes |

Integer exponent | No | Yes | Yes | Yes | Yes | Yes |

N-th root | No | No | Yes | Yes | Yes | Yes |

Rational exponent | No | No | Yes | Yes | Yes | Yes |

Irrational exponent | No | No | No | Yes | Yes | Yes |

Logarithm | No | No | No | Yes | Yes | Yes |

Trigonometric function | No | No | No | Yes | Yes | Yes |

Inverse trigonometric function | No | No | No | Yes | Yes | Yes |

Hyperbolic function | No | No | No | Yes | Yes | Yes |

Inverse hyperbolic function | No | No | No | Yes | Yes | Yes |

Gamma function | No | No | No | No | Yes | Yes |

Bessel function | No | No | No | No | Yes | Yes |

Special function | No | No | No | No | Yes | Yes |

Continued fraction | No | No | No | No | Yes | Yes |

Infinite series | No | No | No | No | Yes | Yes |

Formal power series | No | No | No | No | No | Yes |

Differential | No | No | No | No | No | Yes |

Limit | No | No | No | No | No | Yes |

Integral | No | No | No | No | No | Yes |

Main article: Syntax

Being an expression is a syntactic concept.

An expression must be well-formed; i.e., the operators must have the correct number of inputs, in the correct places. Strings of symbols that violate the rules of syntax are not well-formed and are not valid mathematical expressions.

For example, in the usual notation of arithmetic, the expression *2 + 3* is well formed, but the expression ** 2 +* is not. Similarly,

would not be considered a mathematical expression but only a meaningless jumble.^{[1]}

Main articles: Semantics and Formal semantics (logic)

Semantics is the study of meaning. Formal semantics is about attaching meaning to expressions.

In algebra, an expression may be used to designate a value, which might depend on values assigned to variables occurring in the expression. The determination of this value depends on the semantics attached to the symbols of the expression. These semantic rules may declare that certain expressions do not designate any value (for instance when they involve division by 0); such expressions are said to have an undefined value, but they are well-formed expressions nonetheless. In general the meaning of expressions is not limited to designating values; for instance, an expression might designate a condition, or an equation that is to be solved, or it can be viewed as an object in its own right that can be manipulated according to certain rules. Certain expressions that designate a value simultaneously express a condition that is assumed to hold, for instance those involving the operator to designate an internal direct sum.

Formal languages are concerned by how expressions are constructed. They form a key element of formal systems.

Expressions and their evaluation were formalized by Alonzo Church and Stephen Kleene^{[2]} in the 1930s in their lambda calculus. The lambda calculus has been a major influence in the development of modern mathematics and computer programming languages.^{[3]}

One of the more interesting results of the lambda calculus is that the equivalence of two expressions in the lambda calculus is in some cases undecidable. This is also true of any expression in any system that has power equivalent to the lambda calculus.

Many mathematical expressions include letters called variables. Any variable can be classified as being either a free variable or a bound variable.

For a given combination of values for the free variables, an expression may be evaluated, although for some combinations of values of the free variables, the value of the expression may be undefined. Thus an expression represents a function whose inputs are the value assigned the free variables and whose output is the resulting value of the expression.^{[4]}

For example, the expression

evaluated for *x* = 10, *y* = 5, will give 2; but it is undefined for *y* = 0.

The evaluation of an expression is dependent on the definition of the mathematical operators and on the system of values that is its context.

Two expressions are said to be equivalent if, for each combination of values for the free variables, they have the same output, i.e., they represent the same function. Example:

The expression

has free variable *x*, bound variable *n*, constants 1, 2, and 3, two occurrences of an implicit multiplication operator, and a summation operator. The expression is equivalent to the simpler expression 12*x*. The value for *x* = 3 is 36.

- Redden, John.
*Elementary Algebra*. Flat World Knowledge, 2011.