Clarification needed: u-sub requires combining 2 constants

  • Thread starter Thread starter Rear Naked
  • Start date Start date
  • Tags Tags
    Constants
Rear Naked
Messages
48
Reaction score
0

Homework Statement



Evaluate ∫-x/(x+1) dx

Homework Equations


The Attempt at a Solution



I do a U-sub

u=x+1
du=dx
x=u-1

-∫(u-1)/u du

-∫[u/u - 1/u] du

-∫1 - 1/u du

-[∫1du - ∫1\u du]

-[u - ln(u) + C]

ln(u)-u+C

ln(x+1)-(x+1)+C

ln(x+1)-x-1+C

I combine -1 and C into a single C to get the final answer

ln(x+1) - x + CWolfram says the answer is correct, but its method is slightly different. It uses long division at the outset to go from -∫x/(x+1) dx → -∫1 - 1/(x+1) dx before seperating into 2 integrals, and doing a u-sub on the second. My answer ends up the same, but getting that extra -1 from substituting the (x+1) in for u is making me nervous for some reason, even though I ultimately combine it with the constant. Is my process equally correct (I think it is) or did I just get lucky with the solution?

Thanks
 
Last edited:
Physics news on Phys.org
Rear Naked said:

Homework Statement



Evaluate ∫-x/(x+1) dx


Homework Equations





The Attempt at a Solution



I do a U-sub

u=x+1
du=dx
x=u-1

-∫(u-1)/u du

-∫[u/u - 1/u] du

-∫1 - 1/u du

-[∫1du - ∫1\u du]

-[u - ln(u) + C]

ln(u)-u+C

ln(x+1)-(x+1)+C

ln(x+1)-x-1+C

I combine -1 and C into a single C to get the final answer

ln(x+1) - x + C


Wolfram says the answer is correct, but its method is slightly different. It uses long division at the outset to go from -∫x/(x+1) dx → -∫1 - 1/(x+1) dx before seperating into 2 integrals, and doing a u-sub on the second.


My answer ends up the same, but getting that extra -1 from substituting the (x+1) in for u is making me nervous for some reason, even though I ultimately combine it with the constant. Is my process equally correct (I think it is) or did I just get lucky with the solution?

Thanks

Either approach can be taken to produce the antiderivative. Many times it is the case that more than one technique can be used.

Two comments:
1. You should connect the expressions you have with =.
2. In these lines --
ln(x+1)-x-1+C
ln(x+1) - x + C
-- C on the 2nd line is different from C on the first. What people usually do is write a different constant (e.g., C') to indicate that the new constant actually is different from the previous one.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top