PrecalculusFunctions1 of 3
Functions · 1

Functions and Their Graphs

We use functions to write a rule that turns each input number into a single output, and graphs to see what that rule does to every number at once.

1

Function Notation and the One-Output Rule

A function is a rule that takes an input number xx and gives back one predictable output number, written f(x)\output{f(x)}.

Function Notation and the One-Output Rule
f(x)=x2−1f(−2)=  ?f(x+h)=  ?\displaystyle \begin{aligned} \output{f(x)} &= x^2 - 1 \\ \output{f(-2)} &= \;? \\ \output{f(x + h)} &= \;? \end{aligned}

To evaluate f(x)=x2−1\output{f(x)} = x^2 - 1 at different inputs, treat the parentheses in f(□)=(□)2−1f(\slot{\square}) = (\slot{\square})^2 - 1 as empty boxes waiting to be filled.

Text solution
Plug in a negative numberPutting −2-2 into every box automatically wraps the negative sign in parentheses before squaring.
f(−2)\displaystyle \output{f(-2)} =(−2)2−1\displaystyle = (-2)^2 - 1 =4−1\displaystyle = 4 - 1 =3\displaystyle = \output{3}
Plug in an expressionPutting x+hx + h into the same boxes replaces xx with the whole expression (x+h)(x + h).
f(x+h)\displaystyle \output{f(x + h)} =(x+h)2−1\displaystyle = (x + h)^2 - 1

So f(−2)=3\output{f(-2)} = \output{3}, and since f(2)=22−1=3\output{f(2)} = 2^2 - 1 = \output{3} as well, two different inputs are allowed to share the same output. What a function can never do is give two different outputs for the same input.

2

Testing Whether an Equation Defines a Function

When we start with an equation in xx and yy, we want to know whether each input xx produces only one output y\output{y}.

Testing Whether an Equation Defines a Function
x2+2y=6x+y2=5\displaystyle \begin{aligned} x^2 + 2\output{y} &= 6 \\ x + \output{y}^2 &= 5 \end{aligned}
Is y a function of x?\displaystyle \text{Is } \output{y} \text{ a function of } x\text{?}

We test x2+2y=6x^2 + 2\output{y} = 6 and x+y2=5x + \output{y}^2 = 5 by solving each equation for y\output{y}.

Text solution
Isolate y\output{y} in x2+2y=6x^2 + 2\output{y} = 6Subtracting x2x^2 and dividing by 22 leaves a single formula for y\output{y}.
2y=6−x2y=3−12x2\displaystyle \begin{aligned} 2\output{y} &= 6 - x^2 \\ \output{y} &= 3 - \tfrac{1}{2}x^2 \end{aligned}
Each number plugged in for xx gives only one value for y\output{y}, so this equation defines y\output{y} as a function of xx.
Isolate y\output{y} in x+y2=5x + \output{y}^2 = 5Taking the square root to undo y2\output{y}^2 introduces a plus-or-minus sign.
y2=5−xy=±5−xx=1  ⟹  y=±5−1=±2\displaystyle \begin{aligned} \output{y}^2 &= 5 - x \\ \output{y} &= \pm\sqrt{5 - x} \\ x = 1 \implies \output{y} &= \pm\sqrt{5 - 1} = \pm 2 \end{aligned}
Because the single input x=1x = 1 gives two outputs, y=2\output{y = 2} and y=−2\output{y = -2}, this equation does not define y\output{y} as a function of xx.
3

Reading the Graph of a Function

Instead of testing numbers one by one, a graph plots every input xx along the horizontal axis and puts the output f(x)\output{f(x)} as the height of the curve directly above or below it.

Reading the Graph of a Function
xx
yy
22
y=x2−1\htmlClass{lc-blue}{y} = x^2 - 1
f(2)=  ?\htmlClass{lc-blue}{f(2)} = \;?

Using the graph of f(x)=x2−1\output{f(x)} = x^2 - 1, we can either start at an input on the xx-axis to read the height, or start at a height on the yy-axis to find which inputs reach it.

Text solution
Find f(2)\output{f(2)} from the graphStart at 22 on the xx-axis and read the curve's height on the yy-axis.
f(2⏟position on x-axis)\displaystyle \output{f(}\underbrace{2}_{\text{position on } x\text{-axis}}\output{)} =3⏟height on y-axis\displaystyle = \underbrace{\output{3}}_{\text{height on } y\text{-axis}}
Find where f(x)=3\output{f(x)} = \output{3}Start at height 3\output{3} on the yy-axis and look across horizontally to see every spot where the curve reaches that height.
f(x)\displaystyle \output{f(x)} =3  ⟹  x\displaystyle = \output{3} \implies x =−2 or x\displaystyle = -2 \text{ or } x =2\displaystyle = 2
xx
yy
−2-2
22
33
y=x2−1\htmlClass{lc-blue}{y} = x^2 - 1
(−2, 3)\htmlClass{lc-blue}{(-2,\ 3)}
(2, 3)\htmlClass{lc-blue}{(2,\ 3)}
xx
yy
11
x+y2=5x + \htmlClass{lc-blue}{y}^2 = 5
(1, 2)\htmlClass{lc-blue}{(1,\ 2)}
(1, −2)\htmlClass{lc-blue}{(1,\ -2)}

