Quarry School

Expanding and condensing

Subject: MathematicsLeans on: Positive inputsLeans on: Subtracting a sum
Level 1 · FoundationsAbout 7 min read7 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

    The three rules work together.

    Rule

    Expand from the outermost operation inward: a quotient with the quotient rule, a product with the product rule, a power of the whole input with the power rule, then the same on each new logarithm. Condense: power rule first (numbers in front become exponents), then product and quotient rules. Every logarithm must have a positive input, and the answer holds for the values of the variables where every logarithm in both forms has a positive input.

    Step

    1. State the values of the variables for which every input is positive.

    2. To expand: use the rule for the input's outermost operation (quotient, product or power), then repeat on each new logarithm until each input is a single factor.

    3. To condense: move each coefficient up as an exponent, then add as products and subtract as quotients, so one logarithm is left with coefficient 1.

    4. Check by putting in numbers for the variables at which every logarithm is defined.

    Question

    Expand log2 (8x3yz) for x > 0, y > 0, z > 0. In plain words: split the top from the bottom, then each factor, then bring the exponents down.

    Answer

    3 + 3 log2 x − log2 y − 12 log2 z

    Trap

    Leaving a coefficient outside while condensing. 2 log x + log y is log (x2y); writing it as 2 log (xy) is wrong in general (the two agree only when y = 1). A number in front belongs only to its own logarithm, so it moves up onto that logarithm's input before anything is combined.

    Term

    product rule

    Definition

    logb (MN) = logb M + logb N for b > 0, b ≠ 1, M > 0 and N > 0.

    Term

    quotient rule

    Definition

    logb (MN) = logb M − logb N for b > 0, b ≠ 1, M > 0 and N > 0.

    Term

    power rule

    Definition

    logb (Mp) = p · logb M for b > 0, b ≠ 1, M > 0 and any real p.

    Term

    expand

    Definition

    Rewrite one logarithm of a product, quotient or power as sums, differences and multiples of simpler logarithms.

    Term

    condense

    Definition

    Rewrite sums, differences and multiples of logarithms with one base as a single logarithm.

    1 In plain words

    The three rules work together. Expanding turns one logarithm of a product, quotient or power into a sum and difference of simpler logarithms. Condensing runs the other way and gathers several logarithms with one base into a single logarithm. It is like taking a sandwich apart into its layers and stacking the layers back up: every layer has to go back on the right side. Two cautions keep the work honest: every logarithm you write must have a positive input, and expanding or condensing can change where an expression is defined, so state the values of the variables you work with.

    2 Picture it

    expand: one logarithm → sums and differences

    condense: sums and differences → one logarithm

    state where every input is positive

    Reminder

    Reminder: Positive inputs, Subtracting a sum
    • Positive inputs. logb M exists only for M > 0: log (x − 2) needs x > 2.
    • Subtracting a sum. A minus sign before parentheses changes every sign inside: −(a + c) = −a − c.

    3 Why

    Each rule is an equality only when every logarithm on both sides has a positive input. A positive input on one side is not enough: log ((−2)(−3)) = log 6, while log (−2) and log (−3) have no real value. So a chain of rules gives an equal expression for the values of the variables at which every input in every step is positive, which is why those values are stated.

    4 The rule

    Expand from the outermost operation inward: a quotient with the quotient rule, a product with the product rule, a power of the whole input with the power rule, then the same on each new logarithm.

    Condense: power rule first (numbers in front become exponents), then product and quotient rules. Every logarithm must have a positive input, and the answer holds for the values of the variables where every logarithm in both forms has a positive input.

    The same idea, other ways

    In order

    Expand from the outside in: undo the input's outermost operation first. For x > 0 and y > 0, log (xy) starts with the quotient rule, log x − log y; log ((xy)2) for x, y > 0 starts with the power rule, 2 log (xy), and then the product rule, 2 log x + 2 log y. Condense the other way: first move each number in front up as an exponent, then combine sums into products and differences into quotients.

    With a check by numbers

    After expanding or condensing, put in values of the variables where every logarithm is defined. Both forms must give the same number. A mismatch means an error somewhere: a misused rule, a slip in substituting or in arithmetic, or too much rounding; find it before going on.

    = log2 8 + 3 log2 x − log2 y − 12 log2 z

    = 3 + 3 log2 x − log2 y − 12 log2 z

    at x = 2, y = 4, z = 16 both sides are 2

    Where the domain changes

    ln x + ln (x − 4) is defined only for x > 4, where both inputs are positive. ln (x2 − 4x) is defined wherever x2 − 4x > 0, which is x > 4 or x < 0. The two are equal only for x > 4. Condensing widened the domain, so the answer is stated with x > 4.

    5 How

    1. State the values of the variables for which every input is positive.
    2. To expand: use the rule for the input's outermost operation (quotient, product or power), then repeat on each new logarithm until each input is a single factor.
    3. To condense: move each coefficient up as an exponent, then add as products and subtract as quotients, so one logarithm is left with coefficient 1.
    4. Check by putting in numbers for the variables at which every logarithm is defined.

    6 Worked example

    Worked example

    Expand a fraction of products

    Expand log2 (8x3yz) for x > 0, y > 0, z > 0. In plain words: split the top from the bottom, then each factor, then bring the exponents down.

    Show the steps and the answer
    1. log2(8x3yz)= log2(8x3)− log2 (yz).The quotient rule: top minus bottom.
    2. = log28+ log2(x3)− (log2y+ log2z).The product rule on the top and on the bottom; the bottom's sum is subtracted whole.
    3. =3+3 log2x− log2y−12 log2 z.log2 8 = 3, and the power rule on x3 and on z = z12.
    Answer
    3 + 3 log2 x − log2 y − 12 log2 z
    Double-check At x = 2, y = 4, z = 16: the input is 8·84·4 = 6416 = 4, and log2 4 = 2; the expansion gives 3 + 3 · 1 − 2 − 12 · 4 = 2.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 4

    Expand a product with a power

    Expand log5 (25a2) for a > 0.

    Show the steps and the answer
    1. log5(25a2)= log525+ log5 (a2).The product rule.
    2. =2+2 log5 a.log5 25 = 2, and the power rule on a2.
    Answer
    2 + 2 log5 a
    Double-check At a = 5: log5 (25 · 25) = log5 625 = 4, and 2 + 2 · 1 = 4.

    Rung 2 of 4

    Condense three logarithms

    Condense 2 ln x + ln y − ln z for x > 0, y > 0, z > 0.

    Show the steps and the answer
    1. 2 ln x= ln (x2).Move the coefficient up as an exponent.
    2. ln (x2)+ ln y= ln (x2y).A sum is the logarithm of a product.
    3. ln (x2y)− ln z= ln (x2yz).A difference is the logarithm of a quotient.
    Answer
    ln (x2yz), for x > 0, y > 0, z > 0
    Double-check At x = e, y = e, z = e: 2 + 1 − 1 = 2, and ln (e2·ee) = ln e2 = 2.

    Rung 3 of 4

    Condense numbers to a value

    Find 3 log 2 + log 5 − log 4 without a calculator.

    Show the steps and the answer
    1. 3 log 2= log (23)= log 8.The power rule.
    2. log 8+ log 5− log 4= log (8·54)= log 10.The product and quotient rules.
    3. log 10=1.Base 10 to the power 1 is 10.
    Answer
    1
    Double-check With log 2 ≈ 0.30103, log 5 ≈ 0.69897 and log 4 ≈ 0.60206: 0.90309 + 0.69897 − 0.60206 = 1.00000.

    Rung 4 of 4

    Condense with a stated domain

    Condense log3 (x + 1) + log3 (x − 1) − 2 log3 x for x > 1.

    Show the steps and the answer
    1. For x > 1, x+1,x−1 and x are all positive.Every logarithm needs a positive input.
    2. 2 log3x= log3 (x2).Move the coefficient up as an exponent.
    3. log3(x+1)+ log3(x−1)− log3(x2)= log3((x+1)(x−1)x2)= log3 (x2−1x2).The product and quotient rules, then multiply out the top.
    Answer
    log3 (x2−1x2), for x > 1
    Double-check At x = 2: log3 3 + log3 1 − 2 log3 2 ≈ 1 + 0 − 1.26186 = −0.26186, and log3 (34) ≈ −0.26186.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: 2 log x + log y = 2 log (xy).
    At x = 10, y = 10: 2 · 1 + 1 = 3, but 2 log 100 = 4.
    ✓ Instead: 2 log x + log y = log (x2y): at x = y = 10, log 1,000 = 3.
    ✗ Not this: ln x + ln (x − 4) = ln (x2 − 4x) for every x.
    At x = −1 the right side is ln 5, but ln (−1) has no real value.
    ✓ Instead: ln x + ln (x − 4) = ln (x2 − 4x) for x > 4.

    Tips and tricks

    • Expand: outermost operation first.
    • Condense: power first, then sums and differences.
    • Check with numbers; state the domain.

    7 The trap

    Leaving a coefficient outside while condensing. 2 log x + log y is log (x2y); writing it as 2 log (xy) is wrong in general (the two agree only when y = 1). A number in front belongs only to its own logarithm, so it moves up onto that logarithm's input before anything is combined.

    Flash cards

    Say the answer out loud, then flip.

    Expand log (x2y) for x > 0, y > 0.
    2 log x − log y.
    Condense 4 log2 a − log2 c for a > 0, c > 0.
    log2 (a⁴c), for a > 0 and c > 0: the fourth power would also let a negative a in.
    Why state x > 4 after condensing ln x + ln (x − 4)?
    The original sum is defined only for x > 4. The condensed form ln (x2 − 4x) is also defined for x < 0, where the original sum has no real value, so the two are equal only for x > 4.