# Remembering how to integrate

1. Sep 12, 2006

### r16

It has been about 2 years since i last did calculus but im trying to get back into it so im ready for college / dont kill myself because of boredom

I am having difficulty finding integrals of the form
$$\int{\frac{x^2}{x+a}dx}$$

This integral inparticular is:
$$\int{{\frac{x^2}{2x+2}dx}$$

I couldnt find a $u$ or a $du$ that would work

I then tried to decompose the fraction to $\frac{x^2}{2x+2} = \frac{A}{2} + \frac{B}{x+1}$ but could't solve for A, which makes sense, so that wont work.

Next i tied integration by parts
$$\int{vdu} = uv - \int{udv}$$

where i used $u=.5 ln|2x+2|$,$du=(2x+2)^{-1}$,$$v=x^2[/itex],$dv=2x$. then [tex]\int{\frac{x^2}{2x+2}dx} = .5x^2 ln |2x+2| - \int{ln |2x+2|xdx}$$

for the second integral I have:
$u=.5x^2$,$du=xdx$,$$v=ln |2x+2| [/itex],$dv=2(2x+2)^{-1}$. where [tex]\int{ x ln|2x+2| dx} = .5x^2 ln |2x+2| - \int{\frac{x^2}{2x+2}dx}$$

and finally both sides cancel out:

$$\int{\frac{x^2}{2x+2}dx} = .5x^2 ln |2x+2| - .5x^2 ln |2x+2| +\int{\frac{x^2}{2x+2}dx}$$

$$\int{\frac{x^2}{2x+2}dx} = \int{\frac{x^2}{2x+2}dx}$$

Ive checked the trig rules as well as the inverse trig rules and no other rules match. Does an integral for this function not exsist or am I missing something?

Last edited: Sep 12, 2006
2. Sep 12, 2006

### VietDao29

When you are integrating a fraction, of which teh degree in the numerator is greater than or equal to the degree of the denominator, one should use Polynomial Long Division first, then use Partial Fraction.
I'll give you an example:
Say, you want to integrate:
$$\int \frac{x ^ 2}{x + 1} dx$$
The degree in the numerator is 2, which is greater than the degree of the denominator 1. So we should use Polynomial Long Division first to get:
$$\int \frac{x ^ 2}{x + 1} dx = \int \left( x - 1 + \frac{1}{x + 1} \right) dx = \int (x - 1) dx + \int \frac{dx}{x + 1}$$
From here, we can use the substitution u = x + 1 to solve the second integral. So the result is:
$$\int \frac{x ^ 2}{x + 1} dx = \int (x - 1) dx + \int \frac{dx}{x + 1} = \frac{x ^ 2}{2} - x + \ln |x + 1| + C$$.
Ok, can you get this? :)
Can you go from here? :)

Last edited: Sep 12, 2006
3. Sep 12, 2006

### HallsofIvy

Staff Emeritus
?? Partial fractions requires "proper" fractions- that is, that the numerator has lower dimension than the denominator. In this case, you need to divide first.
$$\frac{x^2}{2x+2}= \frac{1}{2}x- \frac{1}{2}- \frac{\frac{1}{2}}{x+1}}$$

That should be easy to integrate.

4. Sep 12, 2006

### r16

polynomial long division rings a bell, i completely forgout about it. im good from there

5. Sep 12, 2006

### r16

i didnt know the stipulation about decomposing the fraction, but that makes sense. thanks!