On the parabola y=x2−1\output{y} = x^2 - 1, every position xx on the xx-axis has a single curve height f(x)\output{f(x)} directly above or below it, while the horizontal line at height f(x)\output{f(x)} meets the curve at both xx and −x-x.

Every spot on the x-axis gives you only one height on the parabola, even when the other side reaches that same height too.
4

Domain and Range from a Graph

The domain of a function is the set of all inputs x\domain{x} where the graph exists from left to right, and the range is the set of all heights y\range{y} the graph reaches from bottom to top.

Domain and Range from a Graph
xx
yy
(−3, 1)(-3,\ 1)
(0, 4)(0,\ 4)
(2, −2)(2,\ -2)
Domain=  ?\htmlClass{lc-blue}{\text{Domain}} = \;?
Range=  ?\htmlClass{lc-pink}{\text{Range}} = \;?

For the curve starting at an open circle at (−3,1)(-3, 1), rising to a peak at (0,4)(0, 4), and ending at a solid dot at (2,−2)(2, -2), we read the domain off the xx-axis and the range off the yy-axis.

Text solution
Flatten vertically onto the xx-axis for the domainReading from left to right, the graph starts at the open circle at x=−3\domain{x = -3} (excluded, parenthesis) and ends at the solid dot at x=2\domain{x = 2} (included, bracket).
Domain\displaystyle \text{Domain} =(−3,2]\displaystyle = \domain{(-3, 2]}
Flatten horizontally onto the yy-axis for the rangeReading from bottom to top, the lowest height reached is the solid dot at y=−2\range{y = -2} and the highest is the peak at y=4\range{y = 4}, both reached by the curve.
Range\displaystyle \text{Range} =[−2,4]\displaystyle = \range{[-2, 4]}

The vertical shadow on the xx-axis tracks the left-to-right endpoints of the curve, while the horizontal shadow on the yy-axis stays fixed at [−2,4]\range{[-2, 4]} unless the left endpoint moves higher than the peak at y=4\range{y = 4} or lower than the right endpoint at y=−2\range{y = -2}.

The left endpoint always sets the left edge of the domain, but it only changes the range when it goes higher than the peak or lower than the other endpoint.
5

Finding the Domain from an Equation

For the formulas in these examples, we find the domain by starting with all real numbers (−∞,∞)\domain{(-\infty, \infty)} and ruling out any xx-values that cause division by zero or a negative number inside an even root.

Finding the Domain from an Equation
f(x)=x+5x2−9g(x)=12−3x\displaystyle \begin{aligned} f(x) &= \frac{x + 5}{\restrict{x^2 - 9}} \\ g(x) &= \sqrt{\restrict{12 - 3x}} \end{aligned}
Domain\displaystyle \domain{\text{Domain}} =  ?\displaystyle = \;?

Let's find the domains of f(x)=x+5x2−9f(x) = \frac{x + 5}{\restrict{x^2 - 9}} and g(x)=12−3xg(x) = \sqrt{\restrict{12 - 3x}}.

Text solution
Exclude where the denominator is zero for f(x)=x+5x2−9f(x) = \frac{x + 5}{\restrict{x^2 - 9}}Set the bottom equal to zero to find the disallowed inputs and remove them from the number line.
x2−9=0  ⟹  x=−3 and x=3Domain=(−∞,−3)∪(−3,3)∪(3,∞)\displaystyle \begin{aligned} \restrict{x^2 - 9} &= 0 \implies \domain{x = -3} \text{ and } \domain{x = 3} \\ \text{Domain} &= \domain{(-\infty, -3) \cup (-3, 3) \cup (3, \infty)} \end{aligned}
Keep the inside of the square root non-negative for g(x)=12−3xg(x) = \sqrt{\restrict{12 - 3x}}Set the expression inside the root greater than or equal to zero.
12−3x≥012≥3xx≤4  ⟹  Domain=(−∞,4]\displaystyle \begin{aligned} \restrict{12 - 3x} &\ge 0 \\ 12 &\ge 3x \\ \domain{x} &\domain{\le 4} \implies \text{Domain} = \domain{(-\infty, 4]} \end{aligned}

If that same square root sits in the bottom of a fraction, as in 112−3x\frac{1}{\sqrt{\restrict{12 - 3x}}}, the inside cannot be zero either, so 12−3x>0\restrict{12 - 3x} > 0 replaces the bracket with a parenthesis: (−∞,4)\domain{(-\infty, 4)}.

6

Finding the Zeros of a Function

