Domain and Range of A Function
Domain and Range of A Function
Domain and Range of A Function
2 2 2
2 2
3 3 3
f ( x) = x + 2. x + − + 2
2
2 2 2
2 2
3 3
f ( x) = x + − + 2
2 2
2
3 9
f ( x) = x + − + 2
2 4
2
3 1
f ( x) = x + −
2 4
It is seen that from the above equation the given function is an increasing function, so the lowest value of
x yields the lowest value of y or f(x).
1 3 3
Therefore, the lowest value of y is y = − when x − = 0 x =
4 2 2
1
Consequently, the range of the given function is R f = [− , ) .
4
H.W:
Find the domain and range of the following quadratic functions
1
1. f ( x) = x 2 + 5x + 6 Ans: D f = R and R f = [− , )
4
1
2. f ( x) = − x 2 + 5x − 6 Ans: D f = R and R f = (− , ]
4
3. x = 5 y2 + 2 y + 6 Ans: D f = R and R f = R
Attention: How can find the range of the polynomial function of degree more than two.
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
Piecewise function:
0 , x −1
Problem 02: Find the domain and range of the function f ( x) = 1 − x 2 , − 1 x 1 .
x , x 1
Solution:
Domain:
Given function is,
0 , x −1
f ( x) = 1 − x 2 , − 1 x 1
x , x 1
x2 −1 , x 0
Problem 03: Find the domain and range of the function f ( x) = x , 0 x 1.
1
, x 1
x
Solution:
Domain:
Given function is,
x2 −1 , x 0
f ( x) = x ,0 x 1
1
, x 1
x
For Range:
H.W:
Find the domain and range of the following quadratic functions
x2 ,x 0
1. f ( x) = x ,0 x 1
1
, x 1
x
x2 + 1 ,x0
2. f ( x) = x ,0 x 1
1
, x 1
x
x2 ,0 x 1
3. f ( x) = x ,1 x 2
x2
,2 x
2
Modulus/absolute function:
Solution:
Domain:
Given absolute value function is,
y = f ( x) = x + x − 1 [ Say]
There are two breaking points in this mathematical problem such as x = 0 & x = 1 and those points
divide real number line into three intervals like as ( − , 0 ) , [0,1) and [1, ) .Therefore we define this
absolute value function section-ally by three parts.
Now,
y = f ( x) = x + x − 1
( − x ) + ( − ( x − 1) ) ,x 0
y = f ( x) = ( + x ) + ( − ( x − 1) ) ,0 x 1
( + x ) + ( + ( x − 1) ) , x 1
− x − ( x − 1) ,x 0
y = f ( x) = x − ( x − 1) ,0 x 1
x + ( x − 1) , x 1
−2 x + 1 ,x 0
y = f ( x) = 1 ,0 x 1
2x +1 , x 1
H.W:
Find domain and range of the following functions
1. f ( x) = x + 1 + x − 2
2. f ( x) = x + 2 + x − 2
3. f ( x) = x + x − 1 + x − 2
Rational Function:
2x +1
Problem 06: Find the domain and range of the function f ( x) = .
x −5
Solution:
Domain:
Given Rational function is,
2x +1
f ( x) = R iff x − 5 0
x −5
x5
That means given function f ( x) produces real output for all real values of x accept x = 5 .
D f = R − 5
For Range:
2x +1
Suppose y = f ( x) =
x −5
2x +1
y=
x −5
xy − 5 y = 2 x + 1
xy − 2 x = 5 y + 1
x ( y − 2) = 5 y + 1
5 y +1
x= R if y − 2 0 y 2
y−2
It shows x produces real values for all values of y accept y = 2 .
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
R f = R − 2
x2 − 4
Problem 07: Find the domain and range of the function y = .
x−2
Solution: Given function is,
x2 − 4
y=
x−2
Here, y is undefined if
x−2 = 0
or , x = 2
So, y gives real values for all real values of x except x = 2 .
Therefore, the domain of the given function is
D f = R − 2 .
Again we have,
x2 − 4
y=
x−2
or , y =
( x + 2 )( x − 2 ) ; x 2
x−2
or , y = x + 2 ; x2
or , x = y − 2 ; x2
Here, x is defined for all real values of y except y = 4
Therefore, the range of the given function is
R f = R − 4 (Ans)
x 2 − 3x + 2
Problem 08: Find the domain and range of the function f ( x) = .
x2 + x − 6
Solution:
Domain:
Given Rational function is,
x 2 − 3x + 2
f ( x) = 2 R iff x 2 + x − 6 0
x + x−6
( x2 + x − 6) 0
( x 2 + 3x − 2 x − 6 ) 0
x ( x + 3) − 2 ( x + 3) 0
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
( x + 3)( x − 2 ) 0
( x + 3) 0 or ( x − 2) 0
x −3 or x2
That means given function f ( x) produces real output for all real values of x accept x = −3 and x = 2 .
D f = R − 2, −3
For Range:
x 2 − 3x + 2
Let y = f ( x) = 2
x + x−6
x 2 − 3x + 2
y= 2
x + x−6
y ( x 2 + x − 6 ) = x 2 − 3x + 2
x2 y + xy − 6 y = x2 − 3x + 2
x2 y − x 2 + xy + 3x − 6 y − 2 = 0
x 2 ( y − 1) + x ( y + 3) − ( 6 y + 2 ) = 0
−( y + 3) ( y + 3) 2 − 4.( y − 1).(−) ( 6 y + 2 )
x=
2 ( y − 1)
−( y + 3) ( y + 3) 2 + 4.( y − 1) ( 6 y + 2 )
x= R if 2 ( y − 1) 0 y 1 .
2 ( y − 1)
R f = R − 1
H.W:
Find domain and range of the following functions
x2 − 4 x + 3
1. f ( x) =
x2 + 5x + 6
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
x2 − 4 x + 3
2. f ( x) =
x2 − 5x + 6
1 1
Problem 09: Find the domain of the function gof ( x) where f ( x) = and g( x) = .
x ( x + 2)(x − 3)
Solution:
Given that,
1 1
f ( x) = and g( x) =
x ( x + 2)(x − 3)
Now,
gof ( x) = g ( f ( x) )
1
gof ( x) = g
x
1
gof ( x) =
1 1
+ 2 − 3
x x
1
gof ( x) =
1 + 2 x 1 − 3x
x x
1
gof ( x) =
(1 + 2 x )(1 − 3x )
x2
x2
gof ( x) =
(1 + 2 x )(1 − 3x )
Domain:
Considered function is
x2
gof ( x) = R if (1 + 2 x )(1 − 3x ) 0
(1 + 2 x )(1 − 3x )
(1 + 2 x ) 0 or (1 − 3x ) 0
1 1
x− or x
2 3
From the above equation it is clear that given function produces real output for all real values of x accept
1 1
x = − and x = .
2 3
Therefore the domain of the given function is,
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
1 1
D f = R − − ,
2 3
Suppose y = f ( x) = 2 x + 5 , y 0
Here y2 = 2x + 5 [Squaring both sides]
2x + 5 = y 2
2x = y2 − 5
y2 − 5
x= R for all y R .
2
Now, the range of the given function is R f = {y : y 0} {y : y R}
R f = [0, ) (− , )
R f = [0, ) (Ans)
Note: The range, most of the positive square root function is R f = [0, ) .
x 2 − 3x − x + 3 0
x ( x − 3 ) − 1( x − 3 ) 0
( x − 3)( x − 1) 0
1 3
There are two breaking point of the given function are x = 1 and x = 3 those divides the whole real
number line into three interval like as (−,1], (1,3]and (3, ) .
Examine the signs of two factors ( x − 3) and ( x − 1) to determine where it is valid to determine the
domain of the given function.
D f = (−,1] [2, )
Range:
2x + 3
Problem 12: Find the domain and range of the function f ( x) = .
x −5
Solution:
Domain:
Given function is,
2x + 3
f ( x) = R , if and only if the following condition holds
x −5
2x + 3
0
x −5
-3/2 5
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
3
There are two breaking point of the given function are x = − and x = 5 those divides the whole real
2
3 3
number line into three interval like as (−, − ], (− ,5]and (5, ) .
2 2
Examine the signs of two factors ( 2 x + 3) and ( x − 5 ) to determine where it is valid to determine the
range of the given function.
3 3 - - Valid
− x − or (−, − ]
2 2
3 3 + - Not Valid
− y 5 or (− ,5]
2 2
5 x or (5, ) + + Valid
3
Therefore, the Domain of the given function is D f = {x : x − } {x : x 5} .
2
3
D f = (−, − ] (5, ) .
2
Range:
Suppose that,
2x + 3
y = f ( x) = ,y0
x −5
2x + 3
y2 = ,y0 [Squaring both-sides]
x −5
xy 2 − 5 y 2 = 2 x + 3 , y 0
xy 2 − 2 x = 5 y 2 + 3 ,y0
x ( y2 − 2) = 5 y2 + 3 ,y0
5 y2 + 3
x= ,y0
y2 − 2
5 y2 + 3
x= ,y0
( )
2
y2 − 2
5 y2 + 3
x= ,y0
( y − 2 )( y + 2 )
The real variable x produces real output if y 2 and together with the condition y 0 .
So, the range of the given function is R f = R −
2, − 2 [0, )
Dr. Md. Al-Amin Khan (DMAAK), Assistant Professor
R f = [0, ) − 2 (Ans)
H.W:
Find the domain and range of the following functions
2x +1
1. f ( x) =
x −1
2x +1
2. f ( x) =
5 x + 15
x 2 − 7 x + 10
3. f ( x) =
x2 + 5x + 6
x +1
Problem 13: Find the domain of the function f ( x) = .
x −4
2
Solution:
Given function is,
x +1
f ( x) = R , if and only if the following condition holds
x −4 2
x +1 0 and x 2 − 4 0
x −1 and x 2 4
x −1 and x 4
x −1 and x 2
Therefore, the domain of the given function is D f = {x : x −1} x : x 2
D f = [−1, ) − 2
D f = [−1, 2) (2, )