Professional Documents
Culture Documents
Relations and Functions Power Point-1
Relations and Functions Power Point-1
Relations
Ordered Pair
(i) 𝑎, 𝑏 ≠ 𝑏, 𝑎
Given non-empty sets A and B, we can define a new set 𝐴 × 𝐵, called the Cartesian
product of A and B, as a set of all ordered pairs. That is 𝐴 × 𝐵 = { 𝑎, 𝑏 : 𝑎 ∈
𝐴 𝑎𝑛𝑑 𝑏 ∈ 𝐵}.
(i) 𝐴 × 𝐵 = { 𝑥, 1 , 𝑥, 2 , 𝑥, 3 , 𝑦, 1 , 𝑦, 2 , 𝑦, 3 }
(ii) 𝐵 × 𝐴 = { 1, 𝑥 , 1, 𝑦 , 2, 𝑥 , 2, 𝑦 , 3, 𝑥 , 3, 𝑦 }
A relation is any set of points which connect two variables. A relation is often
expressed in form of an equation connecting the variables 𝑥 and 𝑦. The relation is a
set of points (𝑥, 𝑦) which can be viewed in the cartesian plane.
The range of a relation is the set of all second elements of the ordered
pairs 𝑥, 𝑦 . The range of a relation is the set of values of y. The range is
the set of output values.
Example: Let 𝐻 = { 1,1 , 1,6 , 2,3 , 3,5 , 7,4 }
𝐻 = { 1,1 , 1,6 , 2,3 , 3,5 , 7,4 } is not a function because (1,1) and
1,6 have the same first element.
(a) 𝑓 1 = 2 1 + 3 = 5
(b) 𝑓 4 = 2 4 + 3 = 11
(c) 𝑓 −2 = 2 −2 + 3 = −1
Example: If 𝑓 𝑥 = 𝑥 2 − 𝑥 + 4, and 𝑔 𝑥 = 𝑥 3 − 𝑥 2 ,
(d) 𝑔(−3)
Sometimes the rule of assignment for a function may consist of more than one part.
Such functions are often referred to as piecewise-defined functions.
2𝑥 + 1 𝑓𝑜𝑟 𝑥 ≥ 0
Example: If 𝑓 𝑥 = ቊ find (a) 𝑓(2) (b) 𝑓(4) (c) 𝑓(−1)
3𝑥 − 1 𝑓𝑜𝑟 𝑥 < 0
(d) 𝑓(−3)
(a) 𝑓 2 = 2 2 + 1 = 5 (c) 𝑓 −1 = 3 −1 − 1 = −4
(a) 𝐷 = {𝑥: 𝑥 ≥ 1}
(b) 𝑅 = {𝑓 𝑥 : 𝑓(𝑥) ≥ 0}
3 1
(a) 𝑓 𝑥 = (b) 𝑔 𝑥 = (c) ℎ 𝑥 = 𝑥 2 + 4𝑥 − 12
2𝑥−5 𝑥 2 −9
3
(a) 𝑓 𝑥 = The denominator should not be equal to zero, that is 2𝑥 − 5 ≠ 0,
2𝑥−5
5 5
𝑥≠ The domain of 𝑓 is 𝐷𝑓 = {𝑥: 𝑥 ∈ 𝑅, 𝑥 ≠ }
2 2
1
(b) 𝑔 𝑥 = 𝑥 2 − 9 ≠ 0, ∴ 𝑥 ≠ ±3
𝑥 2 −9
𝑥 2 + 4𝑥 − 12 ≥ 0
𝑥+6 𝑥−2 ≥0
(i) A function 𝑓 is called an even function if 𝑓 −𝑥 = 𝑓(𝑥) for all 𝑥 in the domain
of 𝑓
Remark:
(i) There are functions which are neither even nor odd
(iii) The graph of an odd function has a rotation symmetry about a point (180°)
Example: For each of the following, classify the function as even, odd or neither
odd nor even
(a) 𝑓 𝑥 = 2𝑥 + 1
(b) 𝑓 𝑥 = 2𝑥 3 − 4𝑥
(c) 𝑓 𝑥 = 𝑥 2 + 4
𝑥
(d) 𝑓 𝑥 =
𝑥+1
(a) 𝑓 𝑥 = 2𝑥 + 1 𝑓 −𝑥 = 2 −𝑥 + 1 Substitute 𝑥 with −𝑥
= −2𝑥 + 1
= −2𝑥 3 + 4𝑥
𝑓 −𝑥 = −𝑥 2 = 4 = 𝑥2 + 4
Remark:
(ii) 𝑓𝑔 will only exist if the range of 𝑔 is contained within the domain of 𝑓
(iii) 𝑓𝑜𝑔(𝑥) and 𝑔𝑜𝑓(𝑥) are not always equal (range of 𝑔 = domain of 𝑓)
Example: Let 𝑓 𝑥 = 𝑥 2 and 𝑔 𝑥 = 2𝑥 + 5.
2 1
Example: If 𝑓 𝑥 = and 𝑔 𝑥 = , find
𝑥−1 𝑥
2 1 𝑥−1
(ii) 𝑔𝑜𝑓 𝑥 = 𝑔 𝑓 𝑥 =𝑔 = 2 =
𝑥−1 2
𝑥−1
3 3
𝑔𝑜𝑓 𝑥 = 𝑔 𝑓 𝑥 =𝑔 𝑥 = 𝑥3 = 𝑥
2 𝑥+1
(i) 𝑓 𝑥 = 𝑥 + 1 (ii) 𝑔 𝑥 = 𝑥 − 1 (iii) ℎ 𝑥 =
𝑥+2
(i) 𝑓 𝑎1 = 𝑎1 + 1 𝑓 𝑎2 = 𝑎2 + 1
𝑓 𝑎1 = 𝑓 𝑎2
𝑎1 + 1 = 𝑎2 + 1
𝑎1 = 𝑎2 therefore, 𝑓 𝑥 = 𝑥 + 1 is 1:1
2 2
(ii) 𝑔 𝑎1 = 𝑎1 +1 𝑔 𝑎2 = 𝑎2 +1
𝑔 𝑎1 = 𝑔 𝑎2
𝑎1 2 + 1 = 𝑎2 2 +1
(iii) ℎ 𝑎1 = ℎ 𝑎2
𝑎1 +1 𝑎2 +1
= Cross multiply
𝑎1 +2 𝑎2 +2
𝑎1 + 1 𝑎2 + 2 = 𝑎1 + 2 𝑎2 + 1
𝑎1 𝑎2 + 2𝑎1 + 𝑎2 + 2 = 𝑎1 𝑎2 + 𝑎1 + 2𝑎2 + 2
2𝑎1 + 𝑎2 = 2𝑎2 + 𝑎1
2𝑎1 − 𝑎1 = 2𝑎2 − 𝑎2
𝑎1 = 𝑎2 therefore, ℎ 𝑥 = 𝑥 + 1 is 1:1
Recall the vertical line test: If each vertical line intersects a graph in no
more than one point, then the graph represents a function. There is also a
basic identification of one-to-one functions. When the horizontal line
intersects the graph of a function in no more than one point then it is one-
to-one.
Hor test
Horizontal
Definition Let 𝑓 be a one-to-one function with domain 𝑋 and range 𝑌. A function 𝑔
with domain 𝑌 and range 𝑋 is called the inverse function of 𝑓 if
𝑥+5
Example: Verify that 𝑓 𝑥 = 4𝑥 − 5 and 𝑔 𝑥 = are inverse functions
4
𝑥+5 𝑥+5
𝑓𝑜𝑔 𝑥 = 𝑓 =4 −5=𝑥+5−5=𝑥
4 4
4𝑥−5+5 4𝑥
𝑔𝑜𝑓 𝑥 = 𝑔 4𝑥 − 5 = = = 𝑥 ∴ 𝑓 and 𝑔 are inverses of each other
4 4
Example: Verify that 𝑓 𝑥 = 𝑥 2 + 1 𝑓𝑜𝑟 𝑥 ≥ 0 and 𝑔 𝑥 =
𝑥 − 1 𝑓𝑜𝑟 𝑥 ≥ 1 are inverse functions
2
𝑓𝑜𝑔 𝑥 = 𝑓 𝑥−1 = 𝑥−1 +1=𝑥−1+1=𝑥
(a) 𝑓 𝑥 = 2𝑥 + 1
2 3
(b) 𝑓 𝑥 = 𝑥 +
3 5
(c) 𝑓 𝑥 = 𝑥 2 − 2, 𝑤ℎ𝑒𝑟𝑒 𝑥 ≥ 0
(i) 𝑦 = 𝑥
(ii) 𝑦 = 𝑥 + 2
1
(iii) 𝑦 =
𝑥
(iv) 𝑦 = 𝑥 2 and 𝑦 = −𝑥 2
(v) 𝑦 = 𝑥 3
3
(vi) 𝑦 = 𝑥 + 2 𝑦 = 𝑥3 𝑦 = 𝑥−3 3
(vii) 𝑦 = 𝑥 + 5 2 𝑦 = 𝑥2 𝑦 = 𝑥−4 2
(viii) 𝑦 = 𝑥 and 𝑦 = 𝑥 − 1
The Modulus function
𝑥 𝑓𝑜𝑟 𝑥 ≥ 0
𝑓 𝑥 = 𝑥 =ቊ
−𝑥 𝑓𝑜𝑟 𝑥 < 0
(a) 𝑥 + 2 = 3𝑥
𝑥 + 2 = 3𝑥 𝑥 + 2 = −3𝑥
3𝑥 − 𝑥 = 2 −3𝑥 − 𝑥 = 2
2𝑥 = 2 −4𝑥 = 2
1
𝑥=1 𝑥 = −2
(b) 2𝑥 − 6 = 3𝑥 + 1
2𝑥 − 6 = 3𝑥 + 1 2𝑥 − 6 = −(3𝑥 + 1)
2𝑥 − 3𝑥 = 1 + 6 2𝑥 + 3𝑥 = −1 + 6
−𝑥 = 7 5𝑥 = 5
𝑥 = −7 𝑥=1
An equation is a statement that two quantities are equal and to solve an equation means to find the
value of the unknown. The value of the unknown is called the root of the equation. A quadratic
equation is one in which the highest power of the unknown quantity is 2. For example, 4𝑥 2 −
3𝑥 + 1 = 0 is a quadratic equation.
(a) 𝑥 2 + 2𝑥 − 8 = 0
𝑥 2 + 4𝑥 − 2𝑥 − 8 = 0
𝑥 𝑥+4 −2 𝑥+4 =0
𝑥+4 𝑥−2 =0
𝑥 = −4, 𝑥 = 2
1
Example: The roots of a quadratic equation are and −2. Determine the equation.
3
1
𝑥− 𝑥+2 =0
3
2 1 2
𝑥 − 𝑥 + 2𝑥 − =0
3 3
5 2
𝑥2 + 𝑥 − =0
3 3
3𝑥 2 + 5𝑥 − 2 = 0
Solution of quadratic equations by completing the square
Example: Solve the following quadratic equations by completing the square method
Let the general form of a quadratic equation be given by 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 = 0, where 𝑎, 𝑏, 𝑐 are constants
𝑏 𝑐
𝑥2 + 𝑥 + = 0
𝑎 𝑎
𝑏 𝑏 2 𝑐 𝑏 2
𝑥2 + 𝑥 + = − +
𝑎 2𝑎 𝑎 2𝑎
𝑏 2 𝑏2 −4𝑎𝑐
𝑥+ =
2𝑎 4𝑎2
𝑏 𝑏2 −4𝑎𝑐
𝑥+ =±
2𝑎 4𝑎2
𝑏 𝑏2 −4𝑎𝑐
𝑥= − ±
2𝑎 2𝑎
−𝑏± 𝑏2 −4𝑎𝑐
𝑥=
2𝑎
Example: Solve the following quadratic equations by using the quadratic
formula
(a) 𝑥 2 +3𝑥 − 10 = 0
(b) 2𝑥 2 + 5𝑥 = 3
(c) 2𝑥 2 + 9𝑥 + 8 = 0
The discriminant of the quadratic equation
−𝑏± 𝑏2 −4𝑎𝑐
In 𝑥 = , 𝑏 2 − 4𝑎𝑐 is called the discriminant of the quadratic
2𝑎
1. If 𝑏 2 − 4𝑎𝑐 > 0, then the equation has two unequal real roots
3. If 𝑏 2 − 4𝑎𝑐 < 0, then the equation has two complex but not real roots
Equation Discriminant Nature of solutions
Example: Determine the nature of the roots of each of the following quadratic
equations
(a) 4𝑥 2 + 20𝑥 + 25 = 0
(b) 2𝑥 2 + 5𝑥 + 7 = 0
(c) 𝑥 2 − 25 = 0
Sum and product of the quadratic roots (solutions)
𝑥 2 − 4𝑥 − 192 = 0
𝑥 2 − 4𝑥 + −2 2 = 192 + −2 2
𝑥−2 2 = 196
𝑥 = 2 ± 14
𝑥 = 16, 𝑥 = −12
Checking
𝑏 −4
Sum of the roots 16 + −12 = 4 and – = − =4
𝑎 1
𝑐 −192
Product of roots 16 −12 = −192 and = − = −192
𝑎 1
𝑥 2 + 3𝑥 − 10 = 0
Example: Given that 𝛼 + 𝛽 = 10 and 𝛼𝛽 = −4, find the values of
1 1
(i) + (ii) 𝛼 2 + 𝛽2
𝛼 𝛽
𝛼 𝛽
(iii) + (iv) 𝛼 3 𝛽3
𝛽 𝛼
(vii) 𝛼 3 + 𝛽3
1 1 𝛽+𝛼 10 1
(i) + = = = −2
𝛼 𝛽 𝛼𝛽 −4 2
(ii) 𝛼 2 + 𝛽2
2
𝛼+𝛽 = 𝛼 2 + 2𝛼𝛽 + 𝛽2 = 𝛼 2 + 𝛽2 + 2𝛼𝛽
𝛼 𝛽 𝛼2 +𝛽 2 108
(iii) + = = = −27
𝛽 𝛼 𝛼𝛽 −4
(iv) 𝛼 3 𝛽3 = 𝛼𝛽 3 = −4 3 = −64
2
(v) 𝛼 − 𝛽 = 𝛼 2 − 2𝛼𝛽 + 𝛽2 = 𝛼 2 + 𝛽2 − 2𝛼𝛽 = 𝛼 + 𝛽 2
− 2𝛼𝛽 − 2𝛼𝛽
(vi) 𝛼𝛽 2 + 𝛼 2 𝛽 = 𝛼𝛽 𝛽 + 𝛼 = −4 10 = −40
(vii) 𝛼 3 + 𝛽3 = 𝛼 + 𝛽 𝛼 2 − 𝛼𝛽 + 𝛽2
= 1120
Example: The roots of the equation 2𝑥 2 + 5𝑥 = 3 are 𝛼 and 𝛽. Find a quadratic
equation whose roots are
(i) 𝛼 + 2 and 𝛽 + 2
1 1
(ii) 𝑎𝑛𝑑
𝛼 𝛽
𝛼 𝛽
(iii) 𝑎𝑛𝑑
𝛽 𝛼
(iv) 𝛼𝛽 2 𝑎𝑛𝑑 𝛼 2 𝛽
2 𝑏 5 𝑐 3
(i) 2𝑥 + 5𝑥 − 3 = 0 Roots 𝛼 and 𝛽 𝛼+𝛽 = − = − 𝛼𝛽 = = −
𝑎 2 𝑎 2
5 3
𝛼+2+𝛽+2=𝛼+𝛽+4= − +4=
2 2
𝛼 + 2 𝛽 + 2 = 𝛼𝛽 + 2𝛼 + 2𝛽 + 4 = 𝛼𝛽 + 2 𝛼 + 𝛽 + 4
3 5 5
= − +2 − +4= −
2 2 2
3 5
𝑥2 − 𝑠𝑢𝑚 𝑥 + 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 = 0 𝑥2 − 𝑥+ − =0
2 2
2𝑥 2 − 3𝑥 − 5 = 0
5
1 1 𝛽+𝛼 −2 5
(ii) + = = 3 =
𝛼 𝛽 𝛼𝛽 −2 3
1 1 1 1 2
= = 3 = −
𝛼 𝛽 𝛼𝛽 −2 3
𝑥 2 − 𝑠𝑢𝑚 𝑥 + 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 = 0
5 2
𝑥2 − 𝑥 + − =0
3 3
3𝑥 2 − 5𝑥 − 2 = 0
𝛼 𝛽
(iii) 𝑎𝑛𝑑
𝛽 𝛼
5 2 3
𝛼 𝛽 𝛼2 +𝛽 2 𝛼+𝛽2 −2𝛼𝛽 −2 −2 −2 37
+ = = = 3 = −
𝛽 𝛼 𝛼𝛽 𝛼𝛽 −2 6
𝛼 𝛽
=1
𝛽 𝛼
𝑥 2 − 𝑠𝑢𝑚 𝑥 + 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 = 0
2 37
𝑥 − − 𝑥+1=0
6
6𝑥 2 + 37𝑥 + 6 = 0
The quadratic functions-Maximum and minimum values and their graphs
(a) 𝑓 𝑥 = 2𝑥 2 + 3𝑥 + 5
(b) 𝑓 𝑥 = 1 − 𝑥 − 𝑥 2
𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐
2 𝑏
=𝑎 𝑥 + 𝑥 +𝑐
𝑎
𝑏 2 𝑏2 𝑐
=𝑎 𝑥 + − 2 +
2𝑎 4𝑎 𝑎
𝑏 2 𝑏2
=𝑎 𝑥 + +𝑐−
2𝑎 4𝑎
Now the least (minimum) or greatest (maximum) value of this expression occurs
𝑏
when 𝑥 = − . Hence the minimum value of 𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐, (𝑎 > 0) i.e. at
2𝑎
𝑏
the bottom of the curve is 𝑓 − . If 𝑎 < 0, the turning point will be a maximum
2𝑎
𝑏
(the top of the curve) where 𝑥 = − .
2𝑎
Example: Express −5 + 6𝑥 − 𝑥 2 in the form − 𝑥 − 𝑎 2 − 𝑏 and hence or
otherwise find its maximum value and the value of 𝑥 where this occurs.
−5 + 6𝑥 − 𝑥 2 = −𝑥 2 + 6𝑥 − 5
= − 𝑥 2 − 6𝑥 − 5
= − 𝑥 2 − 6𝑥 + −3 2
− 5 + −3 2
=− 𝑥−3 2 +4
𝑏 6
− = − =3
2𝑎 2(−1)
𝑓 3 =− 3 2 +6 3 −5
= −9 + 18 − 5
=4
Sketching the graph of a quadratic function
To draw the graph, we need a table of values. For a sketch we need only to know:
(iii) the positions of the roots. If 𝑓 𝑥 factorises, the roots are easily found;
otherwise approximate values will be sufficient
(iv) the position of the turning point. Remember that the curve is symmetrical about
the axis through this position
Example: Let 𝑓 𝑥 = −2𝑥 2 + 4𝑥 + 16
Alternatively,
−2𝑥 2 + 4𝑥 + 16
−2 𝑥 2 − 2𝑥 − 8
−2 𝑥 − 1 2 − 8 − −1 2
−2 𝑥 − 1 2 + 16 + 2
−2 𝑥 − 1 2 + 18
(b) range 𝑦 ≤ 18
(c) 𝑥 −intercepts
𝑓 𝑥 =0
2
−2 𝑥 − 1 + 18 = 0
Linear inequalities
(a) 3 + 𝑥 > 7
(b) 4𝑥 + 1 ≤ 𝑥 + 5
(c) 3 − 4𝑡 ≤ 8 + 𝑡
(a) 3 + 𝑥 > 7
𝑥>4
(b) 3𝑥 + 1 ≤ 𝑥 + 5
3𝑥 − 𝑥 ≤ 5 − 1
𝑥≤2
(c) 3 − 4𝑡 ≥ 8 + 𝑡
−5𝑡 ≥ 5
𝑡 ≥ −1
Inequalities involving square functions
(a) 𝑥 2 > 9
(b) 𝑥 2 < 4
(a) ) 𝑡 2 > 9
𝑡2 − 9 > 0
𝑥2 − 4 < 0
∴ −2 < 𝑥 < 2
(b) 𝑡 2 + 2𝑡 − 8 ≤ 0
(a) 𝑥 2 + 2𝑥 − 3 > 0
𝑡−4 𝑡+2 ≤0
𝑡≤4 and 𝑡 ≥ −2 ∴ −2 ≤ 𝑡 ≤ 4
(ii) 𝑡 − 4 ≥ 0 and 𝑡 + 2 ≤ 0
𝑝(𝑥)
A function of the form 𝑓 𝑥 = , where 𝑝(𝑥) and 𝑞(𝑥) are polynomials over the
𝑞(𝑥)
𝑎𝑚 𝑥 𝑚 +⋯+𝑎1 𝑥+𝑎0
𝑓 𝑥 =
𝑏𝑛 𝑥 𝑛 +⋯+𝑏1 𝑥+𝑏0
Theorem
𝑎𝑚
Case 2: For 𝑚 = 𝑛, the horizontal asymptote is the line 𝑦 =
𝑏𝑛
Sketch the graph of each of the following by first stating clearly the
vertical and horizontal asymptotes
1
(a) 𝑓 𝑥 =
𝑥
𝑥+1
(b) 𝑓 𝑥 =
𝑥−1
3𝑥 2
(c) 𝑓 𝑥 =
𝑥 2 −4
9
(d) 𝑓 𝑥 =
𝑥 2 −1
𝑥 2 −4
(e) 𝑓 𝑥 =
𝑥 2 −4𝑥
1
(a) 𝑦 =
𝑥
𝑥+1
(b) 𝑓 𝑥 =
𝑥−1
9
(d) 𝑓 𝑥 =
𝑥 2 −1
𝑥 2 −4
(e) 𝑓 𝑥 =
𝑥 2 −4𝑥
Oblique asymptotes
2𝑥 2 −3𝑥−1
Find all the asymptotes of 𝑓 𝑥 = and sketch its graph.
𝑥−2
𝑥, 𝑥 < 0
Example: Sketch the graph of (i) 𝑓 𝑥 = ቊ 2
𝑥 ,𝑥 ≥ 0
−𝑥 2 𝑖𝑓 𝑥 < 0
(ii) 𝑓 𝑥 = ൞𝑥 2 𝑖𝑓 0 ≤ 𝑥 < 3
9 𝑖𝑓 𝑥 ≥ 3