A function normally runs forward, from an input to an output. Our first question is how to run it backward when we know the output instead.
1
What an inverse does
An inverse function, written f−1(x), undoes f by applying the opposite operations in the reverse order. It swaps inputs and outputs, so f(5)=16 becomes f−1(16)=5. The −1 attached to a function name is not an exponent: it means "run f backward," never the reciprocal f(x)1.
That swap lets us find a single inverse value like f−1(12) for f(x)=x3+x+2, even when there's no simple way to solve for a formula for f−1.
What an inverse does
Text solution
Set the function equal to the given outputAsking for f−1(12) asks which input x produces 12 out of f, so 12 goes on the output side rather than into x.
x3+x+2x3+x=12=10
Test a small whole number for xTrying x=1 gives 2 (too small), while x=2 matches 10.
23+2=10⟹x=2
So f−1(12)=2, without ever writing an equation for f−1(x).
2
Finding an inverse formula
When the answer choices are equations rather than numbers, we need the full formula for f−1(x). For a linear rule like f(x)=32x−6, isolating the input reverses the steps for you. The harder case is a rational function like f(x)=x−2x+5, where the variable shows up in both the numerator and the denominator.
Finding an inverse formula
f−1(x)f(x)=32x−6
f−1(x)=?32x−6
Text solution
Swap x and y and clear the denominatorMultiplying both sides by (y−2) removes the fraction so both y-terms sit on one line.
xx(y−2)xy−2x=y−2y+5=y+5=y+5
Collect the y-terms on one sideMoving every term with y to the left and every term without y to the right gathers our target variable in one place.
xy−y=2x+5
Factor out y and dividePulling y to the front turns the two y-terms into a single y that we can isolate.
y(x−1)y=2x+5=x−12x+5
Writing the result in function notation gives f−1(x)=x−12x+5.
3
Checking if two functions are inverses
Sometimes a question gives two functions, such as f(x)=52x−8 and g(x)=25x+8, and asks whether they are inverses of each other. Eyeballing opposite operations isn't enough: 3x+6 and 31x−6 use opposite operations in the wrong order, and putting the second into the first simplifies to x−12. Feeding the output of one function straight into the other has to bring back plain x.
Checking if two functions are inverses
g(x)f(x)=3x+631x−6
g(x)=31x−6
Are f and g inverses?
Text solution
Substitute g(x) into f(x) and simplifyEach operation cancels from the inside out until only x remains.
f(g(x))=52(25x+8)−8=55x+8−8=55x=x
Check the reverse order g(f(x))Composing the other way confirms the cancellation works in both directions.
g(f(x))=25(52x−8)+8=22x−8+8=x
Both compositions simplify to x, proving f and g undo each other. On multiple-choice questions, plugging a test input like x=2 into f and feeding that output into g rules out wrong pairs quickly. Just avoid 0 and 1, which can hide order mistakes.
4
Inverses in word problems, tables and graphs
Swapping input and output also lets us read inverses from real-world formulas, tables, and graphs, and it shows when a graph can't be undone unless we restrict its inputs first.
Inverses in word problems, tables and graphs
C(m)=3m+5
C is the cost in dollarsof a taxi ride for m miles
What doesC−1(20)=5 mean?
In a word problem like C(m)=3m+5 (miles m in, dollars C out), keep each letter attached to its unit instead of swapping letters. So C−1(20)=5 means a $20 ride covers 5 miles, and solving directly for m gives m=3C−5. In a table, read f−1(4) right to left: find 4 in the output column and go back to its input.
If every horizontal line hits a graph at most once, the function is one-to-one: each output comes from just one input. When we invert a square-root function like f(x)=x−3, we keep track of its outputs so we don't accidentally include the left half of the parabola, which f never produces.
Text solution
Note the outputs of f before squaringBecause a square root is never negative, f only produces outputs y≥0 (from inputs x≥3).
y=x−3(x≥3,y≥0)
Swap and undo the root while carrying the restriction acrossSquaring isolates y, and f's outputs y≥0 become f−1's allowed inputs x≥0.
x=y−3⟹y=x2+3
So f−1(x)=x2+3 for x≥0, matching only the right half of the parabola.
Each point (a,b) on f(x)=x+2 flips across the line y=x to (b,a) on f−1(x)=x2−2. The point (2,2) sits on y=x, so it stays put. And since f starts at (−2,0),f−1 starts at (0,−2), with inputs restricted to x≥0.
Swap the input and output of every point on a graph, and the whole graph flips over the diagonal onto its inverse.
5
Domain and range from an equation
Tracking what goes into a function and what comes out gives two sets: the domain is all allowed inputs x, and the range is all possible outputs y. Given an equation, we want to find both, such as the domain of f(x)=x−45 and the range of f(x)=x2−6x+5. We'll do it by looking at the pieces of the formula (fractions, roots, squares) rather than testing random numbers.
Domain and range from an equation
Domainf(x)=x2−9x+7
Domain=?x2−9x+7
Text solution
Exclude zero denominators and negative values inside even roots for the domainIn f(x)=x−45, the square root needs x−4≥0, and because the root sits in the denominator, we drop the "or equal to" so we never divide by 0.
x−4>0⟹x>4
Locate the vertex to find a standard-form parabola's lowest or highest outputFor f(x)=x2−6x+5, find the vertex's x-coordinate with −2ab and plug it in to get the minimum height.
x⟹f(3)=26=3=32−6(3)+5=−4
So x−45 has domain x>4, and because x2−6x+5 opens upward from (3,−4), its range is y≥−4. When an expression is already built around a square, square root, or absolute value, that piece is never less than 0. That gives (x−3)2+4,x−3+4, and ∣x−3∣+4 the range y≥4, while −2(x−3)2+4 has the range y≤4. A fraction with a nonzero constant numerator can never equal 0, which gives x−52+3 the range y=3.
6
Domain and range from a graph
Sometimes a function comes as a graph, like the continuous curve that runs from an open circle at (−3,2), through (−1,5) and (2,−4), to a solid dot at (6,1). The domain is how far it stretches left to right, along the x-axis, and the range is how far it stretches up and down, along the y-axis.
Domain and range from a graph
In interval notation, a round parenthesis `(` or `)` leaves an endpoint out, like an open circle. A square bracket `[` or `]` keeps it in, like a solid point on the curve. A round parenthesis always goes next to −∞ or ∞, since infinity is never reached.
Text solution
Read left to right for the domainThe curve starts at an open circle at x=−3 and runs without breaks to a solid dot at x=6.
−3<x≤6or(−3,6]
Read lowest height to highest height for the rangeLooking past the endpoints (−3,2) and (6,1), the curve dips to (2,−4) and rises to (−1,5).
−4≤y≤5or[−4,5]
Both −4 and 5 get square brackets because the solid curve passes right through those turning points.
On this curve from (−3,2) to (6,1), moving a turning point in the middle up or down changes the range but not the domain (−3,6]. If that turning point ends up below y=2 but not below the low point at y=−4, the open circle at (−3,2) becomes the top of the range, which is then [−4,2).
Move the middle point and the domain never changes, but the range follows the graph's lowest and highest points.
7
Quadratic inequalities
We solve a linear inequality like 6−2x≥0 by getting x alone. Now we want to solve a quadratic inequality like x2−2x−8<0. Here taking a plain square root fails, because squaring a negative number makes it positive.
Quadratic inequalities
Text solution
Set one side to 0 and factor for the rootsThe roots mark the exact inputs where the parabola crosses the horizontal axis.
(x−4)(x+2)⟹x=0=−2 and x=4
Read where the upward parabola sits below the axisBecause the x2 term is positive, the curve dips below 0 strictly between its two roots.
−2<x<4or(−2,4)
So x2−2x−8<0 holds on (−2,4); flipping the inequality to x2−2x−8≥0 picks the two outer regions (−∞,−2]∪[4,∞), where ∪ means "or." When the x2 term starts negative, as in −x2+6x−5>0, multiplying through by −1 and flipping the inequality sign turns it into x2−6x+5<0, so you can factor an upward parabola the same way.
Take the family y=a(x+2)(x−4), whose roots stay fixed at −2 and 4. When a>0, the solution to a(x+2)(x−4)<0 is between the roots, (−2,4). When a<0, the parabola flips upside down and the solution moves outside the roots, to (−∞,−2)∪(4,∞).
The parabola always crosses at the same two roots, and it dips below zero between them when a is positive and outside them when a is negative.
8
Piecewise functions and their graphs
Every function so far has used one formula for its whole domain. A piecewise function splits its domain at a boundary, so different inputs follow different rules, such as
f(x)={x2+1,3x−4,if x<2if x≥2
Here we want to evaluate nested inputs like f(f(1)) and read what happens on the graph right at the border x=2.
Piecewise functions and their graphs
f(x)={x2+1,3x−4,if x<2if x≥2
f(x)f(2)=?{x2+1,3x−4,if x<2if x≥2
Text solution
Check the condition for the inner input x=1Since 1<2, only the top equation applies.
f(1)=12+1=2
Re-check the conditions for the new input x=2Because 2 satisfies x≥2 (the piece whose ≥ includes 2), the rule switches to the bottom equation.
f(f(1))=f(2)=3(2)−4=2
So f(f(1))=2. On a graph, the two pieces can meet at a corner at the border (like ∣x−3∣ at x=3) or jump from an open circle to a solid dot, but there can never be two solid dots on the same vertical line.
Each input x uses only one rule of f(x). Inputs like 1.9 and 1.95 follow the left parabola up toward the open circle at (2,5). Right at x=2 the rule switches, so the output jumps to the solid dot at (2,2).
Each input uses just one rule: below 2 the outputs ride the parabola up to the open circle, and at 2 the rule switches, so the output drops down to the solid dot.
9
Piecewise word problems
Word problems create piecewise rules whenever a rate changes past a cutoff. For example, find the total cost C for parking h>3 hours when a garage charges a flat $15 for up to 3 hours plus $4 for each hour after the first 3 hours.
Piecewise word problems
Text solution
Subtract the threshold to count only the extra hoursBecause the flat $15 already pays for the first 3 hours, the $4 rate applies only to the remaining (h−3) hours.
C=15+4(h−3)
Distribute and combine constantsSimplifying puts the equation in the slope-intercept form answer choices often use.
C=15+4h−12=4h+3
Testing one number above the cutoff, like h=4(1 extra hour costs $15+$4=$19), confirms 4(4)+3=19 and immediately rules out the choice C=15+4h, which would give 31.
10
Direct and inverse variation
Instead of switching rules at a cutoff, variation asks how one variable reacts when you scale another. Don't mix up the two uses of "inverse": inverse variation puts x in the denominator, as a reciprocal (y=x12), while the inverse function of y=2x is y=2x. Let's use that scaling relationship to find y when x=12 if y varies inversely with x and y=6 when x=8.
Direct and inverse variation
Text solution
Multiply the given pair to find the constant product kIn inverse variation (y=xk), x⋅y stays equal to the same number for every pair.
x⋅y=8⋅6=48
Set the new pair's product equal to 48Keeping the product locked finds the new output in one step without setting up fractions.
12⋅y=48⟹y=4
So y=4 when x=12. Notice why a line like y=3x+5 is not direct variation: direct variation y=kx must pass through (0,0), with nothing added or subtracted, so that doubling x doubles y.
On the curve y=x24 in the first quadrant, each point (x,y) makes a rectangle with the axes, and its area x⋅y is always 24. Doubling x cuts y in half. Sliding toward either axis stretches the rectangle, but the curve never touches x=0 or y=0.
Every point on this curve makes a rectangle with the axes, and that rectangle's area is always 24.
11
Combined variation and scaling
Finally, we want to turn word descriptions with several variables into formulas. "Directly" goes in the numerator and "inversely" in the denominator, with k out front, as in z=ykx2 ("jointly" puts both on top, as in z=kxy). Then we find how scaling the inputs changes the output, such as doubling m and tripling d in F=d2km.
Combined variation and scaling
Text solution
Substitute the scaled inputs inside parenthesesParentheses around 3d make sure the scale factor 3 gets squared along with d.
Fnew=(3d)2k(2m)=9d2k⋅2m
Pull the numeric factors out in front of the original formulaRegrouping d2km shows the exact multiplier on the original F.
Fnew=92(d2km)=92F
So F becomes 92 of its original value (322=92). The idea also runs backward: if y=kx2 becomes 16 times as large, then (factor)2=16, so x was multiplied by 4.
Key concepts
An inverse f−1 swaps inputs and outputs (it's never f(x)1). When a question asks for a single value like f−1(12) for f(x)=x3+x+2, don't try to find an inverse formula: set x3+x+2=12(x=2). Swap and isolate when the choices are equations, clearing the denominator and factoring y out if it appears twice (x=y−2y+5⟹y(x−1)=2x+5). To check a given pair, compose: both f(g(x)) and g(f(x)) must equal x. In word problems like C(m)=3m+5, never swap real-world letters; on roots like f(x)=x−3, restrict f−1(x)=x2+3 to x≥0 so its inputs match f's outputs.
For a formula's domain, start with all real numbers and exclude only zero denominators and negative values inside even roots, dropping the "or equal to" when an even root sits in the denominator (x−45⟹x>4). Read range from the true lowest output to the highest: pieces that are never negative give (x−3)2+4⟹y≥4, constant-numerator fractions give x−52+3⟹y=3, and on a graph you use the curve's highest and lowest points rather than its endpoints. When an inequality has an x2 term, don't isolate x as in a linear inequality: move everything so one side is 0, make the x2 term positive, and read the upward parabola. For (x−4)(x+2),<0 lies between the roots on (−2,4) and ≥0 lies outside them on (−∞,−2]∪[4,∞).
In a piecewise function, check which condition the input meets first so it goes into only one rule. In cutoff word problems (a $15 flat fee for the first 3 hours, with h>3), apply the $4 hourly rate only to (h−3), never to all h hours. Keep f−1 separate from variation: direct variation y=kx passes through (0,0) (unlike y=3x+5) and locks xy=k, inverse variation locks x⋅y=k, and combined formulas like F=d2km scale by plugging each variable's factor directly into its power (322=92).
12
Practice
1
The function C(w)=2.5w+4 gives the shipping cost C, in dollars, for a package weighing w pounds. Which statement best interprets C−1(19)=6 in this context?
What unit goes into C(w) and what unit comes out, and how does C−1 trade those two roles?
C(w) takes a weight in pounds as input and gives a shipping cost in dollars as output. C−1 swaps input and output while each number keeps its unit. Reading C−1(19)=6 in the original weight-in, dollars-out order treats 19 as pounds and 6 as dollars, giving A (and treating −1 as a reciprocal gives D). Here the input 19 is the cost in dollars and the output 6 is the weight in pounds: B. A package that costs $19 to ship weighs 6 pounds.
2
If f(x)=x3+3x−9, what is the value of f−1(5)?
Is 5 an input x going into f, or the output coming out of f(x)?
f−1(5) asks which input x produces an output of 5 from f. Plugging 5 straight into x instead computes f(5)=53+3(5)−9=131, giving D (and taking f(5)1 gives B). Set the function equal to 5:
x3+3x−9=5⟹x3+3x=14
Testing x=2 gives 23+3(2)=8+6=14, so the answer is C. 2.
Desmos: Graph `y = x^3 + 3x - 9` and `y = 5`, click their intersection at (2,5), and read the x-coordinate, 2 (check that the curve always rises, so no other crossings hide off screen). Spotting x=2 by hand takes a few seconds, but Desmos is faster whenever the solution isn't an obvious small integer.
3
In which set of (x,y) ordered pairs does y vary inversely with x?
In inverse variation, which operation on x and y gives the same constant for every pair?
Inverse variation means x⋅y=k. Checking for a constant quotient xy=3 tests direct variation instead and picks B (while checking for a constant sum x+y=18 picks C). Multiplying the pairs in the first set gives 2⋅18=36,3⋅12=36, and 6⋅6=36, so every pair has the constant product 36:A. (2,18),(3,12),(6,6).
4
For the piecewise function f(x)={x2−1,2x−1,if x<3if x≥3, what is the value of f(f(−2))?
Work from the inside out, and re-check the boundary condition before evaluating the outer f.
Start inside with f(−2): since −2<3, use the top rule to get (−2)2−1=3 (stopping after one step gives A). Now find f(3) by checking the conditions again: 3 belongs to x≥3, because ≥ includes 3. Reusing the top rule x2−1 on the border input 3 computes 32−1=8, giving C. Plugging 3 into 2x−1 gives 2(3)−1=5:B. 5.
5
Which of the following pairs of functions f(x) and g(x) are inverses of each other?
Undo the three operations of f(x) in reverse order, or compose f(g(x)) to see which pair cancels down to x.
In A, g divides by 4 before adding 12, applying the opposite operations in the wrong order, so f(g(x))=4(41x+12)−12=x+36=x (and B takes the reciprocal f(x)1). To undo f(x)=54x−12, multiply by 5, add 12 (keeping −12 instead of adding gives C), and divide by 4 to get g(x)=45x+12, where f(g(x))=54(45x+12)−12=x and g(f(x))=x:D. f(x)=54x−12 and g(x)=45x+12.
Desmos: Type `f(x) = (4x - 12)/5` and `g(x) = (5x + 12)/4`, then graph `y = f(g(x))` and `y = x`; the two lines lie directly on top of each other for every x. Reversing three linear operations (or testing x=2) by hand is faster on the test than typing in several function pairs.
6
In the coordinate plane, the continuous graph of y=f(x) starts at an open circle at (−4,3), rises to a highest point at (−1,6), falls to a lowest point at (3,−2), and ends at a solid dot at (5,1). What is the range of f?
Does range measure x-values or y-values, and do the curve's endpoints determine its highest and lowest heights?
Range reads y-values from bottom to top. Reading x-values left to right gives the domain (−4,5] (A), and looking only at the two endpoints (5,1) and (−4,3) gives [1,3) (B). The curve's lowest height is y=−2 at (3,−2) and its highest height is y=6 at (−1,6), and because the continuous curve passes solidly through both turning points (unlike D), both ends take square brackets: C. [−2,6].
7
What is the domain of f(x)=10−2xx+3?
What condition must 10−2x satisfy when it sits inside an even root that is also the denominator?
Zero in the numerator at x=−3 is completely fine (so kicking out −3 as in D is unnecessary), but the square root in the denominator can't be negative or zero. Keeping the "or equal to" from 10−2x≥0 allows dividing by 0 at x=5 and gives B. Solve 10−2x>0 by subtracting 10 to get −2x>−10, then dividing by −2 and flipping the sign (forgetting to flip gives C) to get x<5:A. (−∞,5).
Desmos: Type `f(x) = (x + 3)/sqrt(10 - 2x)` and `f(5)` on the next line. The graph runs unbroken across x=−3 for all x<5, and `f(5) = undefined` confirms the round parenthesis at 5 (look closely near x=5, since the curve shoots upward instead of showing an open circle). Solving 10−2x>0 by hand is faster, with `f(5)` as a quick check if needed.
8
A recording studio charges a flat fee of $200 for up to 5 hours of studio time, plus $30 for each hour beyond the first 5 hours. Which equation gives the total charge C, in dollars, for renting the studio for h hours, where h>5?
For h>5, how many hours are past the first 5 hours already covered by the $200 fee?
Because $200 covers the first 5 hours, only the remaining (h−5) hours are charged at $30 per hour. Multiplying 30 by all h hours charges the first 5 hours twice and gives B. Distribute and simplify:
C=200+30(h−5)=200+30h−150=30h+50
(Checking h=6 gives 200+30=230, matching 30(6)+50=230): D. C=30h+50.
9
Which interval represents all values of x that satisfy −x2+3x+10≤0?
Multiply through by −1 first to make the x2 term positive. What happens to the inequality sign?
Multiply both sides by −1 and flip ≤ to ≥ to get x2−3x−10≥0. Forgetting to flip the inequality sign (or treating −x2 like an upward parabola) picks the region between the roots, giving A. Factor into (x−5)(x+2)≥0 for roots at x=−2 and x=5 (reversing the factor signs gives D). With a positive x2 term and ≥0, take the outer intervals, with square brackets because ≥ includes the roots (not parentheses as in C): B. (−∞,−2]∪[5,∞).
Desmos: Graph `y = -x^2 + 3x + 10`, click the x-intercepts at (−2,0) and (5,0), and read where the downward parabola sits on or below the x-axis, which is outside the roots. The graph won't tell you about brackets, so remember that `<=` includes the roots themselves and use square brackets. Both routes take about 15 seconds, and Desmos avoids sign-flip and factoring slips.
10
Let f(x)=x−2+4 for x≥2. Which of the following defines the inverse function f−1(x) and gives its domain?
Before solving for f−1(x), what is the lowest output y that can come out of x−2+4?
Since x−2≥0, the outputs of f are y≥4, which become the domain x≥4 of f−1. Copying f's old domain x≥2 gives B, and dropping the restriction altogether gives A. Swapping x and y gives x=y−2+4⟹x−4=y−2⟹y=(x−4)2+2:D. f−1(x)=(x−4)2+2 for x≥4.
Desmos: Graph `y = sqrt(x - 2) + 4`, `y = x`, and `y = (x - 4)^2 + 2 {x >= 4}`. Without `{x >= 4}`, the left arm of the parabola appears, and it has no matching piece on f; with `{x >= 4}`, the curve starts at (4,2), the mirror image of (2,4) across `y = x`. Finding the minimum output 0+4=4 and undoing the root is faster by hand.
11
For all x=2, let f(x)=x−23x+4. For all x=3, what is f−1(x)?
Swap x and y, clear the denominator, and move every term containing y to the same side.
Swap x and y to get x=y−23y+4 (just flipping the fraction upside down gives D), clear the fraction to get xy−2x=3y+4, then subtract 3y and add 2x. Forgetting to flip the sign on 3y writes xy+3y=2x+4 and leads to B. Factoring y(x−3)=2x+4 and dividing gives A. x−32x+4.
Desmos: Type `f(x) = (3x + 4)/(x - 2)` and `g(x) = (2x + 4)/(x - 3)`, then check that `y = f(g(x))` lies right on top of `y = x` (ignoring the single missing point at x=3). Either the four-step algebra or testing one pair by hand (f(4)=216=8, and only A gives 8−32(8)+4=4) is faster than typing rational choices into Desmos.
12
For positive quantities P,v, and r,P varies directly with the square of v and inversely with r. If r is multiplied by 3, by what factor must v be multiplied so that P becomes 12 times as great?
Write the scale-factor equation from P=rkv2, keeping the square on v's unknown factor.
From P=rkv2, plug the scale factors into each variable's spot:
12=3(factor)2
Multiplying by 3 gives (factor)2=36. Dividing 12 by 3 instead gives 4, which leads to 2 in A, or to B if you also forget the square root. Stopping at 36 forgets that v's factor is squared in the formula, giving D. Taking the positive square root gives C. 6.