Indefinite Integration by exchange of variables

Asphyxiated
Messages
263
Reaction score
0

Homework Statement



\int \frac {2+z^{-1}}{z^{2}} dz

The Attempt at a Solution



Let:

u = 2 +z^{-1}

du = -z^{-2} dz

dz = -z^{2} du

so now its

\int \frac {u}{z^{2}} (-z^{2}) du

\int \frac {(u)(-z^{2})}{z^{2}} du

\int (u)(-1) du

and then the antiderivative of u*(-1) is

-\frac{1}{2}(2+z^{-1})^{2} + C

right? The answer in the book is:

-2z^{-1}-\frac{1}{2}z^{-2} + C

I don't see anywhere that I went wrong...
 
Physics news on Phys.org
expand your parenthesis and put the -2 that results in with the constant. You have the same answer, just in a different form.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top