Find the integral of x/(x-6) with substitution

nameVoid
Messages
238
Reaction score
0
\int\frac{x}{x-6}dx


u=x-6

\int \frac{u+6}{u}du

\int 1+\frac{6}{u} du

u+6ln|u|+C

x-6+6ln|x-6|+C

this appears to be incorrect although it seems logical, also if somone could please tell me the syntax for the definte integral

also similar case here

\int \frac{x^2}{x+4}dx

u=x+4
\int \frac{(u-4)^2}{u}du
\int \frac{u^2-8u+16}{u}du
\int u-8+\frac{16}{u} du
\frac{u^2}{2}-8u+16ln|u|+C
\frac{(x+4)^2}{2}-8(x+4)+16ln|x+4|+C
 
Last edited:
Physics news on Phys.org


When do you a u-sub don't forget to find du.

Hint on why that sub won't work. d/du of x-6 isn't x.
 


in the first problem

x=u+6 and du=dx
 


For the second problem, have you considered Polynomial long division, or do you have to use a substitution?
 


nameVoid said:
in the first problem

x=u+6 and du=dx

How'd you end up with the u+6 on the top?

Ohh...I see what you did.

The only thing I can think of where the mistake was made. I tried it using long division first and got the correct answer.

Someone smarter than I will have to answer that as I don't solve integrals that way.
 


For the first, I think more algebra is required than substitutions, you just need to be cleaver.
 


If you are getting the same error in both of those, maybe your substitution trick is the problem.

Is that even allowable?
 


Actually, it is allowable... look up integration by substitution on wikipedia.

Your first answer is right. Just remember that since C is any constant number, the -6 is merged into C to give...

x+6log(x-6)+C
 


nameVoid said:
\int\frac{x}{x-6}dx


u=x-6

\int \frac{u+6}{u}du

\int 1+\frac{6}{u} du

u+6ln|u|+C

x-6+6ln|x-6|+C

this appears to be incorrect although it seems logical, also if somone could please tell me the syntax for the definte integral
The first one can be done by polynomial long division or by substitution. I don't see anything wrong with your answer. If you think that your answer is incorrect, it might only be that your answer differs from the "correct" answer by a constant. If you take the derivative of your result, you get the original integrand. erok81 is not giving you good advice.

For the second problem, one approach is to use polynomial long division, although your substitution works just fine. Again, the two different approaches give differnent appearing antiderivatives, but they differ only by a constant.
nameVoid said:
also similar case here

\int \frac{x^2}{x+4}dx

u=x+4
\int \frac{(u-4)^2}{u}du
\int \frac{u^2-8u+16}{u}du
\int u-8+\frac{16}{u} du
\frac{u^2}{2}-8u+16ln|u|+C
\frac{(x+4)^2}{2}-8(x+4)+16ln|x+4|+C
 
  • #10


erok81 said:
When do you a u-sub don't forget to find du.
He didn't forget it; he just didn't explicitly show how he found du
erok81 said:
Hint on why that sub won't work. d/du of x-6 isn't x.
And that's not what he did. Why would you want to take the derivative with respect to u of x - 6? That doesn't make any sense in this problem.
 
  • #11


Mark44 said:
The first one can be done by polynomial long division or by substitution. I don't see anything wrong with your answer. If you think that your answer is incorrect, it might only be that your answer differs from the "correct" answer by a constant. If you take the derivative of your result, you get the original integrand. erok81 is not giving you good advice.

There is more than one way to solve this problem. He thought his method was wrong, so I did it my way - which wasn't a u-sub to start with. So it wasn't bad advice, just a different way to solve it. Notice I did say someone smarter than I, like you, needs to come in and clarify since I wouldn't solve this problem the way he did. :)

Mark44 said:
He didn't forget it; he just didn't explicitly show how he found du

And that's not what he did. Why would you want to take the derivative with respect to u of x - 6? That doesn't make any sense in this problem.

He did take the deritive of his u-sub and got dx. I commented on it and he explained.

To make the last part clear so I make mistakes on my homework. If you have a problem say x/x^2+6. Your u-sub is u=x^2+6 then you take the deritive and get du = 2x dx or du/2 = x dx. What is wrong with my method? Sure it skips 2-3 steps, but it isn't wrong. Is it? I hope not since I've made it through calc I and most of II doing them that way.
 
  • #12


erok81 said:
There is more than one way to solve this problem. He thought his method was wrong, so I did it my way - which wasn't a u-sub to start with. So it wasn't bad advice, just a different way to solve it. Notice I did say someone smarter than I, like you, needs to come in and clarify since I wouldn't solve this problem the way he did. :)



He did take the deritive of his u-sub and got dx. I commented on it and he explained.

To make the last part clear so I make mistakes on my homework. If you have a problem say x/x^2+6. Your u-sub is u=x^2+6 then you take the deritive and get du = 2x dx or du/2 = x dx. What is wrong with my method? Sure it skips 2-3 steps, but it isn't wrong. Is it? I hope not since I've made it through calc I and most of II doing them that way.
No, that's fine. The bad advice was telling the OP why a substitution won't work (it does work), and telling him/her that d/du (x - 6) isn't x. Maybe you meant d/dx(x - 6).
 

Similar threads

Replies
12
Views
2K
Replies
8
Views
2K
Replies
105
Views
4K
Replies
3
Views
2K
Replies
22
Views
3K
Replies
5
Views
1K
Replies
15
Views
2K
Back
Top