c1 1 Variables
c1 1 Variables
SPEAKING MATHEMATICALLY
The aim of the course is to introduce you to a mathematical way of thinking that
can serve you in a wide variety of situations. Often when you start work on a
mathematical problem, you may have only a vague sense of how to proceed. You may
begin by looking at examples, drawing pictures, playing around with notation,
rereading the problem to focus on more of its details, and so forth. The closer you get
to a solution, however, the more your thinking has to crystallize. And the more you need
to understand, the more you need language that expresses mathematical ideas clearly,
precisely, and unambiguously.
This chapter will introduce you to some of the special language that is a foundation
for much mathematical thought, the language of variables, sets, relations, and functions.
Think of the chapter like the exercises you would do before an important sporting event.
Its goal is to warm up your mental muscles so that you can do your best.
1.1 Variables
A variable is sometimes thought of as a mathematical “John Doe” because you can use it
as a placeholder when you want to talk about something but either (1) you imagine that it
has one or more values but you don’t know what they are, or (2) you want whatever you
say about it to be equally true for all elements in a given set, and so you don’t want to be
restricted to considering only a particular, concrete value for it. To illustrate the first use,
consider asking
Is there a number with the following property: doubling it and adding 3
gives the same result as squaring it?
In this sentence you can introduce a variable to replace the potentially ambiguous word “it”:
The advantage of using a variable is that it allows you to give a temporary name to what
you are seeking so that you can perform concrete computations with it to help discover its
possible values. To emphasize the role of the variable as a placeholder, you might write
the following:
The emptiness of the box can help you imagine filling it in with a variety of different
values, some of which might make the two sides equal and others of which might not.
1
2 Chapter 1 Speaking Mathematically
A universal statement says that a certain property is true for all elements in a set.
(For example: All positive numbers are greater than zero.)
A conditional statement says that if one thing is true then some other thing also has
to be true. (For example: If 378 is divisible by 18, then 378 is divisible by 6.)
Given a property that may or may not be true, an existential statement says that
there is at least one thing for which the property is true. (For example: There is a
prime number that is even.)
In later sections we will define each kind of statement carefully and discuss all of them
in detail. The aim here is for you to realize that combinations of these statements can be
expressed in a variety of different ways. One way uses ordinary, everyday language and
another expresses the statement using one or more variables. The exercises are designed
to help you start becoming comfortable in translating from one way to another.
1.1 Variables 3
In this statement the property “has an additive inverse” applies universally to all real num-
bers. “Has an additive inverse” asserts the existence of something—an additive inverse—
for each real number. However, the nature of the additive inverse depends on the real
number; different real numbers have different additive inverses. Knowing that an additive
inverse is a real number, you can rewrite this statement in several ways, some less formal
and some more formal∗ :
All real numbers have additive inverses.
Or : For all real numbers r , there is an additive inverse for r .
Or : For all real numbers r, there is a real number s such that s is an additive inverse
for r.
Introducing names for the variables simplifies references in further discussion. For
instance, after the third version of the statement you might go on to write: When r is
positive, s is negative, when r is negative, s is positive, and when r is zero, s is also zero.
One of the most important reasons for using variables in mathematics is that it gives
you the ability to refer to quantities unambiguously throughout a lengthy mathematical
argument, while not restricting you to consider only specific values for them.
∗
A conditional could be used to help express this statement, but we postpone the additional com-
plexity to a later chapter.
1.1 Variables 5
Some of the most important mathematical concepts, such as the definition of limit of
a sequence, can only be defined using phrases that are universal, existential, and condi-
tional, and they require the use of all three phrases “for all,” “there is,” and “if-then.” For
example, if a1 , a2 , a3 , . . . is a sequence of real numbers, saying that
the limit of an as n approaches infinity is L
means that
for all positive real numbers ε, there is an integer N such that
for all integers n, if n > N then −ε < an − L < ε.