Professional Documents
Culture Documents
Department of Mathematics
Mathematics for Natural Science
A × B = {(a, b) : a ∈ A and b ∈ B}
A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c), (3, a), (3, b), (3, c)}
Remark 1.3
(i) A × B ̸= B × A
(ii) Two ordered pairs (a, b) and (c, d) are equal if and only if a = c and b = d.
Definition 1.4 A relation is a subset of the set of ordered pairs of real numbers, A × B.
1. LIST OF ORDERED PAIRS. When the subset consists of a reasonably small (finite)
number of ordered pairs, we just write them down.
This list of pairs defines the relation.
(a) {(0, 3), (2, −1), (2, 4), (1, 3), (0, 0)}
(b) Let A = {1, 2, 3, 4, 5} and B = {a, b, c}.
• R1 = {(1, a)} and R2 = {(2, b), (3, b), (4, c), (5, a)} are relations from A into
B;
• R3 = {(a, 3), (b, 1)} and R4 = {(b, 2), (c, 4), (a, 2), (b, 3)} are relations from B
into A
2. EQUATIONS. The subset is often defined to consist of those ordered pairs which
satisfy a certain equation. Then the relation (x, y)|(x, y) satisfy the given equation
Example 1.6 Examples of such relations are: {(x, y)|3x+2y = 2}, {(x, y)|4x2 −6xy+
y 2 = 0}
3. INEQUALITIES. Here the subset is defined to consist of those ordered pairs which
satisfy a certain equation. Then the relation (x, y)|(x, y) satisfy the given inequality
Example 1.8 Let A = {1, 3, 5, 7} and B = {6, 8}. Let R be the relation ”less than”
from A to B. Then, R = {(1, 6), (1, 8), ((3, 6), (3, 8), (5, 6), (5, 8), (7, 8)}.
(b) the range of R, denoted by Range(R), is the set of second coordinates of elements of
R, i.e Range(R) = {b ∈ B : (a, b) ∈ R}
Example 1.10
Solution: We have
R = {(1, 1), (1, 2), (1, 3), (1, 4), (1, 6), (2, 2), (2, 4), (2, 6), (3, 3), (3, 6), (4, 4), (6, 6)}.
Then, Dom(R) = {1, 2, 3, 4, 6} and Range(R) = {1, 2, 3, 4, 6}.
√ √ √ √ √
Solution: We have 1 = 3 1, 2 = 3 8, 3 = 3 27, 4 = 3 64, 5 = 3 125 and 1, 8, 27
and 64 are in B whereas 125 is not in B. Thus, R = {(1, 1), (2, 8), (3, 27), (4, 64)},
Dom(R) = {1, 2, 3, 4} and Range(R) = {1, 8, 27, 64}.
Remark 1.11 If R is a relation from the set A to the set B, then the set B is called the
co-domain of the relation R. The range of relation is always a subset of the co-domain.
Example 1.12
1. The set R = {(4, 7), (5, 8), (6, 10)} is a relation from set A = {1, 2, 3, 4, 5, 6} to set
B = {6, 7, 8, 9, 10}. The domain of R is {4, 5, 6}, the range of R is {7, 8, 10} and the
co-domain of R is {6, 7, 8, 9, 10}.
2. The set of ordered pairs R = {(8, 2), (6, −3), (5, 7), (5, −3)} is a relation between the
sets {5, 6, 8} and {2, −3, 7}, where {5, 6, 8} is the domain and {2, −3, 7} is the range.
Definition 1.13 If R is a relation from A into B, then the inverse relation of R, denoted
by R−1 , is a relation from B to A and is given by:R−1 = {(y, x) : (x, y) ∈ R}. Observe that
Dom(R) = Range(R−1 ) and Range(R) = Dom(R−1 ).
Example 1.14
1. If R = {(1, 4), (9, 15), (10, 2)} is a relation on a set A = {1, 2, 3, · · · , 20}, then
R−1 = {(4, 1), (15, 9), (2, 10)}.
Therefore, R = {(9, 1), (7, 2), (5, 3), (3, 4), (1, 5)}, Dom(R) = {1, 3, 5, 7, 9},
Range(R) = {1, 2, 3, 4, 5} and R−1 = {(1, 9), (2, 7), (3, 5), (4, 3), (5, 1)}.
1.2 Functions
Definition 1.15 A function f is a relation in which no two order pairs have the same first
element.
This means that, given an x in the domain of f , there is a unique pair (x, y) belonging to
the function. This determines a value y uniquely associated with the given x. We denote
this value by the symbol f (x), read ”f of x,” called the value of the function f at x.
Definition 1.16 The value f (x) of the function f at x (in the domain of f ) is the second
element of that unique ordered pair (x, y) belonging to f which has x as its first element.
Solution:
a) Since the domain element 3 is assigned to two different values in the range, 5 and
7, it is not a function.
b) Each element in the domain, {2, 3, 6}, is assigned no more than one value in
the range, 2 is assigned only 4, 3 is assigned only 4, and 6 is assigned only −4.
Therefore, it is a function.
Example 1.18 The relation {(x, y)|3x − 2y + 4 = 0} is also a function since there is a
3x + 4
unique y = f (x) = associated with each x. The domain is X, and the range is Y .
2
Example 1.19 The relation {(x, y)|y = x2 is also a function with f (x) = x2 . The domain
is X, and the range is [0, ∞) ⊂ Y .
Example 1.20 The relation {(x, y)|x2 + y 2 = 4} is not a function. For √ to each x in the
open interval [−2, 2] there are associated two values of y, namely, y = ± 4 − x2 .
Example 1.21 We may define a function by giving its values for each x in its domain. For
example, (
1 if x ≥ 0
f (x) =
−1 if x < 0
defines the function f whose ordered pairs are (x, f (x)). The domain is X; the range is
{−1, 1} ⊂ Y .
√
Example 1.22 Find the domain of the function f (x) = 3x − x2 .
Definition 1.23 Let f be a function from set A to set B. If B is a subset of the set of real
numbers R, then f is called a real valued function, and in particular if A is also a subset of
R, then f : A → B is called a real function.
Example 1.25 The function f : R → R defined as f (x) = |x|, x ∈ R is also a real function.
(f + g)(x) = x2 + x3 df +g = R
(f − g)(x) = x2 − x3 df −g = R
(f g)(x) = x2 × x3 = x5 df g = R
x2
f 1
(x) = 3 = df /g = R except {0}
g x x
Definition 1.28 Given two functions f (x) and g(x), the composition of the two functions
is denoted by f og and is defined by:
(f og)(x) = f (g(x)).
Example 1.29 Let f (x) = 3x2 − 2x + 1 and g(x) = 4x + 7. The composite f og is given by
f (g(x)) = f (4x + 7) = 3(4x + 7)2 − 2(4x + 7) + 1 = 48x2 + 160x + 134
Example 1.30 Given f (x) = 5x2 − 3x + 2 and g(x) = 4x + 3, find a) (f og)(−2) b) (gof )(2)
c) (f og)(x) d) (gof )(x)
Solution:
Example 1.31 Given f and g whose values are f (x) = x2 + 2 and g(x) = 1 − x1 , form the
composite functions gof and f og.
1 x2 +1
Solution: (gof )(x) = g(f (x)) = g(x2 + 2) = 1 − x2 +2
= x2 +2
2
(f og)(x) = f (g(x)) = f (1 − x1 ) = 1 − x1 + 2 =
Example 1.32 Find gof when g and f have the values g(x) = |x| and f (x) = x2 − 3x + 1.
Definition 1.33 A function f : A → B is called one to one, often written 1–1, if and only
if for all x1 , x2 ∈ A, f (x1 ) = f (x2 ) implies x1 = x2 . In words, no two elements of A are
mapped to one element of B.
Example 1.34 Let A = {1, 2, 3, 4} and B = {1, 4, 7, 8}. Consider the functions
Onto functions
Definition 1.35 Let f be a function from a set A into a set B. Then f is called an onto
function(or f maps onto B) if every element of B is an image of some element in A, i.e,
Range(f ) = B.
Example 1.36 Consider the relation f from Z into Z defined by f (n) = n2 for all n ∈ Z.
Now, domain of f is Z. Also, if n = n′ , then n2 = (n′ )2 , i.e. f (n) = f (n′ ). Hence, f is well
defined and is a function. However, f (1) = 1 = f (−1) and 1 ̸= −1, which implies that f is
not 1–1. For all n ∈ Z, f (n) is a non-negative integer. This shows that a negative integer
has no pre–image. Hence, f is not onto. Note that f is onto {0, 1, 4, 9, · · · }.
1–1 Correspondence
Example 1.39 Show that the function f : N → N , given by f (x) = x + 1, if x is odd, and
x − 1, if x is even, is a bijective function,
Solution: Let f (x1 ) = f (x2 ). Further, let us suppose that x1 is odd, and x2 is even,
then we have x1 + 1 = x2 − 1, or x2 − x1 = 2, which is not possible.
Also the possibility of x1 being even, and x2 being odd is also ruled out, using the same
argument. Therefore x1 , and x2 both should be either odd or even.
Let us assume both x1 , and x2 to be odd, and we have f (x1 ) = f (x2 ) ⇒ x1 + 1 =
x2 + 1 ⇒ x1 = x2 . Also, if both x1 , and x2 are even, we have f (x1 ) = f (x2 ) ⇒ x1 − 1 =
x2 − 1 ⇒ x1 = x2 . Therefore, the function f is a one-one function.
Further, any odd number 2n + 1 in the co-domain of N is the image of 2n + 2 in the
domain of N , and any even number 2n in the co-domain of N , is the image of 2n − 1 in
the domain N . Hence the function is onto function.
Therefore, the given function is a bijective function.
Inverse of a function
Definition 1.40 Given the function f such that no two of its ordered pairs have the same
second element(f is one to one), the inverse function f −1 is the set of ordered pairs obtained
from f by interchanging in each ordered pair the first and second elements.
Thus
f −1 = {(y, x) : (x, y) ∈ f }
Example 1.41 Let f be defined by the equation f (x) = 3x + 1 over the domain which is
the set of real numbers from 0 to 1; otherwise, f is not defined. The range is the set of real
numbers from 1 to 4 inclusive. Find the inverse function f −1 , its domain and range.
√
Example 1.42 If f is defined by y = 21 4 − x2 , find the inverse function f −1 , its domain
and range. We suppose that the domain of f is given by −2 ≤ x ≤ 0; the range is, then,
given by 0 ≤ x ≤ 1.
√
Solution: First note that a function F is determined by y = 12 4 − x2 over the larger
domain −2 ≤ x ≤ 2 but that then F has ordered pairs such as (−2, 0) and (2, 0). Hence
F has no inverse F −1 . √
We interchange variables in the equation y = 21 4 − x2 ; this yields
1p
x= 4 − y2 (1.43)
2
To solve (1.43) for y, we must square both sides;
p but here we must be careful, since the
1
square of (1.43) is also the square of x = − 2 4 − y 2 , which is not our function.
We have
x2 = 14 (4 − y 2 )
That is, 4x2 = 4 − y 2
Or y 2 = 4 − 4x2
Now, to obtain y, we must extract the square root of both sides, and this gives
√
y = ±2 1 − x2 (1.44)
This is not exactly what we want, since we cannot use both signs. Equation (1.44) does
not define a function; it defines a relation. We look back and note that the domain of
f was the set −2 to 0. All of these are negative (with the exception of 0). Since the
range of f −1 must be given by −2 ≤ y ≤ 0, we must choose the negative sign in (1.44).
Finally, therefore, the inverse function f −1 is given by
√
y = −2 1 − x2
This illustration emphasizes an important point: If f does not have an inverse, we may he
able to restrict its domain so that this restricted function does have an inverse
Example 1.45 If f is defined by y = 2x , find the inverse f −1 . The inverse certainly exists
since no two choices of x give the same value of y.
We switch variables in y = 2x and obtain x = 2y . Now we wish to solve for y, but we have
no method for doing so. In this case the inverse function f −1 has no simple formula like
those in Illustrations 1.41 and 1.42.
Remark 1.46 Please be aware that f −1 (x) is not the reciprocal of f . That is, f −1 (x) ̸= f (x)
1
If we want to write the reciprocal of the function f (x) by using a negative exponent, we must
1
write f (x) = [f (x)]−1
Polynomial Functions
where n is a positive integer or zero and the coefficients a0 , a1 , · · · , an are real numbers. Its
domain is the set of real numbers, and its range is some subset of the set of real numbers.
√ 4
Example 1.48 p(x) = 2x2 + 1, q(x) = 3x + 2x − π and f (x) = 2x3 are examples of
polynomial functions.
1. The graph of a polynomial is a smooth unbroken curve. The word smooth means that
the graph does not have any sharp corners as turning points.
3. The graph of a polynomial function of degree n can have at most n-1 turning points.
Thus, the graph of a polynomial of degree 5 can have at most 4 turning points.
4. The graph of a polynomial always exhibits the characteristic that as x gets very large,
y gets very large.
• Zeros of a polynomial
Division Algorithm
Let p(x) and d(x) be polynomials with d(x) ̸= 0, and with the degree of d(x) less than or
equal to the degree of p(x). Then there are polynomials q(x) and R(x) such that
p(x) = d(x) · q(x) + R(x) , where either R(x) ̸= 0 or the degree of R(x) is less than
|{z} |{z} |{z} | {z }
dividend divisor quotient remainder
degree of d(x).
Theorem 1.50 (The Remainder Theorem) When a polynomial p(x) of degree at least
1 is divided by x − r, then the remainder is p(r).
Theorem 1.52 (The Factor Theorem) x − r is a factor of p(x) if and only if p(r) = 0.
Theorem 1.53 (Location theorem) Let f be a polynomial function and a and b be real
numbers such that a < b. If f (a)f (b) < 0, then there is at least one zero of f between a and
b.
Example 1.57 Express each of the polynomials in the form described by the Linear Factorization
Theorem. List each zero and its multiplicity.
Solution:
= x(x − 8)(x + 2)
= x(x − 8)(x − (−2))
Thus, the zeros of f (x) are 0 with multiplicity two and −2 + i and −2 − i each
with multiplicity one.
Example 1.58
1. Find a polynomial p(x) with exactly the following zeros and multiplicity
zeros multiplicity
-1 3
2 4
5 2
Are there any other polynomials that give the same roots and multiplicity?
2. Find a polynomial f (x) having the zeros described in part (a) such that f (1) = 32.
Solution:
1. Based on the Factor Theorem, we may write the polynomial as: p(x) = (x −
(−1))3 (x − 2)4 (x − 5)2 = (x + 1)3 (x − 2)4 (x − 5)2 which gives the required roots and
multiplicities. Any polynomial of the form kp(x), where k is a non-zero constant
will give the same roots and multiplicities.
2. Based on part (1), we know that f (x) = k(x + 1)3 (x − 2)4 (x − 5)2 . Since we want
f (x) = 32, we have
Theorem 1.59 (Conjugate Roots Theorem) Let p(x) be a polynomial with real coefficients.
If complex number a + bi (where a and b are real numbers) is a zero of p(x), then so is its
conjugate a − bi.
√
Example 1.60 Let r(x) = x4 + 2x3 − 9x2 + 26x − 20. Given that 1 − 3i is a zero, find
the other zero of r(x).
√
Solution: According
√ to the Conjugate Roots Theorem, if 1
√ − 3i is a zero, √
then its
conjugate, 1 + 3i must also be a zero. Therefore, x − (1 − 3i) and x − (1 + 3i) are
r(x), and so their product must be a factor of r(x). That is, [x − (1 −
both factors of √
√
3i)][x − (1 + 3i)] = x2 − 2x + 4 is a factor of r(x). Dividing r(x) by x2 − 2x + 4, we
obtain
r(x) = (x2 − 2x + 4)(x2 + 4x − 5) = (x2 − 2x + 4)(x + 5)(x − 1).
√ √
Thus, the zeros of r(x) are 1 − 3i, 1 + 3i, −5 and 1.
Theorem 1.61 (The Rational Root Theorem) Suppose that f (x) = an xn +an−1 xn−1 +
· · · + a1 x + a0 , where n ≥ 1, an ̸= 0 ia an nth degree polynomial with integer coefficients. If
p
q
is a rational root of f (x) = 0 where p and q have no common factor other than ±1, then
p is a factor of a0 and q is a factor of an .
Example 1.62 Find all the zeros of the function p(x) = 2x3 + 3x2 − 23x − 12.
Solution: According to the Rational Root Theorem, if pq is a rational root of the given
equation, then p must be a factor of −12 and q must be a factor of 2. Thus, we have
possible values of p : ±1, ±2, ±3, ±4, ±6, ±12
possible values of q: ±1, ±2
possible rational roots pq : ±1, ± 21 , ±2, ±3, ± 32 , ±4, ±6, ±12 We may check these possible
roots by substituting the value in p(x). Now p(1) = −30 and p(−1) = 12. Since p(1) is
negative and p(−1) is positive, by location theorem, p(x) has a zero between −1 and 1.
Since p( −1
2
) = 0, then (x + 12 ) is a factor of p(x). Using long division, we obtain
1
p(x) = 2x3 + 3x2 − 23x − 12 = (x + )(2x2 + 2x − 24)
2
1
= 2(x + )(x + 4)(x − 3)
2
Therefore, the zeros of p(x) are − 21 ,−4 and 3.
Rational Functions
P (x)
Definition 1.63 A function R defined hy y = R(x) = Q(x)
, where P (x) and Q(x) are
polynomials, is called a rational function.
P (x)
Note that the domain of the rational function R(x) = Q(x)
is {x : Q(x) ̸= 0}
2 x−1 x3 −2x2 +1
Example 1.64 The functions R(x) = x+2
, R(x) = x2 −4
and R(x) = x2 +2x
are examples
of rational functions
3x−5
Example 1.65 Find the domain and zeros of the function R(x) = x2 −x−12
Solution: The values of x for which x2 − x − 12 = 0 are excluded from the domain of
R .Since x2 − x − 12 = (x − 4)(x + 3), we have Dom(R) = {x : x ̸= −3, 4}. To find the
zeros of R(x), we solve the equation
P (x)
= 0 ⇔ P (x) = 0&Q(x) ̸= 0
Q(x)
Definition 1.66 The zeros of P are the values of x for which P (x) = 0.
Example 1.67 Sketch the graph of the polynomial function given hy y = x4 − 2x2 .
Solution: For purposes of graphing we now consider the domain as the set of real
numbers. Since
x4 − 2x2 = x2 (x2 − 2)
√
the zeros are seen to be x = 0, 0, ± 2. (For the factor x2 , we write x = 0, 0; see
Theorem 1.55, and following remark.)
The graph is continuous everywhere. It is symmetric with respect to the y-axis
since x appears to even powers only.
P (x)
y=
Q(x)
where P (x) and Q(x) are polynomials, is continuous everywhere with the exception
of at most a finite number of isolated values of x, namely, those for which Q(x) = 0.
These values must be excluded from the domain. The range is a subset of the reals.
The graph of a rational function is a continuous curve with the exception of at most
a finite number of points. A point of discontinuity is a point x1 such that Q(x1 ) = 0.
At such a point the function is undefined, as in x−5
x−5
at x = 5 or as in x1 at x = 0.
Steps to sketch(to draw) the graph of a rational function R(x)
Solution:
x+2
Figure 2: Graph of R(x) = x−1
(b) Both the denominator and numerator are 0 at x = −1. So, first factorize and
simplify them:
x2 + 3x + 2 = (x + 2)(x + 1) and x2 − 1 = (x − 1)(x + 1). Therefore,
x2 + 3x + 2 (x + 2)(x + 1)
g(x) = 2
= , x ̸= −1
x −1 (x − 1)(x + 1)
x+2
= . (so, dom(g) = R \ {1, −1})
x−1
This implies that only x = 1 is VA.
x+2
Hence, the graph of g(x) = , x ̸= −1, is exactly the same as that of
x−1
x+2
R(x) = except that g(x) is not defined at x = −1. Therefore, the graph of
x−1
g and its VA are the same as that of R except that there should be a ’hole’ at the
point corresponding to x = −1 on the graph of g as shown below
x+2
Figure 3: Graph of g(x) = x−1
,x ̸= −1
x−2
Example 1.70 Sketch the graph of the rational function f (x) = x2 −3x−4
Solution: We will follow the outline presented in the Procedure for Graphing Rational
Functions.
Step 2: Thus, f has two restrictions, x = −1 and x = 4. That is, the domain of f is
Df = {s : x ̸= −1, 4}
Step 3: The numerator of equation (1.71) is zero at x = 2 and this value is not a restriction.
Thus, 2 is a zero of f and (2, 0) is an x-intercept of the graph of f .
Step 4: Note that the rational function is already reduced to lowest terms (if it weren’t,
we’d reduce at this point). Note that the restrictions x = −1 and x = 4 are still
restrictions of the reduced form.
Step 5: We can use all the information gathered to date to draw the image shown below.