Sharedpartial_fractions.sagewsOpen in CoCalc
Author: Matt Thomas
Views : 2
%typeset_mode True
integral(1/((100-x)*x),x)
1100log(x100)+1100log(x)\displaystyle -\frac{1}{100} \, \log\left(x - 100\right) + \frac{1}{100} \, \log\left(x\right)
f = 1/((100-x)*x)
integral(f,x,)
1100log(x100)+1100log(x)\displaystyle -\frac{1}{100} \, \log\left(x - 100\right) + \frac{1}{100} \, \log\left(x\right)
f.partial_fraction()
1100(x100)+1100x\displaystyle -\frac{1}{100 \, {\left(x - 100\right)}} + \frac{1}{100 \, x}