Sets and functions

NUST NET Maths · Maths · Numbers, sets and functions. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll NUST NET Maths topics

The idea

Set questions are counting questions. A Venn diagram shows the union A ∪ B (in A or B or both), the intersection A ∩ B (in both) and the complement A′ (not in A). When two groups overlap, the overlap is counted twice unless you subtract it once.

A function gives each input exactly one output. Its domain is the set of allowed inputs and its range is the set of outputs it actually produces. To find a domain, look for what must be avoided: a zero denominator, or a negative number under a square root.

A composite f∘g means g acts first, then f. An inverse undoes the function and exists only when the function is one-one.

Rules to remember

Common mistake

Working out f∘g in the wrong order. (f∘g)(x) means f(g(x)), so g is applied first; f(x) × g(x) and g(f(x)) are different things.

Worked example

If f(x) = 2x + 3 and (f∘g)(x) = 6x − 1, then g(x) is

  1. (f∘g)(x) = f(g(x)) = 2g(x) + 3.
  2. Set this equal to 6x − 1: 2g(x) + 3 = 6x − 1, so 2g(x) = 6x − 4.
  3. Divide by 2: g(x) = 3x − 2. Check: 2(3x − 2) + 3 = 6x − 1.

Answer: g(x) = 3x − 2

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Complex numbersMatrices and determinants →Take a NUST NET Maths test