In , the function next to acts first. So : put into , then put the answer into .
Building fg and gf
Take and .
These are different functions. Their ranges differ too: , while .
When does fg exist?
exists only when the range of lies inside the domain of . Every output of must be something can accept.
Take for , and .
- If is defined for all real , its smallest value is . But cannot take , because it needs inputs of at least . So does not exist.
- If is restricted to , then only takes values , which accepts. Now exists.
Domain and range of fg
With restricted to :
- Domain of : the domain of , so .
- Range of : feed the range of into . , smallest at , where it is . So .
Try it: does the range of g fit the domain of f?
Predict each round first, then watch the range of drop into the domain of .
loading lab…
Mistakes that cost marks
- Applying first in . Read it as .
- Giving the domain of as the domain of . It is the domain of (restricted further if needed).
- Saying exists without checking that the range of fits inside the domain of .
Practise with exam questions: 9709 functions practice.
Questions students ask
Usually not. With f(x) = 2x + 1 and g(x) = x², fg(x) = 2x² + 1 but gf(x) = (2x + 1)². Order matters.
g, the function written next to x. fg(x) means f(g(x)).