BRAGA

02 Writing02-02 Notes02-02-114

Power of a power

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
(am)n=amn(a^m)^n = a^{mn}
(1)

Deep Breakdown

What it tells me (Situation Awareness): When a power is itself raised to another power, the exponents multiply. (am)n=amn(a^m)^n = a^{mn}. This rule is essential when working with nested exponential structures: squaring an already-squared term, raising a model's complexity factor to a power, or simplifying expressions like (e−λ)t(e^{-\lambda})^t that appear in survival analysis and Poisson processes.

Flowchart

Start: (a^m)^nExpand: (a^m)^n= a^m * a^m * ...(n times)Applymultiplicationrule n times: m +m + ... (n times)m added n times= m * nResult: a^(m*n)

Real-world use

Where it is used

Simplifying expressions in survival models (e.g., (S(t))k(S(t))^k where S(t)=e−λtS(t) = e^{-\lambda t}), matrix exponentiation, neural network activation function analysis, and polynomial composition. Also critical when converting between different exponent forms (e.g., converting amn\sqrt[n]{a^m} to am/na^{m/n}).

Problem it solves

Without this rule, you would need to expand (am)n(a^m)^n by writing ama^m out nn times and applying the multiplication rule repeatedly. The power-of-a-power rule compresses this into a single multiplication of exponents.

How it solves the problem

By applying the multiplication rule iteratively: (am)n=am⋅am⋯am⏟n times=am+m+⋯+m⏟n times=amn(a^m)^n = \underbrace{a^m \cdot a^m \cdots a^m}_{n\text{ times}} = a^{\underbrace{m+m+\cdots+m}_{n\text{ times}}} = a^{mn}.

Example in a business

In survival analysis, the probability that a customer survives (does not churn) through tt months given monthly survival rate ss is S(t)=stS(t) = s^t. If you want to group months into quarters (t=3kt = 3k where kk = number of quarters), then S(3k)=s3k=(s3)kS(3k) = s^{3k} = (s^3)^k — the quarterly survival rate is s3s^3, raised to the number of quarters. The power-of-a-power rule converts from monthly to quarterly granularity instantly.

The formula, piece by piece

  • aa: the base
  • mm: the inner exponent (applied first)
  • nn: the outer exponent (applied second, to the whole power ama^m)
  • mnmn: the product of the two exponents — this is the single final exponent
  • (am)n(a^m)^n: a "power of a power" — exponent stacked on exponent
  • amna^{mn}: the collapsed form — one base, one exponent Full rule: (am)n=amn(a^m)^n = a^{mn} for any real aa, mm, nn

The formula in words

"When you raise a power to another power, multiply the exponents and keep the base." (23)4=23×4=212=4096(2^3)^4 = 2^{3 \times 4} = 2^{12} = 4096 Plain language: "Two cubed, then raised to the fourth power, equals two to the twelfth."

Critical Concepts

  • Order of exponentiation matters. (am)n=amn(a^m)^n = a^{mn} but a(mn)≠amna^{(m^n)} \neq a^{mn} in general. The rule only applies to exponents applied sequentially, not composed.
  • Negative and fractional exponents work: (a1/2)2=a(1/2)⋅2=a1=a(a^{1/2})^2 = a^{(1/2) \cdot 2} = a^1 = a. This is how you undo a square root.
  • Connection to roots: (am)1/n=am/n(a^m)^{1/n} = a^{m/n}. Fractional exponents encode both power and root.
  • Useful for standardization: ((x−μ)2)1/2=∣x−μ∣((x - \mu)^2)^{1/2} = |x - \mu| — the square root of a squared quantity is the absolute value.
  • Do not confuse with a(mn)a^{(m^n)} (a tower of exponents, which grows enormously faster).

Step-by-step calculation (tiny example)

Step 1: Identify inner and outer exponents Expression: (32)4(3^2)^4. Inner exponent (applied first) = 22, outer exponent = 44, base = 33.

Step 2: Multiply the exponents 2×4=82 \times 4 = 8. The single resulting exponent is 88.

