Undergrad Learn the Truth about Integrals of 1/x: Debunking Common Misconceptions

  • Thread starter Thread starter Eclair_de_XII
  • Start date Start date
  • Tags Tags
    Integral Stupid
Click For Summary
SUMMARY

The discussion focuses on the integral of the function 1/x, specifically the evaluation of the definite integral from 1 to e. Participants clarify that the integral of 1/x is correctly expressed as ln|x| + C, emphasizing the importance of the absolute value due to the logarithm's definition on the positive real line. The confusion arises from the manipulation of the integral with negative variables, which requires careful attention to the change of variables and the boundaries of integration. Ultimately, the correct evaluations yield a result of -1 for both integrals discussed.

PREREQUISITES
  • Understanding of integral calculus, specifically definite integrals
  • Familiarity with logarithmic functions and their properties
  • Knowledge of substitution methods in integration
  • Basic grasp of differential notation and its implications in calculus
NEXT STEPS
  • Study the properties of logarithmic functions, focusing on ln|x| and its applications
  • Learn about substitution techniques in integration, including variable changes and boundary adjustments
  • Explore the concept of improper integrals and their evaluations
  • Investigate the relationship between differentiation and integration, particularly in composite functions
USEFUL FOR

Students of calculus, mathematics educators, and anyone seeking to deepen their understanding of integrals and logarithmic functions.

Eclair_de_XII
Messages
1,082
Reaction score
91
TL;DR
I've read somewhere that if a function is integrable over some domain, then a scalar multiple of that function is also integrable over the same domain. Moreover, the integral of a scalar multiple of a function is the scalar multiple of the integral of that function. But when I think about the integral of the function ##f(x)=\frac{1}{x}##, I start to get confused.
Let's take an integral##−\int_1^e\frac{dx}{x}##. On one hand, this is equal to ##-\ln(x)|_1^e##. But on the other, ##−\int_1^e\frac{dx}{x}=\int_1^e\frac{dx}{-x}##. If I assume that the integral of this is ##\ln⁡(-x)|_1^e##, then I'd be really stupid since ##\ln## is not even defined over the negative real numbers. I am very sure I am misunderstanding something very important in these statements I have cited. Or maybe I forgot some key statements that go along with these. Either way, I'm confused, and it's been bothering me all day. Can someone help me point out my mistakes? Thanks.
 
Physics news on Phys.org
Indeed, when you integrate ##\tfrac{1}{x}##, you need to take into account that logarithm is defined on the positive subset of the real line, so it is correct to write:
$$\int \frac{dx}{x} = \ln{\vert x \vert} + C$$
That's the correct formula, so the confusion shouldn't arise in that case. Namely, we have:
$$-\int_1^e \frac{dx}{x} = -(\ln{\vert x\vert})\vert_1^e = -1$$
$$\int_1^e \frac{dx}{-x} = -\int_1^e \frac{d(-x)}{-x} = -(\ln{\vert -x\vert})\vert_1^e = -1$$

Is that clearer now? You made a mistake also, when you put a scalar in the integral, you forgot to change the variable(x into -x), so you didn't get the extra minus sign, besides missing the absolute value.
 
  • Like
Likes Delta2
Okay, I got it. Thank you for explaining it to me.
 
You're welcome!
 
Eclair_de_XII said:
Okay, I got it. Thank you for explaining it to me.

If you've got your degree, you can stop tormenting yourself with mathematics now!
 
Antarres said:
Indeed, when you integrate ##\tfrac{1}{x}##, you need to take into account that logarithm is defined on the positive subset of the real line, so it is correct to write:
$$\int \frac{dx}{x} = \ln{\vert x \vert} + C$$
That's the correct formula, so the confusion shouldn't arise in that case. Namely, we have:
$$-\int_1^e \frac{dx}{x} = -(\ln{\vert x\vert})\vert_1^e = -1$$
$$\int_1^e \frac{dx}{-x} = -\int_1^e \frac{d(-x)}{-x} = -(\ln{\vert -x\vert})\vert_1^e = -1$$

Is that clearer now? You made a mistake also, when you put a scalar in the integral, you forgot to change the variable(x into -x), so you didn't get the extra minus sign, besides missing the absolute value.
Hi, I was just reading through this thread and became quite confused when I say you state that ##\int_1^e \frac{dx}{-x} = -\int_1^e \frac{d(-x)}{-x}##, specifically where ##dx## becomes ##d(-x)##. I'm almost certainly a complete novice when it comes to calculus but I am still quite confused as to how/why you are integrating with respect to negative x. Any chance you could explain it to a beginner? Thanks for your time :)
 
That is just a shorter notation for substitution. We have either:
$$dx = -d(-x)$$
due to linearity of differential. In this case we have integration in variable ##-x##, without performing the change of variables explicitly(since we integrate ##d(-x)##).
Or we can perform a substitution: ##u = -x, du = -dx## in which case we get:
$$\int_1^e \frac{dx}{-x} = \int_{-1}^{-e} \frac{-du}{u}$$
When we perform a change of variables, we must change the boundaries of integration, that's why 1 goes to -1, and e goes to -e. And now when we integrate in ##u##, we get the same result.

So basically, you can look at ##dx## in an integral, as a mark of what variable you're integrating. But also, it is a differential, so you can for example do something like ##2xdx = d(x^2)##, where you effectively change the integration variable from ##x## to ##x^2## without explicitly doing it. When you write this way, you don't change the boundaries, since you haven't changed variables explicitly, and in the end result you substitute ##x## with the boundaries, not ##x^2##.

Hope I didn't make that sound too confusing.
 
  • Like
Likes Delta2
This is my take:
In a general sense, ##d/dx(ln(f(x)) =\frac {f'(x)dx}{f(x)} ##

In your case , to have an integral of a composite function f(x) , you put it in above form: ##f(x)=-x ## given

##\frac {dx}{-x} =\frac {d(-x)(-1)}{-x}= \frac {-1}{-x} d(-x)##
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K