This unit is about functions, which are rules that turn each input into exactly one output, and the tools for reading, combining, moving, and reversing them. By the end you should be able to find a domain, compute an average rate of change, compose two functions, sketch a transformed graph, and find an inverse.
Read the overview for the big picture, then work through the notes in order and try each checkpoint before reading its answer.
Unit 1 sets up the language you will use for the rest of pre-calculus and calculus. Most of the skills here are about reading a function carefully: what it accepts, what it produces, how fast it changes, and how it relates to other functions.
A functions unit in Honors Pre-Calculus may cover function notation, domain and range, rates of change, composition, graph transformations, symmetry, absolute value, and inverse functions. Exact topics vary by school. Later work with polynomials, exponentials, logarithms, and trigonometry can build on these topics.
Every function is a rule that gives each input exactly one output.
That single rule is what the vertical line test checks. Functions can appear as equations, tables, graphs, or sentences, and you should be able to move between those forms. Whether outputs repeat (many-to-one) or never repeat (one-to-one) decides whether an inverse exists.
You can describe how a function behaves without plotting it point by point.
Domain and range set the boundaries, and the average rate of change measures how much the output moves per unit of input. Intervals where the function increases or decreases, along with its local and absolute extrema, give you a full picture of its shape.
New functions come from old ones through composition, transformations, and inverses.
Composition feeds one function's output into another. Transformations shift, stretch, and reflect a parent graph in predictable ways. An inverse runs a one-to-one function backward, which is how logarithms will later come from exponentials.
Every topic in this unit asks what happens to the inputs and outputs.
Domain is about inputs and range is about outputs. A rate of change compares them, composition chains them, and transformations move them. An inverse swaps them. If you track inputs and outputs carefully, most of the unit's rules make sense without memorizing them.
A function is a rule that gives each input exactly one output. In f(x)=3x−5, the letter f names the rule, x is the input, and f(x) is the output, so f(4)=3(4)−5=7. The notation f(x) does not mean f times x.
The same function can show up as an equation, a table, a graph, or a sentence. "A plumber charges 20 dollars to show up plus 15 dollars per hour" is the verbal version of C(h)=15h+20. Expect to translate between these forms.
To check a graph, use the vertical line test. If any vertical line hits the graph twice, one input has two outputs, so the graph is not a function. A circle fails the test, and an upward-opening parabola passes.
Functions can be one-to-one, where no output repeats (like 2x+1), or many-to-one, where outputs repeat (like x2, since f(2)=f(−2)=4). Both count as functions. The difference matters in 1.7, because only one-to-one functions have inverses.
When a problem says "interpret," give the number with its units in context. If P(6)=500, where P is profit in dollars and the input is months, the answer is "the profit after 6 months is 500 dollars."
Function:A relation that pairs each input with exactly one output.
Vertical line test:A graph is a function if no vertical line crosses it more than once.
One-to-one function:A function where different inputs always give different outputs.
A table pairs the inputs 1, 2, 3, 1 with the outputs 4, 5, 6, 7. Is it a function? (Answer: No. The input 1 is paired with both 4 and 7.)
1.2
Domain and Range
The domain is every input a function accepts, and the range is every output it can produce. Start by assuming all real numbers work, then remove anything that breaks the math.
Two restrictions cause most of the trouble. You cannot divide by zero, so for h(x)=x−43 you exclude x=4, and the domain is (−∞,4)∪(4,∞). You also cannot take an even root of a negative number, so for f(x)=2x+6 you solve 2x+6≥0 and get [−3,∞). Cube roots accept every real number.
Context can shrink the domain further. If x counts people, only whole numbers make sense, even if the formula works for x=2.5.
In interval notation, parentheses mean the endpoint is left out and brackets mean it is included. Infinity always gets a parenthesis because you never reach it. Set-builder notation says the same thing with a condition, such as {x∣x≥−3}.
Piecewise functions use different rules on different intervals. Graph each piece only on its own interval, with a closed dot for ≤ or ≥ and an open dot for < or >. For each piece, keep only the inputs in its stated interval where its formula is defined. The domain is the union of those inputs, and the range is the union of the outputs each piece actually produces.
Domain:The set of all inputs for which the function is defined.
Range:The set of all outputs the function actually produces.
Interval notation:A way to write sets of numbers using brackets for included endpoints and parentheses for excluded ones.
Piecewise function:A function defined by different formulas on different parts of its domain.
What is the domain of g(x)=x−51? (Answer: (5,∞). The radicand must be nonnegative and the denominator cannot be zero, so x must be strictly greater than 5.)
1.3
Rates of Change and Behavior of Graphs
The average rate of change of f on [a,b] is b−af(b)−f(a). It is the slope of the secant line through the two endpoints, and it tells you the average change in output per one unit of input.
Worked example. Find the average rate of change of f(x)=x2 on [1,4]. First, f(4)=16 and f(1)=1. The change in output is 16−1=15, and the change in input is 4−1=3. So the rate is 315=5, meaning the output rises 5 units per unit of x on average.
A function is increasing on an interval if its outputs rise as you move left to right, and decreasing if they fall. Always describe these intervals with x-values, not y-values. For example, f(x)=−(x−3)2 increases on (−∞,3) and decreases on (3,∞).
A local maximum is an output that is at least as large as nearby outputs, like the height of a hilltop. An absolute maximum is the greatest output on the entire domain, and it can occur at more than one input. On a closed interval, check the endpoints too, because the absolute max or min can occur there.
When average rates of change approach a single limit as the interval shrinks around a point, that limit is the instantaneous rate of change. The limit does not exist at every point. This limit idea is part of calculus.
Average rate of change:The change in output divided by the change in input over an interval.
Secant line:A line through two points on a graph whose slope equals the average rate of change between them.
Local maximum:A point that is at least as high as every nearby point on the graph.
Absolute maximum:The greatest output value over the entire domain.
For g(x)=2x2−x, what is the average rate of change on [0,2]? (Answer: g(2)=6 and g(0)=0, so the rate is 2−06−0=3.)
1.4
Composition of Functions
You can combine two functions by adding, subtracting, multiplying, or dividing their outputs at the same x. For a quotient (gf)(x), use inputs in the domains of both functions and remove any x where g(x)=0.
Composition works differently. In (f∘g)(x)=f(g(x)), the output of g becomes the input of f. Work from the inside out, so g goes first even though f is written first. Order matters. With f(x)=2x+1 and g(x)=x2, you get f(g(x))=2x2+1 but g(f(x))=(2x+1)2.
Worked example. Let f(x)=x and g(x)=x2−4. Find (f∘g)(3) and the domain of f∘g. Inside first, g(3)=9−4=5, so (f∘g)(3)=5. For the domain, x must work in g (all reals do) and g(x) must work in f, so x2−4≥0. That gives x≤−2 or x≥2, so the domain is (−∞,−2]∪[2,∞).
Decomposition runs this backward. For h(x)=2x−1, the outer function is f(x)=x and the inner one is g(x)=2x−1. More than one split can work, but the simplest one is usually what you want. You will use this move for the chain rule in calculus.
Composite function:A function formed by using the output of one function as the input of another, written f(g(x))f(g(x))f(g(x)).
Inner function:The function applied first in a composition, such as ggg in f(g(x))f(g(x))f(g(x)).
Decomposition:Breaking a composite function into its outer and inner functions.
If f(x)=x+3 and g(x)=2x, what is g(f(1))? (Answer: f(1)=4, then g(4)=8.)
Operation
Notation
What you do
Result for f(x) = 2x + 1, g(x) = x^2
Sum
(f + g)(x)
Add the two outputs
x^2 + 2x + 1
Product
(f · g)(x)
Multiply the two outputs
2x^3 + x^2
Composition
(f ∘ g)(x)
Plug the output of g into f
2x^2 + 1
Composition, reversed
(g ∘ f)(x)
Plug the output of f into g
(2x + 1)^2
1.5
Transformation of Functions
Transformations let you start from a parent graph you know, like y=x2 or y=x, and move it instead of graphing from scratch. Changes outside the function act on y the way they look. Changes inside act on x in the opposite way.
Outside the function, f(x)+k shifts the graph vertically by k. For nonzero a, a⋅f(x) scales the graph vertically by ∣a∣: it stretches when ∣a∣>1 and compresses when 0<∣a∣<1. A negative a also reflects the graph over the x-axis. If a=0, every output becomes zero. Inside the function, f(x−h) shifts right h, so f(x+4) shifts left 4. The graph of f(2x) is squeezed to half its width, and f(−x) reflects over the y-axis.
Worked example. Describe g(x)=−2(x−3)2+1 starting from f(x)=x2. Shift right 3, stretch vertically by 2, reflect over the x-axis, then shift up 1. The vertex moves from (0,0) to (3,1), and the parabola now opens down. To check one point, (1,1) on f moves to (4,−2⋅1+1)=(4,−1), and g(4)=−2(1)2+1=−1.
Symmetry connects here. An even function has a domain symmetric about zero and satisfies f(−x)=f(x), so its graph is symmetric about the y-axis, like x2 on the real numbers. An odd function has a domain symmetric about zero and satisfies f(−x)=−f(x), so its graph is symmetric about the origin, like x3 on the real numbers. Most functions, such as x2+x, are neither.
Parent function:The simplest form of a function family, such as y=x2y = x^2y=x2, that other graphs are built from.
Horizontal shift:Replacing xxx with x−hx - hx−h, which moves the graph hhh units right.
Even function:A function whose domain is symmetric about zero and for which f(−x)=f(x)f(-x) = f(x)f(−x)=f(x). Its graph is symmetric about the yyy-axis.
Odd function:A function whose domain is symmetric about zero and for which f(−x)=−f(x)f(-x) = -f(x)f(−x)=−f(x). Its graph is symmetric about the origin.
How does the graph of y=x+5−2 compare with y=x? (Answer: It shifts left 5 and down 2, so the starting point moves from (0,0) to (−5,−2).)
Change
Inside or outside
Effect on the graph
f(x) + 3
Outside
Shifts up 3
f(x - 3)
Inside
Shifts right 3
2f(x)
Outside
Stretches vertically by a factor of 2
f(2x)
Inside
Compresses horizontally to half the width
-f(x)
Outside
Reflects over the x-axis
f(-x)
Inside
Reflects over the y-axis
1.6
Absolute Value Functions
The parent function f(x)=∣x∣ is a V with its vertex at the origin. It is really a piecewise function, equal to x when x≥0 and −x when x<0. That is why each arm is a straight line, with slope 1 on the right and −1 on the left.
The form f(x)=a∣x−h∣+k follows the transformation rules from 1.5. If a=0, the vertex is (h,k) and the axis of symmetry is x=h. If a>0, the V opens up and the range is y≥k. If a<0, it opens down and the range is y≤k. If a=0, the graph is the horizontal line y=k and its range is {k}. The domain is all real numbers in each case.
Worked example. Solve 3∣2x−1∣+7=22. Isolate the absolute value first by subtracting 7 and dividing by 3, which gives ∣2x−1∣=5. The inside is either 5 or −5. From 2x−1=5 you get x=3, and from 2x−1=−5 you get x=−2. Both values check in the original equation.
If an isolated absolute value equals a negative number, as in ∣x+1∣=−4, there is no solution. Absolute value measures distance, so it is never negative. The same distance idea explains why ∣a−b∣ is the gap between a and b on a number line, and why a tolerance like ∣x−10∣≤0.2 means within 0.2 of 10.
Absolute value:The distance of a number from zero, which is always zero or positive.
Vertex:The point (h,k)(h, k)(h,k) where an absolute value graph changes direction.
Axis of symmetry:The vertical line x=hx = hx=h that splits the V into two mirror-image halves.
What are the vertex and range of f(x)=−∣x+2∣+4? (Answer: The vertex is (−2,4), and since a=−1 is negative, the range is y≤4.)
1.7
Inverse Functions
An inverse function undoes the original. If f(3)=9, then f−1(9)=3. Inputs and outputs trade places, so the domain of f becomes the range of f−1, and the range of f becomes the domain of f−1.
Only one-to-one functions have inverses, and the horizontal line test checks for this. The function x2 fails, since f(3)=f(−3)=9, so f−1(9) would have no single answer. Restricting the domain to x≥0 fixes the problem, and then f−1(x)=x.
Worked example. Find the inverse of f(x)=3x−2. Write y=3x−2, then swap x and y to get x=3y−2. Solving for y gives y=3x+2, so f−1(x)=3x+2. To verify, compose both ways. You get f(f−1(x))=3⋅3x+2−2=x and f−1(f(x))=3(3x−2)+2=x. Both compositions must equal x.
On a graph, the inverse is the reflection of f over the line y=x. Every point (a,b) on f becomes (b,a) on f−1. This is exactly how y=2x and y=log2x are related, which you will use in the exponential and logarithm unit.
Inverse function:A function f−1f^{-1}f−1 that reverses fff, so f−1(f(x))=xf^{-1}(f(x)) = xf−1(f(x))=x and f(f−1(x))=xf(f^{-1}(x)) = xf(f−1(x))=x.
Horizontal line test:A function is one-to-one, and has an inverse, if no horizontal line crosses its graph more than once.
Reflection over y = x:Swapping the coordinates of every point, which turns the graph of a function into the graph of its inverse.
If (2,7) is on the graph of f, what point must be on the graph of f−1? (Answer: (7,2), because the inverse swaps inputs and outputs.)
Key terms
Term
Definition
Function
A rule that assigns exactly one output to each input.
Domain
The set of all inputs a function accepts.
Range
The set of all outputs a function produces.
Average rate of change
The value $\frac{f(b) - f(a)}{b - a}$, which gives the average change in output per unit of input over $[a, b]$.
Composite function
A function $f(g(x))$ built by feeding the output of $g$ into $f$.
Transformation
A shift, stretch, compression, or reflection that changes a parent graph in a predictable way.
One-to-one function
A function where no two different inputs share an output, so it passes the horizontal line test.
Inverse function
A function that reverses another, swapping its inputs and outputs.
Mistakes to avoid in Functions
Reading $f(x + 4)$ as a shift to the right
The plus sign looks like it should mean right, but changes inside the function act on x in the opposite direction. The graph of f(x+4) hits each old output 4 units earlier, so it moves left 4. Rewrite it as f(x−(−4)) and read h=−4.
Treating $f^{-1}(x)$ as $\frac{1}{f(x)}$
The −1 in f−1 is not an exponent. It names the inverse function, which undoes f. For f(x)=3x−2, the inverse is 3x+2, while the reciprocal 3x−21 is a completely different function.
Evaluating $f(g(x))$ in the order it is written
Because f appears first, it is tempting to apply it first. Composition works from the inside out, so you evaluate g(x) first and plug that result into f. Swapping the order usually changes the answer, as 2x2+1 versus (2x+1)2 shows.
Finding a composite's domain from the simplified formula only
If f(x)=x2 and g(x)=x, then f(g(x)) simplifies to x, which looks like it accepts every real number. But g cannot take negative inputs, so the domain is really [0,∞). Always check that x works in the inner function before you simplify.