# antiderivate question

#### tmt

##### Active member
for ∫a^x dx,

is the answer a^x/ln a or a^x/ln|a| or does it matter?

Thanks

#### ThePerfectHacker

##### Well-known member
The function $a^x$ is not defined for negative values of $a$. If $a>0$ and $a\not = 1$ then what you wrote is correct without absolute values.