[Math] In exponential equations, why can the exponents be equal to each other when the bases are the same

algebra-precalculusexponentiation

My algebra textbook says that if the bases in an exponential equation are the same, then we can "cancel out" the bases and set the exponents equal to each other and then solve for $x$.

For example:

$2^{3x-8} = 2^4$

$3x-8 = 4$

$x = 4$

My question is twofold:

One, why are we allowed to "cancel out" the bases and set the exponents equal to each other when the bases are the same?

Two, why can't this method be done when the bases are NOT the same?

Best Answer

If the bases are the same (and positive) then $a^x=a^y$ can be divided through by the non-zero number $a^y$ to obtain $a^{x-y}=1$ from which we can conclude that either $a=1$ (we assumed $a\gt 0$) or $x-y=0$.

[The function $a^x$ is monotonic for positive $a$ - it increases with increasing $x$ for $a\gt 1$, is constant for $a=1$ and decreases with increasing $x$ for $a\lt 1$ - this makes it injective for positive $a\neq 1$]

If the bases are not the same - well $4^2=16$ and $2^2=4$ are not equal, even though they have the same exponent. One can take logarithms to any convenient base, though, and in appropriate cases this will lead to a solution.