Chapter 2 Relations and Functions
Practice questions
If f(x) = 3x − 2 and g(x) = x² for x ∈ R, what is (2f − g)(3)?
- 5
- 23
- −5
- −4
Answer and explanation
Answer: A
f(3) = 9 − 2 = 7, so (2f)(3) = 14. g(3) = 9. Therefore (2f − g)(3) = 14 − 9 = 5.
If f(x) = x² and g(x) = x + 3, what is (fg)(x) − (f + g)(x)?
- x³ + 2x² − x − 3
- x³ + 3x² − x − 3
- x³ + 2x² + x + 3
- x³ − x − 3
Answer and explanation
Answer: A
(fg)(x) = x²(x + 3) = x³ + 3x². (f + g)(x) = x² + x + 3. Subtracting: x³ + 3x² − x² − x − 3 = x³ + 2x² − x − 3.
Let f(x) = x − 2 and g(x) = 4x + 1. What is (f/g)(x), and where is it defined?
- (x − 2)/(4x + 1), x ≠ 2
- (4x + 1)/(x − 2), x ≠ 2
- (x − 2)/(4x + 1), x ≠ −1/4
- (x − 2)/(4x + 1), all real x
Answer and explanation
Answer: C
(f/g)(x) = f(x)/g(x) = (x − 2)/(4x + 1), defined where g(x) = 4x + 1 ≠ 0, that is x ≠ −1/4. The zero of the numerator, x = 2, is allowed.
Assertion (A): The range of the signum function is {−1, 0, 1}. Reason (R): The modulus function never takes a negative value.
- Both A and R are true, and R is the correct explanation of A.
- Both A and R are true, but R is not the correct explanation of A.
- A is true, but R is false.
- A is false, but R is true.
Answer and explanation
Answer: B
A is true: signum gives 1 for x > 0, 0 at x = 0 and −1 for x < 0, and nothing else. R is also true, since |x| ≥ 0 for every x. But R is about a different function and says nothing about which values signum takes, so it does not explain A.
For which values of x is [x] = −1, and what is [−0.01], where [x] is the greatest integer function?
- No values; [−0.01] = 0
- All x with −1 ≤ x < 0; [−0.01] = −1
- Only x = −1; [−0.01] = −1
- All x with −1 < x ≤ 0; [−0.01] = 0
Answer and explanation
Answer: B
[x] = −1 exactly when −1 ≤ x < 0. For x = −0.01, the greatest integer not exceeding it is −1, because 0 is larger than −0.01.
What are the domain and range of f(x) = √(9 − x)?
- Domain (−∞, 9], range [0, ∞)
- Domain [9, ∞), range [0, ∞)
- Domain R, range [0, ∞)
- Domain (−∞, 9), range (0, ∞)
Answer and explanation
Answer: A
We need 9 − x ≥ 0, so x ≤ 9 and the domain is (−∞, 9]. A square root is never negative, f(9) = 0, and very negative x gives large values, so the range is [0, ∞).
What is the range of f(x) = 5 − 2x for x ∈ R, x > 1?
- (3, ∞)
- (−∞, 3]
- R
- (−∞, 3)
Answer and explanation
Answer: D
For x > 1, 2x > 2, so 5 − 2x < 3. As x grows, 5 − 2x takes every value below 3, but never 3 itself because x = 1 is excluded. So the range is (−∞, 3).
What is the domain of f(x) = (x + 3)/(x² − 9x + 20)?
- R − {4, 5}
- R − {−3}
- R − {−4, −5}
- R − {−3, 4, 5}
Answer and explanation
Answer: A
The denominator x² − 9x + 20 = (x − 4)(x − 5) is zero at x = 4 and x = 5, so these are excluded: R − {4, 5}. The numerator may be zero at x = −3; that does not matter.
Let A = {1, 2, 3}, B = {2, 4, 6, 8} and f = {(1, 2), (2, 6), (3, 4), (1, 8)}. Which statement is correct?
- f is a function from A to B
- f is a relation from A to B but not a function
- f is not a relation from A to B
- f is a function because every element of A has an image
Answer and explanation
Answer: B
Every pair has its first element in A and second in B, so f ⊂ A × B and f is a relation. But 1 has two images, 2 and 8, so f is not a function. Having an image for every element is necessary but not enough.
Let R be the relation on N given by R = {(a, b) : a divides b}. Which statement is true?
- (a, b) ∈ R always implies (b, a) ∈ R
- (6, 3) ∈ R
- (a, a) ∈ R for every a ∈ N
- (2, 3) ∈ R
Answer and explanation
Answer: C
Every natural number divides itself, so (a, a) ∈ R for every a. The first statement fails because (2, 4) ∈ R but 4 does not divide 2; (6, 3) ∉ R because 6 does not divide 3; and (2, 3) ∉ R because 2 does not divide 3.
Let A = {a, b} and B = {1, 2, 3, 4}. How many relations are there from A to B?
- 8
- 16
- 64
- 256
Answer and explanation
Answer: D
n(A × B) = 2 × 4 = 8, and every subset of A × B is a relation, so there are 2⁸ = 256 relations. The number 8 counts the ordered pairs, not the relations.
Let A = {1, 2, 4, 5, 10} and R = {(a, b) : a, b ∈ A and a divides b exactly}. How many ordered pairs are in R?
- 10
- 11
- 12
- 9
Answer and explanation
Answer: C
1 divides all five numbers (5 pairs); 2 divides 2, 4 and 10 (3 pairs); 4 divides 4 (1 pair); 5 divides 5 and 10 (2 pairs); 10 divides 10 (1 pair). Total 5 + 3 + 1 + 2 + 1 = 12 ordered pairs. Remember that every number divides itself.
Let n(A) = 2 and n(B) = 3. If (1, p), (2, q) and (1, r) are in A × B, where p, q and r are distinct, what are A and B?
- A = {p, q, r}, B = {1, 2}
- A = {1}, B = {p, q, r}
- A = {1, 2}, B = {p, r}
- A = {1, 2}, B = {p, q, r}
Answer and explanation
Answer: D
The first elements 1 and 2 belong to A, and n(A) = 2, so A = {1, 2}. The second elements p, q, r are three distinct elements of B, and n(B) = 3, so B = {p, q, r}.
A has 4 elements and B = {p, q}. How many elements do A × B and B × A have?
- 8 and 6
- 6 and 6
- 8 and 8
- 4 and 2
Answer and explanation
Answer: C
n(A × B) = 4 × 2 = 8 and n(B × A) = 2 × 4 = 8. The two products contain different pairs, but they always have the same number of elements.
If (x/2 − 1, y + 1/4) = (3/2, 5/4), what are x and y?
- x = 5, y = 1
- x = 1, y = 5
- x = 5, y = 3/2
- x = 1, y = 1
Answer and explanation
Answer: A
Equate corresponding elements: x/2 − 1 = 3/2 gives x/2 = 5/2, so x = 5. And y + 1/4 = 5/4 gives y = 1.
Assertion (A): If f(x) = √x and g(x) = x − 1 for x ≥ 0, then the domain of f/g is [0, ∞) − {1}. Reason (R): A quotient f/g is defined only where g(x) ≠ 0.
- Both A and R are true, and R is the correct explanation of A.
- Both A and R are true, but R is not the correct explanation of A.
- A is true, but R is false.
- A is false, but R is true.
Answer and explanation
Answer: A
f and g are both defined on [0, ∞), but g(1) = 0, so 1 must be removed from the domain of f/g, leaving [0, ∞) − {1}. R states the rule that produces A, so both are true and R explains A.
If f(x) = x², what is [f(1.2) − f(1)]/(1.2 − 1)?
- 2.2
- 0.44
- 2
- 4.4
Answer and explanation
Answer: A
f(1.2) = 1.44 and f(1) = 1. The numerator is 0.44 and the denominator is 0.2, so the value is 0.44/0.2 = 2.2.
If f(x) = 3x and g(x) = x² − 1, what is (fg)(2)?
- 9
- 15
- 18
- 12
Answer and explanation
Answer: C
f(2) = 6 and g(2) = 4 − 1 = 3, so (fg)(2) = 6 × 3 = 18.
If f(x) = x² and g(x) = 4x + 2, what is the domain of f/g?
- R
- R − {−1/2}
- R − {0}
- R − {1/2}
Answer and explanation
Answer: B
f/g = x²/(4x + 2) is undefined where 4x + 2 = 0, that is at x = −1/2. So the domain is R − {−1/2}. The zero of the numerator, x = 0, is allowed.
If f(x) = x + 4 and g(x) = 3x − 1, what is (f − g)(x)?
- −2x + 3
- 4x + 3
- −2x + 5
- 2x − 5
Answer and explanation
Answer: C
(f − g)(x) = (x + 4) − (3x − 1) = x + 4 − 3x + 1 = −2x + 5. Forgetting to change the sign of −1 gives the wrong answer −2x + 3.