• Foundation
  • About 30 min
  • 15 practice questions

Final self-assessment: Relations and Functions

Test yourself on the whole course: 15 questions with answers explained.

If something looks wrong, please tell us.

Attempt all 15 questions in one sitting of about 30 minutes, without looking back at the lessons. They mix ideas from all five lessons, include assertion-reason items, and are harder than the lesson checks. Write your working on paper, then read every explanation, including those for questions you got right.

Final self-assessment

  1. 1. If (x/2 − 1, y + 1/4) = (3/2, 5/4), what are x and y?

    1. x = 5, y = 1
    2. x = 1, y = 5
    3. x = 5, y = 3/2
    4. x = 1, y = 1
    Show answer

    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.

  2. 2. A has 4 elements and B = {p, q}. How many elements do A × B and B × A have?

    1. 8 and 6
    2. 6 and 6
    3. 8 and 8
    4. 4 and 2
    Show answer

    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.

  3. 3. 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?

    1. A = {p, q, r}, B = {1, 2}
    2. A = {1}, B = {p, q, r}
    3. A = {1, 2}, B = {p, r}
    4. A = {1, 2}, B = {p, q, r}
    Show answer

    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}.

  4. 4. 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?

    1. 10
    2. 11
    3. 12
    4. 9
    Show answer

    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.

  5. 5. Let A = {a, b} and B = {1, 2, 3, 4}. How many relations are there from A to B?

    1. 8
    2. 16
    3. 64
    4. 256
    Show answer

    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.

  6. 6. Let R be the relation on N given by R = {(a, b) : a divides b}. Which statement is true?

    1. (a, b) ∈ R always implies (b, a) ∈ R
    2. (6, 3) ∈ R
    3. (a, a) ∈ R for every a ∈ N
    4. (2, 3) ∈ R
    Show answer

    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.

  7. 7. Let A = {1, 2, 3}, B = {2, 4, 6, 8} and f = {(1, 2), (2, 6), (3, 4), (1, 8)}. Which statement is correct?

    1. f is a function from A to B
    2. f is a relation from A to B but not a function
    3. f is not a relation from A to B
    4. f is a function because every element of A has an image
    Show answer

    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.

  8. 8. What is the domain of f(x) = (x + 3)/(x² − 9x + 20)?

    1. R − {4, 5}
    2. R − {−3}
    3. R − {−4, −5}
    4. R − {−3, 4, 5}
    Show answer

    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.

  9. 9. What is the range of f(x) = 5 − 2x for x ∈ R, x > 1?

    1. (3, ∞)
    2. (−∞, 3]
    3. R
    4. (−∞, 3)
    Show answer

    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).

  10. 10. What are the domain and range of f(x) = √(9 − x)?

    1. Domain (−∞, 9], range [0, ∞)
    2. Domain [9, ∞), range [0, ∞)
    3. Domain R, range [0, ∞)
    4. Domain (−∞, 9), range (0, ∞)
    Show answer

    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, ∞).

  11. 11. For which values of x is [x] = −1, and what is [−0.01], where [x] is the greatest integer function?

    1. No values; [−0.01] = 0
    2. All x with −1 ≤ x < 0; [−0.01] = −1
    3. Only x = −1; [−0.01] = −1
    4. All x with −1 < x ≤ 0; [−0.01] = 0
    Show answer

    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.

  12. 12. Assertion (A): The range of the signum function is {−1, 0, 1}. Reason (R): The modulus function never takes a negative value.

    1. Both A and R are true, and R is the correct explanation of A.
    2. Both A and R are true, but R is not the correct explanation of A.
    3. A is true, but R is false.
    4. A is false, but R is true.
    Show answer

    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.

  13. 13. Let f(x) = x − 2 and g(x) = 4x + 1. What is (f/g)(x), and where is it defined?

    1. (x − 2)/(4x + 1), x ≠ 2
    2. (4x + 1)/(x − 2), x ≠ 2
    3. (x − 2)/(4x + 1), x ≠ −1/4
    4. (x − 2)/(4x + 1), all real x
    Show answer

    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.

  14. 14. If f(x) = x² and g(x) = x + 3, what is (fg)(x) − (f + g)(x)?

    1. x³ + 2x² − x − 3
    2. x³ + 3x² − x − 3
    3. x³ + 2x² + x + 3
    4. x³ − x − 3
    Show answer

    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.

  15. 15. If f(x) = 3x − 2 and g(x) = x² for x ∈ R, what is (2f − g)(3)?

    1. 5
    2. 23
    3. −5
    4. −4
    Show answer

    Answer: A. f(3) = 9 − 2 = 7, so (2f)(3) = 14. g(3) = 9. Therefore (2f − g)(3) = 14 − 9 = 5.

Questions 1-3: lesson 1 (ordered pairs and Cartesian products). Questions 4-6: lesson 2 (relations, domain, range, counting relations). Questions 7-9: lesson 3 (functions and their domains and ranges). Questions 10-12: lesson 4 (standard functions). Questions 13-15: lesson 5 (algebra of real functions).

Sign in to keep track of the lessons you finish.

Privacy · Terms · Refunds · Delivery