Chapter 1 Sets, Relations and Functions

Practice questions

The graph of y = −f(x − 2) is obtained from y = f(x) by

  1. shifting 2 units right, then reflecting in the x-axis
  2. shifting 2 units left, then reflecting in the y-axis
  3. shifting 2 units right, then reflecting in the y-axis
  4. shifting 2 units left, then reflecting in the x-axis
Answer and explanation

Answer: A

f(x − 2) moves the graph 2 units right, and the minus sign in front of f negates every y-value, which is a reflection in the x-axis.

Which describes f(x) = x³ cos x on R?

  1. Even
  2. Odd
  3. Both odd and even
  4. Neither odd nor even
Answer and explanation

Answer: B

x³ is odd and cos x is even, because cos(−x) = cos x. Their product is odd: f(−x) = (−x)³ cos(−x) = −x³ cos x = −f(x).

If f(x) = 3x − 1 and g(x) = x², for which value of x is (f∘g)(x) = (g∘f)(x)?

  1. Only x = 0
  2. x = 1 only
  3. x = 1/3 only
  4. No real x
Answer and explanation

Answer: D

(f∘g)(x) = 3x² − 1 and (g∘f)(x) = (3x − 1)² = 9x² − 6x + 1. Setting them equal: 3x² − 1 = 9x² − 6x + 1 gives 6x² − 6x + 2 = 0, i.e. 3x² − 3x + 1 = 0, whose discriminant is 9 − 12 = −3 < 0. So there is no real solution.

If x is a real number that is not an integer, what is ⌊x⌋ + ⌊−x⌋?

  1. 0
  2. 1
  3. −1
  4. −2
Answer and explanation

Answer: C

Write x = n + t with n an integer and 0 < t < 1. Then ⌊x⌋ = n and −x = −n − t lies strictly between −n − 1 and −n, so ⌊−x⌋ = −n − 1. The sum is −1. For example x = 2.3 gives 2 + (−3) = −1. (For an integer x the sum would be 0.)

The rule f(x) = |x| gives a bijection when its domain and co-domain are

  1. R and R
  2. [0, ∞) and [0, ∞)
  3. R and [0, ∞)
  4. (−∞, 0] and R
Answer and explanation

Answer: B

On [0, ∞), |x| = x, which is one-to-one and takes every value y ≥ 0, so it is a bijection onto [0, ∞). With domain R it is not one-to-one (|−2| = |2|), and with co-domain R it is not onto, since negative numbers have no pre-image.

What is the range of f(x) = 1/(3 + 4 sin x)?

  1. [−1, 1/7]
  2. (−∞, −1) ∪ (1/7, ∞)
  3. (−1, 1/7)
  4. (−∞, −1] ∪ [1/7, ∞)
Answer and explanation

Answer: D

−1 ≤ sin x ≤ 1 gives −4 ≤ 4 sin x ≤ 4, so −1 ≤ 3 + 4 sin x ≤ 7, and the denominator cannot be 0. Values in [−1, 0) give reciprocals ≤ −1, and values in (0, 7] give reciprocals ≥ 1/7. The end values −1 and 1/7 are reached at sin x = −1 and sin x = 1, so the range is (−∞, −1] ∪ [1/7, ∞).

How many reflexive relations are there on a set with 3 elements?

  1. 8
  2. 512
  3. 64
  4. 27
Answer and explanation

Answer: C

The 3 pairs (a, a) must be included; the other 3² − 3 = 6 pairs are each in or out, so there are 2⁶ = 64 reflexive relations.

On N, define aRb if a + 2b = 10. How many pairs does R contain?

  1. 4
  2. 5
  3. 3
  4. 9
Answer and explanation

Answer: A

a = 10 − 2b must be a natural number: b = 1, 2, 3, 4 give a = 8, 6, 4, 2, and b = 5 gives a = 0, not natural. So R = {(8, 1), (6, 2), (4, 3), (2, 4)}: 4 pairs.

On X = {1, 2, 3, 4}, R = {(1, 1), (2, 2), (3, 3), (4, 4), (1, 3), (3, 1), (1, 4), (4, 1)}. Which statement is true?

  1. R is an equivalence relation
  2. R is reflexive and symmetric but not transitive
  3. R is symmetric but not reflexive
  4. R is transitive but not symmetric
Answer and explanation

Answer: B

All (a, a) pairs are present (reflexive) and every pair has its reverse (symmetric). But (3, 1) and (1, 4) are in R while (3, 4) is not, so R is not transitive.

If A has 2 elements and B has 3, how many relations are there from A to B?

  1. 6
  2. 8
  3. 32
  4. 64
