Logarithm and exponent properties

Exponent rules

The exponent rules appear when you visualize what’s being multiplied, then slap basic algebra on. With these two rules:

xaxb=xa+b=(x∗x∗...a times)×(x∗x∗...b times)=(x∗itself, a+b times)(xa)b=xab=(x∗itself, a times)×itself, b times=(x∗itself, a×b times)\begin{align} x^ax^b &= x^{a+b} \\ &= (x * x *... \text{a times}) \times (x * x *... \text{b times}) \notag \\ &= (x * \text{itself, } a+b \text{ times}) \notag \notag \\ (x^a)^b &= x^{ab} \\ &= (x* \text{itself, a times}) \times \text{itself, b times} \notag \\ &= (x * \text{itself, } a \times b \text{ times}) \notag \end{align}

We can quickly infer rooting, and then powerroot\frac{power}{root}:

xb=x1/b From rule 2, since(xb)b=(x1/b)b=x(b/b)xa/b=xab From rule 3, since xa/b=(xa)1/b=xab\begin{align} \sqrt[b]{x} &= x^{1/b} \quad \text{\ From rule 2, since} \\ (\sqrt[b]{x})^b &= (x^{1/b})^b = x^{(b/b)} \notag \\ \notag \\ x^{a/b} &= \sqrt[b]{x^a} \quad \text{\ From rule 3, since } \\ x^{a/b} &= (x^a)^{1/b} = \sqrt[b]{x^a} \notag \\ \end{align}

With rule 1, we can also infer that:

x0=x1÷x1=1From rule 1x−a=x0÷xa=1xaFrom rule 1 and 5axbx=(ab)x=(a∗a∗...x times)×(b∗b∗...x times)=(ab∗ab∗...x times by associative property)\begin{align} x^0 &= x^1 \div x^1 = 1 \quad \text{From rule 1} \\ \notag \\ x^{-a} &= x^0 \div x^a = \frac{1}{x^a} \quad \text{From rule 1 and 5} \\ \notag \\ a^xb^x &= (ab)^x \\ &= (a * a * ... \text{x times}) \times (b * b * ...\text{x times}) \notag \\ &= (ab * ab * ... \text{x times by associative property})\notag \end{align}

The cooler logarithm rules

The logarithm is the exponent needed to get a base to a number, i.e.
bx=n  ⟺  log⁡bn=xb^x=n \iff \log_b{n}=x

By definition, log⁡b(bx)=x\log_b(b^x)=x since the exponent needed to get any bb to bxb^{x} is… well, xx.

Addition rule

log⁡b(mn)=log⁡bm+log⁡bnLet m=bx and n=by so we can substitute:log⁡b(bxby)=log⁡b(bx)+log⁡b(by)log⁡b(bx+y)=log⁡b(bx)+log⁡b(by)x+y=x+y by definition\begin{align} \log_b(mn) &= \log_bm + \log_bn \\ \text{Let } m = b^x \text{ and } n &= b^y \text{ so we can substitute:} \notag \\ \log_b(b^xb^y) &= \log_b(b^x) + \log_b(b^y) \notag \\ \log_b(b^{x + y}) &= \log_b(b^x) + \log_b(b^y) \notag \\ x + y &= x + y \quad \text{ by definition} \notag \end{align}

Subtraction rule

This is just the extension of above, but with the use of n=byn=b^y becoming n−1=b−yn^{-1}=b^{-y}.

log⁡b(mn)=logbm−logbnlog⁡b(mn−1)=logbm−logbnlog⁡b(bx(by)−1)=log⁡b(bx)+logb((by)−1)log⁡b(bxb−y)=log⁡b(bx)+logb(b−y)log⁡b(bx−y)=log⁡b(bx)+logb(b−y)x−y=x+−y\begin{align} \log_b(\frac{m}{n}) &= log_bm - log_bn \\ \log_b(mn^{-1}) &= log_bm - log_bn \notag \\ \log_b(b^x(b^y)^{-1}) &= \log_b(b^x) + log_b((b^y)^{-1}) \notag \\ \log_b(b^xb^{-y}) &= \log_b(b^x) + log_b(b^{-y}) \notag \\ \log_b(b^{x-y}) &= \log_b(b^x) + log_b(b^{-y}) \notag \\ x - y &= x + - y \notag \end{align}

Power rule

log⁡b(mpq)=pqlog⁡bmlog⁡b(mpq)=pqlog⁡bmlog⁡b((bx)pq)=pqlog⁡b(bx)log⁡b(bxpq)=pqlog⁡b(bx)x×pq=x×pq\begin{align} \log_b(\sqrt[q]{m^p}) &= \frac{p}{q} \log_bm \\ \log_b(m^{\frac{p}{q}}) &= \frac{p}{q} \log_bm \notag \\ \log_b((b^x)^{\frac{p}{q}}) &= \frac{p}{q} \log_b(b^x) \notag \\ \log_b(b^{\frac{xp}{q}}) &= \frac{p}{q} \log_b(b^x) \notag \\ x \times \frac{p}{q} &= x \times \frac{p}{q} \notag \end{align}

Of course, we only use the principal solution of the root, since a logarithm cannot take a negative argument (its domain is x>0x>0).

Base change rule

Any given logarithm can be written in another arbitrary-base logarithm.

log⁡bm=log⁡nmlog⁡nblog⁡b(bx)=log⁡n(bx)log⁡nblog⁡b(bx)=xlog⁡nblognb By the power rulex=x\begin{align} \log_bm &= \frac{\log_nm}{\log_nb} \\ \log_b(b^x) &= \frac{\log_n(b^x)}{\log_nb} \notag \\ \log_b(b^x) &= \frac{x\log_nb}{log_nb} \quad \text{ By the power rule} \notag \\ x &= x \notag \end{align}