Integrating a Fraction with a Constant: Decomposition or Not?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 2K views
syj
Messages
53
Reaction score
0

Homework Statement



i need to integrate:
[itex]\frac{1}{r(u-r)}dr[/itex]

Homework Equations



u is a constant

The Attempt at a Solution



im not sure if i should decompose the fraction. i tried that, but it didnt seem to be of any help.
 
Physics news on Phys.org
ok
so i get
[itex]\frac{1}{r(u-r)}=\frac{A}{r}+\frac{B}{u-r}[/itex]

so that
[itex]B-A=0[/itex]
and
[itex]Au=1[/itex]

so i got
[itex]A=\frac{1}{u}=B[/itex]

this gives me
[itex]\frac{1}{ur}+\frac{1}{u(u-r)}[/itex]
 
Last edited by a moderator:
[itex]\int(\frac{1}{ur}+\frac{1}{u(u-r)})[/itex]

[itex]=\frac{1}{u}\int\frac{1}{r}+\int\frac{1}{u-r}[/itex]

[itex]=\frac{1}{u}(ln(r)-ln(u-r))[/itex]

[itex]=\frac{1}{u}(ln\frac{r}{u-r})[/itex]

my problem is that i don't know where to put [itex]r_0[/itex] here. The solution has [itex]r_0[/itex]
 
oh, sorry what i mean is that when it integrates they have [itex]r_0[/itex], sorry, i meant the solution has [itex]r_0[/itex]