BRAGA

02 Writing02-02 Notes02-02-112

Multiplication

Published 16 Apr 20265 min read
Contents
  1. 01Deep Breakdown
  2. 02Flowchart
  3. 03Real-world use
  4. 04The formula, piece by piece
  5. 05The formula in words
  6. 06Critical Concepts
  7. 07Step-by-step calculation (tiny example)
  8. 08Code examples
aman=am+na^m a^n = a^{m+n}
(1)

Deep Breakdown

What it tells me (Situation Awareness): When you multiply two powers that share the same base, you simply add their exponents. This rule appears constantly in probability (multiplying probabilities expressed as powers), in model complexity analysis (counting parameter interactions), and whenever you expand expressions involving repeated multiplication. It's one of the four core exponent rules you need to internalize before touching logarithms or exponential functions.

Flowchart

YesNoStart: a^m · a^nSame base? (a)Add theexponents: m +nCannot combine— differentbasesResult: a^(m+n)Leave asseparate terms

Real-world use

Where it is used

In DA/DS, this rule surfaces when combining repeated operations expressed as powers: compounding growth rates, combining exponential decay terms, or simplifying expressions in log-space (where multiplication becomes addition of exponents).

Problem it solves

Without this rule, you would need to expand am⋅ana^m \cdot a^n as a full repeated multiplication every time, which is impractical for large or symbolic exponents. The rule gives you a direct algebraic shortcut.

How it solves the problem

It exploits the definition of exponentiation: am=a⋅a⋯a⏟ma^m = \underbrace{a \cdot a \cdots a}_{m} and an=a⋅a⋯a⏟na^n = \underbrace{a \cdot a \cdots a}_{n}. Multiplying them gives a⋅a⋯a⏟m+n=am+n\underbrace{a \cdot a \cdots a}_{m+n} = a^{m+n}. The base stays the same; only the count of multiplicative copies changes.

Example in a business

A retention model uses weekly churn probability pp. Survival after mm weeks is pmp^m. Survival for an additional nn weeks from that point is pnp^n. Total survival over m+nm + n weeks: pm⋅pn=pm+np^m \cdot p^n = p^{m+n}. You don't need to re-multiply from scratch: just sum the exponents.

The formula, piece by piece

  • aa: the base (the repeated factor, e.g., a growth rate, a probability)
  • mm: the first exponent (how many times aa appears in the first group)
  • nn: the second exponent (how many times aa appears in the second group)
  • am⋅ana^m \cdot a^n: two separate exponential expressions being multiplied
  • am+na^{m+n}: the merged result with one exponent equal to the sum Full rule: am⋅an=am+na^m \cdot a^n = a^{m+n} (bases must be identical; exponents can be any real numbers)

The formula in words

"When you multiply two powers of the same base, keep the base and add the exponents." a3⋅a4=a3+4=a7a^3 \cdot a^4 = a^{3+4} = a^7 Plain language: "Three copies of aa multiplied by four copies of aa gives seven copies of aa."

Critical Concepts

  • Same base required. a2⋅b3a^2 \cdot b^3 cannot be combined using this rule because the bases differ (a≠ba \neq b).
  • Exponents can be any real number — integers, fractions, negatives, zero. The rule holds universally.
  • Commutative. am⋅an=an⋅am=am+na^m \cdot a^n = a^n \cdot a^m = a^{m+n}. Order of multiplication doesn't matter.
  • Extends to products of more than two terms: am⋅an⋅ap=am+n+pa^m \cdot a^n \cdot a^p = a^{m+n+p}.
  • Connection to logarithms: Taking log⁡\log of both sides gives log⁡(am⋅an)=(m+n)log⁡a\log(a^m \cdot a^n) = (m+n)\log a, linking multiplication of powers to addition — the key idea behind log-scale arithmetic.

Step-by-step calculation (tiny example)

Step 1: Identify the base and both exponents Expression: 23⋅242^3 \cdot 2^4. Base = 22, first exponent = 33, second exponent = 44.

Step 2: Add the exponents 3+4=73 + 4 = 7. The combined exponent is 77.

Step 3: Write the result and verify 23⋅24=27=1282^3 \cdot 2^4 = 2^7 = 128. Verify by expanding: 23=82^3 = 8, 24=162^4 = 16, 8×16=1288 \times 16 = 128. Confirmed.

