Beruflich Dokumente
Kultur Dokumente
FUNCTIONS
1.1 Cardinality
The cardinality of a set is a measure of the number of elements of the set. For example,
the set A = {1, 2,3} contains three elements, hence, A has a cardinality of 3.
1.2 Function
Definition 1.2.1 : A function f from a set X into set Y is a correspondence that
assigns to each element x in X exactly one element y in Y .
We call y the image of x under f and denote it by f ( x ) .
The domain of f is the set, and the range consists of all images
of the element in X .
Alternative:
A function f : X → Y is a relation between X and Y in which each x ∈ X appears
at most in one of the pairs ( x, y ) .
We can write, ( x, y ) ∈ f or y = f ( x ) .
The support of f is the set of all those values in X for which there exists a pair
( x, y ) .
1
The range of f are all values in Y for which there exists at least one pair ( x, y ) .
Remark
We are working with functions whose domain and ranges are set of real numbers.
Such functions are known as real-valued functions of a real variable.
X Y
Domain Range
•D • y = f ( x)
x
The domain of a function may be explicitly described along with the function, or it
may be implied by an equation used to define the function.
The implied domain is the set of all real numbers for which the equation is defined.
2
Example 1.2.1
1
(i) f ( x) = 4≤ x≤5
x −4
2
1
(ii) g ( x) = has an implied domain which is the set { x : x ≠ ±2}
x2 − 4
(iii) f :ℝ → ℝ
f ( x ) = x3
( 2,8) ∈ f ⇔ f ( 2) = 8
Example 1.2.2
Determine the domain and the range for the function of x defined by
f ( x) = x −1
Example 1.2.3
Determine the domain and range for the function of x given by
x − 1 x ≥1
f ( x) =
1 − x x <1
3
1.2.1 Classification of Functions
If to each value in its range, there corresponds exactly one value in its domain, the
function is said to be one-to-one or injective
Moreover, if the range of f consists of all Y , then the function is called onto or
surjective
of f by f ( A) .
(ii) A function is onto (surjective) if every element of the codomain has at least
one element of the domain that maps onto it. That is, the image and the
codomain of the function are equal.
4
Example 1.2.4
(i) If any horizontal line cuts the curve twice or more, f is not one-to-one;
otherwise it is.
(ii) If all horizontal lines cut the curve at least once, f is onto
(iii) If all horizontal lines cut the curve exactly once, f is one-to-one and onto
5
Example 1.2.5
If g : ℝ → ℝ is given by g ( x ) = 3x + 7 . Show that g is a one-to-one function.
Example 1.2.6
x−3
If h : ℝ → ℝ is given by h ( x ) = . Show that h is a one-to-one function.
x+2
Example 1.2.7
If f : ℝ → ℝ is given by f ( x ) = 5 x − 7 . Show that f is an onto function
Example 1.2.8
Suppose f : ℤ → ℤ has rule f ( n ) = 3n − 1 . Determine if f is an onto function.
Example 1.2.9
If f : ℝ → ℝ is given by f ( x ) = x 2 . Is f a one-to-one or onto function?
6
1.3 Inverse Functions
Let f be a function with domain A and range B . Then, its inverse function,
denoted by f −1 has domain B and range A and is defined by
f −1 ( y ) = x ⇔ f ( x ) = y for any y ∈ B
7
1.4 Functions and their Curves
If we say, y depends on, say x , then y is said to be a function of x and the
relationship is expressed as y = f ( x ) ; x is called the independent variable and y is
the dependent variable.
y = 5 − 2x
8
1.5 Transformation
From the graphs of y = f ( x ) it is possible to deduce the graphs of other functions
which are transformations of y = f ( x ) , that is, stretching, translating and reflecting.
1.5.1 Stretch
(i). y = k f ( x)
For each point ( x1, y1 ) on the graph of y = f ( x ) there exists a point
( x1, ky1 ) on the graph of y = k f ( x ) . Thus the graph is of y = k f ( x ) can
be obtained by stretching y = f ( x ) parallel to the y − axis by a scale factor
'k ' .
Fig 1
9
The graphs of y = sin θ and y = 2sin θ is shown below in Fig 2.
Fig 2
(ii). y = f ( kx )
For each point ( x1, y1 ) on the graph of y = f ( x ) , there exists a point
x1
, y1 on the graph of y = f ( kx ) .
k
10
( 2x − 1)
2
For example, if f ( x ) = ( x − 1) , and k = 12 , then f ( kx ) =
2
.
Fig.3
Fig.4
11
1.5.2 Translated
(i). y = f ( x) + k
The graph of y = f ( x ) is translated by ' k ' units parallel to the y − axis to
obtain y = f ( x ) + k .
This is just a vertical shift ' k ' units upward.
Examples:
If f ( x ) = x , y = f ( x ) + 3 this becomes y = x + 3 ;
If f ( x ) = x 2 , then y = f ( x ) + 3 becomes y = x 2 + 3 .
Fig.5a
12
Fig.5b
(ii). y = f (x + k)
The graph of y = f ( x ) is translated by ' k ' units parallel to the x − axis to
obtain y = f ( x + k ) .
Hence, this is just a horizontal shift ' k ' units to the right or to the left.
Examples:
π π
Let f ( x ) = sin x , if k = − , then g ( x ) = sin x − ;
3 3
13
π π
if k = then h ( x ) = sin x + . These are illustrated in Fig.6a
4 4
Fig. 6a
Fig. 6b
14
1.5.3 Reflection
(i). y = − f ( x)
The graph of y = − f ( x ) is obtained by reflecting y = f ( x ) in the x − axis .
(
y = − x2 + 2 )
Fig. 7
y = ex
y = x2 + 2
15
(ii). y = f (−x)
The graph of y = f ( − x ) is obtained by reflecting y = f ( x ) in the y − axis .
y = − ln x shown Fig 8.
Fig. 8
y = − x3
y = − ln x
y = ln x
y = x3
16
1.6 Other Types of Functions
(i). Even functions: A function y = f ( x ) is said to be even, if f ( − x ) = f ( x ) for
all values of x in its domain. Graphs of even functions are always symmetrical
about the y − axis , i.e. a mirror image. Examples are y = cos x and y = x 2
17