Ma · Mathematics

How to Convert an Exponential Expression to a Different Base

Published By the 9to5Science editorial team

At a glance

  1. 1. Choose the new base

    Use a positive base b that is not 1, and make sure the original base is positive.

  2. 2. Find the base conversion

    Express the original base as a power of b, or calculate its logarithm to base b.

  3. 3. Adjust the exponent

    Multiply the original exponent by the logarithm of the original base to base b.

  4. 4. Check the identity

    Use logarithm rules to verify that the converted expression has the same value.

To rewrite an expression with one exponential base using another base, use logarithms. The general identity is

ax=bxlog⁡ba.a^x=b^{x\log_b a}.

This works for positive aa and bb, where b≠1b\ne 1. It is often quicker to use ordinary powers when the original base is an exact power of the new base.

The base-conversion rule

Suppose you want to express axa^x as a power of bb. Let the unknown exponent be yy, so that ax=bya^x=b^y. Taking logarithms to base bb gives

y=log⁡b(ax)=xlog⁡ba.y=\log_b(a^x)=x\log_b a.

Therefore,

ax=bxlog⁡ba.a^x=b^{x\log_b a}.

The logarithm factor changes the exponent to compensate for changing the base. You do not generally replace the base and leave the exponent unchanged.

The change-of-base formula lets you calculate the factor using another logarithm, such as a natural logarithm or a common logarithm:

log⁡ba=ln⁡aln⁡b=log⁡10alog⁡10b.\log_b a=\frac{\ln a}{\ln b}=\frac{\log_{10}a}{\log_{10}b}.

Thus an equivalent version of the conversion rule is

ax=bxln⁡aln⁡b.a^x=b^{x\frac{\ln a}{\ln b}}.

Worked examples

Converting 8^x to base 2

Because 8=238=2^3, substitute that power into the expression and use the exponent rule (um)n=umn(u^m)^n=u^{mn}:

8x=(23)x=23x.8^x=(2^3)^x=2^{3x}.

The exponent is multiplied by 3 because 8 is the third power of 2.

Converting 5^3 to base 2

Since 5 is not an integer power of 2, use a logarithm:

53=23log⁡25.5^3=2^{3\log_2 5}.

For a numerical check, log⁡25≈2.321928\log_2 5\approx2.321928, so the exponent is approximately 6.9657846.965784. Then 26.9657842^{6.965784} is approximately 125, which agrees with 53=1255^3=125.

Converting e^(kx) to base 10

Set a=ea=e, b=10b=10, and use xx in the general rule as kxkx:

ekx=10kxlog⁡10e=10kx/ln⁡10.e^{kx}=10^{kx\log_{10}e}=10^{kx/\ln 10}.

This form is useful when you need an exponential expression written using powers of 10, for example to compare it with another base-10 exponential.

If the old base is an exact power of the new base, first rewrite the old base and then simplify. For example,

16x+1=(24)x+1=24x+4.16^{x+1}=(2^4)^{x+1}=2^{4x+4}.

You can also convert in the other direction. Since 2=161/42=16^{1/4},

2x=16x/4.2^x=16^{x/4}.

The logarithm rule gives the same result: log⁡162=1/4\log_{16}2=1/4.

Common mistakes

  • Changing the base but not the exponent: In general, axa^x is not equal to bxb^x. The exponent needs the factor log⁡ba\log_b a.
  • Using the logarithm in the wrong order: To convert axa^x into base bb, use log⁡ba\log_b a, not log⁡ab\log_a b. These are reciprocals when both are defined.
  • Forgetting the whole exponent: If the original expression is af(x)a^{f(x)}, the converted exponent is f(x)log⁡baf(x)\log_b a. For example, 8x+1=23(x+1)8^{x+1}=2^{3(x+1)}, not 23x+12^{3x+1}.
  • Ignoring domain conditions: The real logarithm log⁡ba\log_b a requires a>0a>0, b>0b>0, and b≠1b\ne1. Expressions with negative bases and non-integer exponents need separate care and do not follow this real-logarithm rule in general.

Converting a numerical exponential to a calculator-friendly base

If you need a numerical value, you usually do not have to rewrite the expression. A calculator can evaluate axa^x directly, or you can use ax=exln⁡aa^x=e^{x\ln a}. The latter follows from the same identity and is useful in algebra, calculus, and programming when natural exponentials are the available function.

References

  1. Precalculus 2e, OpenStax

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.