Code examples

Beginner example (Python)

python
# Exponent multiplication rule: a^m * a^n = a^(m+n)
base = 2
m = 3
n = 4   # Using the rule
result_rule = base ** (m + n)   # Manual expansion (to verify)
result_manual = (base ** m) * (base ** n)
print(f"Base: {base}")
print(f"Exponents: m={m}, n={n}")
print(f"Using rule: {base}^{m+n} = {result_rule}")
print(f"Manual check: {base}^{m} * {base}^{n} = {result_manual}")
print(f"Match: {result_rule == result_manual}")

Beginner example (R)

r
# Exponent multiplication rule: a^m * a^n = a^(m+n)
base <- 2
m <- 3
n <- 4
result_rule <- base^(m + n)
result_manual <- (base^m) * (base^n)
cat(sprintf("Base: %d\n", base))
cat(sprintf("Exponents: m=%d, n=%d\n", m, n))
cat(sprintf("Using rule: %d^%d = %d\n", base, m + n, result_rule))
cat(sprintf("Manual check: %d^%d * %d^%d = %d\n", base, m, base, n, result_manual))
cat(sprintf("Match: %s\n", result_rule == result_manual))

Professional example (Python)

python
import numpy as np
import pandas as pd   # Scenario: multi-period survival probability in a churn model
# weekly_survival_rate^weeks_in_segment_A * weekly_survival_rate^weeks_in_segment_B
# = weekly_survival_rate^(weeks_A + weeks_B)
np.random.seed(42)
WEEKLY_SURVIVAL_RATE = 0.95   # 5% weekly churn
segments = pd.DataFrame({ "customer_id": range(1, 6), "weeks_segment_A": [4, 8, 2, 6, 3], "weeks_segment_B": [3, 2, 5, 1, 4],
})   # Survival using exponent multiplication rule
segments["total_weeks"] = segments["weeks_segment_A"] + segments["weeks_segment_B"]
segments["survival_rule"] = WEEKLY_SURVIVAL_RATE ** segments["total_weeks"]   # Verify by computing per-segment and multiplying
segments["survival_check"] = ( WEEKLY_SURVIVAL_RATE ** segments["weeks_segment_A"] * WEEKLY_SURVIVAL_RATE ** segments["weeks_segment_B"] )
segments["match"] = np.isclose(segments["survival_rule"], segments["survival_check"])
print(f"Weekly survival rate: {WEEKLY_SURVIVAL_RATE}")
print(segments[["customer_id", "weeks_segment_A", "weeks_segment_B", "total_weeks", "survival_rule", "match"]].to_string(index=False))
print(f"\nAll results match rule: {segments['match'].all()}")

Professional example (R)

r
# Multi-period survival: s^weeks_A * s^weeks_B = s^(weeks_A + weeks_B)
WEEKLY_SURVIVAL_RATE <- 0.95
segments <- data.frame( customer_id = 1:5, weeks_segment_A = c(4, 8, 2, 6, 3), weeks_segment_B = c(3, 2, 5, 1, 4)
)
segments$total_weeks <- segments$weeks_segment_A + segments$weeks_segment_B
segments$survival_rule <- WEEKLY_SURVIVAL_RATE^segments$total_weeks
segments$survival_check <- WEEKLY_SURVIVAL_RATE^segments$weeks_segment_A * WEEKLY_SURVIVAL_RATE^segments$weeks_segment_B
segments$match <- abs(segments$survival_rule - segments$survival_check) < 1e-10
cat(sprintf("Weekly survival rate: %.2f\n", WEEKLY_SURVIVAL_RATE))
print(segments[c("customer_id", "total_weeks", "survival_rule", "match")])
cat(sprintf("\nAll match: %s\n", all(segments$match)))

Source: 1300 p. 19

#algebra#powers-roots-and-inequalities#powers-and-exponents

Keyboard shortcuts

Single keys, ignored while typing in a field or with Cmd, Ctrl or Alt held.

0
Home
1 2 3 4
Work, Writing, Tools, About
j / k
Next / previous section on this page
n / p
Next / previous project or essay
u
Up one level
l
Deutsch
t
Light or dark theme
?
This list
Esc
Close