Solve when the output is given
Suppose a vending machine's receipt says the price was 3 dollars, and you want to know which buttons could have produced that price. You are searching backward from an output to possible inputs. To solve a function equation means find every allowed input that gives the stated output. This differs from evaluation, where the input is already known. A function promises one output for each input, but several inputs may share that output. Your search might find two inputs, one input, or none. Substituting each answer back into the original recipe checks whether it really produces the requested result.
- Equal operations on both sides. p + 3 = 0 becomes p = −3 by subtracting 3 from both sides.
- Factoring. 3 + (−1) = 2 and 3 × (−1) = −3, so + 2p − 3 = (p + 3)(p − 1).
- Square roots and two signs. = 3, but solving = 9 gives x = 3 and x = −3.
- Negative substitution. h(−3) uses (−3 = 9 and 2(−3) = −6.
Zero product rule: AB = 0 means A = 0 or B = 0, or both.
Solve h of p equals three
Find every input p whose output is 3.
- h(p) = 3
- + 2p = 3
- p = −3 or p = 1
A receipt gives the price; find every matching button.
Evaluation gives the button and asks for the receipt. Solving gives the receipt and asks for every matching button. For h(p) = + 2p, input 1 and input −3 both produce 3, so both belong in the answer.
If 3x − 7 = 8, adding 7 to both sides gives 3x = 15, and dividing both sides by 3 gives x = 5. You preserve the balance while uncovering the unknown input.
If (p + 3)(p − 1) = 0, the first factor can be zero or the second can be zero. These possibilities give p = −3 and p = 1. Keep both doors open until you check each candidate in the original function.
.1One rule, two directions
Use the same recipe to move forward from an input or backward from an output. The name h labels the rule h(p) = + 2p. Here h is the function name and p is its input. In the earlier difference quotient, h instead named a numerical step. A letter gets its meaning from its definition. First evaluate h(4), then solve the output question h(p) = 3 in the main example.
- h(4) gives input 4 and asks for output.
- h(p) = 3 gives output 3 and asks for every matching input.
h of four asks for an output; h of p equals three asks for inputs.
Evaluation starts with input 4, while solving starts with the specified output 3.
- h(p) = + 2p
- h(4) = 24
- h(p) = 3
- p = −3 or p = 1
A button finds its receipt; a receipt may identify several matching buttons.
For h(p) = + 2p, evaluate h(4). The input is 4; find the output.
- Every input slot receives the complete input, including its sign.
- Square a negative input in parentheses: (−2 = 4. A constant recipe gives the same output for every input.
- Keep separate requested outputs on separate answer lines.
- h(4) = (4 + 2(4) = 16 + 8 = 24.The input letter is p in this new formula. Replace every p with 4, then square and multiply before adding.
- Read the entire question before deciding its direction.
- As an everyday comparison: Use the same recipe to move forward from an input or backward from an output. The name h labels the rule h(p) = + 2p. Here h is the function name and p is its input. In the earlier difference quotient, h instead named a numerical step. A letter gets its meaning from its definition. First evaluate h(4), then solve the output question h(p) = 3 in the main example.
- With the worked values: Compute the two parts separately: 4 × 4 = 16 and 2 × 4 = 8. Their sum is 24.
.2Balance a linear equation
A linear recipe multiplies the input by a fixed number, then adds or subtracts a fixed number. Think of a price made from a fixed fee and a charge per item. To find the number of items from the total, undo the fixed fee first, then undo the per-item charge. An equation acts like a balance scale. Whatever you add, subtract, multiply or divide on one side must also happen on the other, so the two amounts stay equal.
- An equation states that its two sides have the same value.
- Adding or subtracting the same amount on both sides preserves equality.
- Dividing both sides by the same nonzero number preserves equality.
- Canceling a nonzero factor. = x because 3 multiplies all of the numerator and 3 ≠ 0.
Three x minus seven equals eight, so x equals five.
Undo the last operation first and do the same operation on both sides of the equation.
- 3x − 7 = 8
- 3x = 15
- x = 5
- 3(5) − 7 = 8
Keep both pans of a scale balanced while removing equal amounts.
For r(x) = 3x − 7, solve r(x) = 8. The output is 8; find the input.
- The value after the equals sign is the requested output.
- Use the same operation on both sides to preserve equality.
- Substitution in the starting formula must return the target output.
- 3x − 7 = 8.Replace r(x) with the function's formula.
- 3x − 7 + 7 = 8 + 7, so 3x = 15.Add 7 to both sides to undo the subtraction of 7.
- = , so x = 5.Divide both sides by the nonzero factor 3.
- Write the operation on both sides once, so a sign mistake is visible.
- Undo a recipe in reverse: The recipe 3x − 7 triples first and subtracts 7 second. Undo it by adding 7 first and dividing by 3 second.
- Equal changes preserve equal totals: Two equal piles stay equal when each receives seven more pieces. Two equal totals also stay equal when each is divided into three equal groups.
.3Factor and use the zero product rule
Factoring repacks a sum as a multiplication, like putting loose items back into equal bags. A factor is a quantity being multiplied. For a quadratic beginning with , look for two numbers whose product gives the constant term and whose sum gives the coefficient of x. Their two parentheses multiply back to the original expression. This becomes useful for solving after the equation equals zero, because a zero product tells you that at least one whole factor must be zero.
- The constant term is the number without the variable. In + 3x − 10, that term is −10.
- For + bx + c, if r + s = b and rs = c, then + bx + c = (x + r)(x + s).
- The reason is expansion: (x + r)(x + s) = + sx + rx + rs = + (r + s)x + rs.
- The zero product rule applies to a product equal to zero. First move the requested output to the other side.
- Distributive property. (x + 3)(x − 1) gives four products: − x + 3x − 3.
- Solving a small equation. p + 3 = 0 gives p = −3 after subtracting 3 from both sides.
x squared plus three x minus ten equals the quantity x plus five times the quantity x minus two.
Factoring repacks the quadratic sum as a product; a product equal to zero has at least one zero factor.
- 5 + (−2) = 3
- 5 × (−2) = −10
- + 3x − 10 = (x + 5)(x − 2)
- (x + 5)(x − 2) = 0
- x = −5 or x = 2
Repack loose items into multiplied groups, then find which group count can be zero.
For f(x) = + 3x − 4, solve f(x) = 6. The output is 6; find every input giving that output.
- An output after the equals sign is the target, not an input to substitute.
- The zero product rule requires the entire product to equal zero.
- Keep every candidate and check each one in the original formula.
- + 3x − 4 = 6.The formula must equal the requested output.
- + 3x − 4 − 6 = 0, so + 3x − 10 = 0.Subtract 6 from both sides to make one side zero. Zero makes the zero product rule applicable after factoring, so this step prepares a way to find every matching input.
- List pairs with product −10 and their sums: 1 and −10 give −9; −1 and 10 give 9; 2 and −5 give −3; −2 and 5 give 3. Choose −2 and 5.The two factor numbers must reproduce the constant −10 and the middle coefficient 3.
- (x + 5)(x − 2) = 0.Expanding gives − 2x + 5x − 10 = + 3x − 10.
- x + 5 = 0 or x − 2 = 0.At least one factor must be zero for their product to be zero.
- x = −5 or x = 2.Subtract 5 in the first equation and add 2 in the second.
- x = −5
- x = 2
- Write the required sum and product beside the quadratic. Expand your factors once to check both.
- Rebuild the middle and last terms: In (x + r)(x + s), the two middle products combine to (r + s)x, while the last product is rs. Matching the sum and product makes the multiplication reproduce your quadratic.
- One zero factor stops the product: If either bag count in a multiplication is zero, the total is zero. If both factors are nonzero, their product stays nonzero. That is why checking each factor finds every way a factored quadratic can equal zero.
.4Practice the factoring search before solving
The sum-and-product rule tells you what to look for. To find the pair, list whole-number pairs of the constant and test their sums. Matching signs give a positive product. Opposite signs give a negative product. If both numbers must be negative, start with positive factor pairs and reverse both signs. Expand the result once to check it. The five factoring rungs below show this search before the solving rungs begin.
- If the constant is positive, the two numbers have the same sign, chosen to match the middle sum.
- If the constant is negative, the signs differ; the number with larger absolute value has the sign of the middle sum.
- A zero constant gives an immediate common factor x, as in + 4x = x(x + 4).
- If the middle coefficient is zero and the constant is negative, the matching numbers have equal size and opposite signs. For example, − 16 = (x − 4)(x + 4), because −4 + 4 = 0 and (−4) × 4 = −16.
Negative four plus negative five equals negative nine, and their product is twenty.
Choose factor numbers whose sum matches the middle coefficient and whose product matches the constant.
- −4 + (−5) = −9
- (−4)(−5) = 20
- − 9x + 20 = (x − 4)(x − 5)
A pair must fit both locks: the required sum and the required product.
Factor − 9x + 20. Find two parentheses that multiply back to this sum.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
- The positive pairs of 20 are 1 and 20, 2 and 10, 4 and 5. Their sums are 21, 12, and 9.Listing pairs prevents guessing a pair that matches only the product.
- Use −4 and −5: their sum is −9 and their product is 20.A positive product and negative sum require both numbers to be negative.
- − 9x + 20 = (x − 4)(x − 5).The constants are the pair matching both requirements.
- Write both targets first: sum and product.
- As an everyday comparison: The sum-and-product rule tells you what to look for. To find the pair, list whole-number pairs of the constant and test their sums. Matching signs give a positive product. Opposite signs give a negative product. If both numbers must be negative, start with positive factor pairs and reverse both signs. Expand the result once to check it. The five factoring rungs below show this search before the solving rungs begin.
- With the worked values: Expansion gives − 5x − 4x + 20 = − 9x + 20.
.5Factoring the opposite-sign quadratic
For + 2x − 3, a negative product requires one positive number and one negative number. The pair 3 and −1 gives the required positive sum 2. This is the same factor pattern used in the p equation. The variable’s name changes the label, not the multiplication.
- Check both the sum and product before writing the parentheses.
x squared plus two x minus three equals the quantity x plus three times the quantity x minus one.
Opposite signs give the negative constant, while the larger positive number gives the positive middle sum.
- 3 + (−1) = 2
- 3 × (−1) = −3
- + 2x − 3 = (x + 3)(x − 1)
- + 2p − 3 = (p + 3)(p − 1)
Two number tags must rebuild both the middle amount and the final amount.
Factor + 2x − 3. This is the same pattern used when solving h(p) = 3.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The desired sum is 2 and the desired product is −3.The coefficient of x is 2 and the constant is −3.
- Choose 3 and −1, since 3 + (−1) = 2 and 3 × (−1) = −3.A correct pair must satisfy both conditions.
- + 2x − 3 = (x + 3)(x − 1).Place the two numbers into the two factors.
- Changing x to p changes every occurrence together.
- As an everyday comparison: For + 2x − 3, a negative product requires one positive number and one negative number. The pair 3 and −1 gives the required positive sum 2. This is the same factor pattern used in the p equation. The variable’s name changes the label, not the multiplication.
- With the worked values: Expand: (x + 3)(x − 1) = − x + 3x − 3 = + 2x − 3. Replacing x by p gives + 2p − 3 = (p + 3)(p − 1).
.6Solving an equation with a square root
A square root is like asking for the side length of a square of a known area. It returns one nonnegative length. When its output is given, square that output to recover the inside, then solve the remaining equation. Check the requested sign first. A negative requested output cannot come from this square-root symbol. After squaring, always put your input back into the starting root formula to check it.
- requires t − 6 ≥ 0, so t ≥ 6. This finds the inputs with a nonnegative inside; at t = 6 the root is = 0.
- For a requested nonnegative output, squaring both sides removes the square-root symbol.
- Checking in the starting equation rejects candidates created by squaring.
- Principal square root. = 2, while solving = 4 gives z = 2 or z = −2.
The square root of the whole difference t minus six equals seven, so t equals fifty-five.
A nonnegative root output can be squared to recover the inside; check the recovered input in the starting root formula.
- k(t) =
- t − 6 ≥ 0
- t ≥ 6
- = 7
- t − 6 = 49
- t = 55
- = 7
A square’s side length recovers its area when you square that length.
Let k(t) = . Find k(10), then solve k(t) = 7. The first gives an input and wants an output. The second gives an output and wants every input.
- The principal square root returns a nonnegative value.
- Squaring both sides recovers the expression inside the root.
- A candidate must pass the original root equation, including its sign.
- k(10) = = = 2.Replace t by 10 and take the nonnegative square root.
- To solve, write = 7.Set the whole output formula equal to the requested nonnegative output.
- Square both sides: t − 6 = 49.For a nonnegative square root, squaring removes the root; = 49.
- Add 6 on both sides to get t = 55.This isolates the input whose inside quantity must be 49.
- Check k(55) = = = 7.Squaring can hide an original sign requirement, so check in the original root formula.
- k(10) = 2.
- t = 55.
- Check the requested output sign before squaring, then substitute back afterward.
- As an everyday comparison: A square root is like asking for the side length of a square of a known area. It returns one nonnegative length. When its output is given, square that output to recover the inside, then solve the remaining equation. Check the requested sign first. A negative requested output cannot come from this square-root symbol. After squaring, always put your input back into the starting root formula to check it.
- With the worked values: The output 7 squares to the inside value 49. At input 55, the inside is 49, returning the required nonnegative 7.
- Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
- Replace the function notation with its formula, keeping the requested output on the other side.
- For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
- For a quadratic that factors, subtract the requested output from both sides so one side is zero.
- Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
- Solve each smaller equation and keep every permitted input.
- Substitute each answer into the original function. Each checked output must equal the requested output.
Choose the solving method for this formula
- Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
- Replace the function notation with its formula, keeping the requested output on the other side.
- For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
- For a quadratic that factors, subtract the requested output from both sides so one side is zero.
- Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
- Solve each smaller equation and keep every permitted input.
- Substitute each answer into the original function. Each checked output must equal the requested output.
Let h(p) = + 2p. Solve h(p) = 3. The output is 3; find every input p that gives it. Here h names the function, unlike the change variable h in the previous lesson.
- An output after the equals sign is the target, not an input to substitute.
- The zero product rule requires the entire product to equal zero.
- Keep every candidate and check each one in the original formula.
- + 2p = 3.Replace the requested function output h(p) with its formula.
- + 2p − 3 = 0.Subtracting 3 from both sides makes zero on one side. That lets a factored product use the zero product rule to find every input.
- The pairs with product −3 are 1 and −3, with sum −2, and −1 and 3, with sum 2. Choose −1 and 3.These are the constant product and middle-term sum required for factoring.
- (p + 3)(p − 1) = 0.The expansion − p + 3p − 3 equals + 2p − 3.
- p + 3 = 0 or p − 1 = 0.The zero product rule says at least one factor must equal zero.
- p + 3 − 3 = 0 − 3, so p = −3.Subtracting 3 from both sides solves the first smaller equation.
- p − 1 + 1 = 0 + 1, so p = 1.Adding 1 to both sides solves the second smaller equation.
- h(−3) = (−3 + 2(−3) = 9 − 6 = 3, and h(1) = + 2(1) = 1 + 2 = 3.Each candidate must produce the required output in the original formula.
- p = −3
- p = 1
Factor 2x + 6. This asks you to write the expression as a multiplication without changing its value.
- Write both terms as products with the same shared number.
- Each inside term is what remains after its shared multiplier is taken outside.
- 2x + 6 = 2 × x + 2 × 3.Both terms contain the factor 2, since 6 = 2 × 3.
- 2x + 6 = 2(x + 3).Reverse distribution by taking the shared factor 2 outside the parentheses.
Factor + 3x + 2. Find two parentheses that multiply to the original expression.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The desired sum is 3 and the desired product is 2.The coefficient of x and the constant come from the sum and product of the two factor numbers.
- Choose 1 and 2: 1 + 2 = 3 and 1 × 2 = 2.This pair matches both required numbers.
- + 3x + 2 = (x + 1)(x + 2).The two constants are the numbers 1 and 2.
Factor − x − 6. A missing written coefficient before x means the coefficient is −1.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The desired sum is −1 and the desired product is −6.Read the middle coefficient and constant with their signs.
- A negative product needs opposite signs. Choose 2 and −3.2 × (−3) = −6 and 2 + (−3) = −1.
- − x − 6 = (x + 2)(x − 3).Adding −3 is written as subtracting 3.
Factor + 2x − 3. This is the same pattern used when solving h(p) = 3.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The desired sum is 2 and the desired product is −3.The coefficient of x is 2 and the constant is −3.
- Choose 3 and −1, since 3 + (−1) = 2 and 3 × (−1) = −3.A correct pair must satisfy both conditions.
- + 2x − 3 = (x + 3)(x − 1).Place the two numbers into the two factors.
Factor − 9x + 20. Find two parentheses that multiply back to this sum.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
- The positive pairs of 20 are 1 and 20, 2 and 10, 4 and 5. Their sums are 21, 12, and 9.Listing pairs prevents guessing a pair that matches only the product.
- Use −4 and −5: their sum is −9 and their product is 20.A positive product and negative sum require both numbers to be negative.
- − 9x + 20 = (x − 4)(x − 5).The constants are the pair matching both requirements.
Let r(x) = 3x − 7. Solve r(x) = 8. Find the input that produces output 8.
- The value after the equals sign is the requested output.
- Use the same operation on both sides to preserve equality.
- Substitution in the starting formula must return the target output.
- 3x − 7 = 8.Set the formula equal to the stated output.
- 3x = 15.Add 7 to both sides.
- x = 5.Divide both sides by 3.
For s(x) = , solve s(x) = 9. Find every input whose square is 9.
- An output after the equals sign is the target, not an input to substitute.
- The zero product rule requires the entire product to equal zero.
- Keep every candidate and check each one in the original formula.
- = 9.Replace the function output with its formula.
- = 3.3 × 3 = 9, so the nonnegative square root is 3.
- x = 3 or x = −3.Both 3 × 3 and (−3)(−3) equal 9; squaring removes the input's sign.
- x = −3
- x = 3
For h(p) = + 2p, solve h(p) = 3. Find all inputs giving output 3.
- An output after the equals sign is the target, not an input to substitute.
- The zero product rule requires the entire product to equal zero.
- Keep every candidate and check each one in the original formula.
- + 2p = 3, so + 2p − 3 = 0.Set the formula equal to the output, then subtract 3 from both sides.
- + 2p − 3 = (p + 3)(p − 1).3 and −1 multiply to −3 and add to 2.
- p + 3 = 0 or p − 1 = 0.The factors have product zero, so at least one factor is zero.
- p = −3 or p = 1.Subtract 3 in the first equation and add 1 in the second.
- p = −3
- p = 1
- Circle the stated output in the question, then write formula = that output.
- For factoring, remember sum and product. Rebuild the factors and expand to check them.
- Write separate answer lines for separate inputs. One checked solution does not justify throwing away another.
- On the exam, list every solution on its own line and show a substitution check.