Integration! \[\int \frac{x^2 + 4}{x + 2} dx\]
Ok, I need a u. \(u = x^2 + 4\) \(du = 2x\) Er.. what do I do with the + 2? This could get ugly.
nope
\(u = x + 2\) maybe?
long division first
long division works, but I'd complete the square; it's faster
@Euler271 let him do, we gave him the way to do .
\[= \frac{ (x+2)^2 - 4x }{ x+2 } = x+2 - \frac{ 4x }{ x+2 }\] actually not sure if this is better
Her, actually. :) And I'm a bit confused at the moment, so... please chime in!
hehehe @Euler271 I found out long division is more beautiful than yours. hehehe
Do you think it'd help any to break it apart? \[\int \frac{x^2}{x+2} + \frac{4}{x+2} dx\]
nope
\[= x+2 -\frac{ 4(x+2) - 8 }{ x+2 } = x+2 - 4 +\frac{ 8 }{ x+2 }\]
hey, at the end up, you are back to long division, hehehe @Euler271
lol XD true its arguable which is faster
yes, it 's fun, right?
@Euler271 That looks nicer! Thank you! \[\int x - 2 + \frac{8}{x+2} dx\] So that's just \(\frac{x^2}{2} - 2x + \int \frac{8}{x + 2} dx\) (I'll do that one in a sec)
\[u = x + 2\]\[du = dx\]\[8 \int \frac{1}{u} du = 8\ln |u| + C\] So... \[\frac{x^2}{2} - 2x + \ln |x+2| + C\]
Oops, with the 8.
yes
Thank you!
Join our real-time social learning platform and learn together with your friends!