The zeros of a function, also called its roots, are the inputs xx where the curve's height f(x)\output{f(x)} equals 0\output{0}. The corresponding points on the graph are its xx-intercepts.

Finding the Zeros of a Function
f(x)=x2−5x−6=0g(x)=2x−8x+3=0\displaystyle \begin{alignedat}{2} \output{f(x)} &= x^2 - 5x - 6 &&= \output{0} \\ \output{g(x)} &= \frac{2x - 8}{\restrict{x + 3}} &&= \output{0} \end{alignedat}
x\displaystyle x =  ?\displaystyle = \;?

We find the zeros of f(x)=x2−5x−6\output{f(x)} = x^2 - 5x - 6 and g(x)=2x−8x+3\output{g(x)} = \frac{2x - 8}{\restrict{x + 3}} by setting each function equal to 0\output{0}.

Text solution
Set the quadratic equal to zero and factor
x2−5x−6=0(x−6)(x+1)=0  ⟹  x=6 and x=−1\displaystyle \begin{aligned} x^2 - 5x - 6 &= 0 \\ (x - 6)(x + 1) &= 0 \implies x = 6 \text{ and } x = -1 \end{aligned}
Set the numerator equal to zero for g(x)=2x−8x+3\output{g(x)} = \frac{2x - 8}{\restrict{x + 3}}A fraction equals zero only when its top is zero.
2x−8x+3=02x−8=0  ⟹  2x=8  ⟹  x=4\displaystyle \begin{aligned} \frac{2x - 8}{\restrict{x + 3}} &= 0 \\ 2x - 8 &= 0 \implies 2x = 8 \implies x = 4 \end{aligned}
Checking the denominator gives 4+3=7≠0\restrict{4 + 3} = 7 \ne 0, so x=4x = 4 is the zero.
7

Increasing, Decreasing, and Local Extrema

Tracing a graph from left to right, we want to describe the intervals along the xx-axis where the curve is flat (constant), climbing uphill (increasing), or falling downhill (decreasing), and mark the peaks (local maxima) and valleys (local minima) where it turns around.

Increasing, Decreasing, and Local Extrema
xx
yy
(−3, 1)(-3,\ 1)
(−1, 3)\htmlClass{lc-blue}{(-1,\ 3)}
(2, −4)\htmlClass{lc-pink}{(2,\ -4)}

For the curve that stays flat at height 11 up to (−3,1)(-3, 1), climbs to a peak at (−1,3)\localmax{(-1, 3)}, falls to a valley at (2,−4)\localmin{(2, -4)}, and climbs forever after, we record the intervals using xx-coordinates.

Text solution
Read the xx-intervals from left to rightUse open parentheses at the turning points so the intervals do not overlap.
Constant on (−∞,−3)Increasing on (−3,−1) and (2,∞)Decreasing on (−1,2)\displaystyle \begin{aligned} \text{Constant on } & \constant{(-\infty, -3)} \\ \text{Increasing on } & \incr{(-3, -1)} \text{ and } \incr{(2, \infty)} \\ \text{Decreasing on } & \decr{(-1, 2)} \end{aligned}
Separate the xx-location from the yy-height at each turning point
Local maximum at x=−1⏟where it occurs,local maximum value y=3⏟heightLocal minimum at x=2,local minimum value y=−4\displaystyle \begin{aligned} \text{Local maximum at } \underbrace{x = -1}_{\text{where it occurs}}, & \quad \text{local maximum value } \underbrace{y = 3}_{\text{height}} \\ \text{Local minimum at } x = 2, & \quad \text{local minimum value } y = -4 \end{aligned}

Using the non-strict definition, every x<−3x < -3 on the flat ray is both a local maximum and a local minimum; x=−3x = -3 is also a local minimum. The peak and valley above are the turning extrema.

Changing the height of the peak changes the local maximum value yy on the vertical axis without changing the increasing and decreasing intervals at all, while shifting the peak horizontally moves the interval boundary along the xx-axis.

The peak’s height on the yy-axis gives the local maximum value, while its spot on the xx-axis sets the increasing and decreasing intervals.
8

Even and Odd Functions

An even function is symmetric across the yy-axis so that stepping to −x-x gives the same height as xx, while an odd function is symmetric by a 180∘180^\circ rotation around the origin so that stepping to −x-x flips the height to the opposite sign.

Even and Odd Functions
f(x)=x3−4xf(x)=x2+x\displaystyle \begin{aligned} \output{f(x)} &= x^3 - 4x \\ \output{f(x)} &= x^2 + x \end{aligned}
Even, odd or neither?\displaystyle \text{Even, odd or neither?}

To test f(x)=x3−4x\output{f(x)} = x^3 - 4x and f(x)=x2+x\output{f(x)} = x^2 + x algebraically, we plug −x-x into the input boxes and compare the simplified expression to the original function.

