U-Substitution for Integrating ln x / (x(1 + ln x))

  • Thread starter Mr Davis 97
  • Start date
In summary: But that is all beside the point. In summary, you are trying to solve a problem, but are not getting the correct answer because you are not following the instructions correctly.
  • #1
Mr Davis 97
1,462
44

Homework Statement


##\displaystyle \int \frac{\ln x}{x(1 + \ln x)} dx##

Homework Equations

The Attempt at a Solution


[/B]
Let ##u = 1 + \ln x##, then ##\ln x = u - 1##
##\displaystyle du = \frac{1}{x}dx##
Thus, ##\displaystyle \int \frac{\ln x}{x(1 + \ln x)} dx = \int \frac{u - 1}{u} du= \int 1 - u^{-1} du = u - \ln u + C = 1 + \ln x - \ln \left | \ln x + 1\right | + C##

However, this is the wrong answer. What am I doing wrong?
 
Physics news on Phys.org
  • #2
Mr Davis 97 said:

Homework Statement


##\displaystyle \int \frac{\ln x}{x(1 + \ln x)} dx##

Homework Equations

The Attempt at a Solution


[/B]
Let ##u = 1 + \ln x##, then ##\ln x = u - 1##
##\displaystyle du = \frac{1}{x}dx##
Thus, ##\displaystyle \int \frac{\ln x}{x(1 + \ln x)} dx = \int \frac{u - 1}{u} du= \int 1 - u^{-1} du = u - \ln u + C = 1 + \ln x - \ln \left | \ln x + 1\right | + C##

However, this is the wrong answer. What am I doing wrong?

Why do you think it is wrong?
 
  • #3
Ray Vickson said:
Why do you think it is wrong?
Because my answer book says that the answer should be ##\ln x - \ln | \ln x + 1 | + C## I have a 1 in there, which is where the answer differs.
 
  • #4
Mr Davis 97 said:
Because my answer book says that the answer should be ##\ln x - \ln | \ln x + 1 | + C## I have a 1 in there, which is where the answer differs.
Is not C+1 a constant?
 
  • #5
ehild said:
Is not C+1 a constant?
Does that mean as my final answer I should redefine C + 1 as just C, since they are both just constants? Why did I get a 1 in the first place, while other ways of obtaining the solution don't have the 1? Such as letting u be just lnx instead of lnx + 1?
 
  • #6
Mr Davis 97 said:
Does that mean as my final answer I should redefine C + 1 as just C, since they are both just constants? Why did I get a 1 in the first place, while other ways of obtaining the solution don't have the 1? Such as letting u be just lnx instead of lnx + 1?
When you integrate, you find one result, one primitive of the function you integrate.
Now, if the function ##f## is the the primitive you found, ##f+C## (##C## any constant) will also be a primitive. So yes, you can remove the +1, or leave it, both results are correct. Removing the +1 makes the answer somewhat more elegant, but there is nothing more to it than that.
 
  • #7
Mr Davis 97 said:
Does that mean as my final answer I should redefine C + 1 as just C, since they are both just constants? Why did I get a 1 in the first place, while other ways of obtaining the solution don't have the 1? Such as letting u be just lnx instead of lnx + 1?

You got the '1' in the first place because YOU chose to define u as 1 + ln(x).

Anyway, why are you obsessing on this issue? It as absolutely NO importance: the constant of integration is totally arbitrary, and can be called 147.262 + K instead of C, if that is what you prefer. It can be called anything you want, and if somebody else chooses to call it something different from what you choose to call it, that is OK, too. If you use a computer algebra system to do the indefinite integral, it might not a constant of integration (but it might include your "1" if it happened to use your change-of-variable method).
 

FAQ: U-Substitution for Integrating ln x / (x(1 + ln x))

1. What is U-substitution?

U-substitution is a technique used in calculus to simplify integrals by substituting a more complex expression with a simpler one. It is also known as the "reverse chain rule" or "change of variables" method.

2. When should I use U-substitution?

You should use U-substitution when you have an integral involving a composite function, where the inner function is more complicated than the outer function. It is also useful when the integrand involves a polynomial, exponential, or trigonometric function.

3. How do I perform U-substitution?

To perform U-substitution, you need to choose a substitution variable, usually denoted as u, and substitute it for the inner function. Then, rewrite the integral in terms of u and the derivative of u, du. Finally, solve for the new integral and substitute back in the original variable at the end.

4. What are the benefits of using U-substitution?

U-substitution can simplify complicated integrals and make them easier to evaluate. It can also help you solve integrals that would be difficult or impossible to solve otherwise.

5. Are there any limitations to U-substitution?

U-substitution may not work for all integrals, especially in cases where the integrand involves multiple variables or complex functions. In some cases, other integration techniques such as integration by parts may be more suitable.

Back
Top