CSEC Mathematics · relations, functions and graphs
Functional Notation
Before you start
In earlier lessons, you learned that a relation is a function if every input in the domain maps to exactly one output in the codomain. Now we use formal mathematical notation to write, combine, and reverse these rules.
Builds on: Characteristics of Functions
1. Function Notation and Domain
Instead of writing an equation like y=3x+2, mathematicians give the rule a name such as f. We write this as:
Both forms mean the exact same thing: "the function f takes an input x and maps it to 3x+2". The notation f(x) is read aloud as "f of x". It does not mean f multiplied by x.
The set of all permitted inputs is called the domain. Sometimes a function cannot take certain values. For example, if g(x)=x−35, division by zero is undefined, so we must state the condition x=3.
To evaluate a function for a particular value, simply replace every x in the formula with that number.
Worked example
Given the function f(x)=5x−8, calculate:
(a) f(3)
(b) f(−2)
- For (a), replace x with 3: f(3)=5(3)−8
- Multiply and subtract: f(3)=15−8=7
- For (b), replace x with −2: f(−2)=5(−2)−8
- Multiply and subtract: f(−2)=−10−8=−18
Answer: f(3)=7 and f(−2)=−18
Quick check
If h(x)=4x−7, find the value of h(5).
2. Composite Functions
A composite function is formed when you apply one function to the result of another. We write this as fg(x) or f[g(x)].
- The order is crucial: work from the inside out (or right to left).
- In fg(x), the input goes into g first, and the output of g becomes the input into f.
- In gf(x), the input goes into f first, and the output becomes the input into g.
In general, fg(x)=gf(x). To evaluate fg(a) for a specific number a, you have two choices: find g(a) first and feed that number into f, or find the algebraic expression for fg(x) and substitute a at the end.
Worked example
The functions f and g are defined by f(x)=3x−1 and g(x)=x2+2.
(a) Find an expression, in terms of x, for fg(x).
(b) Calculate the value of gf(2).
- For (a), substitute the entire expression for g(x) into f: fg(x)=f(x2+2)
- Apply the rule for f, which multiplies the input by 3 and subtracts 1: 3(x2+2)−1
- Expand brackets and simplify: 3x2+6−1=3x2+5
- For (b), evaluate the inner function first: f(2)=3(2)−1=6−1=5
- Now feed this output into g: gf(2)=g(5)=52+2=25+2=27
Answer: (a) fg(x)=3x2+5; (b) gf(2)=27
Quick check
Given p(x)=2x+5 and q(x)=3x−4, which expression represents pq(x)?
3. Inverse Functions
The inverse function, written as f−1(x), reverses or "undoes" the effect of f(x). If f turns 2 into 7, then f−1 turns 7 back into 2.
To find an inverse function algebraically, follow this reliable 4-step method:
1. Replace f(x) with y.
2. Interchange x and y (swap them).
3. Rearrange the equation to make y the subject.
4. Replace y with f−1(x).
Graphically, the curve of f−1(x) is the reflection of the curve of f(x) in the line y=x.
Worked example
Find an expression for f−1(x) given that f(x)=32x+5.
- Step 1: Write as y=32x+5
- Step 2: Interchange x and y: x=32y+5
- Step 3: Multiply both sides by 3: 3x=2y+5
- Subtract 5 from both sides: 2y=3x−5
- Divide by 2: y=23x−5
- Step 4: Replace y with f−1(x): f−1(x)=23x−5
Answer: f−1(x)=23x−5
Quick check
Find the inverse function g−1(x) if g(x)=4x−9.
Common mistakes
- Confusing f−1(x) with the reciprocal f(x)1. The exponent −1 here denotes an inverse operation, not a power.
- Evaluating composite functions in the wrong order. For fg(x), always apply g first and then feed that result into f.
- Making sign mistakes when squaring negative inputs: (−3)2=+9, not −9.
In the exam
- Show the full algebraic process when finding an inverse: write y=\dots, swap variables, and isolate y. CXC awards method marks for each step.
- When asked for a composite value like gf(3), it is often faster to find f(3) first, then pass that number into g, rather than finding the full algebra expression first.
- If an exam question asks for a value of x for which a rational function is undefined, simply set the denominator equal to zero and solve.
Key terms
- Functional notation
- A compact way of writing a rule, such as f(x)=2x+1 or f:x↦2x+1.
- Domain
- The set of all permissible input values for which a function is defined.
- Composite function
- A combination of two functions where the output of the first becomes the input of the second, written fg(x)=f[g(x)].
- Inverse function
- A function f−1(x) that reverses the operation of f(x), mapping the output back to the original input.
Practice
Easier to harder. Use paper for your working.
Practice 1
Given f(x)=2x2−3, calculate the value of f(−3).
Practice 2
The functions g and h are defined by g(x)=3x+4 and h(x)=x2−5. Determine an expression, in terms of x, for gh(x).
Practice 3
Given the function f(x)=35x−2:
(a) Determine an expression for f−1(x).
(b) Hence, evaluate f−1(6).
Now try real past-paper questions
1 Paper 2 question on this topic. Quelpr marks your working point by point, like an examiner.
- Mathematics Q9 9(a)(i) · 4 marksThe functions f(x) and g(x) are defined as f(x) = 2x – 7 and g(x) = x^2 + 1, respectively. Write an expression, in terms of x, for EACH of the following: f^-1(x), g^-1(x), fg(x).
Finished the lesson?
0 of 6 checks right on this device.
Read more
- CSEC Maths Study Guide - Maths Crash Course, p. 176
- Collins - Concise Revision Course for CSEC Mathematics, pp. 346, 348
- precalculus-2e_-_WEB, p. 20
- algebra-and-trigonometry-2e_-_WEB, p. 299
- Mathematics for CSEC, p. 321
- CSEC Maths Study Guide (Revised 2016), p. 36
- CXC Mathematics CSEC Notes Study Guide, p. 36