Quarry School

Solve when the output is given

Subject: MathematicsLeans on: Equal operations on both sidesLeans on: FactoringLeans on: Square roots and two signsLeans on: Negative substitution
Level 2 · BuildingAbout 25 min read11 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Suppose a vending machine's receipt says the price was 3 dollars, and you want to know which buttons could have produced that price.

    Rule

    To solve f(x) = k, set the function's formula equal to k and find every allowed input x.
    Zero product rule: AB = 0 means A = 0 or B = 0, or both.

    Step

    1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.

    2. Replace the function notation with its formula, keeping the requested output on the other side.

    3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.

    4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.

    5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.

    6. Solve each smaller equation and keep every permitted input.

    7. Substitute each answer into the original function. Each checked output must equal the requested output.

    Question

    For h(p) = p2 + 2p, evaluate h(4). The input is 4; find the output.

    Answer

    h(4) = 24.

    Trap

    Treating a requested output as an input. In h(p) = 3, set the formula equal to 3; do not evaluate h(3).

    Strategy

    1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.

    2. Replace the function notation with its formula, keeping the requested output on the other side.

    3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.

    4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.

    5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.

    6. Solve each smaller equation and keep every permitted input.

    7. Substitute each answer into the original function. Each checked output must equal the requested output.

    Term

    Set

    Definition

    A collection of distinct members. Braces list them, and repeating a member does not create a new member.

    Term

    Integer

    Definition

    A whole number or its negative, including zero. Fractions between whole numbers are not integers.

    Term

    Real number

    Definition

    A number on the number line, including integers, fractions and numbers such as 2.

    Term

    Variable

    Definition

    A letter that represents a number or another chosen value.

    Term

    Function

    Definition

    A relation assigning exactly one output to every input in its domain.

    Term

    Input

    Definition

    A value chosen for a function. The definition decides which values are allowed.

    Term

    Output

    Definition

    The result a function assigns to a particular input.

    Term

    Domain

    Definition

    The set of all inputs accepted by the defined relation or function.

    Term

    Function notation

    Definition

    Writing an output as f(x), with the rule name outside and the input inside parentheses.

    Term

    Equation

    Definition

    A statement that two expressions are equal, shown with an equals sign.

    Term

    Formula

    Definition

    A mathematical instruction connecting quantities, often written as an equation.

    Term

    Evaluate

    Definition

    Find the output at a given input by applying the rule or reading its representation.

    Term

    Solve

    Definition

    Find every allowed input that satisfies a stated equation or produces a specified output.

    Term

    Graph

    Definition

    A picture of ordered pairs at their coordinate locations. A graph of a function contains every pair (x, f(x)) for its allowed inputs.

    Term

    Coordinate

    Definition

    One number in a point's ordered address.

    Term

    x-coordinate

    Definition

    The first number of a plotted pair, showing horizontal location and usually the input.

    Term

    y-coordinate

    Definition

    The second number of a plotted pair, showing vertical location and usually the output.

    Term

    Constant

    Definition

    A value that stays fixed in the stated rule.

    Term

    Absolute value

    Definition

    A number's distance from zero, written between vertical bars. It is always nonnegative.

    Term

    Square root

    Definition

    The nonnegative number whose square equals the given nonnegative input.

    Term

    Principal square root

    Definition

    The nonnegative root chosen by the symbol √. Solving a squared equation can require both signs.

    Term

    Distributive property

    Definition

    Multiplying a sum multiplies every term in it: a(b + c) = ab + ac.

    Term

    Factor

    Definition

    A quantity multiplied by another quantity in a product.

    Term

    Factoring

    Definition

    Rewriting an expression as a product without changing its value.

    Term

    Zero product rule

    Definition

    If a product equals zero, at least one factor equals zero.

    Term

    Difference quotient

    Definition

    The average rate of change: new output minus old output, divided by the nonzero input step h. It is the slope between two graph points.

    Term

    Numerator

    Definition

    The top of a fraction, showing the quantity being divided.

    Term

    Power

    Definition

    A quantity written with a base and exponent. Positive whole-number exponents count multiplied copies; zero and negative exponents extend that pattern.

    Term

    Area

    Definition

    The amount of flat surface inside a shape, measured in square units.

    Term

    Coefficient

    Definition

    A number multiplying a variable term.

    Term

    Constant term

    Definition

    A term without a variable, which keeps its value as the input changes.

    Term

    Parabola

    Definition

    The graph shape of a quadratic function, appearing as a rounded U or an upside-down U when y depends quadratically on x.

    Term

    Nonnegative

    Definition

    Zero or positive; written x ≥ 0.

    Term

    Circle

    Definition

    The set of points at one fixed positive distance from a center.

    Term

    ≠

    Definition

    A symbol saying two quantities are not equal.

    Term

    Difference

    Definition

    The result of a subtraction. For a change, subtract the old value from the new value.

    Term

    Quotient

    Definition

    The result of a division. The divisor must be nonzero.

    Term

    Term

    Definition

    One added or subtracted piece of an expression. Keep its sign with that piece.

    1 In plain words

    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.

    2 Picture it

    -313function
    Solving for output 3 finds both inputs pointing to it.

    Reminder

    Reminder: Equal operations on both sides, Factoring, Square roots and two signs, Negative substitution
    • 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 p2 + 2p − 3 = (p + 3)(p − 1).
    • Square roots and two signs. 9 = 3, but solving x2 = 9 gives x = 3 and x = −3.
    • Negative substitution. h(−3) uses (−3)2 = 9 and 2(−3) = −6.

    3 Why

    The equation h(p) = 3 means that the output h(p) equals 3, so replace h(p) with its formula and find p. Equal changes to both sides preserve equality, like removing equal weights from a balance. For a quadratic, rewriting as a product equal to zero makes the search manageable. A product can be zero only if at least one factor is zero: two nonzero factors cannot multiply to zero. Each factor then gives a smaller equation. Check every resulting input in the original formula.

    4 The rule

    To solve f(x)=k, set the function's formula equal to k and find every allowed input x.

    Zero product rule: AB =0 means A=0 or B=0, or both.

    The same idea, five ways

    Say it

    Solve h of p equals three

    Write it

    Find every input p whose output is 3.

    In math
    • h(p) = 3
    • p2+2p=3
    • p = −3 or p = 1
    Like

    A receipt gives the price; find every matching button.

    See it
    (−3, 3)(1, 3)−4−22−22468
    The requested output 3 occurs at two different input positions.

    The same idea, other ways

    Search backward through a machine

    Evaluation gives the button and asks for the receipt. Solving gives the receipt and asks for every matching button. For h(p) = p2 + 2p, input 1 and input −3 both produce 3, so both belong in the answer.

    -313function
    Two different inputs can share the requested output without breaking the function.
    Keep a scale balanced

    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.

    =3x − 78do the same thing to both sides
    Apply the same operation to both sides while finding the input.
    Split a zero product into two doors

    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.

    (p+3)(p−1)=0

    p + 3 = 0 or p − 1 = 0

    p = −3 or p = 1

    Part 1: One 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) = p2 + 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.
    4p² + 2pinputoutput24
    4 goes in, the rule is p2 + 2p, and 24 comes out.

    The same idea, five ways

    Say it

    h of four asks for an output; h of p equals three asks for inputs.

    Write it

    Evaluation starts with input 4, while solving starts with the specified output 3.

    In math
    • h(p)=p2+2p
    • h(4) = 24
    • h(p) = 3
    • p = −3 or p = 1
    Like

    A button finds its receipt; a receipt may identify several matching buttons.

    See it
    4p² + 2pinputoutput24
    The same picture again: 4 goes in, the rule is p2 + 2p, and 24 comes out.

    Worked example

    Evaluate a rule whose input letter is p

    For h(p) = p2 + 2p, evaluate h(4). The input is 4; find the output.

    What it asks. Use each stated input to find its output from the named formula.

    Show the steps and the answer

    The plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.

    4p² + 2pinputoutput24
    The same picture a third time: 4 goes in, the rule is p2 + 2p, and 24 comes out.
    1. Plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.
    2. Every input slot receives the complete input, including its sign.
    3. Square a negative input in parentheses: (−2)2 = 4. A constant recipe gives the same output for every input.
    4. Keep separate requested outputs on separate answer lines.
    1. h(4)=(4)2+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.
    Answer
    h(4) = 24.
    Double-check Compute the two parts separately: 4 × 4 = 16 and 2 × 4 = 8. Their sum is 24.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: h(p) = 3 means the input p equals 3.
    The equals sign sets the function output to 3.
    ✓ Instead: Set p2 + 2p = 3 and find the matching p values.

    Tips and tricks

    • 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) = p2 + 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.

    Part 2: Balance 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.
    =3x − 78do the same thing to both sides
    The same picture again: A balance: 3x − 7 on the left, 8 on the right.

    Reminder

    Reminder: Canceling a nonzero factor
    • Canceling a nonzero factor. 3x3 = x because 3 multiplies all of the numerator and 3 ≠ 0.

    The same idea, five ways

    Say it

    Three x minus seven equals eight, so x equals five.

    Write it

    Undo the last operation first and do the same operation on both sides of the equation.

    In math
    • 3x−7=8
    • 3x = 15
    • x = 5
    • 3(5)−7=8
    Like

    Keep both pans of a scale balanced while removing equal amounts.

    See it
    =3x − 78do the same thing to both sides
    The same picture a third time: A balance: 3x − 7 on the left, 8 on the right.

    Worked example

    Find the input for output 8

    For r(x) = 3x − 7, solve r(x) = 8. The output is 8; find the input.

    What it asks. The output is given. Find every allowed input that produces it.

    Show the steps and the answer

    The plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.

    3x−7=8.

    3x − 7 + 7 = 8 + 7, so 3x = 15.

    3x3 = 153, so x = 5.

    1. Plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.
    2. The value after the equals sign is the requested output.
    3. Use the same operation on both sides to preserve equality.
    4. Substitution in the starting formula must return the target output.
    1. 3x−7=8.Replace r(x) with the function's formula.
    2. 3x−7+7=8+7, so 3x=15.Add 7 to both sides to undo the subtraction of 7.
    3. 3x3=153, so x=5.Divide both sides by the nonzero factor 3.
    Answer
    x = 5
    Double-check r(5) = 3(5) − 7 = 15 − 7 = 8, the required output.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: From 3x − 7 = 8, write 3x = 8 − 7 = 1.
    Subtracting 7 does not undo the existing subtraction of 7. Adding 7 to both sides does.
    ✓ Instead: 3x = 8 + 7 = 15, so x = 5.

    Tips and tricks

    • 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.

    Part 3: Factor 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 x2, 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 x2 + 3x − 10, that term is −10.
    • For x2 + bx + c, if r + s = b and rs = c, then x2 + bx + c = (x + r)(x + s).
    • The reason is expansion: (x + r)(x + s) = x2 + sx + rx + rs = x2 + (r + s)x + rs.
    • The zero product rule applies to a product equal to zero. First move the requested output to the other side.
    x²−2xx5x−105x−2
    An area model with sides x + 5 and x + −2.

    Reminder

    Reminder: Distributive property, Solving a small equation
    • Distributive property. (x + 3)(x − 1) gives four products: x2 − x + 3x − 3.
    • Solving a small equation. p + 3 = 0 gives p = −3 after subtracting 3 from both sides.

    The same idea, five ways

    Say it

    x squared plus three x minus ten equals the quantity x plus five times the quantity x minus two.

    Write it

    Factoring repacks the quadratic sum as a product; a product equal to zero has at least one zero factor.

    In math
    • 5+(−2)=3
    • 5×(−2)=−10
    • x2+3x−10=(x+5)(x−2)
    • (x+5)(x−2)=0
    • x = −5 or x = 2
    Like

    Repack loose items into multiplied groups, then find which group count can be zero.

    See it
    x²−2xx5x−105x−2
    The same picture again: An area model with sides x + 5 and x + −2.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Choose numbers that multiply to the constant without checking their sum.
    For x2 + 2x − 3, choosing −3 and 1 gives the right product −3 but the wrong sum −2.
    ✓ Instead: Choose 3 and −1, giving both product −3 and sum 2.
    ✗ Not this: (x − 1)(x + 2) = 4 gives x = 1 or x = −2.
    Those values make the product 0, but the required product is 4. The zero product rule requires zero on the other side.
    ✓ Instead: Expand to x2 + x − 2 = 4. Subtract 4 to get x2 + x − 6 = 0, which makes the zero product rule usable. Factor as (x + 3)(x − 2) = 0, giving x = −3 or x = 2. Check: (−4)(−1) = 4 and 1 × 4 = 4.

    Tips and tricks

    • 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.

    Part 4: Practice 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 x2 + 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, x2 − 16 = (x − 4)(x + 4), because −4 + 4 = 0 and (−4) × 4 = −16.
    x²−5xx−4x20−4x−5
    An area model with sides x + −4 and x + −5.

    The same idea, five ways

    Say it

    Negative four plus negative five equals negative nine, and their product is twenty.

    Write it

    Choose factor numbers whose sum matches the middle coefficient and whose product matches the constant.

    In math
    • −4+(−5)=−9
    • (−4)(−5)=20
    • x2−9x+20=(x−4)(x−5)
    Like

    A pair must fit both locks: the required sum and the required product.

    See it
    x²−5xx−4x20−4x−5
    The same picture again: An area model with sides x + −4 and x + −5.

    Worked example

    Factoring rung 5: two negative numbers

    Factor x2 − 9x + 20. Find two parentheses that multiply back to this sum.

    What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

    Show the steps and the answer

    The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

    x²−5xx−4x20−4x−5
    The same picture a third time: An area model with sides x + −4 and x + −5.
    1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
    2. The two constant numbers must multiply to the last term.
    3. Their sum must equal the coefficient of the middle term.
    4. Check the signs, then multiply all four term pairs back.
    1. The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
    2. 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.
    3. 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.
    4. x2−9x+20=(x−4)(x−5).The constants are the pair matching both requirements.
    Answer
    (x−4)(x−5).
    Double-check Expansion gives x2 − 5x − 4x + 20 = x2 − 9x + 20.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: x2−9x+20=(x+4)(x+5).
    The product 20 matches but the sum is 9 rather than −9.
    ✓ Instead: Use (x − 4)(x − 5).

    Tips and tricks

    • 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 x2 − 5x − 4x + 20 = x2 − 9x + 20.

    Part 5: Factoring the opposite-sign quadratic

    For x2 + 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²−xx3x−33x−1
    An area model with sides x + 3 and x + −1.

    The same idea, five ways

    Say it

    x squared plus two x minus three equals the quantity x plus three times the quantity x minus one.

    Write it

    Opposite signs give the negative constant, while the larger positive number gives the positive middle sum.

    In math
    • 3+(−1)=2
    • 3×(−1)=−3
    • x2+2x−3=(x+3)(x−1)
    • p2+2p−3=(p+3)(p−1)
    Like

    Two number tags must rebuild both the middle amount and the final amount.

    See it
    x²−xx3x−33x−1
    The same picture again: An area model with sides x + 3 and x + −1.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Use −3 and 1 because their product is −3.
    Their sum is −2, so the middle term is wrong.
    ✓ Instead: Use 3 and −1, whose sum is 2.

    Tips and tricks

    • Changing x to p changes every occurrence together.
    • As an everyday comparison: For x2 + 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) = x2 − x + 3x − 3 = x2 + 2x − 3. Replacing x by p gives p2 + 2p − 3 = (p + 3)(p − 1).

    Part 6: Solving 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.

    • t−6 requires t − 6 ≥ 0, so t ≥ 6. This finds the inputs with a nonnegative inside; at t = 6 the root is 0 = 0.
    • For a requested nonnegative output, squaring both sides removes the square-root symbol.
    • Checking in the starting equation rejects candidates created by squaring.
    (10, 2)(55, 7)6183042542468
    y = (x−6), solid, beside y = 7, dashed.

    Reminder

    Reminder: Principal square root
    • Principal square root. 4 = 2, while solving z2 = 4 gives z = 2 or z = −2.

    The same idea, five ways

    Say it

    The square root of the whole difference t minus six equals seven, so t equals fifty-five.

    Write it

    A nonnegative root output can be squared to recover the inside; check the recovered input in the starting root formula.

    In math
    • k(t)=t−6
    • t−6≥0
    • t ≥ 6
    • t−6=7
    • t−6=49
    • t = 55
    • 55−6=7
    Like

    A square’s side length recovers its area when you square that length.

    See it
    (10, 2)(55, 7)6183042542468
    The same picture again: y = (x−6), solid, beside y = 7, dashed.

    Worked example

    Evaluate and solve a shifted square root

    Let k(t) = t−6. 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.

    What it asks. For the stated input, find its output first. Then find every allowed input giving the requested output.

    Show the steps and the answer

    The plan. For any requested evaluation, compute the inside before taking its nonnegative root. For solving, check that the requested root output is nonnegative, square both sides, isolate the input, and check it in the starting root equation.

    55√(t − 6)inputoutput7
    Subtract 6 before taking the nonnegative root.
    1. Plan. For any requested evaluation, compute the inside before taking its nonnegative root. For solving, check that the requested root output is nonnegative, square both sides, isolate the input, and check it in the starting root equation.
    2. The principal square root returns a nonnegative value.
    3. Squaring both sides recovers the expression inside the root.
    4. A candidate must pass the original root equation, including its sign.
    1. k(10)=10−6=4=2.Replace t by 10 and take the nonnegative square root.
    2. To solve, write t−6=7.Set the whole output formula equal to the requested nonnegative output.
    3. Square both sides: t−6=49.For a nonnegative square root, squaring removes the root; 72 = 49.
    4. Add 6 on both sides to get t=55.This isolates the input whose inside quantity must be 49.
    5. Check k(55)=55−6=49=7.Squaring can hide an original sign requirement, so check in the original root formula.
    Answer
    • k(10) = 2.
    • t = 55.
    Double-check The output 7 squares to the inside value 49. At input 55, the inside is 49, returning the required nonnegative 7.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Solving k(t) = −2 by squaring gives t = 10, so 10 is a solution.
    The principal root cannot be negative. The candidate returns k(10) = 2, which is not −2.
    ✓ Instead: There is no solution to k(t) = −2.

    Tips and tricks

    • 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.

    5 How

    1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
    2. Replace the function notation with its formula, keeping the requested output on the other side.
    3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
    4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.
    5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
    6. Solve each smaller equation and keep every permitted input.
    7. Substitute each answer into the original function. Each checked output must equal the requested output.

    Choose the solving method for this formula

    1
    Is the formula linear?
    YesUndo addition or subtraction, then divide by the nonzero multiplier.
    NoIdentify the power, root, or other operation.
    ↓
    2
    Is the equation a square equal to a number?
    YesA positive number gives both square-root signs, zero gives one solution, and a negative number gives no real solution.
    NoIf it is a factorable quadratic with a middle term, make one side zero, then factor.
    ↓
    3
    Is the equation a square root alone equal to a number, inside = k?
    YesA negative k has no solution. For a nonnegative k, square both sides, solve, and check. An outside minus or added term must be handled first.
    NoUse the operation actually shown and check every resulting input.
    1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
    2. Replace the function notation with its formula, keeping the requested output on the other side.
    3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
    4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.
    5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
    6. Solve each smaller equation and keep every permitted input.
    7. Substitute each answer into the original function. Each checked output must equal the requested output.

    6 Worked example

    Worked example

    Solving f(x) = k for a graphed quadratic: two answers, then one

    The function f accepts any real number x as its input and produces the output
    f(x) = x2 + 2x - 5.
    Its graph, shown in the figure, is a parabola that opens upward. The lowest point of the graph (the vertex) is (-1, -6), and the graph crosses the y-axis at (0, -5).
    (a) Solve f(x) = 10. Give every input that works.
    (b) Solve f(x) = -6, and use the graph to explain how many solutions each part has.

    (-1, -6)(0, -5)−6−4−224−8−44812
    The upward-opening parabola y = f(x) = x2 + 2x - 5, with its vertex (-1, -6) and its y-intercept (0, -5)…
    Show the steps and the answer
    1. (a) Say the question in words. Solve f(x)=10 means the output is 10; find every input x that f turns into 10.The output is known and the inputs are unknown, so we work backward from the output instead of evaluating f at a given number. The word every reminds us that more than one input may work.
    2. Replace f(x) with its formula, keeping the requested output on the other side: x2+2x-5=10.f(x) is a name for the expression x2 + 2x - 5, so the inputs that make f(x) equal 10 are exactly the inputs that make that expression equal 10.
    3. Choose the method. The equation contains x2, so it is quadratic, not linear. Subtract 10 from both sides: x2+2x-5-10=10-10, so x2+2x-15=0.Undoing addition and multiplication cannot isolate x when x appears both squared and to the first power. The zero product rule needs one side to be 0, and doing the same subtraction to both sides keeps the equation balanced.
    4. Rewrite the left side as a product. Look for two numbers that multiply to -15 and add to 2: 5 and -3 work, since 5×(-3)=-15 and 5+(-3)=2. The equation becomes (x+5)(x-3)=0.For any numbers p and q, (x + p)(x + q) = x2 + (p + q)x + pq, so p and q must add to the x-coefficient and multiply to the constant. Expanding confirms the factoring: (x + 5)(x - 3) = x2 - 3x + 5x - 15 = x2 + 2x - 15.
    5. Set each factor equal to zero: x+5=0 or x-3=0.By the zero product rule, a product equals 0 only when at least one of its factors is 0, so every solution must make x + 5 or x - 3 equal to zero.
    6. Solve each smaller equation. Subtract 5 from both sides of x+5=0 to get x=-5; add 3 to both sides of x-3=0 to get x=3. Keep both answers.Each factor equation is linear, so one inverse operation done to both sides isolates x. The function accepts every real number as input, so neither answer is ruled out.
    7. Check each answer in the original function: f(-5)=(-5)2+2(-5)-5=25-10-5=10 and f(3)=32+2(3)-5=9+6-5=10. Both outputs equal 10.Substituting into the original formula, not into a rearranged line, catches any slip made while moving terms or factoring. Each checked output must equal the requested output, 10.
    8. (b) Say the question in words: solve f(x)=-6 means the output is -6; find every input x that produces it. Replace f(x) with its formula: x2+2x-5=-6.The method does not depend on which output is requested: the formula goes on one side and the requested output stays on the other.
    9. Subtract the requested output, -6, from both sides. Subtracting -6 means adding 6: x2+2x-5+6=-6+6, so x2+2x+1=0.The equation is quadratic, so one side must be 0 before the zero product rule can be used. Subtracting a negative number is the same as adding its opposite.
    10. Rewrite the left side as a product. The two numbers must multiply to 1 and add to 2, so they are 1 and 1. The equation becomes (x+1)(x+1)=0.Expanding confirms it: (x + 1)(x + 1) = x2 + x + x + 1 = x2 + 2x + 1. The two factors are identical, so this quadratic is a perfect square, (x + 1)2.
    11. Set each factor equal to zero: x+1=0 or x+1=0. Both equations are the same; subtracting 1 from both sides gives the single answer x=-1.AB = 0 means A = 0 or B = 0, or both. Here A and B are the same factor, so they are zero together at x = -1, and no other input makes either factor zero. The input -1 is a real number, so it is permitted.
    12. Check in the original function: f(-1)=(-1)2+2(-1)-5=1-2-5=-6, the requested output.Substitution into the original formula confirms that -1 really produces the output -6.
    13. Explain the counts with the graph. The output -6 is the y-coordinate of the vertex (-1,-6), the lowest point of the parabola. The horizontal line y=10 lies above the vertex and crosses the parabola twice, at (-5,10) and (3, 10), so part (a) has two solutions. The horizontal line y=-6 touches the parabola only at the vertex, so part (b) has one solution.Each solution of f(x) = k is the x-coordinate of a point on the graph at height k, so the number of solutions equals the number of points where the horizontal line y = k meets the graph.
    Answer
    • (a) x = -5 or x = 3
    • both inputs produce the output 10. (b) x = -1 is the only solution. The output 10 is above the lowest output of f, so the graph reaches height 10 at two points, (-5, 10) and (3, 10)
    • the output -6 is the height of the vertex (-1, -6), the only point of the graph at that height.
    Double-check Substitute each answer into f(x) = x2 + 2x - 5: f(-5) = 25 - 10 - 5 = 10, f(3) = 9 + 6 - 5 = 10 and f(-1) = 1 - 2 - 5 = -6, so every answer gives its requested output. Graph check: a parabola is symmetric about the vertical line through its vertex, here x = -1, so two inputs with the same output must be equally far from -1. The answers -5 and 3 are each 4 units from -1, and their average is -5+32 = -1. The single answer to (b) is the vertex's own x-coordinate, as the lowest output must be.

    Work to write

    1. (a)x2+2x-5=10
    2. x2+2x-15=0
    3. (x + 5)(x - 3) = 0
    4. x + 5 = 0 or x - 3 = 0
    5. x = -5 or x = 3
    6. f(-5) = 25 - 10 - 5 = 10 and f(3) = 9 + 6 - 5 = 10
    7. (b)x2+2x-5=-6
    8. x2+2x+1=0
    9. (x + 1)(x + 1) = 0
    10. x + 1 = 0, so x = -1 is the only solution
    11. f(-1) = 1 - 2 - 5 = -6
    12. -6 is the height of the vertex (-1, -6), so the line y = -6 meets the graph once, while the line y = 10 meets it twice

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 6

    Factoring rung 1: pull out a common factor

    Factor 2x + 6. This asks you to write the expression as a multiplication without changing its value.

    What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

    Show the steps and the answer

    The plan. Identify a multiplier in every term. Write it outside parentheses and the remaining pieces inside. Distribute back to check.

    2x62x3
    Both pieces share the factor 2.
    1. Plan. Identify a multiplier in every term. Write it outside parentheses and the remaining pieces inside. Distribute back to check.
    2. Write both terms as products with the same shared number.
    3. Each inside term is what remains after its shared multiplier is taken outside.
    1. 2x+6=2×x+2×3.Both terms contain the factor 2, since 6 = 2 × 3.
    2. 2x+6=2(x+3).Reverse distribution by taking the shared factor 2 outside the parentheses.
    Answer
    2x + 6 = 2(x + 3)
    Double-check Expand the answer: 2(x + 3) = 2x + 2 × 3 = 2x + 6, the original expression.

    Rung 2 of 6

    Factoring rung 2: two positive numbers

    Factor x2 + 3x + 2. Find two parentheses that multiply to the original expression.

    What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

    Show the steps and the answer

    The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

    x²2xxx21x2
    The middle pieces 2x and x add to 3x.
    1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
    2. The two constant numbers must multiply to the last term.
    3. Their sum must equal the coefficient of the middle term.
    4. Check the signs, then multiply all four term pairs back.
    1. 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.
    2. Choose 1 and 2: 1+2=3 and 1×2=2.This pair matches both required numbers.
    3. x2+3x+2=(x+1)(x+2).The two constants are the numbers 1 and 2.
    Answer
    x2+3x+2=(x+1)(x+2)
    Double-check Multiply all four pairs: (x + 1)(x + 2) = x2 + 2x + x + 2 = x2 + 3x + 2.

    Rung 3 of 6

    Factoring rung 3: opposite signs

    Factor x2 − x − 6. A missing written coefficient before x means the coefficient is −1.

    What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

    Show the steps and the answer

    The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

    2+(−3)=−1

    2×(−3)=−6

    (x+2)(x−3)=x2−x−6

    1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
    2. The two constant numbers must multiply to the last term.
    3. Their sum must equal the coefficient of the middle term.
    4. Check the signs, then multiply all four term pairs back.
    1. The desired sum is −1 and the desired product is −6.Read the middle coefficient and constant with their signs.
    2. A negative product needs opposite signs. Choose 2 and −3.2 × (−3) = −6 and 2 + (−3) = −1.
    3. x2−x−6=(x+2)(x−3).Adding −3 is written as subtracting 3.
    Answer
    x2−x−6=(x+2)(x−3)
    Double-check Expand: (x + 2)(x − 3) = x2 − 3x + 2x − 6 = x2 − x − 6. The negative middle coefficient is preserved.

    Rung 4 of 6

    Factoring rung 5: two negative numbers

    Factor x2 − 9x + 20. Find two parentheses that multiply back to this sum.

    What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

    Show the steps and the answer

    The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

    x²−5xx−4x20−4x−5
    The same picture, shown 4 times now: An area model with sides x + −4 and x + −5.
    1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
    2. The two constant numbers must multiply to the last term.
    3. Their sum must equal the coefficient of the middle term.
    4. Check the signs, then multiply all four term pairs back.
    1. The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
    2. 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.
    3. 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.
    4. x2−9x+20=(x−4)(x−5).The constants are the pair matching both requirements.
    Answer
    (x−4)(x−5).
    Double-check Expansion gives x2 − 5x − 4x + 20 = x2 − 9x + 20.

    Rung 5 of 6

    Solving rung 2: undo two operations

    Let r(x) = 3x − 7. Solve r(x) = 8. Find the input that produces output 8.

    What it asks. The output is given. Find every allowed input that produces it.

    Show the steps and the answer

    The plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.

    =3x15do the same thing to both sides
    After removing the subtraction, divide the equal totals into three groups.
    1. Plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.
    2. The value after the equals sign is the requested output.
    3. Use the same operation on both sides to preserve equality.
    4. Substitution in the starting formula must return the target output.
    1. 3x−7=8.Set the formula equal to the stated output.
    2. 3x=15.Add 7 to both sides.
    3. x=5.Divide both sides by 3.
    Answer
    x = 5
    Double-check r(5) = 15 − 7 = 8, so the answer matches the requested output.

    Rung 6 of 6

    Solving rung 3: a square has two input signs

    For s(x) = x2, solve s(x) = 9. Find every input whose square is 9.

    What it asks. The output is given. Find every allowed input that produces it.

    Show the steps and the answer

    The plan. Set the formula equal to the requested output. If there is a middle term, subtract the output to make one side zero, factor, and set each factor to zero. If only the square remains, keep both root signs when the right side is positive. Check every candidate in the starting formula.

    (−3, 9)(3, 9)−4−224246810
    The two opposite inputs reach the same height 9.
    1. Plan. Set the formula equal to the requested output. If there is a middle term, subtract the output to make one side zero, factor, and set each factor to zero. If only the square remains, keep both root signs when the right side is positive. Check every candidate in the starting formula.
    2. An output after the equals sign is the target, not an input to substitute.
    3. The zero product rule requires the entire product to equal zero.
    4. Keep every candidate and check each one in the original formula.
    1. x2=9.Replace the function output with its formula.
    2. 9=3.3 × 3 = 9, so the nonnegative square root is 3.
    3. x=3 or x=−3.Both 3 × 3 and (−3)(−3) equal 9; squaring removes the input's sign.
    Answer
    • x=−3
    • x = 3
    Double-check s(−3) = 9 and s(3) = 9. A negative input is permitted here because the domain of the square recipe includes all real numbers.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Solve h(p) = 3 by evaluating h(3) = 15 and reporting 15.
    The number 3 was given as the output. Feeding it in as an input answers a different question.
    ✓ Instead: Set p2 + 2p = 3 and solve for p, obtaining −3 and 1.
    ✗ Not this: A function can have only one answer when you solve for an input.
    A function assigns one output to each input, but different inputs may share an output. The square recipe sends both −3 and 3 to 9.
    ✓ Instead: Find every input that produces the requested output, and check each one.
    ✗ Not this: For s(x) = x2, solving s(x) = −1 gives x = −1.
    A real square is never negative. The candidate −1 has square 1, not −1.
    ✓ Instead: There is no real input satisfying x2 = −1.

    Tips and tricks

    • 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.

    7 The trap

    Treating a requested output as an input. In h(p) = 3, set the formula equal to 3; do not evaluate h(3).

    Comes back in