Discrete Mathematics MCQs on “Domain and Range of Functions”.
1. What is the domain of a function?
a) the maximal set of numbers for which a function is defined
b) the maximal set of numbers which a function can take values
c) it is a set of natural numbers for which a function is defined
d) none of the mentioned
Answer: a
Clarification: Domain is the set of all the numbers on which a function is defined. It may be real as well.
2. What is domain of function f(x)= x1/2?
a) (2, ∞)
b) (-∞, 1)
c) [0, ∞)
d) None of the mentioned
Answer: c
Clarification: A square root function is not defined for negative real numbers.
3. What is the range of a function?
a) the maximal set of numbers for which a function is defined
b) the maximal set of numbers which a function can take values
c) it is set of natural numbers for which a function is defined
d) none of the mentioned
Answer: b
Clarification: Range is the set of all values which a function may take.
4. What is domain of function f(x) = x-1 for it to be defined everywhere on domain?
a) (2, ∞)
b) (-∞, ∞) – {0}
c) [0, ∞)
d) None of the mentioned
Answer: b
Clarification: Function x-1 is not defined for x=0, otherwise it defined for every real number.
5. The range of function f(x) = sin(x) is (-∞, ∞).
a) True
b) False
Answer: b
Clarification: A sine function takes values between -1 and 1,thus range is [-1, 1].
6. Codomain is the subset of range.
a) True
b) False
Answer: b
Clarification: Range is the subset of codomain, that is every value in the range is in codomain but vice-versa it is not true.
7. What is range of function f(x) = x-1 which is defined everywhere on its domain?
a) (-∞, ∞)
b) (-∞, ∞) – {0}
c) [0, ∞)
d) None of the mentioned
Answer: a
Clarification: Function x-1 may take any real number hence it’s range is all real numbers.
8. If f(x) = 2x then range of the function is?
a) (-∞, ∞)
b) (-∞, ∞) – {0}
c) (0, ∞)
d) None of the mentioned
Answer: c
Clarification: The function cannot take negative values,hence range is (0, ∞).
9. If f(x) = x2 + 4 then range of f(x) is given by?
a) [4, ∞)
b) (-∞, ∞) – {0}
c) (0, ∞)
d) None of the mentioned
Answer: a
Clarification: Since minimum value of x2 is 0, thus x2 +4 may take any value between [4,∞).
10. Let f(x)=sin2(x) + log(x) then domain of f(x) is (-∞, ∞).
a) True
b) False
Answer: b
Clarification: Domain is (0, ∞), since log(x) is not defined for negative numbers and zero.