Use boundaries and graphs to find positive or negative outputs
Quick review (2 minutes)
Picture a road crossing sea level.
Find boundaries by solving the corresponding equality. Test one input inside each interval between boundaries, or compare graph heights. For f(x) < 0, choose the portions below the x-axis; for f(x) > 0, choose those above. Negative multiplication or division flips every comparison sign. Allow a boundary only when its original comparison permits equality.
Decide which heights to compare, such as f(x) and 0, or |x − 5| and 4.
Set the two heights equal and solve. This finds every input at which the graph reaches the comparison height. Substitute those inputs back to confirm the crossings.
List the open intervals separated by those boundary inputs. Open means the boundary itself is not part of the interval being tested.
Pick one test point inside each interval and substitute it into the original comparison.
Keep every interval whose test point passes. Include a boundary only if substituting it into the original comparison passes too.
State the allowed inputs as an inequality, interval, or set-builder condition. If more than one interval works, use 'or' and ∪.
For f(x) = −|4x − 5| + 3, find where f(x) < 0.
x < − or x >
Interval: (−∞, −) ∪ (, ∞)
Set-builder: {x : x < − or x > }
Multiplying by −2 and keeping the less than sign would select the center, where this function is positive. Flip the sign immediately and confirm your answer with an actual output from each chosen interval.
Decide which heights to compare, such as f(x) and 0, or |x − 5| and 4.
Set the two heights equal and solve. This finds every input at which the graph reaches the comparison height. Substitute those inputs back to confirm the crossings.
List the open intervals separated by those boundary inputs. Open means the boundary itself is not part of the interval being tested.
Pick one test point inside each interval and substitute it into the original comparison.
Keep every interval whose test point passes. Include a boundary only if substituting it into the original comparison passes too.
State the allowed inputs as an inequality, interval, or set-builder condition. If more than one interval works, use 'or' and ∪.
absolute value
The absolute value of a number is its distance from zero. It keeps the size without the direction, so it is never negative.
distance
Distance tells how far apart two places or numbers are. On a number line, the distance from A to B is |A − B|.
origin
The origin is zero on a number line or (0, 0) where the two coordinate axes meet. It is the shared starting point for coordinates.
input
An input is a value supplied to a function. On its graph, the input is the horizontal coordinate x.
output
An output is the value a function returns for an input. On its graph, the output is the vertical coordinate y = f(x).
graph
A graph is a picture of input-output pairs. Each point (x, y) shows the output y that belongs to the input x.
vertex
For an absolute value V, the vertex is its corner point. In a|x − h| + k with a ≠ 0, it is (h, k).
vertical shift
A vertical shift moves every graph point up or down by the same amount. Adding k outside the rule moves outputs up by k when k is positive.
reflection
A reflection makes a mirror image across a line. Multiplying all outputs by −1 reflects a graph across the x-axis.
domain
The domain is the set of inputs a function allows. Every real input is allowed in a full absolute value V.
solution
A solution is an input value that makes the original equation or inequality true. Always check it in the original statement.
zero
A zero of a function is an input where its output is 0. On the graph, that input locates an x-intercept.
x-intercept
An x-intercept is a graph point on the x-axis, where y = 0. Its x-coordinate is a zero of the function.
interval
An interval is one connected stretch of the number line. It contains every number between its ends, with endpoints included or excluded as stated.
boundary point
A boundary point separates input regions that may behave differently. Solve the corresponding equality to find boundaries, then check which regions and boundaries satisfy the inequality.
test point
A test point is one chosen input used to check whether a region satisfies an inequality. For these V graphs without jumps, test each region between equality boundaries.
set-builder notation
Set-builder notation names a set by a condition. In {x : condition} or {x | condition}, the separator means such that; here x is real.
absolute value bars
Absolute value bars are the pair of vertical marks around an expression. Compute the expression inside first, then take its distance from zero.
x-axis
The x-axis is the horizontal coordinate line. Its points have y = 0, and it records the inputs of a function graph.
horizontal axis
The horizontal axis is the left-to-right coordinate line, also called the x-axis. Inputs are read along it.
endpoint
An endpoint is a numbered end of an interval. A closed (filled) dot or bracket includes it; an open (hollow) dot or parenthesis excludes it.
inequality
An inequality compares values. The signs < and > exclude equality; the signs ≤ and ≥ allow it. It states which value is smaller or larger.
isolate
To isolate an expression means to get it alone on one side by undoing outside operations. Preserve the equation or inequality while doing so.
graphical approach
A graphical approach uses a graph to read intersections or regions above and below a comparison line. Exact boundaries may require algebra when the picture is unclear.
algebraic approach
An algebraic approach uses equivalent equations or inequalities to find exact answers. For absolute value, isolate the bars and translate the distance condition into cases or bounds.
nonnegative
Nonnegative means zero or positive. It excludes every negative number.
opposite
The opposite of a number is equally far from zero on the other side. The opposite of 0 is 0.
strict inequality
A strict inequality uses < or > and excludes equality.
inclusive inequality
An inclusive inequality uses ≤ or ≥ and allows equality.
expression
An expression is a calculation made of numbers, letters, and operations. It does not by itself claim an equality.
1 In plain words
Picture a road crossing sea level. To find where it lies underwater, mark where it meets sea level. Those crossings separate the road into stretches. Then inspect a spot in each stretch to see whether the road is above or below. A boundary point plays that separating role in an inequality. A test point is a sample input in a stretch. A V has connected arms with no jumps, so it cannot move from above a comparison height to below it without crossing that height. The same method tells a shop which prices leave money after costs and which lose money. Positive output lies above zero. Negative output lies below zero.
2 Picture it
Reminder
Reminder: Negative fractions, Flipping inequalities, Set-builder notation, Points on the axes
- Negative fractions. − × 9 = −, and 3 = , so − + = −.
- Flipping inequalities. Multiplying both sides of −|A| < −3 by −2 gives |A| > 6.
- Set-builder notation. {x | x < 1} and {x : x < 1} both mean all real x such that x < 1. One divider is different from two absolute value bars.
- Points on the axes. An x-intercept has output 0. Its input is the boundary number used in the interval answer.
3 Why
For a V and a horizontal line, their height difference has no jumps or breaks. This is called continuous. If that difference changed from positive to negative within an interval, it would have to pass through zero there. Solving their equality finds all such zero points first. With those points removed, a test point reveals the sign on each remaining interval. The graphical approach compares heights; the algebraic approach locates exact boundaries. A negative multiplier flips the comparison because it reverses number order. A downward V is negative outside its crossings because its arms descend away from its top.
4 The rule
Find boundaries by solving the corresponding equality.
Test one input inside each interval between boundaries, or compare graph heights. For f(x) < 0, choose the portions below the x-axis; for f(x) > 0, choose those above. Negative multiplication or division flips every comparison sign. Allow a boundary only when its original comparison permits equality.
The same idea, five ways
f of x is less than zero
Find the inputs whose outputs are negative, so their graph points lie below the x-axis.
- f(x) < 0
- x < − or x >
- {x | x < − or x > }
- {x : x < − or x > }
Find the stretches of a road that lie below sea level.
The same idea, other ways
Zero height is sea level. Above it means positive output; below it means negative output. The crossing inputs mark where the sign can change.
Read a test input from the top row and its output directly underneath. A negative output selects that input's whole interval once every equality boundary has been found.
Hold the input fixed, then compare graph heights vertically. A V below the line y = 4 has an output smaller than 4. Its crossing inputs are where the heights match.
| Interval for x | Test input x | Inside 4x − 5 | Output f(x) | Passes f(x) < 0? |
|---|---|---|---|---|
| Yes | ||||
| 1 | No | |||
| 3 | 7 | Yes |
Part 1: Boundary and test-point method
Fenceposts divide a road into stretches. Solve the equality first to place every fencepost, then sample one input in each open stretch. The samples tell which stretches pass because these connected arms cannot cross the comparison height without another equality point.
- For |x − 5| < 4, solve the equality |x − 5| = 4 to find boundaries 1 and 9.
- The three open intervals are (−∞, 1), (1, 9), and (9, ∞).
- The test inputs 0, 6, and 11 are shown in columns of the distance table.
- For |x − 5| ≤ 4, the same interior interval works and its two boundaries are included.
Reminder
Reminder: Reading a table
- Reading a table. An input is in the top row. Its output is directly beneath it in the same column.
Worked example
Read the three interval tests
Use test inputs 0, 6, and 11 to solve |x − 5| < 4.
What it asks. Use one sample in each interval to find where the distance from five is smaller than four.
Show the steps and the answer
The plan. Find the equality boundaries, read the sample columns, then keep only intervals with distance below four.
- Plan. Find the equality boundaries, read the sample columns, then keep only intervals with distance below four.
- Equality finds the boundaries; it does not decide which side passes.
- A strict comparison excludes the boundary itself.
- Set to find equality boundaries. Write or .A comparison can switch sides only where the V reaches height 4, and inside values −4 and 4 reach that height.
- Add 5 in each equation: or . Check .This finds and confirms the two boundary inputs.
- Test the left interval using : . Read 5 in the column under 0.0 lies below 1, and 5 is greater than 4, so that interval fails.
- Test the middle using : . Read 1 in the column under 6.6 lies between 1 and 9, and 1 is smaller than 4, so the middle interval passes.
- Test the right interval using : . Read 6 in the column under 11.11 lies above 9, and 6 is greater than 4, so that interval fails.
- Keep (1, 9) and exclude the boundaries.Only the middle test passes, and the boundary distance equals 4 rather than being smaller than 4.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Pick test inputs with short arithmetic, but make sure each is inside its own interval.
Part 2: Graphical comparison
Compare two road heights at the same horizontal position. The lower graph has the smaller output. Equality means the two heights meet, so inclusive comparisons keep their crossing inputs. A drawing shows the shape of the solution, while algebra supplies exact fractions when a screen is unclear.
- Graphical approach: read relative heights.
- Algebraic approach: solve the distance comparison exactly.
- Use exact algebra for fractions that a sketch cannot locate precisely.
Reminder
Reminder: Input and output
- Input and output. At x = 6, the V has output 1 and the horizontal line has output 4, so 1 < 4.
Worked example
At or below a comparison height
Where is y = |x − 5| at or below y = 4?
What it asks. Find where the V's height is no higher than the flat height four.
Show the steps and the answer
The plan. Find the crossing inputs and read where the V lies at or below the comparison line.
- Plan. Find the crossing inputs and read where the V lies at or below the comparison line.
- Both heights must be compared at the same input.
- At or below includes the crossings.
- Find crossings from : or , so adding 5 gives or .This locates every input at which the two heights are equal.
- Substitute the crossing inputs: .Both proposed boundaries really lie on the comparison line.
- Read the picture between the crossings. At ; the rising arms remain below the line until they reach 1 and 9.The V's lowest point lies in the middle and its two straight arms reach height 4 only at the boundaries.
- Keep , giving [1, 9].At or below includes equality at both crossings.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use a graph for the regions and algebra for exact boundary fractions.
Part 3: Positive and negative function outputs
Sea level separates above from below. For a graph, the horizontal axis has output zero. Positive output is above that axis and negative output is below it. A vertical reflection turns an upward V upside down, so its distant arms can be negative even when its middle is positive.
- f(x) > 0 means graph above the x-axis.
- f(x) < 0 means graph below the x-axis.
- f(x) = 0 is a boundary for these strict sign questions.
Reminder
Reminder: Reflection
- Reflection. The outside minus in −|x| takes the opposite after the distance has been measured.
Worked example
Both signs of a reflected graph
Where is f(x) = −|x| + 2 positive, and where is it negative?
What it asks. Find the intervals where the reflected V has positive height and the intervals where it has negative height.
Show the steps and the answer
The plan. Find both zero inputs and test a sample in each of the three intervals.
- Plan. Find both zero inputs and test a sample in each of the three intervals.
- A zero separates regions; it is not positive or negative itself.
- Use zero as a middle sample and −3 and 3 as outside samples.
- Set to find the crossings. Subtract 2: . Multiply by : .A crossing has output zero. Undoing the outside operations exposes its exact distance.
- The inside x equals or 2. Check .Both positions have distance 2, and substitution confirms both crossing inputs.
- Test : . Read that negative output under .−3 is in the left interval and its output is below zero.
- Test : . Read the positive output under 0.0 is in the middle interval and its output is above zero.
- Test : . Read the negative output under 3.3 is in the right interval and its output is below zero.
- Select the middle for positive output and the two outside intervals for negative output. Exclude both zeros in both answers.The sample signs select their intervals, and zero fails either strict sign question.
- Positive: (−2, 2).
- Negative: (−∞, −2) ∪ (2, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Read positive and negative vertically, above and below the horizontal axis.
Part 4: Prices that make a shop lose money
A shop can sell too cheaply or price an item so high that sales disappear. A model of its profit can rise toward one best price and fall on either side. Profit means money left after costs. A negative profit is a loss. In this model, finding negative outputs tells you which prices lose money.
- P(x) = −2|x − 50| + 40 models a best profit of 40 at price 50.
- P(x) < 0 asks for loss regions; it does not ask for negative prices.
Reminder
Reminder: Domain
- Domain. The domain is the permitted input set. Here it is x ≥ 0, so a negative price is not allowed.
Worked example
Loss on either side of the best price
A shop models profit by P(x) = −2|x − 50| + 40 for nonnegative prices x in dollars. Which prices make its profit negative?
What it asks. Find the allowed prices at which the shop loses money.
Show the steps and the answer
The plan. Solve the negative output comparison, then keep only prices zero or more because the model restricts the inputs.
- Plan. Solve the negative output comparison, then keep only prices zero or more because the model restricts the inputs.
- Subtract forty first.
- Dividing by negative two flips the sign.
- Keep only algebra answers also allowed by the stated nonnegative price domain.
- Write and subtract 40: .A negative profit is a loss, and subtraction removes the outside addition.
- Divide by : .Negative division reverses the sign and leaves the distance alone.
- Write or . Add 50: x < 30 or x > 70.Distance greater than 20 accepts either far side. Adding 50 finds the price limits.
- Check the boundaries: .These prices cover costs exactly and do not make a negative profit.
- Keep or x > 70, giving .The model permits only nonnegative prices, so drop the negative inputs from the first algebra interval.
- 0 ≤ x < 30 or x > 70
- Price intervals: [0, 30) ∪ (70, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- After solving a word problem, keep the answer inside the input restrictions stated in the question.
5 How
- Decide which heights to compare, such as f(x) and 0, or |x − 5| and 4.
- Set the two heights equal and solve. This finds every input at which the graph reaches the comparison height. Substitute those inputs back to confirm the crossings.
- List the open intervals separated by those boundary inputs. Open means the boundary itself is not part of the interval being tested.
- Pick one test point inside each interval and substitute it into the original comparison.
- Keep every interval whose test point passes. Include a boundary only if substituting it into the original comparison passes too.
- State the allowed inputs as an inequality, interval, or set-builder condition. If more than one interval works, use 'or' and ∪.
Find positive or negative output regions
- Decide which heights to compare, such as f(x) and 0, or |x − 5| and 4.
- Set the two heights equal and solve. This finds every input at which the graph reaches the comparison height. Substitute those inputs back to confirm the crossings.
- List the open intervals separated by those boundary inputs. Open means the boundary itself is not part of the interval being tested.
- Pick one test point inside each interval and substitute it into the original comparison.
- Keep every interval whose test point passes. Include a boundary only if substituting it into the original comparison passes too.
- State the allowed inputs as an inequality, interval, or set-builder condition. If more than one interval works, use 'or' and ∪.
6 Worked example
Worked example
A reflected function below zero
For f(x) = −|4x − 5| + 3, find where f(x) < 0.
What it asks. Find every input whose output from this downward V is below zero.
Show the steps and the answer
The plan. Get the bars alone, find the equality crossings, test the three intervals, and exclude the zeros.
- Plan. Get the bars alone, find the equality crossings, test the three intervals, and exclude the zeros.
- Subtract three before multiplying by negative two.
- The negative multiplier flips the less than sign.
- The first and third output columns are negative.
- Subtract 3 from : .This undoes the outside vertical shift before comparing the distance.
- Multiply both sides by : .−2 × (−) = 1 and −2 × (−3) = 6. The negative multiplier flips the comparison.
- To find the crossing boundaries, solve the equality .At distance 6 the original output is − × 6 + 3 = 0, exactly the comparison height.
- Write or .Only inside values −6 and 6 give distance 6.
- Add 5: or . Divide by 4: or .These operations undo the inside shift and multiplier to find both crossing inputs.
- Check the crossings: , and . Each gives .Substitution confirms that both boundary inputs actually meet the horizontal axis.
- Separate the inputs into , and .With every zero found, an output cannot change sign inside one of these intervals without another crossing.
- Left test : , so the inside table's column under holds . Its distance is 9. Then .Multiplying by negative one half gives −, and writing 3 as lets the halves subtract. The negative result selects the left interval.
- Middle test : . Then . Read the positive output in the column under 1.1 is between the exact boundaries, and its positive output rejects that entire middle interval.
- Right test : . Then . Read the negative output in the column under 3.3 is beyond the right boundary, and the negative result selects the right interval.
- Find the corner by setting : add 5 and divide by 4 to obtain . Substitute: .Zero inside identifies the V's turning input. Substitution gives its height and explains the graph's corner (, 3).
- Moving one unit farther from the corner changes by 4. The height change is .Factoring 4x − 5 = 4(x − ) gives the same function as −2|x − | + 3, so the picture's arms descend two units per step away.
- Keep the two outside intervals and leave their boundary inputs out.The outside tests are negative, while each boundary output equals zero and fails the strict question.
- x < − or x >
- Interval: (−∞, −) ∪ (, ∞)
- Set-builder: {x : x < − or x > }
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
Parent graph above zero
Where is f(x) = |x| positive?
What it asks. Find where the basic distance graph is above zero.
Show the steps and the answer
The plan. Find its only zero and exclude that one input.
- Plan. Find its only zero and exclude that one input.
- Every input other than zero has positive distance.
- The word positive excludes output zero.
- gives .Setting the output to zero finds the only point separating the two positive stretches. Zero distance occurs only at x = 0; substitution gives |0| = 0.
- Every x < 0 and every x > 0 gives positive distance.Every position other than zero has positive distance from the origin.
Rung 2 of 4
Upward V below zero
Where is f(x) = |x − 2| − 3 negative?
What it asks. Find where the upward V lies below the horizontal axis.
Show the steps and the answer
The plan. Find its two crossings and test the middle and both outside intervals.
- Plan. Find its two crossings and test the middle and both outside intervals.
- Set output zero to find boundary inputs.
- The center lies in the middle interval.
- Set |x − 2| − 3 = 0 to find the crossings. Add 3: .Output zero marks the boundaries where the sign can change.
- Write or . Add 2: or .These are the only inside values at distance 3, so solving finds both boundary inputs.
- Check and .Both proposed boundaries really lie on the horizontal axis.
- Read the test columns: , and .The table shows a positive left sample, a negative middle sample, and a positive right sample.
- Keep .Only the middle interval has negative output, and its zero endpoints do not pass the strict comparison.
Rung 3 of 4
Downward V above zero
Where is f(x) = −3|x + 2| + 6 positive?
What it asks. Find inputs making the downward V above zero.
Show the steps and the answer
The plan. Isolate the distance, flip after negative division, and solve the resulting between chain.
- Plan. Isolate the distance, flip after negative division, and solve the resulting between chain.
- Undo the plus six first.
- Negative three outside the bars reverses the comparison.
- Subtract 6 from : .This removes the outside shift before inspecting the distance.
- Divide by : .The negative divisor flips the greater than sign to a less than sign.
- Write .Distance less than two requires both inside limits.
- Subtract 2 everywhere: .This removes the inside addition and identifies every input giving positive output.
Rung 4 of 4
A fractional reflected graph including its zeros
Where is f(x) = −|2x − 6| + 3 at least zero?
What it asks. Find every input making the output zero or positive.
Show the steps and the answer
The plan. Undo the outside shift and negative half, solve between, and include the two crossing inputs.
- Plan. Undo the outside shift and negative half, solve between, and include the two crossing inputs.
- At least zero allows equality.
- Multiplying by negative two flips the sign.
- Keep both ends after solving the between chain.
- Write and subtract 3: .The question compares the entire output with zero, and subtraction removes the shift.
- Multiply by −2: .The multiplier cancels the negative half and reverses the sign, while retaining equality.
- Write .Distance at most six gives a between chain with both boundaries included.
- Add 6 everywhere: .This removes the inside subtraction from all comparisons.
- Divide every part by 2: .The positive divisor isolates the inputs whose outputs are at least zero.
- Write [0, 6].Both endpoint outputs are zero and therefore pass the stated inclusive comparison.
- 0 ≤ x ≤ 6
- Interval: [0, 6]
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- One test point per interval, after every crossing is found.
- Check the test point in the original formula. That catches an incorrect sign flip made while isolating.
- Negative output means below the x-axis. It does not mean a negative input.
7 The trap
Multiplying by −2 and keeping the less than sign would select the center, where this function is positive. Flip the sign immediately and confirm your answer with an actual output from each chosen interval.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.