Antiderivative · Exercise-ANTIDERIVATIVE-003
Step-by-step solved exercise: Integrals
Which is an antiderivative of \(\displaystyle f(x)=\frac{1}{x}\)?
Antiderivative · Exercise-ANTIDERIVATIVE-003
Which is an antiderivative of \(\displaystyle f(x)=\frac{1}{x}\)?
We look for a function whose derivative is \(\displaystyle \frac{1}{x}\) on an interval that does not contain 0.
We recall that the derivative of \(\displaystyle \ln x\) for \(\displaystyle x>0\) is \(\displaystyle \frac{1}{x}\).
For \(\displaystyle x<0\) we use \(\displaystyle \ln|x|\), which differentiates the same way.
Comment: The function is valid on \(\displaystyle (-\infty,0)\) and on \(\displaystyle (0,\infty)\), not on an interval containing 0.
We add the constant C to get the antiderivative.
\(\displaystyle \ln{\left(\left|{x}\right| \right)} + C\)