Integrate a^x

Integrate a^x

To integrate a^x, we first recognise that this is an exponential to the base a, often called a number to the power x.

Changing the base

When we see integration problems like these, the first thing to come to mind should be the base change method where a^x is the same as e^z, and we are changing the base from "a" to "e".

Taking logs on both sides

We take logs to the base e on both sides.

Simplifying

We find that ln e=1, and this simplifies it greatly.

Expression for z

This gives us an expression for z.

New identity

We substitute the expression for z into expression [1]

New Integral

Hence, these two integrals are the same.

result

We integrate the easier version, which gives us the answer above.

Intermediate answer

We substitute expression [2] to remove e^(x lna).

Final answer

This final answer is usually the standard formula given in some exams however; it is worth understanding the precise mechanism so you can use it for any base.

Examples

a^x
2^x
3^x
4^x
5^x
6^x
7^x
8^x
9^x
10^x
11^x