What is the integral of 1/x?

zagonek34

zagonek34

Answered question

2021-12-17

What is the integral of 1/x?

Answer & Explanation

Anzante2m

Anzante2m

Beginner2021-12-18Added 34 answers

What is the integral of \frac{1}{x}? Do you get ln(x) or ln|x|?
In general, does integrating f′(x)/f(x) give ln(f(x)) or ln|f(x)|?
Also, what is the derivative of |f(x)|? Is it f′(x) or |f′(x)|?
Mason Hall

Mason Hall

Beginner2021-12-19Added 36 answers

You have
1xdx=ln|x|+C
(Note that the "constant" C might take different values for positive or negative x. It is really a locally constant function.)
In the same way,
f(x)f(x)dx=ln|f(x)|+C
The last derivative is given by
ddx|f(x)|=sgn(f(x))f(x)={f(x)iff(x)>0f(x)iff(x)<0
nick1337

nick1337

Expert2021-12-27Added 777 answers

Answers to the question of the integral of 1x are all based on an implicit assumption that the upper and lower limits of the integral are both positive real numbers. If we allow more generality, we find an interesting paradox. For instance, suppose the limits on the integral are from −A to +A where A is a real, positive number. The posted answer in term of ln would give
ln(A)ln(A)=ln(AA)=ln(1)=iπa complex number --- rather strange.
Now if you do the same integral from − to + infinity (i.e. A=) using Contour Integration, you get i∗2π or twice the above value.
If you use simple reasoning, and also numerical integration, this integral for any value of A ( as long as the limits are −A to +A is clearly 0. So one must be careful in evaluating real integrals with a singularity of this kind. Same applies to any integral of 1xk where k is any constant real number) 

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?