Integrating ln(x+1) with Integration by Parts

In summary, the student was trying to solve for uv-/vdu but got it wrong. He forgot to include 1 in c and the integral of x/(x+1) is wrong.
  • #1
noobie!
58
0

Homework Statement



integrate ln(x+1) dx (integrate by part)

Homework Equations


integrate e^-2x sin3x dx


The Attempt at a Solution


1st,i make u=x+1 ,so du/dx =1 du=dx..while i use /dv =/ln(x+1) dx and after integrating my v=1/(x+1) so subtitute into uv -/vdu but my ans turn out to be wrong so i need some guidance over here.i guess my integration for dv is wrong but i can't really see it..so could any1 please help me..thanks..:blushing:
 
Physics news on Phys.org
  • #2
How about letting u = ln(x+1) and dv = 1 dx?

I'm not sure what you meant by letting u = x + 1 and dv = ln(x+1). You have integral of ln(x+1) dx, you are subst. u and dv in there, once you let u = x + 1 it makes no sense to let dv = ln(x+1)
 
  • #3
noobie! said:

Homework Statement



integrate ln(x+1) dx (integrate by part)

Homework Equations


integrate e^-2x sin3x dx

The Attempt at a Solution


1st,i make u=x+1 ,so du/dx =1 du=dx..while i use /dv =/ln(x+1) dx and after integrating my v=1/(x+1) so subtitute into uv -/vdu but my ans turn out to be wrong so i need some guidance over here.i guess my integration for dv is wrong but i can't really see it..so could any1 please help me..thanks..:blushing:

uv -/vdu

/dv =/ln(x+1) dx

if / is integral sign.. then that ln(x+1) is wrong.

It's like

d/dx ( x*ln(x+1)) = ?

and uv = x*ln(x+2)

You just rearrange that "d/dx ( x*ln(x+1)) = ?" equation .. to find int [ln(x+1)] .. I never learned using u and v

Edit: I think NoMoreExams is right... I never used u-v formula
 
  • #4
NoMoreExams said:
How about letting u = ln(x+1) and dv = 1 dx?

I'm not sure what you meant by letting u = x + 1 and dv = ln(x+1). You have integral of ln(x+1) dx, you are subst. u and dv in there, once you let u = x + 1 it makes no sense to let dv = ln(x+1)

i did like what you mention but i couldn't find the ans..the ans is (x+1)(ln(x+1)) -(x+1) + c ,if i differetiate du/dx =1/(x+1) and sub into the formula i can't get..
 
  • #5
rootX said:
uv -/vdu

/dv =/ln(x+1) dx

if / is integral sign.. then that ln(x+1) is wrong.

It's like

d/dx ( x*ln(x+1)) = ?

and uv = x*ln(x+2)

You just rearrange that "d/dx ( x*ln(x+1)) = ?" equation .. to find int [ln(x+1)] .. I never learned using u and v

Edit: I think NoMoreExams is right... I never used u-v formula

ya that's integral sign,why do you say it's wrong?can you please tell me..?thanks..i did like what nomoreexams said..i still can't get my ans correct..i sow you my steps please rectify me.. like what he says; u=ln(x+1) after diff du/dx = 1/x+1 and u integrate dv=1 dx..it will be v= x so finally sub into the formula integration by parts will be uv-/vdu =(ln(x+1))(x)-/(x)(1/x+1 dx) but the ans turn out to be wrong..
 
  • #6
noobie! said:
i did like what you mention but i couldn't find the ans..the ans is (x+1)(ln(x+1)) -(x+1) + c ,if i differetiate du/dx =1/(x+1) and sub into the formula i can't get..

uv-/vdu =(ln(x+1))(x)-/(x)(1/x+1 dx) is NOT equal to (x+1)(ln(x+1)) -(x+1) + c

integral of x/(x+1) is wrong. Are you using partial fractions here?