Text solution
Substitute −x-x into f(x)=x3−4x\output{f(x)} = x^3 - 4xOdd powers keep the negative sign.
f(−x)=(−x)3−4(−x)=−x3+4x=−(x3−4x)=−f(x)\displaystyle \begin{aligned} f(-x) &= (-x)^3 - 4(-x) \\ &= -x^3 + 4x \\ &= \opposite{-(x^3 - 4x)} = \opposite{-f(x)} \end{aligned}
Every sign flipped to give −f(x)\opposite{-f(x)}, so f(x)=x3−4x\output{f(x)} = x^3 - 4x is odd.
Substitute −x-x into f(x)=x2+x\output{f(x)} = x^2 + xSquaring −x-x makes it positive, while the odd power keeps the negative sign.
f(−x)\displaystyle f(-x) =(−x)2+(−x)\displaystyle = (-x)^2 + (-x) =x2−x\displaystyle = x^2 - x
Because x2−xx^2 - x matches neither the original x2+x\output{x^2 + x} nor its exact opposite −x2−x\opposite{-x^2 - x}, this function is neither even nor odd.

For an even function, the point at the opposite input −x-x has height f(−x)=f(x)f(-x) = \output{f(x)}. For an odd function, it has height f(−x)=−f(x)f(-x) = \opposite{-f(x)}.

At the opposite input, an even function keeps the same height while an odd function flips to the opposite height.
9

Piecewise Functions

A piecewise function uses different formulas on different parts of the xx-axis, switching rules at a boundary value.

