All practice topics

Functions — General Properties

26 practice questions with full worked solutions. Free, no account needed.

Problems & worked solutions

Problem #0774 International

Problem 1 — Function Composition

Let f(x)=2x+1 and g(x)=x2. Then (f∘g)(3) equals:

Show answer & worked solution
  1. A. 16
  2. B. 18
  3. C. 19✓ correct
  4. D. 49

g(3)=32=9.

Then f(9)=2⋅9+1=19.

Problem #0775 International

Problem 2 — Function Composition

Let f(x)=x+3 and g(x)=2x. Then (g∘f)(x) equals:

Show answer & worked solution
  1. A. 2x+3
  2. B. 2x+6✓ correct
  3. C. 2x+8
  4. D. 6x

g(f(x))=g(x+3)=2(x+3)=2x+6.

Problem #0776 International

Problem 3 — Function Composition

Let f(x)=x2 and g(x)=x−1. Then (f∘g)(x) equals:

Show answer & worked solution
  1. A. (x−1)2✓ correct
  2. B. x2−1
  3. C. (x+1)2
  4. D. x2+1

f(g(x))=f(x−1)=(x−1)2.

(Note g(f(x))=x2−1 — composition order matters.)

Problem #0777 International

Problem 4 — Function Composition

If f(x)=2x, then (f∘f)(x) equals:

Show answer & worked solution
  1. A. 2x
  2. B. 4x✓ correct
  3. C. 2x2
  4. D. 4x2

f(f(x))=f(2x)=2⋅(2x)=4x.

Problem #0779 International

Problem 5 — Definition, Domain, Codomain

The domain of f(x)=x−2 (as a function R→R) is:

Show answer & worked solution
  1. A. R
  2. B. (−∞,2]
  3. C. [2,∞)✓ correct
  4. D. (2,∞)

We need x−2≥0, i.e. x≥2.

The value at x=2 is 0=0, which is allowed, so the domain is [2,∞).

Problem #0778 International

Problem 6 — Definition, Domain, Codomain

The largest subset of R on which f(x)=1x−3 is defined is:

Show answer & worked solution
  1. A. R
  2. B. R∖{−3}
  3. C. R∖{3}✓ correct
  4. D. R∖{0}

The denominator vanishes when x−3=0, i.e. x=3.

Everywhere else the value exists, so the domain is R∖{3}.

Problem #0780 International

Problem 7 — Definition, Domain, Codomain

For f:{1,2,3}→Z, f(x)=2x−1, the image (range) of f is:

Show answer & worked solution
  1. A. {1,2,3}
  2. B. {1,3,5}✓ correct
  3. C. {2,4,6}
  4. D. {1,3,5,7}

f(1)=1, f(2)=3, f(3)=5.

The image is the set of outputs: {1,3,5}.

Problem #0781 International

Problem 8 — Definition, Domain, Codomain

Which of the following does not define a function R→R?

Show answer & worked solution
  1. A. f(x)=x2
  2. B. f(x)=∣x∣
  3. C. f(x)=±x✓ correct
  4. D. f(x)=3

x2, ∣x∣ and the constant 3 each give one value for every real x.

±x fails twice: it is not single-valued (two outputs) and is undefined for x<0. So it is not a function R→R.

Problem #0782 International

Problem 9 — Injective, Surjective, Bijective, Invertible

The function f:R→R, f(x)=2x+1 is:

Show answer & worked solution
  1. A. injective but not surjective
  2. B. surjective but not injective
  3. C. bijective✓ correct
  4. D. neither injective nor surjective

2x+1=y  ⟺  x=y−12.

Every real y has exactly one preimage, so f is both injective and surjective, i.e. bijective.

Problem #0784 International

Problem 10 — Injective, Surjective, Bijective, Invertible

The function f:R→[0,∞), f(x)=x2 is:

Show answer & worked solution
  1. A. injective but not surjective
  2. B. surjective but not injective✓ correct
  3. C. bijective
  4. D. neither injective nor surjective

For any y≥0, y=(y)2, so f is surjective onto [0,∞).

But f(2)=f(−2)=4, so f is not injective. Hence surjective but not injective.

Which exam are you sitting?