MORE ABOUT THE SYMBOLIC LANGUAGE

Overloaded notation

Problems with bound variables

More about substitution

Examples of symbolic expressions

Irregular syntax

Dependent variable notation

Pronunciation

Structural notation

Suppression of parameters

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 3-vectors, v×w is their vector product.

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 1 for the identity element for any group and juxtaposition for the binary operation of any group.

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 Texas Southmost College, I felt that I had been ejected from paradise.

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 3-vectors. This is the sort of phenomenon computer scientists call ad-hoc polymorphism. It is contrasted with parametric polymorphism, an example of which is the algorithm "swap the two entries in an ordered pair", which applies to ordered pairs of any type of element. (The parameter that gives rise to the name "parametric" is the type of element.) See algorithm. The identity function provides a trivial example of parametric polymorphism.

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 3-dimensional real vectors plus the set of all n×n real matrices for each n). Even there, however, the implementation algorithm differs for some of the subsets. (See cases.)

See also superscript.

Citations: KulMir8636

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 ∫2 5 x2 dx and ∫2 5 t2 dt are the same by their form.

They may move a bound variable out of its binder, for example changing ∑i=1 n i2 to i ∑i=1 ni (which makes it easy to "solve"!).

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 [0…2] or [-5…3]. Free variables which occur in a definition in this way are also called parameters of the definition.

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 " 25≤x". Then P(42) would denote the proposition " 25≤42", which is true; but P(-2) would be false. P(42) is obtained from P(x) by substitution.

We can also say, "Let P denote the predicate 25≤x" without the x being exhibited. This is useful when we want to refer to an arbitrary predicate without specifying how many variables it has.

Predicates can have more than one variable. For example, let Q(x,y) be " x≤y". Then Q(25,42) denotes the proposition obtained by substituting 25 for x and 42 for y. Q(25,42) is true; on the other hand, Q(25,-2) is false, and Q(25,y) is a predicate, neither true nor false.

Worked Exercise

Let m and n be integer variables. Let P(n) denote the predicate n<42 and Q(m,n) the predicate n&verbar; (m+n). Which of these predicates is true when 42 is substituted for m and 4 is substituted for n? Answer: P(4) is 4<42, which is true, and Q(42,4) is 4&verbar;46, which is false.

Exercise

If Q(x) is the predicate x2 <4, what are Q(-1) and Q(x-1)? Answer: Q(-1) is 1<4 and Q(x-1) is (x-1 )2 <4.

Exercise

Let P(x,y,z) be the predicate xy< x+z+1. Write out each of these predicates.

Exercise

P(1,2,3).

Exercise

P(1,3,2).

Exercise

P(x,x,y)

Exercise

P(x,x+y,y+z).

Answer: a. 2<5. b. 3<4. c. x2 <x+y+1. d. x(x+y)<x+y+z+1.

Exercise

Let P be the predicate of Exercise 4. Write out P(x,x,x) and P(x,x-1,x+1) and for each predicate give a value of x for which it is true and another value for which it is false.

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 2x+5, then f(3)=11. We will consider functions formally in Chapter . Here we only want to call your attention to a difference between that notation and the notation for predicates: If f(x)=2x+5, then " f(x)" is an expression. It is the name of something. On the other hand, if P(x) denotes the predicate " 25≤x", then P(x) is a statement - a complete sentence with a subject and a verb. It makes sense to say, "If a=42, then P(a)", for that is equivalent to saying, "If a=42, then 25≤a". It does not make sense to say, "If a=42, then f(a)", which would be "If a=42, then 2a+5". Of course, it is meaningful to say "If a=42, then f(a)=89".

Exam