Step 3: Compute the result and verify 38=65613^8 = 6561. Verify by expansion: 32=93^2 = 9, then 94=(92)2=812=65619^4 = (9^2)^2 = 81^2 = 6561. Confirmed.

Code examples

Beginner example (Python)

python
# Power of a power: (a^m)^n = a^(m*n)
base = 3
m = 2
n = 4
result_rule = base ** (m * n)   # a^(mn)
result_stacked = (base ** m) ** n   # (a^m)^n
result_expanded = base**m * base**m * base**m * base**m   # manual expansion
print(f"Base: {base}, m={m}, n={n}")
print(f"(a^m)^n using rule: {base}^{m*n} = {result_rule}")
print(f"(a^m)^n computed: ({base}^{m})^{n} = {result_stacked}")
print(f"Manual expansion: {base}^{m} * ... (x{n}) = {result_expanded}")
print(f"All match: {result_rule == result_stacked == result_expanded}")

Beginner example (R)

r
# Power of a power: (a^m)^n = a^(m*n)
base <- 3
m <- 2
n <- 4
result_rule <- base^(m * n)
result_stacked <- (base^m)^n
cat(sprintf("Base: %d, m=%d, n=%d\n", base, m, n))
cat(sprintf("Using rule: %d^(%d*%d) = %d^%d = %d\n", base, m, n, base, m*n, result_rule))
cat(sprintf("Stacked form: (%d^%d)^%d = %d\n", base, m, n, result_stacked))
cat(sprintf("Match: %s\n", result_rule == result_stacked))

Professional example (Python)

python
import numpy as np
import pandas as pd

# Scenario: converting monthly survival rate to quarterly survival rate
# Monthly survival: S(t) = s^t where t = months
# Quarterly: S(3k) = s^(3k) = (s^3)^k -- quarterly survival rate is s^3
MONTHLY_SURVIVAL = 0.92                     # 8% monthly churn
QUARTERLY_SURVIVAL = MONTHLY_SURVIVAL ** 3  # power-of-a-power rule
quarters = list(range(1, 9))
survival_df = pd.DataFrame({
    "quarter": quarters,
    "months_elapsed": [q * 3 for q in quarters],
})

# Two equivalent ways to compute survival
survival_df["survival_monthly_form"] = MONTHLY_SURVIVAL ** survival_df["months_elapsed"]
survival_df["survival_quarterly_form"] = QUARTERLY_SURVIVAL ** survival_df["quarter"]
survival_df["match"] = np.isclose(
    survival_df["survival_monthly_form"], survival_df["survival_quarterly_form"]
)
print(f"Monthly survival rate: {MONTHLY_SURVIVAL}")
print(f"Quarterly survival rate: {MONTHLY_SURVIVAL}^3 = {QUARTERLY_SURVIVAL:.6f}")
print()
print(survival_df[["quarter", "months_elapsed", "survival_monthly_form", "survival_quarterly_form", "match"]].to_string(index=False))
print(f"\nAll match (power-of-a-power rule verified): {survival_df['match'].all()}")

Professional example (R)

r
# Monthly → quarterly survival: S(3k) = s^(3k) = (s^3)^k
MONTHLY_SURVIVAL <- 0.92
QUARTERLY_SURVIVAL <- MONTHLY_SURVIVAL^3
quarters <- 1:8
months_elapsed <- quarters * 3
survival_monthly <- MONTHLY_SURVIVAL^months_elapsed
survival_quarterly <- QUARTERLY_SURVIVAL^quarters
match <- abs(survival_monthly - survival_quarterly) < 1e-10
df <- data.frame(quarter = quarters, months_elapsed, survival_monthly_form = survival_monthly, survival_quarterly_form = survival_quarterly, match = match)
cat(sprintf("Monthly: %.2f Quarterly: %.2f^3 = %.6f\n", MONTHLY_SURVIVAL, MONTHLY_SURVIVAL, QUARTERLY_SURVIVAL))
print(df)
cat(sprintf("\nAll match: %s\n", all(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