MORE ABOUT THE SYMBOLIC LANGUAGE
Examples of symbolic expressions
Answers to objections & questions
Overloaded notation
This phrase comes from computing science. Mathematicians ought to be aware of the concept it names.
Example
For each set S the identity function
usually applies to a symbol or a name for a function that takes on different meanings depending on which type of element it is evaluated at. Such a function is also called polymorphic
Example
The identity function is a polymorphic name; in the usual formalism there is a different identity function on each set.
Example
A familiar example is the symbol ×, which is overloaded in college mathematics
courses. When a and b are numbers, a×b is their product. When A and B are
matrices, A×B is the matrix product. When v and w are
Example
Another example is the common treatment of the image for arbitrary functions: Let F:S→T be a function.
If x∈S, F(x) is the value of F applied to x. It is called the image of x under F.
If A is a subset of S, then F(A)={F(x)∣x∈A} (see setbuilder notation). It is called the image of A under F.
The image of F is the set of all t in T for which there is an x∈S such that F(x)=t, which is the image in the sense of (*) of the domain of F. The word "range" is also used for this meaning.
Remark
The preceding example is in a way fake. One could simply stipulate that every function F:S→T has values defined for every element of S and (in the way illustrated above) for every subset of S. However, the phrase "the image of F" would still overload the word "image".
Example
A functor F from a category C to a category D is defined on both objects and arrows of C. This, too is a fake example, since the value of the functor at identity arrows determines its value on objects.
Example
A text on vector spaces will very likely
use + for addition of vectors
in every vector space. Similarly, some texts on group theory will use e or
When students start taking
\ln{college mathematics}, the frequent occurrence of ad-hoc polymorphism means
that they have to \textit{read the surrounding text} to understand what a
\lni{symbolic expression} means: the expression is no longer self-sufficient.
When I first came across this aspect of mathematics in a matrix theory course
at
Remark
Example * illustrates the common case of using the same symbol in every model for a particular operation in an axiomatically defined mathematical structure.
Remark
The operation × does not require the same algorithm on
matrices as it does on
Many mathematicians think and speak informally of a parametrically polymorphic function as one single function. ("... the identity function is injective").
Remark
The concept "overloaded" is natural in computing
science because operations on different data types are typically implemented
differently. For example, addition of integers is implemented differently from
addition of floating point numbers in most computer languages. The concept is
less natural in mathematics, where you could define the operation on the
disjoint union of all the sets under consideration (for ×, the set might be R
plus the set of all
See also superscript.
Citations: KulMir
Problems with bound variables
Students find it difficult to learn how to use bound variables correctly.
They may allow variable clash.
They may not understand that the choice of bound variable
does not matter (except for variable clash); thus ∫
They may move a bound variable out of its binder, for
example changing ∑i=
They may substitute for it, although in my teaching experience that is uncommon.
Terminology
Bound variables are also called dummy variables.
The variable in setbuilder notation, such as the x in Equation (9), is bound, in the sense that you cannot
substitute anything for it. The "dummy variable" x in an integral
such as ∫a b f(x) dx
is bound in the same sense. On the other hand, the a and b in Equation (11) are free
variables: by substituting real numbers for a and b you get specific sets such as [
More about substitution
Naming expressions
We will name [predicate]predicates
with letters in much the same way that we use letters to denote numbers in
algebra. It is allowed, but not required, to show the variable(s) in parentheses.
For example, we can say: let P(x) denote the predicate "
We can also say, "Let P denote the predicate
Predicates can have more than one variable. For example, let
Q(x,y) be " x≤y". Then Q(
Worked Exercise
Let m and n be integer variables. Let P(n) denote the
predicate n<
Exercise
If Q(x) is the predicate x
Exercise
Let P(x,y,z) be the predicate xy<
x+z+
Exercise
P(
Exercise
P(
Exercise
P(x,x,y)
Exercise
P(x,x+y,y+z).
Answer: a.
Exercise
Let P be the predicate of Exercise 4. Write out P(x,x,x) and
P(x,x-
You may have seen notation such as " f(x)" to
denote a function. Thus if f(x) is the function whose [value (of a function)]value at x is