While integrating: $$ \int \cot^{-1} (x^2-x+1) dx $$ I had to do a large number of partial fraction decompositions, the following functions: $$ \frac {x(1-2x)}{(x^2-x+1)^2+1}, $$ $$ \frac {x}{(x^2+1)(x^2-2x+2)} $$ $$ \frac {x^2}{(x^2+1)(x^2-2x+2)} $$ A similarly wild example is that of the integral of. $\sqrt \tan x$. Of course there may be a number of promising alternate methods of integration, but for me, personally, the method of partial fraction decomposition (p.f.d.) is a novel one, for it can simplify monstrous functions. The only problem with it is it's comparative slowness - yes, it is a TIME EATER. What I am seeking must be clear now, a faster technique of p.f.d. Apart from mainstream algorithms, I am also interested in what is known as 'Vedic Maths', which from my experience I shall call heuristic approaches. Moreover, I would love to learn how does a CAS do it within seconds. Any help would be greatly appreciated .
2026-03-26 01:02:05.1774486925
On
Finding a faster method of partial fraction decomposition.
498 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
2
On
We can rigorous calculation as follows:
Use Are $\mathrm{arccot}(x)$ and $\arctan(1/x)$ the same function?
and $$\arctan\dfrac{x-(x-1)}{1+x(x-1)}=?$$
You can use Heaviside Cover-up method. The following example illustrates it:
$$\dfrac{3x^2+12x+11}{(x+1)(x+2)(x+3)}=\dfrac{A}{x+1}+\dfrac{B}{x+2}+\dfrac{C}{x+3}$$
More Generally: In general, if the denominator of the proper rational function factors into the product of distinct linear factors:$$\dfrac{p(x)}{(x-a_1)(x-a_2)\cdots(x-a_r)}=\dfrac{A_1}{x-a_1}+\dfrac{A_2}{x-a_2}+\cdots+\dfrac{A_r}{x-a_r}$$then $A_i$'s found by covering up the factor $x-a_i$ the left, and setting $x=a_i$ the rest of the expression.