I fully apologize if this is a duplicate, but I really can’t find the answer to this online here. But a proof of the rule
$$\int a^x dx= \frac{a^x}{\ln(a)}+C$$
would be really helpful. I need it for something I’m doing. This is all I need. I have no sources on the problem as I want the proof myself, but I use this rule so much that it struck me as second nature when I wanted to solve it! Any possible answers would be appreciated.
I assume it's kosher to use the exponential integral with base $e$, i.e. $\int e^x dx = e^x +C$? Or, more generally, for a constant $k$,
$$\int e^{kx}dx = \frac{1}{k}e^{kx}+C$$
If so, then note:
$$\int a^x dx = \int e^{\ln(a^x)} dx = \int e^{x \ln(a)}dx = \frac{1}{\ln(a)}e^{x \ln(a)}+C= \frac{1}{\ln(a)}e^{\ln(a^x)}+C= \frac{a^x}{\ln(a)}+C$$
This is mostly just manipulation of various logarithm properties: namely,
$$e^{\ln(x)} = x$$ $$\ln(a^b) = b \ln(a)$$
Also, a nitpick: the integral in your question, OP, needs a $+C$ after it, since indefinite integration introduces an arbitrary constant.