Function notation names an output: is what the function gives back when the input is , so you replace every in the rule with . This note covers, for the ACT® Math section, how to evaluate a function from a rule, a table or a graph, find which inputs are allowed, chain two functions as , undo a function with its inverse and read piecewise rules.
Quick check
Solve .Show answerHide answer
. Subtract to get , then divide by .
If , what is ?Show answerHide answer
. Replace with : .
If , what is ?Show answerHide answer
. Put the input in parentheses: , not .
Know these already? Jump to the practice questions
What you'll be able to do
- Evaluate a function at a number or an expression, from a rule, a table, a graph or a piecewise definition.
- Find the domain of a function by excluding inputs that make a denominator zero or a square root negative, and state its range.
- Calculate a composite and explain why it usually differs from .
- Find an inverse function algebraically and use it to undo the original.
Key terms
Domain
The set of inputs a function accepts.
- In plain English
- The -values you are allowed to put in.
- Don't write
- "all real numbers" before checking for a denominator or a square root.
Range
The set of outputs a function can produce.
- In plain English
- The -values that can come out.
- Don't write
- The domain when a question asks for the range.
Composite function
One function applied to the output of another: applies first, then .
- In plain English
- Feed one function's answer into the next.
- Don't write
- for ; composition is not multiplication.
Inverse function
The function that undoes : if , then .
- In plain English
- Run the function backwards.
- Don't write
- for ; the is not a power here.
Piecewise function
A function defined by different rules on different intervals of its domain.
- In plain English
- The input decides which rule you use.
- Don't write
- An output from a piece whose condition the input does not meet.
How do you evaluate a function from a rule, a table or a graph?
From a rule, replace every with the input, in parentheses. If , then . An expression input works the same way: .
From a table, find the input in the row and read the output beside it. From a graph, is the -coordinate of the point on the graph where .
Read the question's direction. "What is ?" gives you an input. "For what value of is ?" gives you an output, so set the rule equal to and solve.
A piecewise function lists a condition beside each rule:
Check which condition the input meets before you substitute. At a boundary, the piece with or owns that point. For linear rules in context, see Function Notation and Writing Linear Functions.
Check yourself
Show answerHide answer
and . The input meets , so use ; the input meets , so use .
Which inputs are allowed, and which outputs come out?
Start from all real numbers, then remove two kinds of input:
- Zero denominators. For , the input makes the denominator , so .
- Negative square roots. What is under a square root must be at least . For , , so .
When a function has both, both conditions apply. A cube root accepts every real number.
The range is about outputs. A square root is never negative, so has range , and has range . A square is never negative either, so has range .
Key idea
For the domain, remove inputs that make a denominator zero or a square root negative; for the range, find the least or greatest output.
Check yourself
Show answerHide answer
. What is under the root must satisfy , so and .
How do you work out a composite function, and why does order matter?
Work from the inside out. In , acts first, and its output becomes the input of . The notation means the same thing.
Take and :
- : first , then .
- : first , then .
The same two functions in the other order give a different answer, so check which function is on the inside. For a composite expression, substitute the whole inner rule in parentheses: , but .
For more on composition, see Function Notation, Composition, and Transformations.
Check yourself
Show answerHide answer
and .
How do you find an inverse function?
An inverse undoes the original: if , then . To find from a rule:
- Write .
- Swap and .
- Solve for . That is .
For : swapping gives , so and .
Learn this: and . Use it to check: . Inputs and outputs trade places, so the domain of is the range of , and the graph of is the graph of reflected in the line .
Check yourself
Show answerHide answer
. Solve : , so . You don't need the full inverse rule to find one value.
Worked example 1: Substituting an expression
Question: If , which expression is equal to ?
- A)
- B)
- C)
- D)
What tells you the method
The input is an expression, so replace every with in parentheses.
Step 1: Substitute.
.
WhyEvery in the rule becomes the whole input.
Step 2: Expand each part.
and .
WhyThe square has a middle term, , and the multiplies both terms.
Step 3: Collect like terms.
.
WhyThe and cancel.
Check it
Try . Then and , so they agree. A) squares as , B) is , and D) writes as .
Answer
C) .
Worked example 2: A domain with a root and a fraction
Question: What is the domain of ?
- A) All real numbers except
- B) and
- C) and
- D)
What tells you the method
A square root and a denominator, so there are two conditions.
Step 1: Keep the root defined.
, so .
WhyA real square root needs a value that is at least .
Step 2: Keep the denominator nonzero.
, so .
WhyDivision by zero is undefined.
Step 3: Combine.
and .
WhyAn input must pass both tests.
Check it
, so is allowed, which rules out C). A) ignores the root and D) ignores the denominator.
Calculator check: graph the function. It starts at and splits into two pieces at .
Answer
B) and .
Worked example 3: An inverse inside a composite
Question: Let and . What is the value of ?
- A)
- B)
- C)
- D)
What tells you the method
An inverse outside a composite, so work from the inside out and find .
Step 1: Evaluate the inside.
.
Whyacts first.
Step 2: Find the inverse.
Swap to get , so and .
WhySwapping and and solving reverses each step of .
Step 3: Apply the inverse.
.
WhyThe output of is the input of .
Check it
, so . A) takes as , B) is with no inverse, and C) is , the wrong order.
Answer
D) .
Your turn
Question: Let and . Find as a simplified expression.
Step 1:
is on the inside, so .
Step 2: Your go: replace in the rule for with and simplify.
Finish before you open the solution.
Show the full solutionHide the solution
. The parentheses matter: without them you get . Check with : and , and .
Answer: .
Traps
Trap
Treating as .
It seems right because both put a next to . But changes the input before the rule acts, while changes the output afterwards, so substitute for every .
Check yourself
Show answerHide answer
No. , but .
Trap
Reading as .
It seems right because means . But on a function name, means the inverse, the function that undoes , not the reciprocal of its output.
Check yourself
Show answerHide answer
, because . But .
Trap
Applying the outer function first in .
It seems right because you read first, from left to right. But the inner function acts first: evaluate , then put that output into .
Check yourself
Show answerHide answer
. and . Applying first gives , which is .
What's examined
These skills are tested in the ACT Math section, whose content includes functions: 45 questions in 50 minutes, each with four options, and no formula sheet. The examples here give a function as a rule, a table or a graph. A graphing calculator can confirm a domain or an output, but you still choose the conditions and the order of composition yourself.
Practice questions
- Recall If , what is ?
Show answer
Answer: .
Marking points:
- Substitute in parentheses: .
- Apply The function has , , , and . What is ?
Show answer
Answer: .
Marking points:
- The inside first: .
- Then .
- Apply A function is defined by for and for . What is ?
- A)
- B)
- C)
- D)
Show answer
Answer: D) .
Marking points:
- meets , so ; meets , so .
- .
- A) uses the wrong piece for both inputs, B) uses for , and C) uses at the boundary .
- Apply What is the domain of ?
- A) All real numbers except
- B) All real numbers except
- C) All real numbers except and
- D)
Show answer
Answer: C) All real numbers except and .
Marking points:
- The denominator is when , so when or .
- A) misses the negative root, B) solves instead of , and D) treats the fraction as if it had a square root.
- Exam-style If and , which expression is equal to ?
- A)
- B)
- C)
- D)
Show answer
Answer: B) .
Marking points:
- .
- A) is , C) squares as , and D) multiplies by .
- Exam-style If , which expression is ?
- A)
- B)
- C)
- D)
Show answer
Answer: A) .
Marking points:
- Swap: , so , and .
- B) keeps the instead of adding , C) changes only the sign, and D) is the reciprocal .
- Exam-style What is the range of ?
- A)
- B)
- C)
- D) All real numbers
Show answer
Answer: C) .
Marking points:
- , with reached at , so .
- A) is the range of the square root alone, B) gives where the domain starts, and D) forgets that a square root is never negative.
- Exam-style A print shop's cost, in dollars, to print shirts is . Its machine prints shirts in hours. Which expression gives the cost of printing for hours?
- A)
- B)
- C)
- D)
Show answer
Answer: A) .
Marking points:
- The cost needs the number of shirts, so .
- B) is , the wrong order, C) adds the rates and , and D) adds to instead of substituting.
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- Substitute the whole input, in parentheses, for every ; changes the input and the output.
- For a domain, exclude zero denominators and negative values under a square root; for a range, look for the least or greatest output.
- In the inner function acts first, and swapping the order usually changes the result.
- To invert, swap and and solve for ; confirm that .
- is the inverse, not .
- For a piecewise function, match the input to its condition first, including at a boundary.