Mada za sehemu hiiFunctionsMada 1
- Graph Of Functions
Is the correspondence between two objects. E.g. older than, smaller than, etc.
A relation can be thought of as:
- A rule
- A mapping
Example
- A graph on the x-y plane
Is the set of all possible values of x for which the corresponding value of y is known.
Example
Given
Is the set of all possible values of y for which the corresponding value of x is known
Example
Relation as a mapping
In x-y plane (ordered pair)
Is the mapping a single element from domain into range?
Not a function
The following are some types of function:
1. Constant Function
2. Linear Function
3. Quadratic Function
4. Absolute Value Function
5. Rational Function
Sketching the function
Suppose given the function:
If
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y | 5 | 5 | 5 | 5 |
| x | 0 | -1 | -2 | -3 |
|---|---|---|---|---|
| y | 3 | 3 | 3 | 3 |
| x | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| y | 1 | 1 | 1 | 1 | 1 | 1 |
Given the function:
Suppose for which
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 0 | 1 | 2 | 3 | 4 |
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y | 1 | 0 | -1 | -2 |
for
| x | 0 | -1 | -2 | -3 |
|---|---|---|---|---|
| y | 1 | 0 | -1 | -2 |
Given the function :
Solution
Suppose that
, for
for
for
Sometimes referred to as compound function, are linear functions whose variables have a special relationship under certain conditions that make their graphs break in intervals (look like steps). To understand the concept, let us look at the following example.
The cost of shaving the hair of different age-groups in a central salon are as follows:
- Shaving the group aged ten to twenty years costs Tsh 2,000/=
- The group aging between twenty and thirty (exclusive) costs Tsh 4,000/=
- The group aging thirty and above costs Tsh 6,000/=
From the above information, provide domain and range.
Solution
If we let be the ages and be the costs, then we can interpret this problem as a step function defined by:
The domain of this function is a set of real numbers such that .
The range of this function is .
A quadratic function is a polynomial of the second degree.
It is a function of the general form
Where , , and are real numbers and
Example
Draw the graph of the function:
Solution
Table of Values
(i)
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| f(x) | 3 | 0 | -1 | 0 | 3 |
Its graph
(ii)
Table of Values
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| f(x) | -5 | -2 | -1 | -2 | -5 |
Its graph

When the polynomial function is reduced to the third degree, a cubic function is obtained.
The cubic function takes the general form
Where , , , and are real numbers and
Example
Draw the graph of the following function:
- The intercepts are points , ,
- There are two turning points; the maximum i.e. and the minimum i.e.
- The domain is the set of all real numbers
- The range is the set of all real numbers
For the turning point, let us consider the function . The function may be expressed in the form
Where is another function in and is a constant as follows.
Factorizing out the constant :
Recall the condition that:
- If , has a minimum value , which implies that when . Hence, the minimum turning point is when is positive.
- If , has a maximum value which occurs when . Therefore, the maximum turning point on the graph of is when is negative.
Example
Sketch the graph of , determine the turning point and the intercepts.
Solution
Solving we get:
,
, which are the x-intercepts.
-
The y-intercept is .
-
To obtain the turning points, equate to , so that by comparison we get:
, ,
Thus:
Turning point

There are lines which the curve does not touch. There are two types of asymptotes:
- Vertical asymptotes
- Horizontal asymptotes

Is the line where the function approaches infinity as x approaches a certain value.
Is the line where the function approaches a constant value as x approaches infinity.
Example 1
Let
Vertical Asymptote (V.A.)
For V.A., we set the denominator equal to zero:
Horizontal Asymptote (H.A.)
To find H.A., divide numerator and denominator by :
As ,
Intercepts:
Example 2
Sketch the function:
Suppose
Vertical Asymptotes
For V.A., set denominator equal to zero:
No real vertical asymptotes.
Horizontal Asymptotes
To find H.A., divide numerator and denominator by :
As , and
Intercepts
When ,
When ,
Practice Problems
Sketch the following functions:
(a)
(b)
(c)
(d)
Solution (a):
Let
Vertical Asymptote
For V.A., as
Horizontal Asymptotes
As ,
(no horizontal asymptote, but oblique asymptote )
Intercepts
When ,
When ,
Solution (b):
Let
Vertical Asymptote
Set denominator to zero:
Horizontal Asymptote
Divide numerator and denominator by :
As ,
Intercepts
When ,
When ,
Solution (c):
Let
Vertical Asymptote
Set denominator to zero:
Horizontal Asymptote
Divide numerator and denominator by :
As , and
Intercepts
When ,
When ,
Solution (d):
Let
Vertical Asymptotes
Set denominator equal to zero:
or
and
Horizontal Asymptote
Divide numerator and denominator by :
As , and
Intercepts
When ,
No x-intercepts (numerator is constant 4)
Example
Given the function:
(i) State the range of the function (the domain is the set of real values)
(ii) Sketch the function
Solution
Let
To find the range, we solve for in terms of :
For real values of , the discriminant must be non-negative:
This is always true for all real .
Therefore, has no restriction: it can be any real value.
Range: All real numbers
Sketch of
Vertical Asymptotes
Set denominator equal to zero:
or
,
Horizontal Asymptote
Divide by :
As ,
Intercepts
When ,
When , or
Example
Show that there are only two values which cannot lie between, and find them.
Approach
Multiply both sides by :
Rearrange to form quadratic in :
For real values of , the discriminant must be non-negative:
Divide by 4:
Factor:
This inequality holds when:
or
Therefore, the function cannot lie between 2 and 18 (exclusive).
The values are 2 and 18.
Two functions and are said to be composite functions of
Note: Composite functions are not commutative in general.
Given and .
Find:
(i)
(ii)
Approach
(i)
(ii)
, hence the composite function is not commutative.
Given:
, and
(i)
(ii)
Solution
(ii)
Since , hence the composite function satisfies the associative property.
A function is a one-to-one function when a line parallel to the x-axis cuts the curve at most once. Equivalently, a line parallel to the y-axis also cuts the curve at most once.
The line parallel to the x-axis cuts the curve only once:
- An inverse function is one where each element from the domain matches exactly in the range, and conversely, each element from the range matches exactly with the domain.
Example 1
Given
Find
Approach
Let
Example 2
Given
Find
Approach
Let
(for )
Example 3
Given:
Sketch:
(i) – state its domain
(ii)
Solution
(i) The domain of is all real numbers, .
For (when ):
Let
| x | 1 | 0 | -1 | -2 |
|---|---|---|---|---|
| g(x) | 0 | -1 | -2 | -3 |
For (when ):
Let
(for )
| x | 0 | 1 | 4 |
|---|---|---|---|
| g(x) | 0 | 1 | 2 |

Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza