Graph of A Relation
Graph of A Relation
Graph of A Relation
Note that some relations have graphs representing special figures like straight
lines or curves.
Example 6
Draw the graph for the relation R= {(x, y): y = 2x +1} Where both x and y are real
numbers.
Solution
The equation y = 2x +1 represents a straight line, this line passes throng
uncountable points. To draw its graph we must have at least two points through
which the line passes.
Graph;
Example 7
Let A = {-2,-1,0, 1, 2 } and B ={0,1,2,3,4}
Let the relation R be y= x2, where x A and yB. Draw the graph of R
Solution
NB: When the relation is given by an equation such as y = f (x), the domain is the
set containing x- values satisfying the equation and the range is the set of y-values
satisfying the given equation.
Exercise 3
Test Yourself:
Quiz.
Domain and Range of a Relation
The Domain of Relation
State the domain of relation
Domain: The domain of a function is the set of all possible input values (often the
"x" variable), which produce a valid output from a particular function. It is the set
of all real numbers for which a function is mathematically defined.
Example 9
As we,
Exercise 4
1. Let A = { 3,5,7,9 } and B = {1,4,6,8 } , find the domain and range of the relation
is greater than on sets A and B
4. Let X ={3, 4, 5, 6} and
Y ={2, 4, 6, 8}
Draw the pictorial diagram to illustrate the relation is less than or equal to and
state its domain and range
Inequalities:
The equations involving the signs < , , > or are called inequalities
Eg. x<3 x is less than 3
x>3 x is greater than 3
x 2 x is less or equal to 2
x 2 x is greater or equal to 2
x > y x is greater or than y etc
Inequalities can be shown on a number line as in the following
Inequalities involving two variables:
If the inequality involves two variables it is treated as an equation and its graph is
drawn in such a way that a dotted line is used for > and < signs while normal lines
are used for those involving and .
The line drawn separates the x-y plane into two parts/regions
The region satisfying the given inequality is shaded and before shading it must be
tested by choosing one point lying in any of the two regions,
Example 10
1. Draw the graph of the relation R = {(x, y): x>y}
Solution:
x>y is the line x =y but a dotted line is used.
Graph
If you draw a graph of the relation R = {(x,y ) : x < y} , the same line is draw but
shading is done on the upper part of the line.
Exercise 5
1. Draw the graph of the relation R = {(x,y ): x + y > 0}
3. Write down the inequality for the relation given by the following graph
4. Draw a graph of the inequality for the relation x >-2 and shade the required
region.
Domain and Range from the graph
Definition: Domain is the set of all x values that satisfy the given equation or
inequality.
Similarly Range is the set of all y value satisfying the given equation or inequality
Example 11
1. Consider the following graph and state its domain and range.
Solution
Example 12
State the domain and range of the relation whose graph is given below.
Inverse of a Relation
The Inverse of a Relation Pictorially
Explain the Inverse of a relation pictorially
If there is a relation between two sets A and B interchanging A and B gives the
inverse of the relation.
If R is the relation, then its inverse is denoted by R -1
If the relation is shown by an arrow diagram then reversing the direction of the arrow gives
its inverse
If the relation is given by ordered pair ( x, y) , then inter changing the variables gives inverse
of the relation, that is (y,x) is the inverse of the relation. So domain of R = Range of R -1 and
range of R = domain of R -1
Example 13
1.
Inverse of a Relation
Find inverse of a relation
Example 14
Find the inverse of the relation R ={ ( x, y):x+ 3 y}
Solution
R-1 is obtained by inter changing the variables x and y.
Example 15
Find the inverse of the relation
R ={ ( x , y ): y = 2x }
Solution
R ={( x , y ): y = 2x }
After interchanging the variable x and y, the equation
y = 2x becomes x = 2y
or y = x
so R-1 = ( x, y ) : y = x
Exercise 6
1 .Let A = 3,4,5 and B = 1,4,7 find the inverse of the reaction is less than
which maps an element from set A on to the element in set B
5. State the domain and range of the inverse of the relation given in question 1
above.
FUNCTIONS
Normally relation deals with matching of elements from the first set called
DOMAIN with the element of the second set called RANGE.
Definitions:
A function is a relation with a property that for each element in the domain there
is only one corresponding element in the range or co- domain
Therefore functions are relations but not all relations are functions
Representation of a Function
The Concept of a Functions Pictorially
Explain the concept of a functions pictorially
Example 1
Which of the following relation are functions?
Solution
a. It is not a function since 3 and 6 remain unmapped.
b. It is not a function because 2 has two images ( 5 and 6)
c. It is a function because each of 1, 2, 3 and 4 is connected to exactly one of 5, 6 or 7.
Functions
Identify functions
TESTING FOR FUNCTIONS;
If a line parallel to the y-axis is drawn and it passes through two or more points on
the graph of the relation then the relation is not a function.
If it passes through only one point then the relation is a function
Example 2
Identify each of the following graphs as functions or not.
Exercise 1
1. Which of the following relations are functions?
2. Let A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and B ={ 2, 3, 5, 7 }
Exercise 2
1. For each of the following functions, state the domain and range
a. f(x) = 2x + 7 for 2 x 5
b. f(x) = x 1 for -4 x 6
c. f(x) = 5 - 3x such that -2 f(x) < 8
2. for each of the following functions state the domain and range
a. f(x) = x2
b. f(x) = x2+2
c. f(x) = 2x + 1
d. f(x) = 1 x2
Exercise 3
1.The range of the function
a. R = (x, y) : y = for x 0
b. R= (x, y) : y2 = x-2 for x 0
c. R= (x, y) : y = for x 0 and y 0
d. R= (x, y) : x = 7 for all values of y
4.Which of the following relations is a function:
a. R = (x, y): -2 x 6, 3 y<8 and x<y, Where both x and y are integers
b. R= (x, y): -2 x 6, 3 y<8 and x<y, Where both x and y are integers
c. R= (x,y): y = (x+2) for x -2.
d. R = (x, y): y=(2-x) for x 2 and y 0
5.Let f (x) = x2 + 1. Which of the following is true?
a. f (-2) < f (0)
b. f (3)> f (-4)
c. f (-5) = f (5)
d. The function crosses , y axis at 1
One to one and many to one functions:
One to functions;
A one to one function is a function in which one element from the domain is
mapped to exactly one element in the range:
That is if a b then f (a) f (b)
Many to one function;
This is another type of function with a property that two or more elements from
the domain can have one image (the same image).
g (x) is one to one function because every element in P has only one image in Q
NB: In example 1, f(x) is not a one to one function because -2 and 2 in A have the
same image in B, that is 4 is the image of both 2 and -2.
Also 1 is the image of both 1 nd -1.
Example 7
State whether or not if the following graphs represent a one to one function:
Solution:
Draw a line parallel to the x axis and see if it crosses the graph at more than one
points. If it does, then, the function is many to one and if it crosses at only one
point then the graph represents a one to one function.
Graphic Function
Graphs of Functions
Draw graphs of functions
Many functions are given as equations; this being the case, drawing a graph of the
equation is obtaining the graph of the equation which defines the function.
Note that, you can draw a graph of a function if you know the limits of its
independent variables as well as dependent variables. i.e you must know the
domain and range of the given function.
Example 8
Draw the graph of the following functions
a. f(x) = 3x -1
b. g (x) = x2 2x -1
c. h (x) = x3
Solution
f(x) = 3x 1
The domain and range of f are the sets of all real numbers
f(x) = y = 3x 1
So y = 3x 1
Table of value :
g(x) = x2 -2x -1
y=x2-2-1
a=-1, b=-2 1 and c=-1
forh(x) = x3
Solution:
The first graph is the graph of linear function, the second one is called the graph
of a quadratic function and the last graph is for cubic function.
Example 9
Draw a graph of the function:
f(x) = -1 + 6x-x2
Solution:
a=-1, b=6, c=-1
Exercise 4
1.Which of the following are one to one function?
a. f(x) = 3x x2
b. g (x) = x-1
c. k(x) =x3+1
d. f(x) =x+x2+x3
e. k(x)=x4
a. f(x)=x2+2
b. f(x) =x4-x2
c. f(x)=x5-7
d. f(x)=x2+x+2
Functions with more than one part.
Some functions consist of more than one part. When drawing their graphs draw the
parts separately.
If the graph includes an end point, indicate it with a solid dot if it does not include
the end point indicate it with a hollow dot.
E.g. draw the graphs of the functions
(a) F(x) x+1 for x>0
(b) f(x)=x+1for x0
Example 10
Solved.
Table of values
Example 11
Solve the following
Solution
table of values.
Graph
Step functions:
Example 12
Draw the graph of
Note that the graph obtained is like steps such functions are called steps functions
Exercise 6
1. Draw the graph of
Inverse of a Function
The Inverse of a Function
Explain the inverse of a function
In the discussion about relation we defined the inverse of relation.
It is true that the inverse of the relation is also a relation.
Similarly because a function is also relation then every function has its inverse
Solutions:
Exercise 7
1.Find the inverse of each of the following functions:
Exercise 8
1. given that f(x) = x2-2[x] +3, what is the value of f (-4)?
Mathematics Form 3 Topics
Relations
Functions
Statistics
Rates And Variations
Sequence And Series
Circles
The Earth As A Sphere
Accounts