2.2 Functions, domain, range and inverseIB Maths: Analysis and Approaches HL: Revision notes
Section 1
What is a function?
A function is a rule that assigns to each input exactly one output. The set of allowed inputs is the domain; the set of outputs actually produced is the range. The graph of is the set of points .
- A relation is a function if every vertical line meets its graph at most once (the vertical line test).
- Unless stated otherwise, the domain is the largest set of real numbers for which the rule makes sense. For you need ; for you need .
- To find a range, think about the smallest and largest outputs: for , , so .
Mixing up domain and range. The domain is about (inputs); the range is about (outputs).
For a square root, set the expression inside to find the domain; the root itself is always , which helps with the range.
Section 2
Function notation and functions as models
Function notation names the rule and the input: , for velocity at time , for the cost of items. means substitute ; it does not mean .
A function can be a mathematical model of a real situation. Then the domain must make sense in context: a taxi fare only applies for distances the taxi drives, e.g. . The range follows from the domain: here .
For an increasing or decreasing linear model, the range on an interval comes from the values at the two ends of the domain. Take care with strict () and non-strict () inequalities at each end.
: dollars is the cost of a 12 km journey.
Section 3
Inverse functions: undoing a function
An inverse function reverses the effect of : if then .
So solving is the same as finding . For the taxi, a fare of 48.50 dollars means , so km.
To find for a simple function, write , swap and , and rearrange for . For : gives .
is not . The means 'inverse', not 'reciprocal'.
Check an inverse by substituting: , so should be 180.
Section 4
The graph of an inverse: reflection in y = x
Swapping inputs and outputs swaps the coordinates of every point: on becomes on . So the graph of is the reflection of the graph of in the line .
Because of this swap:
- the domain of is the range of , and
- the range of is the domain of .
Points where meets are also on . For , gives : .
, , has range . So has domain and range .
Section 5
When does an inverse exist?
An inverse exists only if is one-to-one: every output comes from exactly one input. Otherwise the 'inverse' would send one input to two outputs and would not be a function.
Test: every horizontal line meets the graph at most once (the horizontal line test). To show a function is not one-to-one, give two different inputs with the same output: for , .
A function that is not one-to-one can be given an inverse by restricting its domain. For , restricting to (from the vertex) keeps only the right-hand half, which is one-to-one. Then when solving you must reject the solution , which is outside the restricted domain.
Giving both solutions of as . Only the one in the restricted domain counts.
Must know
- A function gives exactly one output for each input; domain = inputs, range = outputs.
- means substitute 12; the domain of a model must make sense in context.
- Solving is the same as finding .
- The graph of is the reflection of the graph of in .
- Domain of = range of ; range of = domain of .
- Only one-to-one functions have inverses; restrict the domain if needed.
That's the notes covered.
Carry on to the next subtopic.