A Handbook of Mathematical Discourse
symbolic expression
A symbolic expression (or just expression) is a collection of mathematical symbols arranged
a) according to the commonly accepted rules for writing mathematics,
or
b) according to some mathematical definition of a formal language. Every expression is either a term or an symbolic assertion. In particular, every symbol is a symbolic expression.
The meaning of a symbolic expression is normally determined synthetically from the arrangement and the meanings of the individual symbols. See semantics and compositional.
Example 1 The expressions $x^{2}$ and $\sin ^{2} \pi$ mentioned under symbol are symbolic expressions. “$\sin ^{2} \pi$” is an arrangement of three symbols, namely sin, 2 and $\pi$. The arrangement itself is meaningful; “$\sin ^{2} \pi$” is not the same symbolic expression as $2\sin \pi$ even though they represent the same mathematical object.
Remark 1 As the example indicates, the “arrangement” need not be a string.
Citations: (93), (286), (316), (351), (407).
Subexpressions An expression may contain a subexpression. The rules for forming expressions and the use of delimiters allow one to determine the subexpressions.
Example 2 The subexpressions in $x^{2}$ are $x^{2}, x$ and 2. Two of the subexpressions in $(2x + 5)^{3}$ are $2x$ and $2x+ 5$. The rules of algebra require the latter to be inclosed in parentheses, but not the former.
Example 3 Is $\sin \pi$ a subexpression of $\sin ^{2} \pi$? This depends on the rules for construction of this expression; there is no book to consult because the rules for symbolic expressions in the mathematical register are not written down anywhere, except possible in the bowels of Mathematica® (see Remark 3 under symbolic language). One could imagine a rule that constructs the function $\sin ^{2}$ from sin and notation for the squaring function, in which case $\sin \pi$ is not a subexpression of $\sin ^{2}\pi$. On the other hand, one could imagine a system in which one constructs $(\sin \pi )^{2}$ and than a Chomsky-style transformation converts it to $\sin ^{2} \pi$. In that case $\sin \pi$ is in some sense a subexpression of $\sin ^{2} \pi$.
This example shows that determining subexpressions from the typographical arrangement is not a trivial task. One must understand the rules for forming expressions, implicitly if not explicitly.
Example 4 The set
$$\{f \mid f= \sin ^{n}, n \in \mathbb{N}, n > 0\}$$
could also be written
$$\{f \mid f \text{ is a positive integral power of the sine function}\}$$
showing that English phrases can occur embedded in symbolic expressions.
References: Symbols and symbolic expressions are discussed in the context of mathematical education in [Schoenfeld, 1985], [Harel and Kaput, 1992], [Tall, 1992c].
Pages 241–243 of the book (PDF).