Beruflich Dokumente
Kultur Dokumente
Introduction
No doubt the concept of a function covers familiar territory for many readers of
this book1. Normally, in beginning mathematics books, a function f : A B is
defined as a rule that assigns to each value x A a unique value y B . This is
the definition proposed by German mathematician Peter Lejeune Dirichlet
(1805-1859) in the 1830s. The definition is sometimes criticized since it leaves
open the question of the exact meaning of a rule. However, in most cases there
is no ambiguity. When we write an algebraic formula like
y = f ( x) = sin x
There are several synonyms for the word function. The words mapping (or
map), transformation, and operator are often used depending on the context as
well as the domain and codomain of the function.
domain( f ) = 2
codomain( f ) =
range(f ) = {3x1 + 2 x2 : x1 , x 2 ) }
graph(f ) = {( x1 , x2 , 3 x1 + 2 x2 ) : x1 , x2 } 3
2
The statement is, 'The time of descent along inclined planes of the same height, but of different
slopes, are to each other as the length of these slopes."
252 A TASTE OF PURE MATHEMATICS
Pn ( x ) y n + Pn 1 ( x ) y n 1 + + P1 ( x ) y + P0 ( x ) = 0
y Pn ( x ) = 0
Pm ( x ) y Pn ( x ) = 0
Composition of Functions
The function f ( x) = sin x 2 can be interpreted as assigning the value of sin x 2 to
the real number x However, it can also be interpreted as a combination or
composition of two functions: the first assigning x 2 to x , the second assigning
sin x 2 to x 2 , which leads us to the following definition.
Solution
2
( f g )( x ) = f ( g ( x) ) = f ( x) =( x) =x x [ 0, )
( g f )( x ) = g ( f ( x) ) = g ( x 2 ) = x2 = x x
Domain of a Composition
The domain of a composition always seems to bother some students.
Here is a nice way to think about it. Gary (we call g ) and Francie
(we call f ) want to move several bags of cement a total of 200
yards, the bags weigh various amounts. The object is for Gary to
carry the bags the first 100 yards and hand them off to Francie who
then carries them the last 100 yards. The problem is some bags are
very heavy. Suppose that Gary is able to carry 8 bags (domain of g )
and that of those bags Francie can carry 3 of them (domain of f ),
thus only 3 bags get moved the 200 yards. These three bags are the
domain of the composition f g . In other words, the intersection of
the bags that Gary can lift and the bags given to Francie that Francie
can lift.
Section 3.4 The Function Relation 255
( b B )( a A) ( f ( a ) = b )
________________
Bijection (1-1 correspondence): A function f : A B is a bijection
if and only if it both an injection and surjection.. i.e. a one-to-one
correspondence between A and B. .
These three types of functions are illustrated in the diagram below.
3
Often, one simply writes 1-1 to denote a one-to-one function.
256 A TASTE OF PURE MATHEMATICS
Types of functions
Figure 1
n 1 2 3 4 n
f ( n) = n 2 1 4 9 16 n2
Table 1
We show m n f (m) f (n) by proving its contrapositive
f (m) = f (n) m = n .
We write
4 2
The domain of a function can influence whether a function is one-to-one. The function f ( x ) = x with
domain the real numbers is not one-to-one, but the same rule defined on the non-negative real numbers is
one-to-one.
Section 3.4 The Function Relation 257
f ( m ) = f ( n ) m2 = n2
m2 n2 = 0
( m n )( m + n ) = 0
m = n or m = n
But m = n is not possible since we are assuming m, n are positive numbers.
Hence, we conclude m = n and so f is 1 1 on .
Example 5: Surjection If f : is defined by f ( x) = x3 + 1 , show that f
maps onto , i.e. a surjection.
Proof: For any y we seek an x that satisfies y = x3 + 1. If
x = 3 y 1
we have
3
. f ( x) = ( 3
)
y 1 + 1 = ( y 1) + 1 = y
Hence f maps onto .
Inverse Functions
In arithmetic, some numbers have inverses. For example 3 is the additive
inverse of +3 since 3 + (3) = 0 . Some functions also have inverses in the sense
that the inverse of a function undoes the operation of the function.
f ( x) = 1 + x 2 , x 0
is a 1-1 function from [0, ) onto [1, ) and hence has an inverse
f 1 :[1, ) [0, ) . Find and draw the graph of this inverse.
Solution Solving the equation
y = 1 + x2
for x 0 in terms of y , we find the unique value
x = y 1 , y 1
or f 1 ( y ) = y 1 , y 1 .
At this stage one often renames the variables and writes the inverse as
f 1 ( x) = x 1 , x 1 .
The graphs of f and f 1 are drawn in Figure 2. Note that the graph of f 1 is
the reflection of the graph of f through the 45 degree line y = x .
Section 3.4 The Function Relation 259
Some common inverses of 1-1 functions defined of given domains are listed in
Table 2.
function domain inverse domain
f ( x) of f f 1 ( x ) of f 1
x+a x xa x
mx m 0, x x/m m 0, x
1/ x x>0 1/ x x>0
x2 x0 x x0
x3 x 3
x x
ex x ln x x>0
ax a > 0, x > 0 log a x a > 0, x > 0
xa /b x0 xb / a x0
tan x <x< tan 1 x
2 2
Common inverses
Table 2
260 A TASTE OF PURE MATHEMATICS
Problems
1. Testing Relations Determine which of the following relations are functions.
For functions, what is the domain and range of the function?
a) R = {(1,3) , ( 3, 4 ) , ( 4,1) , ( 2,1)} Ans: yes
b) R = {(1,3) , (1, 4 ) , (1, 2 ) , ( 3,1)}
c) R = {(1,3) , ( 3, 4 ) , (1,1)}
d) R = {(1, 2 ) , ( 2, 2 ) , ( 3, 2 ) , ( 2,3)}
a) R = {( x, y ) : y = x 2 }
b) R = {( x, y ) : y = x }
1
c) R = ( x, y ) : y =
x + 1
d) R = {( x, y ) : x = y }
e) R = {( x, y ) : x + y = 1}
3. Find the Mystery Function Find a function that tears the interval [0,1] into
two parts at its midpoint and then stretches each part uniformly to twice its
length.
4. Compositions Find f g and g f and their domains for the following
functions f and g . We assume the domains of the functions are all values for
which the function is well-defined.
f ( x ) = {( 2,3) , ( 1,1) , ( 0, 0 ) , (1, 1) , ( 2, 3)}
a)
g ( x) = {( 3,1) , ( 0, 2 ) , ( 1, 2 ) , ( 2, 0 ) , ( 3,1)}
b) f ( x ) = 2 x + 3, g ( x) = x 2 + 5
1
c) f ( x) = 2
, g ( x) = x 2
x +1
d) f ( x ) = x , g ( x) = x
e) f ( x ) = x , g ( x) = x 2
f) f ( x ) = 1 x 2 , g ( x) = x 2 1
Section 3.4 The Function Relation 261
f = {(1,3) , ( 2, 4 ) , ( 3,1) , ( 4, 2 )}
g = {(1, 2 ) , ( 2, 2 ) , ( 3, 4 ) , ( 4,3)} .
h = {(1, 4 ) , ( 2, 4 ) , ( 3,1) , ( 4, 3)}
Figure 3
11. Graphing a Composition Draw the graph for two arbitrary real-valued
functions f , g of a real variable. Then select an arbitrary real number x and use
the graphs to find the location of ( f g )( x) .
a) f : 3 , f (t ) = (t , t 2 , t 3 )
b) g : , g (t ) = sin t
13. Composition of Operators Given the differential operators
L1 ( f ) = xf ( x) + 1
df
L2 ( f ) = x 2
dx
on sufficiently smooth domains, find a) L1 L2 , b) L2 L1
14. Functions from Everyday Life Ann has a summer job selling subscriptions
to an internet service. She receives a weekly salary of $500 plus a 6%
commission on sales over $5000. Assuming she sells enough to get her
commission, write Anns weekly salary as a composition of two functions.
15. Recursive Functions A recursive function is one defined in terms of itself.
For example, the factorial function
n ! = n ( n 1)( n 2 ) ( 2 )
Section 3.4 The Function Relation 263
m if n =0
gcd( mn
, ) =
gcd( n, remainder( mn
, ) ) if m n and n >0
a) f ( x + y) = f ( x) + f ( y)
b) f ( x + y) = f ( x) f ( y)
c) f ( xy ) = f ( x ) + f ( y ) , x, y > 0
d) f ( xy ) = f ( x ) f ( y ) , x, y > 0
17. Injections, Surjections, Bijections Give examples of the following
functions f1 , f 2 , f3 , f 4 from to that satisfy the following properties.
d) f maps to
e) f maps {a, b, c} to [0,1]
n 2 if is n even
f (n) =
( n + 1) 2 if n is odd
a) Draw part of the graph of this function.
b) Is the function 1-1 ?
c) Is the function an onto function? If so, onto what?
21. Inverse Function Given the function defined by
f ( x) = x 2, x 2
22. Function as Ordered Pairs For f :{1, 2,3} defined by the ordered
pairs f = {(1, 3), (2,5), (3,1)} :
a) Is f 1-1?
b) Is f onto?
c) What is the range of f ?
23. 1-1 but not Onto Give an example of a function f : that is 1-1 but
not onto.
Section 3.4 The Function Relation 265
d) ( 53 ) = ( 5 1) 52 , general theorem ( p k ) = ( p 1) p k 1
5
Keep in mind that injections (or 1-1 functions) do not map different points into the same point
and hence a 1-1 map from A to B means the cardinality of A is less than or equal to the
cardinality of B .
268 A TASTE OF PURE MATHEMATICS