E2.13 Functions
- Syllabus
- 0580–2028–2029
- Topic
- E2.13
- Level
- Extended
A function assigns exactly one output to each allowed input. In f(x), x is the input and f(x) is its output.
| Term | Meaning |
|---|---|
| domain | all allowed input values |
| range | all output values produced from that domain |
| f(a) | substitute a for every x in the rule |
f(x)=3x−5,domain={−3,0,2}
Evaluate the rule for each domain value: f(−3)=−14, f(0)=−5 and f(2)=1. Therefore the range is {−14,−5,1}.
An input can be an expression. For example, f(x−3)=3(x−3)−5=3x−14. Substitute the whole expression in place of x before simplifying.
To find an input from an output, form an equation. If f(x)=7, solve 3x−5=7, giving x=4. This reverses one evaluation; it is not yet a formula for the inverse function.
The range comes from the stated domain, not from every value the formula could accept. If two inputs give the same output, list that output only once in the range set.
An inverse function undoes the original function. If f takes an input to an output, f−1 takes that output back to the input.
Write y=f(x); interchange x and y; rearrange to make y the subject; then write the result as f−1(x).
f(x)=4x−1:x=4y−1⟹y=4x+1⟹f−1(x)=4x+1
Check by composing the functions: f(f^{-1}(x))=4\left(rac{x+1}{4} ight)-1=x. Applying them in the opposite order also returns the starting value wherever both are defined.
If h−1(x)=5, apply h to both sides: x=h(5). This is often quicker than first finding an inverse formula.
The inverse reverses the mapping, so the original range becomes the inverse domain and the original domain becomes the inverse range.
f−1(x) does not mean 1/f(x). The superscript −1 names the inverse operation; a reciprocal divides 1 by the function value.
A composite function uses the output of one function as the input of another. The function nearest x is applied first.
gf(x)=g(f(x)),fg(x)=f(g(x))
| Expression | First operation | Second operation |
|---|---|---|
| gf(x) | find f(x) | substitute into g |
| fg(x) | find g(x) | substitute into f |
| ff(x) | find f(x) | apply f again |
f(x)=2x+1,g(x)=x2+4:gf(x)=(2x+1)2+4=4x2+4x+5
For f(x)=x+23 and g(x)=(3x+5)2, fg(x)=(3x+5)2+23=3x2+10x+91. Substitute the entire inner expression, expand carefully, then simplify the fraction.
For a numerical composite such as fg(1), calculate g(1) first and then use that result as the input to f. Writing the intermediate value makes the order visible.
In general, gf(x) and fg(x) are different because the order changes. This syllabus does not require finding the domains or ranges of composite functions.