The idea
A function gives one output for each input
A function takes an input, applies a rule to it, and gives back exactly one output. The same input always gives the same output. In , is the name of the function and the in brackets stands for the input. The rest, , is the rule.
A quick example
With , means “the output of when the input is 4”, not times 4. Here . There is one answer, and only one.
Try a related calculator
- Linear & Quadratic Graphing Calculator - Connect function inputs and outputs to a graph and value table.
Read all 12 steps at once
The same 12 steps, in order, with the working shown. No clicking from one to the next.
Page 1
A function gives one output for each input
A function takes an input, applies a rule to it, and gives back exactly one output. The same input always gives the same output. In , is the name of the function and the in brackets stands for the input. The rest, , is the rule.
Example: With , means “the output of when the input is 4”, not times 4. Here . There is one answer, and only one.
Page 2 · Rule 1
Evaluate by substituting
Replace every with the number in brackets, then work out the arithmetic.
To evaluate a function means to find its output for a given input. The brackets after the letter hold the input. To find for , put 4 wherever appears: . The brackets around 4 show that it is multiplied by the 2. They also keep a negative input clear: an input of would give . Multiplication comes before addition, so is worked out first.
Example:
- Substitute 4 for : .
- Calculate: , so .
Remember: is the output for the input 4, never a multiplication. Substitute first, then calculate.
Page 3 · question
Check: evaluating
For , what is ?
- A. — correct
- B.
- C.
Correct: .
Page 4 · Rule 2
The domain: which inputs are allowed
The domain is the set of all inputs that the rule can be used with.
Two things limit the inputs. You cannot divide by zero, so any input that makes the bottom of a fraction zero is not allowed. You cannot take the square root of a negative number, so any input that makes the inside of a square root negative is not allowed. Zero inside a root is fine, because . If neither problem happens, every number is allowed. Here “number” means any number on the number line, including negatives, fractions and decimals. The textbook name for these is real numbers. Domains are often written with inequality signs: means “ is 3 or more”, and means “ is 3 or less”. A question can also limit the inputs to a list, and then the domain is that list.
Example: For the input would divide by zero, so the domain is every number except 4.
- Look for in the bottom of a fraction or inside a square root.
- For , set the bottom to zero: .
- That happens at , so 4 is the one input that is not allowed.
Remember: Inputs are ruled out by dividing by zero and by taking the square root of a negative number.
Page 5 · question
Check: a domain
What is the domain of ?
- A.
- B.every number
- C. — correct
Correct: the inside of a square root cannot be negative, so , which means .
Page 6 · Rule 3
The range: which outputs are possible
The range is every output value the function can produce.
Ask what the rule can never give you. Here stands for the output. Take . Squaring never gives a negative number, so is always 0 or more, and is always 1 or more. The smallest output is 1, when . Every number from 1 upwards can be reached, because any number from 0 upwards is the square of some number. If only certain inputs are allowed, the range is only the outputs that those inputs give.
Example: For the range is . For the rule with only the inputs 3, 5 and 7, the outputs are 4, 6 and 8. The range is those three numbers only. 5 is not in it, because no allowed input gives 5.
- Look for an operation that blocks certain answers: squaring blocks negatives, so is never below 0.
- The smallest value of is 0, at , so the smallest output of is .
- Every number from 1 upwards is reachable, so the range is .
Remember: Domain asks what you may put in; range asks what can come out. They are different questions.
Page 7 · question
Check: a range
What is the range of ?
- A.every number
- B. — correct
- C.
Correct: squaring never gives a negative, and 0 is reachable, so the outputs are .
Page 8 · Rule 4
Reading domain and range off a graph
The domain is the stretch of the x-axis the graph covers. The range is the stretch of the y-axis it covers.
If a graph starts at one point and finishes at another, it only uses the x-values in between. Look along the graph and find the smallest and largest x-value, then the smallest and largest y-value. Those give the two intervals.
Example: A straight-line graph running from to has domain and range .
- Find the smallest and largest x-values on the graph. For this line they are at the ends: 1 and 5, so .
- Find the smallest and largest y-values. For this line they are also at the ends: 2 and 10, so .
- The signs are and not , because the graph includes its end points.
Remember: Domain comes from the x-axis, range from the y-axis. Keep the two axes straight. On a curve, the highest or lowest point is not always at an end.
Page 9 · question
Check: reading a graph
A straight-line graph runs from the point to the point . What is its domain?
- A. — correct
- B.
- C.every number
Correct: the graph only uses x-values between −2 and 3, so that is the domain.
Page 10 · Rule 5
Does a graph show a function?
A graph is a function if no vertical line crosses it more than once.
In these graphs is the input and is the output. A function gives one output for each input, so for each there can be only one point on the graph. To test this, imagine a vertical line sweeping across the graph. On a vertical line has one fixed value, so if the line meets the graph twice, that has two outputs. Two different inputs may share an output; for example, inputs 1 and 2 may both give 5. That is allowed. What is not allowed is one input with two outputs. The test does not depend on how simple the shape looks.
Example: The straight line passes the test, because every vertical line meets it once. The vertical line fails, because it lies along the test line and meets it at every point: the input 4 has many outputs.
- Imagine a vertical line moving from left to right.
- If it ever meets the graph more than once, that has more than one output.
- One with more than one output means it is not a function.
Remember: One input, one output. If a single can produce two y-values, the graph is not a function. Different inputs sharing an output is fine.
Page 11 · question
Check: is it a function?
Take as the input and as the output. Which of these is NOT a function?
- A.
- B. — correct
- C.
Correct: in the input gives two outputs, and , so it is not a function.
Page 12
Functions, domains and ranges
You worked through evaluating a function, finding which inputs are allowed, finding which outputs are possible, reading both off a graph, and testing whether a graph shows a function at all.
- A function gives exactly one output for each input.
- means substitute 4 — it is not a multiplication.
- The domain is the set of allowed inputs. It leaves out inputs that would divide by zero or take the square root of a negative number.
- The range is every output the rule can actually produce.
- A graph is a function if no vertical line crosses it more than once.