If f(x) = 2x + 3 and (f∘g)(x) = 6x − 1, then g(x) is
- (f∘g)(x) = f(g(x)) = 2g(x) + 3.
- Set this equal to 6x − 1: 2g(x) + 3 = 6x − 1, so 2g(x) = 6x − 4.
- Divide by 2: g(x) = 3x − 2. Check: 2(3x − 2) + 3 = 6x − 1.
Answer: g(x) = 3x − 2
By Team Megalecture · Updated 22 Nov 2026
NUST NET (Engineering) · Maths · Numbers, sets and functions. A short explanation of the idea, the rules to remember, the mistake to avoid, a worked example and practice questions with answers.
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.
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.
Answer: g(x) = 3x − 2
Try each one, then open the answer.
Answer: B. (f∘g)(x) = 2x2 + 1 and (g∘f)(x) = (2x + 1)2 = 4x2 + 4x + 1. Equating gives 2x2 + 4x = 0, so x = 0 or x = −2.
Answer: D. An odd polynomial has only odd powers of x, so the x2 term must vanish: k − 2 = 0 and k = 2. Check: f(−x) = −x3 − 5x = −f(x).
Answer: B. A set with n elements has 2n subsets, and 27 = 128, so n = 7. Halving 128 to get 64 confuses subsets with elements.
← Complex numbersMatrices and determinants →All rules on one pageStuck? Ask a question