Quarry School

Factor a denominator and keep every original exclusion

Subject: MathematicsLeans on: DistributionLeans on: Zero product propertyLeans on: Negative denominatorsLeans on: Keep all restrictions
Level 2 · BuildingAbout 21 min read9 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

    Picture taking a tiled rectangle apart so you can see the lengths that made its area.

    Rule

    (x + p)(x + q) = x2 + (p + q)x + pq. To factor x2 + Bx + C, find p + q = B and pq = C.
    Exclude every input making the original denominator zero, and retain those exclusions after cancellation.

    Step

    1. 1. Copy the original denominator before changing the fraction. Its zero inputs are the values you must exclude.

    2. 2. For x2 + Bx + C, identify B and C, including their signs. B is the coefficient of x, meaning the number multiplying x; C is the constant term. The constant term is the fixed number added or subtracted without being multiplied by x; here it is C.

    3. 3. Generate the whole-number factor-pair sizes of the size of C. Try positive whole-number candidates in order and divide the size of C by each one. Keep a pair only when the quotient is a whole number. Stop when the candidate is larger than its quotient, because further pairs would repeat earlier pairs in reverse. Choose signs so the product is C, then find the pair whose sum is B. If C = 0, factor out x directly instead of making a nonzero-constant pair list.

    4. 4. Write (x + p)(x + q) and multiply it out to check both middle and constant terms.

    5. 5. Set each denominator factor equal to zero to find forbidden inputs. Solve each smaller equation, then substitute each result into the original denominator to confirm that it produces zero.

    6. 6. If a common factor cancels, write the simplified expression together with every original exclusion. Cancel only at inputs where the common factor is nonzero.

    7. 7. Keep any other root or context restrictions as well, then write the remaining input intervals.

    Question

    Factor x2 + 12x + 35. This asks you to rewrite the expression as multiplied pieces with the same value.

    Answer

    x2+12x+35=(x+5)(x+7)

    Trap

    Canceling a factor and then forgetting its zero input. The shorter expression equals the original only where the original denominator was nonzero. Record every exclusion before canceling.

    Strategy

    1. Copy the original denominator and identify any other arithmetic or context restrictions.

    2. For x2 + Bx + C, try positive whole-number divisors of the size of C in order, keeping only whole quotients. Stop when the candidate exceeds its quotient; then choose signs and test product C and sum B. If C = 0, factor out x instead. Check by multiplying back.

    3. Set each denominator factor equal to zero to locate forbidden inputs. Solve and plug each value into the original denominator.

    4. Record every exclusion before canceling any common factor.

    5. Cancel only a nonzero common factor multiplying the entire top and bottom.

    6. Keep every original exclusion and any root or context condition when writing the domain.

    Term

    Function

    Definition

    A rule assigning exactly one output to each allowed input. Different inputs may share an output.

    Term

    Input

    Definition

    The value you choose or supply to a function before its rule calculates an output.

    Term

    Output

    Definition

    The result a function produces from a chosen allowed input.

    Term

    Equation

    Definition

    A statement that two expressions are equal. Solving it finds values making the statement true.

    Term

    Formula

    Definition

    A mathematical recipe describing how quantities are related or how to calculate a result.

    Term

    Domain

    Definition

    The set of all inputs allowed for a function, considering its arithmetic and any stated context or restrictions.

    Term

    Set

    Definition

    A collection of distinct objects or values. Its members may be listed or described by a condition.

    Term

    Real number

    Definition

    A number with a position on the number line, including whole numbers, fractions, decimals and numbers such as 2.

    Term

    Restriction

    Definition

    A condition limiting allowed inputs, from arithmetic, a stated rule, or a meaningful physical situation.

    Term

    Undefined

    Definition

    Having no assigned value in the number system or function being used. Division by zero is undefined in real arithmetic.

    Term

    Numerator

    Definition

    The top expression in a fraction. It gives the amount divided by the denominator.

    Term

    Denominator

    Definition

    The bottom expression in a fraction. It is the divisor and cannot equal 0.

    Term

    Polynomial

    Definition

    A sum of constant multiples of nonnegative whole-number powers of the variable, such as x2 − 3x + 1. Real inputs cause no arithmetic restrictions.

    Term

    Inequality

    Definition

    A comparison using <, >, ≤ or >=. It describes which amount is smaller or larger and whether equality is allowed.

    Term

    Nonnegative

    Definition

    Greater than or equal to 0. It includes positive numbers and 0, but excludes negative numbers.

    Term

    Positive

    Definition

    Strictly greater than 0. Zero is excluded.

    Term

    Negative

    Definition

    Strictly less than 0. Negative numbers lie to the left of 0 on a number line.

    Term

    Radicand

    Definition

    The number or expression inside a root symbol. An even root requires a nonnegative real radicand.

    Term

    Number line

    Definition

    A straight line placing real numbers in order, with smaller numbers left and greater numbers right.

    Term

    Endpoint

    Definition

    A finite boundary value at an interval's end, included or excluded according to its bracket or parenthesis.

    Term

    Graph

    Definition

    A picture of points representing input and output pairs, usually with inputs horizontal and outputs vertical.

    Term

    Substitution

    Definition

    Replacing every occurrence of a variable with one specified value, then following the formula's operations.

    Term

    Linear equation

    Definition

    An equation whose simplified variable terms have only the first power, such as 3x + 8 = 29.

    Term

    Factor

    Definition

    One of the numbers or expressions multiplied together to form a product.

    Term

    Factoring

    Definition

    Rewriting an expression as a product of factors without changing its value.

    Term

    Difference of squares

    Definition

    One squared expression minus another. The pattern a2 − b2 factors as (a − b)(a + b).

    Term

    Zero product property

    Definition

    A product of real factors is zero exactly when at least one factor equals zero.

    Term

    Coefficient

    Definition

    The number multiplying a variable or its power. An unwritten coefficient in x is 1.

    Term

    Constant term

    Definition

    A fixed added or subtracted number in an expression, without a variable attached. Include its sign.

    Term

    Monic quadratic

    Definition

    A quadratic expression with coefficient 1 on x2. Its factor-pair search matches the middle coefficient and constant term.

    Term

    Cancellation

    Definition

    Dividing a numerator and denominator by the same nonzero common factor. Original denominator exclusions remain.

    1 In plain words

    Picture taking a tiled rectangle apart so you can see the lengths that made its area. Factoring does a similar job with a formula. It rewrites one expression as multiplied pieces called factors, without changing the result. This helps you find a denominator's forbidden inputs. A multiplied result is zero when a factor is zero, so smaller equations replace one larger equation. Sometimes a matching factor appears above and below a fraction bar. You may cancel it where it is nonzero. Keep the original forbidden inputs written down. Changing the way you write the recipe cannot make its original division by zero work.

    2 Picture it

    x²7xx5x355x7
    A factor pair must explain the middle coefficient and the constant term together.

    Reminder

    Reminder: Distribution, Zero product property, Negative denominators, Keep all restrictions
    • Distribution. Multiply each term in one factor by each term in the other: (x + 5)(x − 4) = x2 − 4x + 5x − 20.
    • Zero product property. AB = 0 requires A = 0 or B = 0. For a denominator, those inputs are exclusions.
    • Negative denominators. A negative denominator is allowed: 11−20 = −1120. The forbidden denominator is zero.
    • Keep all restrictions. A root and denominator must both work: x ≥ −11 and x ≠ −5 and x ≠ 4 keeps [−11, −5) ∪ (−5, 4) ∪ (4, ∞).

    3 Why

    Multiplying each term in x + p by each term in x + q gives x2 + px + qx + pq. The middle terms combine into (p + q)x, so the two factor numbers must have the required sum and product. A product of nonzero real numbers cannot be zero: if AB = 0 and A ≠ 0, division by A gives B = 0. This explains why each zero factor finds a denominator exclusion. Cancellation divides the top and bottom by the same factor. That operation requires a nonzero factor, so it cannot restore an input already excluded by the original denominator.

    4 The rule

    (x+p)(x+q)=x2+(p+q)x+ pq.

    To factor x2+ Bx +C, find p+q=B and pq =C.
    Exclude every input making the original denominator zero, and retain those exclusions after cancellation.

    The same idea, five ways

    Say it

    Say factor the original denominator, exclude its zeros, and retain those exclusions after cancellation.

    Write it

    A shorter fraction describes the original function only when you keep the original domain conditions.

    In math
    • (x + p)(x + q) = x2 + (p + q)x + pq
    • For x2 + x − 20: p + q = 1 and pq = −20
    • x2+x−20=(x+5)(x−4)
    • Denominator restrictions: x ≠ −5 and x ≠ 4
    • (−∞,−5)∪(−5,4)∪(4,∞)
    • Graph words: hollow dots at both original denominator-zero inputs
    Like

    Taking a rectangle apart reveals its multiplied lengths; shortening a recipe leaves its accepted choices unchanged.

    See it
    x²−4xx5x−205x−4
    The product and sum checks rebuild the quadratic before you solve its factor equations.

    The same idea, other ways

    As four tile products

    A rectangle cut into two rows and two columns gives four products. The two middle products are px and qx, so their combined size is (p + q)x. The last product is pq. This is why matching only the constant term is not enough.

    x²7xx5x355x7
    Both the sum 5 + 7 and the product 5 × 7 are visible in the expansion.
    As two locks

    A factor pair must open two locks. For x2 + 12x + 35, the product lock needs 35 and the sum lock needs 12. The pair 1 and 35 opens only the product lock. The pair 5 and 7 opens both.

    As an unchanged guest list

    Simplifying a fraction changes the recipe's writing, not the original guest list of permitted inputs. For x2−8xx2−64, input 8 was already forbidden. Cancellation may shorten the recipe for other inputs, but it cannot admit 8.

    Part 1: Find a pair by its product and sum

    Think of choosing two tile lengths. They must create both the right corner area and the right combined middle strip. A monic quadratic has x2 with coefficient 1, meaning one copy of x2. For x2 + Bx + C, the factor numbers multiply to C and add to B. Keep the signs attached to the numbers.

    • Coefficient means the number multiplying a variable or power. In 12x, the coefficient is 12.
    • For x2 + Bx + C, seek two numbers whose product is C and whose sum is B.
    • To generate whole-number factor pairs, try positive whole-number divisors in order. Keep a divisor and quotient only when the quotient is whole. For 20, 20 ÷ 1 = 20, 20 ÷ 2 = 10, and 20 ÷ 4 = 5 give the pairs; 20 ÷ 3 is not whole. At candidate 5 the quotient is 4, so stop: larger candidates would repeat pairs in reverse. Then choose signs and check sums.
    • If C is negative, the factor numbers have opposite signs. If B is positive, the positive number has the larger size; if B is negative, the negative number has the larger size.
    • If C is positive, the factor numbers have the same sign. A positive sum uses two positives, and a negative sum uses two negatives.
    • This whole-number pair search works for examples with whole-number factors. If no pair works, do not invent a factorization or conclude that the domain is empty. Another method may be needed.
    • If C = 0, x is a common factor: x2 + Bx = x(x + B), because distributing x gives both original terms.
    x²−4xx5x−205x−4
    The signed products explain why the constant's sign determines the factor signs.

    Reminder

    Reminder: Signed multiplication
    • Signed multiplication. 5 × (−4) = −20. One positive and one negative factor give a negative product.

    The same idea, five ways

    Say it

    Say find two numbers that multiply to negative twenty and add to one.

    Write it

    The factor numbers must match the constant by multiplication and the middle coefficient by addition.

    In math
    • p + q = 1
    • pq = −20
    • p=5,q=−4
    • x2+x−20=(x+5)(x−4)
    Like

    Two tile lengths must fit both the corner area and the combined middle strip.

    See it
    x²−4xx5x−205x−4
    The four products reconstruct the entire quadratic.

    Worked example

    A negative constant needs opposite signs

    Factor x2 + x − 20. You need multiplied pieces that reproduce the coefficient 1 of x and the constant −20.

    Show the steps and the answer
    x²−4xx5x−205x−4
    Treat these as signed products: 5x and −4x combine to x, and 5 × (−4) is −20.
    input factor pairoutput sum20 and −11910 and −285 and −41↑ solve: output given, read every input above it
    factor pair: 20 and −1, 10 and −2, 5 and −4; sum: 19, 8, 1.
    1. We need p+q=1 and pq =−20.The expansion has middle coefficient p + q and constant term pq; the unwritten coefficient of x is 1.
    2. Generate the factor-pair sizes of 20 by division: 20÷1=20 gives 1 and 20; 20÷2=10 gives 2 and 10; 20÷3 is not whole, so skip it; 20÷4=5 gives 4 and 5. Stop at candidate 5 because its quotient is 4, so that pair repeats in reverse. The picture gives each larger number a positive sign and the smaller one a negative sign.A divisor and its whole-number quotient multiply back to 20. After the candidate exceeds its quotient, the smaller member of every possible pair has already been tried.
    3. Read the sums below those pairs: 19, 8, and 1. The column for 5 and −4 is the only one with sum 1.A negative product needs one positive and one negative factor number, so their sum is a difference of sizes.
    4. Choose +5 and −4. Their product is −20 and their sum is 1.The positive number must have the larger size to make the required positive sum.
    5. Write x2+x−20=(x+5)(x−4).Both the sum and product match, so these factors rebuild the original quadratic.
    Answer
    x2+x−20=(x+5)(x−4)
    Double-check Multiply back: (x + 5)(x − 4) = x2 − 4x + 5x − 20 = x2 + x − 20. At x = 0, both forms equal −20.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Use (x − 2)(x + 10) to factor x2 + x − 20.
    The product −20 matches, but the factor numbers add to 8, so the middle term would be 8x.
    ✓ Instead: Use (x + 5)(x − 4), since 5 + (−4) = 1 and 5 × (−4) = −20.

    Tips and tricks

    • Write sum and product on separate lines, and check both before accepting a pair.

    Part 2: Zero factors locate forbidden inputs

    Imagine a product counting boxes times items per box. The total is zero if either count is zero. The zero product property says the same thing for real numbers: a product is zero exactly when at least one factor is zero. For a denominator, these zero inputs are the choices to remove, rather than the choices to keep.

    • The zero product property says AB = 0 exactly when A = 0 or B = 0.
    • Set the denominator equal to zero to locate the inputs where division fails.
    • Solve each factor's zero equation, then substitute its result into the original denominator.
    • A product equaling a nonzero number does not let you set its factors equal to zero.

    (x+5)(x−4)=0

    x + 5 = 0 or x − 4 = 0

    x = −5 or x = 4

    These inputs are excluded

    Reminder

    Reminder: Solving a linear equation
    • Solving a linear equation. x + 5 = 0 gives x = −5 by subtracting 5 from both sides; −5 + 5 = 0 checks the result.

    The same idea, five ways

    Say it

    Say keep every real input except negative five and four.

    Write it

    The original denominator vanishes at −5 and 4, so both inputs are excluded.

    In math
    • x ≠ −5 and x ≠ 4
    • x < −5 or −5 < x < 4 or x > 4
    • {x | x ≠ −5 and x ≠ 4}
    • (−∞,−5)∪(−5,4)∪(4,∞)
    • Graph words: hollow dots at −5 and 4, with every other position shaded
    Like

    Keep the whole guest list except the two names that fail the entry check.

    See it
    −54excluded −5excluded 4(−∞, −5) ∪ (−5, 4) ∪ (4, ∞)
    The three intervals describe exactly the same exclusions as the two not-equal conditions.

    Worked example

    A quadratic denominator excludes two inputs

    Find the domain of f(x) = 7x+11x2+x−20. You need every input for which the original fraction is defined.

    Show the steps and the answer
    −54excluded −5excluded 4(−∞, −5) ∪ (−5, 4) ∪ (4, ∞)
    Both roots of the original denominator are omitted, leaving three allowed intervals.
    1. Set x2+x−20=0 to locate the inputs that would make division fail.The domain excludes zero denominators; this equation finds the values to throw out.
    2. Factor the denominator as (x+5)(x−4).The factor numbers 5 and −4 have sum 1 and product −20.
    3. Set x+5=0 or x−4=0. Subtract 5 in the first equation to get x=−5; add 4 in the second to get x=4.A zero product requires a zero factor. Each smaller equation finds one forbidden input.
    4. Check the original denominator: at −5 it is 25−5−20=0; at 4 it is 16+4−20=0.Substitution confirms that each solved value really makes the original fraction undefined.
    5. Exclude −5 and 4, and keep all other real inputs.The numerator is a polynomial, and the factored denominator has no other zeros.
    6. Write (−∞,−5)∪(−5,4)∪(4,∞).Three open intervals keep every real input except the two forbidden values.
    Answer
    Domain: (−∞, −5) ∪ (−5, 4) ∪ (4, ∞)
    Double-check At x = 0, the denominator is −20 and the output is −1120, which is defined. At x = 5, the denominator is 25 + 5 − 20 = 10 and the output is 4610 = 235. Valid inputs on different remaining intervals confirm that negative denominators and inputs beyond 4 can work.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The domain is {−5, 4}, because those are the solutions of the zero equation.
    That equation found the inputs making the denominator zero, which are precisely the forbidden inputs.
    ✓ Instead: Remove −5 and 4 from the real number line; the domain is (−∞, −5) ∪ (−5, 4) ∪ (4, ∞).

    Tips and tricks

    • Write forbidden inputs beside the answers to a denominator's zero equation.

    Part 3: Cancel a common factor without changing the domain

    Think of shortening a written recipe after checking which ingredients it can accept. You may remove a matching multiplication above and below a fraction bar, but only where that common factor is nonzero. This is cancellation. It divides the numerator and denominator by the same nonzero factor. A choice that failed the original recipe still fails it, even if the shorter recipe could calculate a number there.

    • Cancel factors that multiply the entire numerator and denominator. A term inside a sum is not a factor of that entire sum.
    • Cancellation requires the common factor to be nonzero.
    • The simplified expression agrees with the original expression only on the original domain.
    • Keep every original denominator exclusion, including an exclusion hidden by a canceled factor.

    x(x−8)(x−8)(x+8)

    = xx+8 only where x ≠ −8 and x ≠ 8

    The original exclusions stay

    Reminder

    Reminder: Difference of squares, Division by zero
    • Difference of squares. x2 − 64 = (x − 8)(x + 8), because the middle terms cancel when multiplied back.
    • Division by zero. 00 is undefined too. Every number multiplied by 0 gives 0, so the multiplication question cannot select one unique quotient.

    The same idea, five ways

    Say it

    Say the shorter fraction works on the original domain, with both exclusions retained.

    Write it

    Canceling x − 8 does not allow input 8 into the original function.

    In math
    • x2−8xx2−64 = xx+8 for x ≠ −8 and x ≠ 8
    • {x | x ≠ −8 and x ≠ 8}
    • (−∞,−8)∪(−8,8)∪(8,∞)
    • Graph words: omit both original denominator-zero inputs
    Like

    Shortening the recipe's writing does not change which choices the original recipe accepted.

    See it
    −88excludedexcluded(−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
    Both original exclusions remain part of the simplified description.

    Worked example

    The shorter fraction keeps two original exclusions

    Find the domain of f(x) = x2−8xx2−64, then simplify the formula where it is defined. You must identify permitted inputs from the original fraction before canceling anything.

    Show the steps and the answer
    −88original exclusionstill excluded(−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
    The original function excludes both −8 and 8, even after its common factor is canceled.
    1. Factor the numerator: x2−8x=x(x−8).Both numerator terms contain a factor x; multiplying x into x − 8 gives x2 − 8x back.
    2. Factor the original denominator: x2−64=(x−8)(x+8).64 = 82, so the difference-of-squares pattern applies.
    3. Set the denominator factors equal to zero to find forbidden inputs. x−8=0 gives x=8, and x+8=0 gives x=−8.Either zero factor makes the original denominator zero. These equations locate inputs to exclude.
    4. Check the original denominator: 82−64=0 and (−8)2−64=0. Write x≠−8 and x≠8 before canceling.Substitution confirms both original exclusions, including the one a shorter formula might hide.
    5. For those permitted inputs, cancel the common factor x − 8: x(x−8)(x−8)(x+8)=xx+8.x ≠ 8 makes the common factor nonzero, so dividing the top and bottom by it is legal.
    6. Write the shorter formula xx+8 with x≠−8 and x≠8, and retain (−∞,−8)∪(−8,8)∪(8,∞) as the original domain.Cancellation changes the expression's appearance while preserving its value only where the original fraction was defined.
    Answer
    • Original domain: (−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
    • Simplified formula: xx+8, with x ≠ −8 and x ≠ 8
    Double-check At x = 16, the original fraction gives 256−128256−64 = 128192 = 23, and the shorter fraction gives 1624 = 23. At x = 8, the original gives 00, which has no unique quotient; the shorter formula's value 12 does not restore that excluded input.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: After cancellation, the only exclusion is x = −8.
    The shorter denominator hides the original zero at x = 8. Canceling that factor required x ≠ 8 in the first place.
    ✓ Instead: Keep x ≠ −8 and x ≠ 8.
    ✗ Not this: Cancel x from x+8x+11 and leave 811.
    The x terms are added, not factors multiplying the entire top and bottom. At x = 0 the original equals 811, but at x = 1 it equals 912 = 34, a different value.
    ✓ Instead: Factor first and cancel only a common factor multiplying the entire numerator and denominator.

    Tips and tricks

    • Copy every original exclusion above the line before simplifying.
    • Ask whether the proposed canceled object multiplies the entire numerator and the entire denominator.

    5 How

    1. Copy the original denominator before changing the fraction. Its zero inputs are the values you must exclude.
    2. For x2 + Bx + C, identify B and C, including their signs. B is the coefficient of x, meaning the number multiplying x; C is the constant term. The constant term is the fixed number added or subtracted without being multiplied by x; here it is C.
    3. Generate the whole-number factor-pair sizes of the size of C. Try positive whole-number candidates in order and divide the size of C by each one. Keep a pair only when the quotient is a whole number. Stop when the candidate is larger than its quotient, because further pairs would repeat earlier pairs in reverse. Choose signs so the product is C, then find the pair whose sum is B. If C = 0, factor out x directly instead of making a nonzero-constant pair list.
    4. Write (x + p)(x + q) and multiply it out to check both middle and constant terms.
    5. Set each denominator factor equal to zero to find forbidden inputs. Solve each smaller equation, then substitute each result into the original denominator to confirm that it produces zero.
    6. If a common factor cancels, write the simplified expression together with every original exclusion. Cancel only at inputs where the common factor is nonzero.
    7. Keep any other root or context restrictions as well, then write the remaining input intervals.

    Find all exclusions before simplifying

    1
    Is the denominator a quadratic of the form x2 + Bx + C?
    YesIdentify signed B and C. If C is nonzero, generate whole-number size pairs by dividing by positive whole-number candidates in order, stopping when the candidate exceeds its quotient; then choose signs and test the sum and product.
    NoUse its applicable earlier method, such as a linear zero equation or the difference-of-squares identity.
    ↓
    2
    Is C negative?
    YesUse opposite signs; the larger size determines the sign of their sum.
    NoFor positive C use matching signs; for C = 0 factor out x directly.
    ↓
    3
    Does your proposed pair match both the sum and product?
    YesWrite the factors, multiply back, then solve the zero factor equations to locate exclusions.
    NoTry another pair. If no whole-number pair works, stop this pair-search method and use another established method.
    ↓
    4
    Does a common factor cancel?
    YesCancel only on the original domain, and retain that factor's zero input as an exclusion.
    NoKeep the original denominator exclusions.
    ↓
    5
    Does a root or context impose another restriction?
    YesKeep inputs passing that restriction and every original denominator check.
    NoExclude the original denominator zeros from all real inputs.
    1. Copy the original denominator and identify any other arithmetic or context restrictions.
    2. For x2 + Bx + C, try positive whole-number divisors of the size of C in order, keeping only whole quotients. Stop when the candidate exceeds its quotient; then choose signs and test product C and sum B. If C = 0, factor out x instead. Check by multiplying back.
    3. Set each denominator factor equal to zero to locate forbidden inputs. Solve and plug each value into the original denominator.
    4. Record every exclusion before canceling any common factor.
    5. Cancel only a nonzero common factor multiplying the entire top and bottom.
    6. Keep every original exclusion and any root or context condition when writing the domain.

    6 Worked example

    Worked example

    Find two numbers that rebuild a quadratic

    Factor x2 + 12x + 35. This asks you to rewrite the expression as multiplied pieces with the same value.

    Show the steps and the answer
    x²7xx5x355x7
    The two middle products add to 12x, while the corner product is 35.
    input factor pairoutput sum1 and 35365 and 712↑ solve: output given, read every input above it
    factor pair: 1 and 35, 5 and 7; sum: 36, 12.
    1. The coefficient of x is 12 and the constant term is 35. We need p+q=12 and pq =35.Expanding (x + p)(x + q) gives middle coefficient p + q and constant term pq.
    2. Generate the positive factor-pair sizes of 35 by division. 35÷1=35 gives 1 and 35. Dividing by 2, 3, or 4 does not give a whole-number quotient, so skip those candidates. 35÷5=7 gives 5 and 7. Stop before trying larger candidates: 6 is already greater than its quotient 35÷6, because 6×6=36>35.A whole-number divisor and its quotient multiply back to 35. Once the candidate is larger than its quotient, any further whole-number pair reverses a pair with a smaller member that was already tried.
    3. Read the factor-pair picture. Under 1 and 35, the sum is 36. Under 5 and 7, the sum is 12. Both pairs have product 35.A positive product with a positive sum needs two positive numbers here. Checking the pairs finds the required sum.
    4. Choose p=5 and q=7, then write (x+5)(x+7).5 + 7 = 12 and 5 × 7 = 35, so both coefficients are reproduced.
    5. Multiply back: (x+5)(x+7)=x2+7x+5x+35=x2+12x+35.Each term in the first factor multiplies each term in the second, and the two middle terms combine.
    Answer
    x2+12x+35=(x+5)(x+7)
    Double-check At x = 2, the original expression is 4 + 24 + 35 = 63. The product is (2 + 5)(2 + 7) = 7 × 9 = 63. Multiplication back checks the identity for every x; substitution checks this numerical case.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 5

    A positive product and a positive sum

    Factor x2 + 12x + 35. You are rewriting the expression as multiplied factors with exactly the same value.

    Show the steps and the answer
    x²7xx5x355x7
    The four products combine into the original expression.
    input factor pairoutput sum1 and 35365 and 712↑ solve: output given, read every input above it
    The same picture again: factor pair: 1 and 35, 5 and 7; sum: 36, 12.
    1. Seek p+q=12 and pq =35.Expanding two factors gives x2 + (p + q)x + pq.
    2. Generate the positive factor-pair sizes of 35 by division. 35÷1=35 gives 1 and 35. Dividing by 2, 3, or 4 does not give a whole-number quotient, so skip those candidates. 35÷5=7 gives 5 and 7. Stop before trying larger candidates: 6 is already greater than its quotient 35÷6, because 6×6=36>35.A whole-number divisor and its quotient multiply back to 35. Once the candidate is larger than its quotient, any further whole-number pair reverses a pair with a smaller member that was already tried.
    3. Read the factor-pair picture. Under 1 and 35, the sum is 36. Under 5 and 7, the sum is 12. Both pairs have product 35.A positive product and positive sum use two positive factor numbers here.
    4. Write (x+5)(x+7).5 + 7 = 12 and 5 × 7 = 35 satisfy both requirements.
    5. Multiply back to obtain x2+7x+5x+35=x2+12x+35.Distribution checks the identity for every input.
    Answer
    x2+12x+35=(x+5)(x+7)
    Double-check At x = 0 both forms give 35, and at x = 2 both give 63. The complete expansion, rather than these two samples alone, proves the factorization.

    Rung 2 of 5

    A negative product and a small positive sum

    Factor x2 + x − 20. You need factors whose multiplication leaves middle coefficient 1 and constant −20.

    Show the steps and the answer
    x²−4xx5x−205x−4
    Use the signs in both the product check and the sum check.
    input factor pairoutput sum20 and −11910 and −285 and −41↑ solve: output given, read every input above it
    The same picture again: factor pair: 20 and −1, 10 and −2, 5 and −4; sum: 19, 8, 1.
    1. Seek p+q=1 and pq =−20.The coefficient of x is an unwritten 1, and the constant term includes its negative sign.
    2. Generate the factor-pair sizes of 20 by division: 20÷1=20 gives 1 and 20; 20÷2=10 gives 2 and 10; 20÷3 is not whole, so skip it; 20÷4=5 gives 4 and 5. Stop at candidate 5 because its quotient is 4, so that pair repeats in reverse. The picture gives each larger number a positive sign and the smaller one a negative sign.A divisor and its whole-number quotient multiply back to 20. After the candidate exceeds its quotient, the smaller member of every possible pair has already been tried.
    3. Choose +5 and −4, and write (x+5)(x−4).Their product is −20 and their sum is 1.
    4. Multiply back: x2−4x+5x−20=x2+x−20.The opposite middle products leave exactly one copy of x.
    Answer
    x2+x−20=(x+5)(x−4)
    Double-check At x = 1, the original is 1 + 1 − 20 = −18; the product is (1 + 5)(1 − 4) = 6 × (−3) = −18. The expansion checks all inputs.

    Rung 3 of 5

    Factor to find a fraction's domain

    Find the domain of f(x) = 7x+11x2+x−20. You are finding every input that keeps the original fraction defined.

    Show the steps and the answer
    −54excludedexcluded(−∞, −5) ∪ (−5, 4) ∪ (4, ∞)
    A quadratic denominator can require three intervals because it has two zero inputs.
    1. Set x2+x−20=0 to find denominator-zero inputs, then factor it as (x+5)(x−4).These inputs would make division fail. The factor numbers add to 1 and multiply to −20.
    2. Set x+5=0 or x−4=0. Solve to get x=−5 or x=4.The zero product property locates every zero through the smaller factor equations.
    3. Substitute −5 and 4 into the original denominator: 25−5−20=0 and 16+4−20=0.Each substitution confirms an input that must be excluded.
    4. Remove both values and write (−∞,−5)∪(−5,4)∪(4,∞).Every remaining denominator is nonzero, and the polynomial numerator imposes no additional restriction.
    Answer
    Domain: (−∞, −5) ∪ (−5, 4) ∪ (4, ∞)
    Double-check At x = 0, the denominator is −20 and the output is −1120. At x = 5 the output is 235. Both are defined, while the two excluded inputs give zero denominators.

    Rung 4 of 5

    Cancellation keeps the original exclusions

    Find the domain of f(x) = x2−8xx2−64, then simplify it on that domain. You must preserve inputs excluded by the original denominator.

    Show the steps and the answer
    −88original exclusioncancellation keeps this hole(−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
    Both zero inputs remain omitted even though one factor no longer appears in the shorter formula.
    1. Rewrite the fraction as x(x−8)(x−8)(x+8).Factoring out x rebuilds the numerator, and the difference-of-squares identity rebuilds the denominator.
    2. Set x−8=0 or x+8=0 to find forbidden inputs. Solving gives x=8 or x=−8.A zero factor makes the original denominator zero, so these equations identify exclusions.
    3. Check 82−64=0 and (−8)2−64=0, then record x≠−8 and x≠8.The exclusions must be confirmed in the original denominator before any factor disappears.
    4. Cancel x−8 at the remaining inputs to obtain xx+8.The recorded condition x ≠ 8 permits division by this common factor.
    5. Keep (−∞,−8)∪(−8,8)∪(8,∞) as the original domain, and write the shorter formula with both exclusions.A canceled factor does not assign a value where the original fraction had a zero denominator.
    Answer
    • Domain: (−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
    • Simplified formula: xx+8, for x ≠ −8 and x ≠ 8
    Double-check At input 16, the original gives 128192 = 23 and the shorter expression gives 1624 = 23. At input 8 the original gives 00, so the shorter formula cannot restore that input.

    Rung 5 of 5

    Factor and keep a root restriction too

    Find the domain of f(x) = x+11x2+x−20. You need inputs that make the root real and the original denominator nonzero at the same time.

    Show the steps and the answer
    −11−54root beginsdenominator zerodenominator zero[−11, −5) ∪ (−5, 4) ∪ (4, ∞)
    The root determines the start, and the factored denominator removes two inputs from that allowed ray.
    1. Require x+11≥0 and subtract 11 to obtain x≥−11.The root's radicand must be nonnegative; this inequality identifies the inputs permitted by the numerator.
    2. Set x2+x−20=0 to locate forbidden denominator inputs. Factor to obtain (x+5)(x−4)=0.Division fails at those zero inputs, and the factor numbers 5 and −4 add to 1 and multiply to −20.
    3. Solve x+5=0 or x−4=0, giving x=−5 or x=4. Check 25−5−20=0 and 16+4−20=0 in the original denominator.A zero product has a zero factor; substitution confirms both exclusions.
    4. Keep x≥−11 and exclude −5 and 4 from that ray.The root and division must work together, and both forbidden denominator inputs lie inside the root's allowed ray.
    5. At x=−11, the numerator is 0=0 and the denominator is 121−11−20=90, so keep this endpoint.A zero numerator over a nonzero denominator is a valid zero output.
    6. Write [−11,−5)∪(−5,4)∪(4,∞).The starting root endpoint is included, while both original denominator zeros are omitted.
    Answer
    Domain: [−11, −5) ∪ (−5, 4) ∪ (4, ∞)
    Double-check At x = −12 the radicand is −1, so it fails the root check. At x = −6 the radicand is 5 and the denominator is 36 − 6 − 20 = 10, so the output 510 is defined. At x = 5 the radicand is 16 and the denominator is 10, giving 410 = 25.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Choose any pair multiplying to the constant term.
    The pair's sum also determines the middle coefficient. A right product alone can create a different quadratic.
    ✓ Instead: Match product and sum, then multiply the factors back.
    ✗ Not this: Keep the solutions of a denominator-zero equation as the domain.
    The zero equation deliberately locates where division fails.
    ✓ Instead: Label those solutions forbidden inputs and exclude them.
    ✗ Not this: Cancellation restores an input that made the original denominator zero.
    Cancellation divides by the common factor and requires that factor to be nonzero.
    ✓ Instead: Keep every original exclusion beside the shorter formula.

    Tips and tricks

    • For factoring, write product = C and sum = B before trying pairs.
    • For a domain, mark denominator zeros as forbidden before writing any intervals.
    • Copy original restrictions before cancellation, then compare the final domain with that list.

    7 The trap

    Canceling a factor and then forgetting its zero input. The shorter expression equals the original only where the original denominator was nonzero. Record every exclusion before canceling.

    Comes back in