Functions, Domain and Range
What makes a rule a function, function notation, the largest possible domain, and how to find the range of linear and quadratic functions on any domain.
Learning objectives
- Explain what a function is, and use the notations and .
- Use the vertical line test to decide whether a graph is the graph of a function.
- Find the largest possible domain of a function involving a square root or a fraction.
- Find the range of a function on a given domain, including quadratics, by completing the square and sketching.
- Write a range correctly in terms of , choosing between and .
Warm-up: complete the square for . What is the smallest value it can take?
Core idea
Press button B3 on a vending machine and you get one specific snack, every time. You'd be furious if B3 sometimes gave crisps and sometimes a drink. Some buttons don't work at all (there's no B9), and some snacks might not be on any button. Mathematics has exactly this idea, the function: a rule giving one output for each allowed input. The buttons that work are the domain; the snacks you can actually get are the range.
A function assigns to each input in its domain exactly one output . The set of all outputs actually produced is the range. To find a range, look at the graph over the domain, using any turning point and the end points.
1. Notation
- where
- the name of the function (the rule).
- " is mapped to".
- the output when the input is ; read " of ". It is not times .
- " is a real number": the domain. means "belongs to".
For , find , , , and solve .
- Goal
- Outputs, and an input that gives a known output.
- Strategy
- Replace every in the rule by the input (in brackets).
- Substitute.
- The input can be an expression; keep it in brackets.
- Set the output equal to and solve.
2. What makes something a function
- One-one: each output comes from exactly one input ().
- Many-one: some outputs come from several inputs (: both and give ). Still a function.
- One-many is not a function: one input with two outputs (like ).
3. Domain
The domain is the set of inputs allowed. It's either stated, or you must exclude anything impossible:
- Division by zero: needs .
- Square root of a negative: needs .
- Logarithm of a non-positive number: needs .
4. Range
The range is what actually comes out. For a quadratic, complete the square to find its least (or greatest) value, then check the ends of the domain.
Find the range of , .
- Goal
- The smallest and largest outputs.
- Strategy
- Complete the square to locate the vertex; compare with the end values.
- Halve , square, take away.
- A square is never negative; is inside the domain.
- Check both ends; the larger is the maximum.
Domain and range of ?
Summary
- Function: one output per input.
- Domain: allowed inputs; exclude division by zero, negative roots, of non-positives.
- Range: use the vertex and the end values.
- Domain
- The set of allowed inputs.
- Range
- The set of outputs produced.
- Many-one
- Different inputs can share an output.
Read as " maps to ". The symbol means all real numbers, so says the domain is every real number.
- Drag to move the vertical line across. How many times does it cross the circle? How many times does it cross the parabola?
- A graph is the graph of a function only if every vertical line crosses it at most once. Which of the two curves passes the test?
The parabola passes: each gives one . The circle fails: for there are two values of , so it is not a function of .
Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.