Thursday, 2 June 2016

calculus - How to quickly solve partial fractions equation?



Often I am dealing with an integral of let's say:



dt(t2)(t+3)



or



dtt(t4)




or to make this a more general case in which I am interested the most:



dt(t+α)(t+β)α,βR



Basically any integral with decomposed polynomial of second degree in the denominator. Obviously this leads to sum of two natural logarithms.



What I do is write down partial fractions equation and then solve system of linear equations (2 variables here):



1(t+α)(t+β)=At+α+Bt+β




After solving this I end up with some A,B coefficients and I can solve the integral.



Is there faster way to find A,B ? Some algorithm or anything that I can follow and would always work for such case? Surely, solving that does not take much time but I just wonder if it could be done even faster.



(bonus question: what if there were more variables, like 3 variables?)



I would greatly appreciate all feedback as it could help me save countless number of minutes in the future.


Answer



Here's your answer
for general n.




1nk=1(xak)=nk=1bkxak.



Therefore
1=nk=1bknj=1(xaj)xak=nk=1bknj=1,jk(xaj).




Setting
x=ai
for each i,
all the terms
except the one with k=i
have the factor aiai,
so
1=binj=1,ji(aiaj)

so that
bi=1nj=1,ji(aiaj).



For n=2,
b1=1a1a2,
b2=1a2a1.



For n=3,
b1=1(a1a2)(a1a3),
b2=1(a2a1)(a2a3),

b3=1(a3a1)(a3a2).


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...