Piecewise Functions
f(x)={x+2if x<14−x2if x≥1f(3)=  ?\displaystyle \begin{aligned} f(x) &= \begin{cases} \leftpiece{x + 2} & \text{if } \leftpiece{x \lt 1} \\ \rightpiece{4 - x^2} & \text{if } \rightpiece{x \ge 1} \end{cases} \\[4pt] f(3) &= \;? \end{aligned}

For the piecewise function

f(x)={x+2if x<14−x2if x≥1\displaystyle f(x) = \begin{cases} \leftpiece{x + 2} & \text{if } \leftpiece{x < 1} \\ \rightpiece{4 - x^2} & \text{if } \rightpiece{x \ge 1} \end{cases}

we check the `if` condition before plugging in an input, and we test the boundary x=1x = 1 in both formulas to see how the two pieces meet on the graph.

Text solution
Evaluate f(3)f(3) using the matching ruleSince 3≥1\rightpiece{3 \ge 1}, only the bottom rule applies.
f(3)\displaystyle f(3) =4−(3)2\displaystyle = \rightpiece{4 - (3)^2} =4−9\displaystyle = 4 - 9 =−5\displaystyle = -5
Find the boundary points at x=1x = 1Plug x=1x = 1 into both rules, using an open circle for << and a solid dot for ≥\ge.
Left piece (x<1):1+2=3  ⟹  open circle at (1,3)Right piece (x≥1):4−12=3  ⟹  solid dot at (1,3)\displaystyle \begin{aligned} \text{Left piece } (\leftpiece{x < 1}): & \quad & \leftpiece{1 + 2} &= 3 \implies \text{open circle at } \leftpiece{(1, 3)} \\ \text{Right piece } (\rightpiece{x \ge 1}): & \quad & \rightpiece{4 - 1^2} &= 3 \implies \text{solid dot at } \rightpiece{(1, 3)} \end{aligned}
The solid dot at (1,3)\rightpiece{(1, 3)} fills in the open circle, so the line on the left and the parabola on the right connect at (1,3)(1, 3).
xx
yy
11
y=x+2y = \htmlClass{lc-blue}{x + 2}
y=4−x2y = \htmlClass{lc-pink}{4 - x^2}
(0, 2)\htmlClass{lc-blue}{(0,\ 2)}
(1, 3)\htmlClass{lc-pink}{(1,\ 3)}
(2, 0)\htmlClass{lc-pink}{(2,\ 0)}
10

Average Rate of Change

The average rate of change between two distinct inputs is the slope of the straight secant line connecting the corresponding points on the graph.

Average Rate of Change
xx
yy
11
33
y=x2\htmlClass{lc-blue}{y} = x^2
average rate of change=  ?\text{average rate of change} = \;?

To find the average rate of change of f(x)=x2\output{f(x)} = x^2 from x=1x = 1 to x=3x = 3, we divide the change in height by the change in xx.

Text solution
Find the slope between (1,f(1))(1, \output{f(1)}) and (3,f(3))(3, \output{f(3)})
Average rate of change\displaystyle \text{Average rate of change} =f(3)−f(1)3−1\displaystyle = \frac{\output{f(3)} - \output{f(1)}}{\step{3 - 1}} =32−123−1\displaystyle = \frac{\output{3^2} - \output{1^2}}{\step{3 - 1}} =9−12\displaystyle = \frac{\output{9} - \output{1}}{\step{2}} =4\displaystyle = 4

So between x=1x = 1 and x=3x = 3, the height of the curve rises by an average of 44 units for every 11 unit we step to the right.

11

The Difference Quotient

Instead of picking two fixed numbers like 11 and 33, we can find a formula for the average rate of change starting at an input xx over a nonzero horizontal step h\step{h}, provided both xx and x+hx+\step{h} are in the domain:

f(x+h)−f(x)h⏟difference quotient\displaystyle \underbrace{\frac{\output{f(x + \step{h})} - \output{f(x)}}{\step{h}}}_{\text{difference quotient}}
The Difference Quotient
f(x)=x2−3xf(x+h)−f(x)h=  ?\displaystyle \begin{aligned} \output{f(x)} &= x^2 - 3x \\ \frac{\output{f(x + \step{h})} - \output{f(x)}}{\step{h}} &= \;? \end{aligned}

We work out the difference quotient for f(x)=x2−3x\output{f(x)} = x^2 - 3x in three steps so the algebra stays clean.

Text solution
Find and expand f(x+h)\output{f(x + \step{h})}Put x+hx + \step{h} into every input box of f(□)=(□)2−3(□)f(\slot{\square}) = (\slot{\square})^2 - 3(\slot{\square}).
f(x+h)=(x+h)2−3(x+h)=x2+2xh+h2−3x−3h\displaystyle \begin{aligned} \output{f(x + \step{h})} &= (x + \step{h})^2 - 3(x + \step{h}) \\ &= x^2 + 2x\step{h} + \step{h}^2 - 3x - 3\step{h} \end{aligned}
Subtract the original f(x)\output{f(x)}Every term without an h\step{h} cancels out.
f(x+h)−f(x)=(x2+2xh+h2−3x−3h)−(x2−3x)=2xh+h2−3h\displaystyle \begin{aligned} \output{f(x + \step{h})} - \output{f(x)} &= (x^2 + 2x\step{h} + \step{h}^2 - 3x - 3\step{h}) - (x^2 - 3x) \\ &= 2x\step{h} + \step{h}^2 - 3\step{h} \end{aligned}
Divide by h\step{h}Factor h\step{h} out of the numerator. Since h≠0\step{h} \ne 0, cancel it with the denominator.
f(x+h)−f(x)h\displaystyle \frac{\output{f(x + \step{h})} - \output{f(x)}}{\step{h}} =h(2x+h−3)h\displaystyle = \frac{\step{h}(2x + \step{h} - 3)}{\step{h}} =2x+h−3\displaystyle = 2x + \step{h} - 3

As h\step{h} approaches 00, the average slope 2x+h−32x + \step{h} - 3 approaches 2x−32x - 3, the slope of this curve at xx.

As the horizontal step h\step{h} shrinks toward 00, both the rise f(x+h)−f(x)\output{f(x + \step{h})} - \output{f(x)} and the run h\step{h} approach 00 together while the secant line settles into the steepness of the curve right at (x,f(x))(x, \output{f(x)}).

As the step between the points shrinks toward zero, both the rise and the run shrink toward zero while the secant line settles into the steepness of the curve right at the starting point.

Key concepts

Everything here comes back to reading xx as your position on the horizontal axis and f(x)=y\output{f(x) = y} as the height of the curve there:

Function notation and testing equations

The parentheses in f(□)f(\slot{\square}) are an empty input box: for f(x)=x2−1\output{f(x)} = x^2 - 1, f(−2)=(−2)2−1=3\output{f(-2)} = (-2)^2 - 1 = \output{3}. When given an equation in xx and y\output{y}, solve for y\output{y}: x2+2y=6  ⟹  y=3−12x2x^2 + 2\output{y} = 6 \implies \output{y} = 3 - \frac{1}{2}x^2 defines a function. For x+y2=5x + \output{y}^2 = 5, x=1x = 1 gives both y=2\output{y = 2} and y=−2\output{y = -2}, so it does not define y\output{y} as a function of xx.

Domain vs. zeros

On a graph, flatten vertically onto the xx-axis for the domain and horizontally onto the yy-axis for the range. For the formulas in these examples, exclude inputs that make a denominator zero or make the inside of an even root negative. If an even root is itself the denominator, its inside must be positive. For g(x)=2x−8x+3g(x) = \frac{2x - 8}{\restrict{x + 3}}, the domain excludes x=−3\domain{x = -3}, while the zero is x=4x = 4, where the numerator is zero and the denominator is nonzero. The polynomial f(x)=x2−5x−6f(x) = x^2 - 5x - 6 has domain (−∞,∞)\domain{(-\infty, \infty)}.

Intervals and extrema

Always write increasing, decreasing, and constant intervals using xx-values with open parentheses, never yy-heights. At a peak like (−1,3)\localmax{(-1, 3)}, "where" the local maximum occurs is the xx-location (x=−1x = -1), and the local maximum "value" is the height (y=3y = 3).

Symmetry and piecewise rules

Check that the domain contains −x-x whenever it contains xx, then compare f(−x)f(-x) with f(x)\output{f(x)} and −f(x)\opposite{-f(x)}. Equality with f(x)\output{f(x)} means even, equality with −f(x)\opposite{-f(x)} means odd, and neither equality means neither. For a piecewise function, evaluate an input using the formula whose `if` condition matches. In the example above, both formulas can be evaluated at the boundary to locate the open circle and solid dot.

Average rate of change and the difference quotient

Between two distinct inputs, find the secant slope f(x2)−f(x1)x2−x1\frac{\output{f(x_2)} - \output{f(x_1)}}{\step{x_2 - x_1}}. For the polynomial example, simplify f(x+h)−f(x)h\frac{\output{f(x + \step{h})} - \output{f(x)}}{\step{h}} by expanding f(x+h)\output{f(x + \step{h})}, subtracting f(x)\output{f(x)}, and factoring out h\step{h}. Since h≠0\step{h} \ne 0, it cancels with the denominator.

12

Practice

1

For f(x)=2x2−x\output{f(x)} = 2x^2 - x, find f(−3)\output{f(-3)} and f(x+1)\output{f(x + 1)}.

Replace each xx with an empty box, 2(□)2−(□)2(\slot{\square})^2 - (\slot{\square}), before putting in −3-3 or x+1x + 1.

Writing the boxes keeps the parentheses around −3-3 and x+1x + 1:
f(−3)\displaystyle \output{f(-3)} =2(−3)2−(−3)\displaystyle = 2(-3)^2 - (-3) =2(9)+3\displaystyle = 2(9) + 3 =21\displaystyle = \output{21}
(Watch out for squaring without parentheses as −32=−9-3^2 = -9 to get −15-15, or forgetting the double negative in −(−3)-(-3) to get 1515.) For f(x+1)\output{f(x + 1)}, multiply out (x+1)(x+1)(x + 1)(x + 1) and distribute both the 22 and the minus sign:
f(x+1)\displaystyle \output{f(x + 1)} =2(x+1)2−(x+1)\displaystyle = 2(x + 1)^2 - (x + 1) =2(x2+2x+1)−x−1\displaystyle = 2(x^2 + 2x + 1) - x - 1 =2x2+3x+1\displaystyle = \output{2x^2 + 3x + 1}
(Don't square term-by-term as x2+1x^2 + 1 or forget to distribute the negative sign across −(x+1)-(x + 1), which gives 2x2−x+12x^2 - x + 1 or 2x2+3x+32x^2 + 3x + 3.) f(−3)=21\output{f(-3)} = \output{21}; f(x+1)=2x2+3x+1\output{f(x + 1)} = \output{2x^2 + 3x + 1}
2

Determine whether each equation defines y\output{y} as a function of xx: (a) x2−4y=8x^2 - 4\output{y} = 8, (b) y2+3x=7\output{y}^2 + 3x = 7, (c) ∣y∣=x−1|\output{y}| = x - 1.

Isolate y\output{y} in each equation and check whether a single input xx can produce two different values of y\output{y}.

Solve each equation for y\output{y}. An even power on xx in (a) does not prevent each input from giving one output: (a) Yes (y=14x2−2\output{y} = \frac{1}{4}x^2 - 2 gives one y\output{y} for each xx); (b) No (x=1x = 1 gives y=±2\output{y = \pm 2}); (c) No (x=5x = 5 gives y=±4\output{y = \pm 4}). In (c), y=±(x−1)\output{y} = \pm(x - 1) applies when x≥1x \ge 1.
3

The graph of ff starts at an open circle at (−4,1)(-4, 1), rises through (−2,3)(-2, 3) to a peak at (0,5)(0, 5), and falls through (2,3)(2, 3) to a solid dot at (3,−2)(3, -2). Find: (a) f(3)f(3), (b) all values of xx for which f(x)=3f(x) = 3, (c) the domain of ff, and (d) the range of ff.

Treat the number inside f()f(\quad) as your position on the xx-axis and the output as the height y\output{y}; read the domain left to right and the range bottom to top.

At x=3x = 3, the solid dot is at height −2\output{-2}, and height 3\output{3} is reached at both x=−2x = -2 and x=2x = 2. Left to right, the xx-values run from the open circle at −4\domain{-4} (use a parenthesis, not [−4,3][-4, 3]) to the solid dot at 3\domain{3}. Bottom to top, use the lowest height −2\range{-2} and highest peak 5\range{5}, rather than just using the two endpoint heights to write [−2,1)[-2, 1). (a) −2-2; (b) x=−2x = -2 and x=2x = 2; (c) (−4,3]\domain{(-4, 3]}; (d) [−2,5]\range{[-2, 5]}
4

Find the domain of f(x)=x−4x2−16f(x) = \frac{x - 4}{x^2 - 16} in interval notation.

Which part of a fraction is never allowed to equal 00?

Set the denominator equal to zero before touching the numerator:
x2−16\displaystyle \restrict{x^2 - 16} =0  ⟹  x=−4 and x=4\displaystyle = 0 \implies \domain{x = -4} \text{ and } \domain{x = 4}
(Don't cancel x−4x - 4 with x2−16=(x−4)(x+4)\restrict{x^2 - 16} = (x - 4)(x + 4) first and only exclude x=−4x = -4, and ignore where the numerator x−4x - 4 is 00: plugging x=4x = 4 into the original fraction still divides by zero.) Removing −4\domain{-4} and 4\domain{4} splits the number line into three pieces: (−∞,−4)∪(−4,4)∪(4,∞)\domain{(-\infty, -4) \cup (-4, 4) \cup (4, \infty)}
5

Find the domain of g(x)=58−2xg(x) = \frac{5}{\sqrt{8 - 2x}} in interval notation.

The expression inside the square root sits in the denominator. Can it equal 00, and what happens to the inequality sign when you divide by −2-2?

Because the square root is in the denominator, the inside must be strictly positive (using ≥0\ge 0 would divide by 0=0\sqrt{0} = 0 and give a bracket at 44):
8−2x>0  ⟹  −2x>−8  ⟹  x<4\displaystyle \restrict{8 - 2x} > 0 \implies -2x > -8 \implies \domain{x < 4}
(Remember to flip the inequality sign when dividing by −2-2, or you will get (4,∞)(4, \infty).) (−∞,4)\domain{(-\infty, 4)}
6

Find the zeros of (a) f(x)=x2+2x−15\output{f(x)} = x^2 + 2x - 15 and (b) g(x)=3x+12x−2\output{g(x)} = \frac{3x + 12}{x - 2}.

A zero is where the height is 0\output{0}. For a fraction, does the top or the bottom make the whole fraction equal 00?

In (a), set the quadratic equal to 00 and factor:
x2+2x−15\displaystyle x^2 + 2x - 15 =0  ⟹  (x+5)(x−3)\displaystyle = 0 \implies (x + 5)(x - 3) =0\displaystyle = 0
(Don't read the numbers straight off the factors as 55 and −3-3; set each factor to 00.) In (b), set the numerator equal to 00, 3x+12=03x + 12 = 0, not the denominator x−2=0\restrict{x - 2} = 0 (which gives the excluded domain value x=2\domain{x = 2}). (a) x=−5x = -5 and x=3x = 3; (b) x=−4x = -4
7

A function ff is flat at height −2-2 to the left of (−2,−2)(-2, -2), rises to a peak at (1,4)\localmax{(1, 4)}, falls to a valley at (5,−3)\localmin{(5, -3)}, and rises forever to the right of (5,−3)\localmin{(5, -3)}. Find: (a) the intervals on which ff is constant, increasing, and decreasing, (b) where the local maximum occurs and the local maximum value, and (c) where the local minimum occurs and the local minimum value.

Use the xx-coordinates for intervals and "where" questions, and use the yy-axis heights for "value" questions.

Read all interval boundaries from the xx-coordinates −2-2, 11, and 55 (don't use the heights to write (−2,4)(-2, 4) for increasing or (4,−3)(4, -3) for decreasing), and don't swap the xx-location with the yy-height at the peak (1,4)\localmax{(1, 4)} and valley (5,−3)\localmin{(5, -3)}. (a) Constant on (−∞,−2)\constant{(-\infty, -2)}, increasing on (−2,1)\incr{(-2, 1)} and (5,∞)\incr{(5, \infty)}, decreasing on (1,5)\decr{(1, 5)}; (b) at x=1x = 1, value 44, and at every x<−2x < -2, value −2-2; (c) at x=5x = 5, value −3-3, and at every x≤−2x \le -2, value −2-2. On the flat ray, the value is both at least and at most the nearby values, so each interior point is both a local maximum and a local minimum.
8

Determine algebraically whether each function is even, odd, or neither: (a) f(x)=x4−3x2\output{f(x)} = x^4 - 3x^2, (b) g(x)=2x3−x\output{g(x)} = 2x^3 - x, (c) h(x)=x3−x2\output{h(x)} = x^3 - x^2.

Plug (−x)(-x) into each term and compare the simplified result to the original function.

In (a), (−x)4−3(−x)2=x4−3x2(-x)^4 - 3(-x)^2 = x^4 - 3x^2 (don't let the minus sign in front of 3x23x^2 trick you into flipping it: the even exponent in (−x)2=x2(-x)^2 = x^2 makes the (−x)(-x) positive). In (b), 2(−x)3−(−x)=−2x3+x=−(2x3−x)2(-x)^3 - (-x) = -2x^3 + x = \opposite{-(2x^3 - x)}. In (c), (−x)3−(−x)2=−x3−x2(-x)^3 - (-x)^2 = -x^3 - x^2 (only the first sign flipped, so don't call it odd just because of the x3x^3 term). (a) Even, since f(−x)=x4−3x2=f(x)f(-x) = x^4 - 3x^2 = \output{f(x)}; (b) Odd, since g(−x)=−2x3+x=−g(x)g(-x) = -2x^3 + x = \opposite{-g(x)}; (c) Neither, since h(−x)=−x3−x2h(-x) = -x^3 - x^2 equals neither h(x)\output{h(x)} nor −h(x)\opposite{-h(x)}
9

For the piecewise function f(x)={2x+1if x<2x2−1if x≥2f(x) = \begin{cases} \leftpiece{2x + 1} & \text{if } \leftpiece{x < 2} \\ \rightpiece{x^2 - 1} & \text{if } \rightpiece{x \ge 2} \end{cases}, find f(0)f(0), f(2)f(2), and f(4)f(4), and determine whether the two pieces of the graph connect at x=2x = 2.

Check the `if` condition first to pick a single rule for each input, then test x=2x = 2 in both rules to compare the boundary heights.

For x=0x = 0, 0<2\leftpiece{0 < 2} uses the top rule: 2(0)+1=1\leftpiece{2(0) + 1} = 1. For x=2x = 2, 2≥2\rightpiece{2 \ge 2} uses the bottom rule: 22−1=3\rightpiece{2^2 - 1} = 3 (don't plug 22 into the top rule to get f(2)=5f(2) = 5, because x<2\leftpiece{x < 2} does not include 22). For x=4x = 4, 4≥2\rightpiece{4 \ge 2} uses the bottom rule: 42−1=15\rightpiece{4^2 - 1} = 15. Checking the boundary x=2x = 2 in both pieces: f(0)=1f(0) = 1, f(2)=3f(2) = 3, f(4)=15f(4) = 15; they do not connect because the left piece approaches an open circle at (2,5)\leftpiece{(2, 5)} while the right piece starts at a solid dot at (2,3)\rightpiece{(2, 3)}
10

Find the average rate of change of f(x)=x2+2x\output{f(x)} = x^2 + 2x from x=−1x = -1 to x=3x = 3.

Find the curve heights f(−1)\output{f(-1)} and f(3)\output{f(3)} first, then divide the change in height by the change in xx.

Evaluate the two heights: f(−1)=(−1)2+2(−1)=1−2=−1\output{f(-1)} = (-1)^2 + 2(-1) = 1 - 2 = \output{-1} and f(3)=32+2(3)=15\output{f(3)} = 3^2 + 2(3) = \output{15}. Then find the slope:
f(3)−f(−1)3−(−1)\displaystyle \frac{\output{f(3)} - \output{f(-1)}}{\step{3 - (-1)}} =15−(−1)3−(−1)\displaystyle = \frac{\output{15} - (\output{-1})}{\step{3 - (-1)}} =164\displaystyle = \frac{16}{\step{4}} =4\displaystyle = 4
(Watch the double negatives in both the top and bottom: writing 15−1=1415 - 1 = 14 or 3−1=23 - 1 = 2 gives 77 or 88.) 44
11

Find and simplify the difference quotient f(x+h)−f(x)h\frac{\output{f(x + \step{h})} - \output{f(x)}}{\step{h}} for f(x)=2x2−5x+1\output{f(x)} = 2x^2 - 5x + 1.

Expand f(x+h)\output{f(x + \step{h})} first, then subtract the entire expression f(x)\output{f(x)} in parentheses so every term without an h\step{h} cancels.

Step 1: put x+hx + \step{h} into every box (don't just add +h+ \step{h} onto the end of the formula, and remember to distribute the 22 across all three terms of (x+h)2=x2+2xh+h2(x + \step{h})^2 = x^2 + 2x\step{h} + \step{h}^2):
f(x+h)\displaystyle \output{f(x + \step{h})} =2(x+h)2−5(x+h)+1\displaystyle = 2(x + \step{h})^2 - 5(x + \step{h}) + 1 =2x2+4xh+2h2−5x−5h+1\displaystyle = 2x^2 + 4x\step{h} + 2\step{h}^2 - 5x - 5\step{h} + 1
Step 2: subtract the original f(x)\output{f(x)} in parentheses so the signs flip on −5x-5x and +1+1:
f(x+h)−f(x)\displaystyle \output{f(x + \step{h})} - \output{f(x)} =(2x2+4xh+2h2−5x−5h+1)−(2x2−5x+1)\displaystyle = (2x^2 + 4x\step{h} + 2\step{h}^2 - 5x - 5\step{h} + 1) - (2x^2 - 5x + 1) =4xh+2h2−5h\displaystyle = 4x\step{h} + 2\step{h}^2 - 5\step{h}
Step 3: factor out h\step{h} and cancel it. The difference quotient requires h≠0\step{h} \ne 0:
h(4x+2h−5)h\displaystyle \frac{\step{h}(4x + 2\step{h} - 5)}{\step{h}} =4x+2h−5\displaystyle = 4x + 2\step{h} - 5
4x+2h−54x + 2h - 5