Edit Sorry,:
>> int (log(x+1),x)

ans =

log(x+1)*(x+1)-x-1

I guess I was making some mistake in the partial fractions.. but you answer looks correct (that's matlab). And, also you can include 1 in c .. it really doesn't make any difference.
 
Last edited:
  • #7
rootX said:
uv-/vdu =(ln(x+1))(x)-/(x)(1/x+1 dx) is NOT equal to (x+1)(ln(x+1)) -(x+1) + c

integral of x/(x+1) is wrong. Are you using partial fractions here?

ya,the answer is not match then which part of mine turn out to be wrong?then integrate of 1/(x+1) wrong?why?so what should i do?no,que required to integrate by parts,which means
/u dv = uv - /v du
 
  • #8
You guys should look into learning how to typeset in TeX. In any case I'll start you off

[tex] \int{ln(x+1) dx} [/tex] is what we have.

If we let [tex] u = ln(x+1) \Rightarrow du = \frac{dx}{x+1} [/tex] and [tex] dv = dx \Rightarrow v = x [/tex]

Subst. this into our formula we get

[tex] \int{ln(x+1) dx = x ln(x+1) - \int \frac{x}{x+1} dx [/tex]

Can you take it from here?
 
  • #9
NoMoreExams said:
You guys should look into learning how to typeset in TeX. In any case I'll start you off

[tex] \int{ln(x+1) dx} [/tex] is what we have.

If we let [tex] u = ln(x+1) \Rightarrow du = \frac{dx}{x+1} [/tex] and [tex] dv = dx \Rightarrow v = x [/tex]

Subst. this into our formula we get

[tex] \int{ln(x+1) dx = x ln(x+1) - \int \frac{x}{x+1} dx [/tex]

Can you take it from here?
ok,thanks a lot.,i get your idea..but i can't really take it from there but then i can get it by putting your idea into my way..anyway thank for your help
 
  • #10
You can't integrate x/(x+1) dx?
 
  • #11
NoMoreExams said:
You can't integrate x/(x+1) dx?

Yes, I think he had "(x+1)(ln(x+1)) -(x+1) + c " which is right

diff {(x+1)(ln(x+1)) -(x+1) + c }
ln(x+1) + 1 -1 = ln(x+1)

so which is correct. I don't see any problem here other than 1 which can be included in the constant ...
 
  • #12
I didn't disagree. I was commenting on him saying "but i can't really take it from there" which meant he couldn't integrate x/(x+1) dx.
 
  • #13
NoMoreExams said:
I didn't disagree. I was commenting on him saying "but i can't really take it from there" which meant he couldn't integrate x/(x+1) dx.

i could integrate it thanks a lot,yesterday was brain dead..im so sorry,finally i get your points clear d..thanks man,integrate /x/(x+1) will be ln(x+1) i completely understand..thanks to both of you..but i put it in this way,can you please check out could this sol works? 1st,i use a=x+1 ,then integrate lna da i make u=ln a while dv=da so after du/dx=1/a while v=a..from here i depart to sub into the formula uv-/vdu so it will be ...(lna)(a) - /(a) X (1/a da)
then it finally turn out to be ln(x+1)(x+1) - (x+1) + c... does this way work?please do rectify me if there is any mistakes i have made...
 
  • #14
noobie! said:
i could integrate it thanks a lot,yesterday was brain dead..im so sorry,finally i get your points clear d..thanks man,integrate /x/(x+1) will be ln(x+1) i completely understand..thanks to both of you..but i put it in this way,can you please check out could this sol works? 1st,i use a=x+1 ,then integrate lna da i make u=ln a while dv=da so after du/dx=1/a while v=a..from here i depart to sub into the formula uv-/vdu so it will be ...(lna)(a) - /(a) X (1/a da)
then it finally turn out to be ln(x+1)(x+1) - (x+1) + c... does this way work?please do rectify me if there is any mistakes i have made...

No... integral of x/(x+1) dx is not ln(x+1), that would be integral 1/(x+1) dx.

If you wanted to work with integral of ln(a) da instead of ln(x+1) dx, you can convert it as you said, I don't see why you would but you can.
 
  • #15
NoMoreExams said:
No... integral of x/(x+1) dx is not ln(x+1), that would be integral 1/(x+1) dx.

If you wanted to work with integral of ln(a) da instead of ln(x+1) dx, you can convert it as you said, I don't see why you would but you can.

oh..ok..im still very weak in integration by parts..do you think of anything which could improve me on that topic?
 
  • #16
Practice :) Once you do hundreds of these problems, you'll be able to catch on faster and at least do a few steps in your head. There's also something called tabular integration which you can look up, it simplifies a certain type of integration by parts problems.
 
  • #17
NoMoreExams said:
Practice :) Once you do hundreds of these problems, you'll be able to catch on faster and at least do a few steps in your head. There's also something called tabular integration which you can look up, it simplifies a certain type of integration by parts problems.

oh,ya sure i tried a lot of these kind of problems..and catching up well,do you have any link which leads to more ques with solutions?by the way thanks for your help,if not i won't be able to get these things solved..haha..
 
  • #18
noobie! said:
oh,ya sure i tried a lot of these kind of problems..and catching up well,do you have any link which leads to more ques with solutions?by the way thanks for your help,if not i won't be able to get these things solved..haha..

which book you are using?
Most calculus books have like +200 integration questions ... You can always go to the library and find Stewart etc.
http://www.stewartcalculus.com/

I remember looking for some practice sites but wasn't really successful.

And, you don't need to know the answers for all the questions you solve.
 
  • #19
rootX said:
which book you are using?
Most calculus books have like +200 integration questions ... You can always go to the library and find Stewart etc.
http://www.stewartcalculus.com/

ok,thank you...where are you from?i'm using calculus university as my reference..
 
  • #20
noobie! said:
ok,thank you...where are you from?i'm using calculus university as my reference..

I think Stewart is popular in US/Canada. I was using Glyn James book (a British), but I just went to my library and borrowed some 6 calculus books and then worked on like 2 books (one was Stewart).
 
  • #21
rootX said:
I think Stewart is popular in US/Canada. I was using Glyn James book (a British), but I just went to my library and borrowed some 6 calculus books and then worked on like 2 books (one was Stewart).

oh..so you are from Canada? haha..oh well,i will find out those books as you mentioned..which field are you in?engineering?
 
  • #22
noobie! said:
oh..so you are from Canada? haha..oh well,i will find out those books as you mentioned..which field are you in?engineering?

Yes, and .. electrical. I have been using Glyn James for all my calculus classes (I,II,III). It has really good and challenging engineering questions. Mechanical/others people used Calculus for Engineers by Trim. I found it pretty good. Stewart is used mainly for non-engineering math courses (at my university) but it can be very useful for first year (engineering) calculus courses.
 
  • #23
rootX said:
Yes, and .. electrical. I have been using Glyn James for all my calculus classes (I,II,III). It has really good and challenging engineering questions. Mechanical/others people used Calculus for Engineers by Trim. I found it pretty good. Stewart is used mainly for non-engineering math courses (at my university) but it can be very useful for first year (engineering) calculus courses.

oh i see..i'm from foundation in engineering,next year going for electrical most probably..haha, that will be very good if you can be one of my mentor..haha,do you have a messenger account?i will try out those questions since its so challenging..thanks a lot anyway..:rofl:
 
  • #24
The best advice I can offer you is to get one of those Calculus for Dummies or Cliffs Notes Calculus or even an AP Calculus (probably BC) study guide. You can check out REA's Problem Solvers Calculus but as I recall it wasn't that great. You can also try googling old calculus tests but that requires quite a bit of research. Stewart is a good suggestion.
 
  • #25
NoMoreExams said:
The best advice I can offer you is to get one of those Calculus for Dummies or Cliffs Notes Calculus or even an AP Calculus (probably BC) study guide. You can check out REA's Problem Solvers Calculus but as I recall it wasn't that great. You can also try googling old calculus tests but that requires quite a bit of research. Stewart is a good suggestion.

ok..no problem..thanks for guiding me all the way..
 
  • #26
noobie! said:
haha,do you have a messenger account?i will try out those questions since its so challenging..thanks a lot anyway..:rofl:

hmm... life's too busy so I can't afford it. Sorry :blushing:
 
  • #27
noobie! said:

Homework Statement



integrate ln(x+1) dx (integrate by part)

Homework Equations


integrate e^-2x sin3x dx



The Attempt at a Solution


1st,i make u=x+1 ,so du/dx =1 du=dx..while i use /dv =/ln(x+1) dx and after integrating my v=1/(x+1) so subtitute into uv -/vdu but my ans turn out to be wrong so i need some guidance over here.i guess my integration for dv is wrong but i can't really see it..so could any1 please help me..thanks..:blushing:

[tex]\int e^{-2x}sine(3x) \delta x[/tex]
[tex]\int e^{-2x}sine(3x) \delta x = uv - \int v\frac{\delta u}{\delta x} \delta x[/tex]
[tex]\int e^{-2x}sine(3x) \delta x = -\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{3}\int e^{-2x}cos(3x)[/tex]
[tex]\int e^{-2x}sine(3x) \delta x = -\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{3}\left[uv - \int v\frac{\delta v}{\delta x} \delta x\right][/tex]
[tex]\int e^{-2x}sine(3x) \delta x = -\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{3}\left[-\frac{1}{3}e^{-2x}sin(3x) + \frac{2}{3}\int e^{-2x}sin(3x) \delta x\right][/tex]

[tex]\int e^{-2x}sine(3x) \delta x = -\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{9}e^{-2x}sin(3x)-\frac{4}{9}\int e^{-2x}sin(3x) \delta x[/tex]
[tex]\frac{13}{9}\int e^{-2x}sin(3x) \delta x = -\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{9}e^{-2x}sin(3x)[/tex]
[tex]\int e^{-2x}sin(3x) \delta x = \frac{9}{13}\left[-\frac{1}{3}e^{-2x}cos(3x)-\frac{2}{9}e^{-2x}sin(3x)\right][/tex]


[tex]\int e^{-2x}sin(3x) \delta x = -\frac{1}{13}e^{-2x}\left[3cos(3x)+2sin(3x)\right][/tex]

That's integration by parts for the part of the problem in bold. I'm not sure why it is needed but maybe if you are troubled by integration by parts those steps make it a lot clearer. As for integrating [tex] \int ln|x+1| \delta x [/tex] it's simpler than the other one.

[tex]\int ln|x+1| \delta x[/tex]
[tex]\int ln|x+1| \delta x = uv - \int v \frac{\delta u}{\delta x} \delta x[/tex]
[tex]\int ln|x+1| \delta x = xln|x+1| - \int x\frac{1}{x+1}[/tex]

[tex]u = (x+1) [/tex]

[tex]\int ln|x+1| \delta x = xln|x+1| - \int (u-1)u^{-1} \delta u[/tex]
[tex]\int ln|x+1| \delta x = xln|x+1| - \int 1-\frac{1}{x+1} \delta x[/tex]
[tex]\int ln|x+1| \delta x = xln|x+1| - \left[x - ln|x+1| \right][/tex]
[tex]\int ln|x+1| \delta x = xln|x+1| + ln|x+1| - x[/tex]
[tex]\int ln|x+1| \delta x = (x+1)ln|x+1| - x [/tex]

I think that's how you do it.
 
Last edited:
  • #28
I see that usually, partial integration is taught with u, du, v and dv's.
Perhaps it also helps to see another way, by which I have always remembered it (of course, it's equivalent, but it may be easier for some).

In this case, partial integration is formulated
[tex]\int f' g dx = f g - \int f g' dx[/tex]
which means
[tex]\int_a^b f'(x) g(x) dx = f(b) g(b) - f(a) g(a) - \int_a^b f(x) g'(x) dx[/tex].
Basically, all you have to do is find one function f' which is easy to integrate (or at least, you know you should be able to do it :smile:). Then integrate it, multiply by the other one, and fill in the boundary. Write down a minus sign, integral, the integrated function f, differentiate the other one (which is usually the easy part) and close with dx.

Example:
[tex]\int_0^1 x dx = ?[/tex]
by partial integration. Well, let's write the integrand trivially as 1 * x.
You can integrate 1 to x, and differentiate x to 1, then
[tex]\int_0^1 1 x dx = x^2|_0^1 - \int_0^1 x 1 dx[/tex].
Note how the second integral is the same as the first one, so we can take it to the other side:
[tex]2 \int_0^1 1 x dx = x^2|_0^1 [/tex]:
[tex]\int_0^1 1 x dx = \frac12 x^2|_0^1 [/tex],
which of course you already knew.

All it now comes down to is to decide which function you will be integrating, and which one you will be differentiating. As a rule of thumb, always pick the easiest one for integrating, because integrating is hard and it's easier to differentiate something complicated than integrate it :)
 
  • #29
ok.thanks alot,i understand much better..
 
  • #30
thanks greg ,i got you..
 
  • #31
rootX said:
which book you are using?
Most calculus books have like +200 integration questions ... You can always go to the library and find Stewart etc.
http://www.stewartcalculus.com/

I remember looking for some practice sites but wasn't really successful.

And, you don't need to know the answers for all the questions you solve.

hmm..rootx..do we have a special formula to factorize out for cubic equation?for example (x^3 + 27)?
 
  • #32
Yes... you should know that formula and if you do not at the calculus level you should know how to figure it out :)

Note that if f(x) = x^3 + 27 then f(-3) = 0 hence -3 is a root of that equation and therefore (x + 3) divides x^3 + 27. Now do division.
 

What is integration by parts?

Integration by parts is a technique used in calculus to find the integral of a product of two functions. It involves choosing one function to be the "u" term and the other to be the "dv" term, and then using a specific formula to solve for the integral.

How do I integrate ln(x+1) with integration by parts?

To integrate ln(x+1) with integration by parts, you would choose "ln(x+1)" as the "u" term and "1" as the "dv" term. Then, you would use the formula ∫u dv = uv - ∫v du to solve for the integral.

Why is integration by parts useful for integrating ln(x+1)?

Integration by parts is useful for integrating ln(x+1) because it allows you to break down the integral into simpler parts and solve for it using a formula. In this case, it helps to eliminate the logarithmic function and replace it with a polynomial function, which is easier to integrate.

What are the steps for integrating ln(x+1) with integration by parts?

The steps for integrating ln(x+1) with integration by parts are:

  1. Choose "ln(x+1)" as the "u" term and "1" as the "dv" term.
  2. Use the formula ∫u dv = uv - ∫v du to solve for the integral.
  3. Find the antiderivative of the "dv" term and substitute it into the formula.
  4. Integrate the remaining integral using substitution or other integration techniques.

Can I use integration by parts to integrate other functions?

Yes, integration by parts can be used to integrate a wide variety of functions. It is a very versatile technique and is often used in calculus to solve integrals that cannot be solved using other methods.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
114
  • Calculus and Beyond Homework Help
Replies
15
Views
773
  • Calculus and Beyond Homework Help
Replies
19
Views
761
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
403
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
477
  • Calculus and Beyond Homework Help
2
Replies
54
Views
7K
  • Calculus and Beyond Homework Help
Replies
1
Views
770
Back
Top