Answer and explanation

Answer: D

A × B has 2 × 3 = 6 pairs, and every subset of A × B is a relation, so there are 2⁶ = 64 relations.

What is the 0.5-neighbourhood of the point 4?

  1. [3.5, 4.5]
  2. (3.5, 4.5)
  3. (3.5, 4) ∪ (4, 4.5)
  4. (4, 4.5)
Answer and explanation

Answer: B

The ε-neighbourhood of a is the open interval (a − ε, a + ε) = (4 − 0.5, 4 + 0.5) = (3.5, 4.5). Removing 4 gives the deleted neighbourhood (3.5, 4) ∪ (4, 4.5); adding 4 back gives the full neighbourhood.

If n(A) = 3 and n(B ∩ C) = 2, what is n((A × B) ∩ (A × C))?

  1. 5
  2. 9
  3. 8
  4. 6
Answer and explanation

Answer: D

(A × B) ∩ (A × C) = A × (B ∩ C), so its size is n(A) × n(B ∩ C) = 3 × 2 = 6.

Let A and B be subsets of a universal set U. Which expression equals A′ ∪ (A ∩ B)?

  1. A ∩ B
  2. A′ ∩ B
  3. A′ ∪ B
  4. U
Answer and explanation

Answer: C

By the distributive law, A′ ∪ (A ∩ B) = (A′ ∪ A) ∩ (A′ ∪ B) = U ∩ (A′ ∪ B) = A′ ∪ B.

If n(A ∩ B) = 4 and n(A ∪ B) = 13, how many elements does P(A∆B) have?

  1. 512
  2. 9
  3. 256
  4. 8192
Answer and explanation

Answer: A

A∆B = (A ∪ B) − (A ∩ B), so n(A∆B) = 13 − 4 = 9, and its power set has 2⁹ = 512 elements.

If n(P(A)) = 256, n(P(B)) = 64 and n(A ∪ B) = 11, what is n(A ∩ B)?

  1. 2
  2. 3
  3. 5
  4. 14
Answer and explanation

Answer: B

2⁸ = 256 gives n(A) = 8 and 2⁶ = 64 gives n(B) = 6. Then n(A ∩ B) = n(A) + n(B) − n(A ∪ B) = 8 + 6 − 11 = 3.

If f is an odd function and g is an even function, then h(x) = f(x)g(x) is

  1. even
  2. odd
  3. neither odd nor even in every case
  4. always the zero function
Answer and explanation

Answer: B

h(−x) = f(−x)g(−x) = (−f(x))(g(x)) = −h(x), so the product of an odd and an even function is odd.

The graph of y = |x + 4| − 3 is obtained from y = |x| by

  1. shifting 4 units left and 3 units down
  2. shifting 4 units right and 3 units up
  3. shifting 4 units left and 3 units up
  4. shifting 4 units right and 3 units down
Answer and explanation

Answer: A

f(x + 4) with 4 > 0 moves the graph 4 units left, and subtracting 3 moves it 3 units down. The corner of the V moves from (0, 0) to (−4, −3).

Which function is odd?

  1. f(x) = x⁴ − x²
  2. f(x) = x³ + 1
  3. f(x) = |x|
  4. f(x) = x⁵ − 3x
Answer and explanation

Answer: D

For f(x) = x⁵ − 3x, f(−x) = −x⁵ + 3x = −(x⁵ − 3x) = −f(x), so it is odd. x⁴ − x² and |x| are even, and x³ + 1 gives f(−x) = −x³ + 1, which is neither f(x) nor −f(x).

What is the inverse of f : R → R, f(x) = (x − 7)/4?

  1. f⁻¹(x) = 4x − 7
  2. f⁻¹(x) = (x + 7)/4
  3. f⁻¹(x) = 4x + 7
  4. f⁻¹(x) = 4/(x − 7)
Answer and explanation

Answer: C

Write y = (x − 7)/4. Then 4y = x − 7, so x = 4y + 7, and renaming y as x gives f⁻¹(x) = 4x + 7. Check: f(4x + 7) = (4x + 7 − 7)/4 = x.

If f(x) = x² + 1 and g(x) = 3x − 2, what is (f∘g)(1)?

  1. 2
  2. 4
  3. 10
  4. 5
Answer and explanation

Answer: A

(f∘g)(1) = f(g(1)) = f(3 − 2) = f(1) = 1² + 1 = 2. (Working the other way, (g∘f)(1) = g(2) = 4, which shows the order matters.)

Privacy · Terms · Refunds · Delivery