Indefinite Integration by exchange of variables

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
Asphyxiated
Messages
263
Reaction score
0

Homework Statement



[tex]\int \frac {2+z^{-1}}{z^{2}} dz[/tex]

The Attempt at a Solution



Let:

[tex]u = 2 +z^{-1}[/tex]

[tex]du = -z^{-2} dz[/tex]

[tex]dz = -z^{2} du[/tex]

so now its

[tex]\int \frac {u}{z^{2}} (-z^{2}) du[/tex]

[tex]\int \frac {(u)(-z^{2})}{z^{2}} du[/tex]

[tex]\int (u)(-1) du[/tex]

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

[tex]-\frac{1}{2}(2+z^{-1})^{2} + C[/tex]

right? The answer in the book is:

[tex]-2z^{-1}-\frac{1}{2}z^{-2} + C[/tex]

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.