Integral of x^2/(x+2) by substitution

  • Thread starter Thread starter professordad
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
professordad
Messages
18
Reaction score
0

Homework Statement



Evaluate the integral:
[itex]\int \frac{x^2}{x + 2} dx[/itex]

Homework Equations



There aren't any relevant equations...

The Attempt at a Solution



In these type of problems you have to set [itex]u = \text{something}[/itex] so I tried setting [itex]u = x^2[/itex], but then [itex]\text{du} = 2x\text{dx}[/itex] and you can't substitute anything. And if [itex]u = x + 2[/itex] then [itex]\text{du} = 1[/itex] and that's useless.

Also, this problem is from the Swokowski calculus textbook (school starts in two days for me so I'm doing self study :smile: )
 
Last edited:
Physics news on Phys.org
Before you do anything, do polynomial division (degree of top >= degree of bottom). Once this is done, it should be trivial to take the integral.
 
Try doing some algebra first. You can rewrite that. Polynomial long division.
 
In you second substitution, where u = x+2, du = dx not du = 1

If you carry thru with this substitution properly, you can find the desired integral.
 
Wow, I can't believe I missed that. Here's what I have from there:

Clearly [itex]\frac{x^2}{x + 2} = x - 2 + \frac{4}{x + 2}[/itex]. So integrating that we have [itex]\frac{x^2}{2} - 2x + 4\ln{|x+2|} + C[/itex] where C is a constant.

Thanks for your help guys! I appreciated it :smile:

Also, to SteamKing, yes, I made a mistake while typing it up.
 
Last edited: