You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
measurements
Most of the comparisons that interest us in Calculus involve measurements and we
measure eveything...
We make functions connecting just about everything. In particular, we could make
functions where both the domain and codomain are sets of measurements. These are
the types of functions we study in Calculus. These are the types of functions
we will study in this course. And, since measurements are real numbers
accompanied by a unit, we will frequently temporarily set aside the unit
and analyze functions that connect sets of real numbers with sets of real
numbers.
In Calculus, our applied functions will connect sets of measurements with sets of
measurements. However, we usually hold the measurement units off to the side, work
with the numbers, and then bring back the units when we interpret our
results. Once we arrive at any conclusions, then we will interpret our findings
within the context of the situation under investigation and the measurements
involved.
\(\blacktriangleright \)Context: The Harpo Chalk Company
The Harpo Chalk company sells chalk in bulk to schools and school districts. In an
effort to increase sales, the company lowers the price per box of chalk as the order
size increases. The price per box is given in the table below.
For example, if you purchased \(150\) boxes of chalk, the first \(100\) boxes would be
priced at \(\$0.25\) each for a cost of \(\$25.00\). The final \(50\) boxes (boxes numbered \(101\) to \(150\)) would
priced at \(\$0.23\) each for a cost of \(\$11.50\). The total cost of the entire order would be
\(\$25.00 + \$11.50 = \$36.50\).
How much would an order of \(550\) boxes cost?
The first \(100\) boxes cost \(\$\answer {0.25}\) each for a total of \(\$\answer {25.00}\).
The next \(400\) boxes cost \(\$\answer {0.23}\) each for a total of \(\$\answer {92.00}\).
The next \(50\) boxes cost \(\$\answer {0.20}\) each for a total of \(\$\answer {10.00}\).
The total cost for the \(550\) boxes is \(\$\answer {127}\).
If the bill is \(\$173.29\), then how many boxes of chalk were ordered?
We can see from the previous question that more than \(550\) boxes were ordered. The next
cut-off is at \(750\) boxes. How much do \(750\) boxes cost?
The first \(100\) boxes cost \(\$25\).
The next \(400\) boxes cost \(\$92\).
The next \(250\) boxes cost \(\$\answer {0.20}\) each for a total of \(\$\answer {50.00}\).
The total cost for the \(750\) boxes is \(\$\answer {167}\). More than \(750\) boxes were ordered. We need to buy \(\$173.29 - \$167 = \$6.29\)
worth of chalk. These boxes will cost \(\$0.17\) each, which gives us \(\answer {37}\) boxes.
Total number of boxes ordered is \(750 + 37 = 787\) boxes.
If \(787\) boxes of chalk were purchsed for \(\$173.29\), then, on average, each box costs \(\$\answer [tolerance=0.01]{0.22}\).
This is called the effective price.
The previous story compares boxes to dollars. Those were the units for the
measurements.
We can also have functions that just relate numbers.
Double
The Double function pairs a real number with its double.
domain = all real numbers codomain = all real numbers
Double(\(3\)) = \(6\).
Double(\(-4\)) = \(-8\).
Double(\(\pi \)) = \(2 \pi \).
\(\textit {Double}(7) = \answer {14}\).
Half
The Half function pairs a real number with its half.
domain = positive real numbers codomain = positive real numbers
Solve Half (d) = \(8\)
The solution is \(d = \answer {16}\).
Successor
The Successor function pairs an integer with one more than the integer.
domain = all integers codomain = all integers
Successor(\(3\)) = \(4\).
Successor(\(-4\)) = \(-3\).
Successor(\(0\)) = \(1\).
Successor(\(\pi \)) = \(undefined\).
\(\textit {Successor}(-7) = \answer {-6}\).
Solve Successor(z) = \(-1\)
The solution is \(z = \answer {-2}\).
Is every integer in the range of Successor?
Yes No
Every integer has a previous integer.
Is Successor an onto function?
Yes No
Is Successor a one-to-one function?
Yes No
Real-Valued Functions
For the most part, our attention in this course is focused on real-valued
functions.
Real-Valued Function
A real-valued function is one whose range is a subset of the real numbers.
\[ f : \mathbb {R} \to \mathbb {R} \]
The values of a real-valued function are real numbers. These are the types of
functions we are interested in.
Squaring Function
Let the function \(SQ\) be defined as follows.
Domain of \(SQ\) is \((-3, 5]\).
Codomain of \(SQ\) is \([-30, 30)\).
\(SQ\) pairs a domain number with its square.
First, this function is well-defined, since the square of any number in \((-3, 5]\) will be in \([-30, 30)\) and
each domain number has exactly one square.
Note: The identity function both a one-to-one and onto function.
The Identity function is an onto function. If \(r \in \mathbb {R}\), the range, then \(Id(r) = r\).
The Identity function is a one-to-one function, since if \(Id(r)=Id(s)\), then \(r = s\). If two \(Id\) values
are equal, then the domain numbers are equal. They were not different
domain numbers.
Remainder
Let the function \(RemainderTen\) be defined as follows.
Domain of \(RemainderTen\) is all natural numbers: \(\mathbb {N}\).
Codomain of \(RemainderTen\) is \(\{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 \}\).
\(RemainderTen\) pairs a natural number with the remainder when divided by \(10\).
First, this function is well-defined. Dividing by \(10\) can only have one remainder.
The codomain of \(L\) is \(\mathbb {R}\) but the range is not.
The range is [(-8-6,68 , -8-6,68]).
...more communication.
Communication Summary
The range is also called the image of the function.
Sometimes the range partner of a domain number is called the image of the domain
number.
\(f(a)\) is called the “value of \(f\) at \(a\)” or “the image of \(a\) under \(f\)”.
\(f(a)\) is pronounced “\(f\) of \(a\)”.
And, we have the reverse direction.
The preimage of a subset of the codomain consists of the domain members whose
function values are inside the given subset.
The preimage of \(S\) is the set
\[ f^{-1}(S) = \{ d \in D \, | \, f(d) \in S \} \]
Notation: Here, the \(-1\) exponent does not mean reciprocal. Instead, it is conveying an
“opposite” direction.
The preimage of the range is the domain.
Sometimes when the preimage is a single domain member, then we drop the idea of a
set and just quote that one domain member.
Note: The preimage of a codomain number, which is not in the range, is the empty
set, \(\emptyset \).
Geometry
For the most part, we view the domain as a static set from which the function selects
numbers. However, we also view the real numbers as lining up to for a number line.
This provides a geometrical viewpoint and the geometry of the domain can influence
how a function behaves.
Our domains are one dimensional right now, so our geometry just refers to endpoints.
In later Calculus courses, we will examine functions defined in multiple dimensions
and the geometry is easier to see.
For this course, our domains are made up of intervals. But, their endpoints are
important. Open intervals are intervals that do not include their endpoints. They
provide space for functions. This space has far-reaching consequences. Space forces
numbers to appear. This will be extremely helpful to us when we analyze
functions.
Multiplication by \(r\)
Fix a number \(r\) such that \(0 < r < 1\), a real number strictly between \(0\) and \(1\), and let \(R\) be a
function, such that
the domain of \(R\) is all real numbers strictly between \(0\) and \(1\)
the codomain of \(R\) is all real numbers strictly between \(0\) and \(1\)
\[ R : (0,1) \mapsto (0,1) \]
\(R\) pairs a domain number with its product with \(r\), i.e. \(R(d) = d \cdot r\).
\(\blacktriangleright \) \(R\) is well-defined.
To show this, we need only recognize that the product of two real numbers can have
only one value. In addition, the product of two numbers between \(0\) and \(1\) is also
between \(0\) and \(1\).
\(\blacktriangleright \) \(R\) is one-to-one.
To show this, suppose \(x\) and \(y\) are two domain numbers and they have the same range
partner: \(r \cdot x = r \cdot y\). Since \(r \ne 0\), we have that \(x = y\). Therefore, if two domain numbers have the same
function value, then, in fact, they were not different domain numbers. They were
the same domain number. i.e. a range number cannot be in more than one
pair.
\(\blacktriangleright \) \(R\) is not onto.
Idea: If you multiply \(r\) by all of the numbers in \((0,1)\), then you get the numbers
\((0,r) \subset (0, 1)\).
Rigor:
If \(0 < r < 1\), then there exists \(h\), such that \(0 < r < h < 1\).
Now, suppose that \(h\) is a range number, i.e. a function value. That would mean it is
partnered with some domain number. There would be a domain number \(0 < d < 1\), such that
\(r \cdot d = h\).
But that would mean that \(d = \frac {h}{r}\) and \(d = \frac {h}{r} > 1\), since \(h > r\). \(d\) is not in \((0,1)\).
If \(h\) is in the range, then its domain partner is not in the domain. \(d\) is in the domain
and \(d\) is not in the domain. That can’t happen, which means \(h\) must not be in the range
and \(R\) is not onto.
The domain and range above were open sets, which gave space between \(r\) and \(1\),
which allowed for \(h\). Once you allow some space, then the real numbers can do
unexpected things.
Much of our analysis of functions will rest on properties of open sets.
If our function domains and ranges will be sets of real numbers, then it seems we
should know about sets of real numbers.
Therefore, we need a way to communicate about sets of real numbers, especially open
sets.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link More Examples of Functions