Wednesday, 27 July 2016

calculus - Integral of intfracx25x+16(2x+1)(x2)2dx



I am trying to find the integral of this by using integration of rational functions by partial fractions.




x25x+16(2x+1)(x2)2dx



I am not really sure how to start this but the books gives some weird formula to memorize with no explanation of why A(ax+b)i and Ax+B(ax2+bx+c)j



I am not sure at all what this means and there is really no explanation of any of it, I am guessing i is for imaginary number, and j is just a representation of another imaginary number that is no the same as i. A, B and C, I have no idea what that means and I am not familiar with capital letters outside of triangle notation so I am guessing that they are angles of lines for something.


Answer



See first Arturo's excellent answer to Integration by partial fractions; how and why does it work?








I am guessing i is for imaginary number, and j is just a representation
of another imaginary number that is no the same as i.



I don't know what an indice or natural number is and it is not
mentioned naywhere in the text. (in a comment)




The numbers i and j are natural numbers, i.e. they are positive integers 1,2,3,,n,. Their set is denoted by N.





A, B and C, I have no idea what that means and I am not familiar
with capital letters outside of triangle notation so I am guessing
that they are angles of lines for something.




In this context the leters A, B and C are constants, i.e. independent of the variable x.





  • Let
    P(x)Q(x):=x25x+16(2x+1)(x2)2. The denominator Q(x):=(2x+1)(x2)2 has factors of the form (ax+b)i only. Each one originates iN partial fractions whose integrals can be computed recursively and/or found in tables of integrals. See (6),(7),(8) bellow for the present case.)
    Ai(ax+b)i+Ai1(ax+b)i1++A1ax+b. The exponent of the factor (x2)2 is i=2 and of the factor 2x+1 is i=1. Therefore we should find the constants A1, A2, B such that
    P(x)Q(x)=x25x+16(2x+1)(x2)2=B2x+1+A2(x2)2+A1x2.


  • One methodis to reduce the RHS to a common denominator
    x25x+16(2x+1)(x2)2=B(x2)2+A2(2x+1)+A1(x2)(2x+1)(2x+1)(x2)2.
    [See remak below.] This means that the polynomials of the numerators must be equal on both sides of this last equation. Expanding the RHS, grouping the terms of the same degree
    P(x):=x25x+16=B(x2)2+A2(2x+1)+A1(x2)(2x+1)=(Bx24Bx+4B)+(2A2x+A2)+(2A1x23A1x2A1)=(B+2A1)x2+(4B+2A23A1)x+(4B+A22A1) and equating the coefficients of x2, x1 and x0, we conclude that they must satisfy‡ the following system of 3 linear equations [See (*) for a detailed solution of the system]
    {B+2A1=14B+2A23A1=54B+A22A1=16{A1=1A2=2B=3. In short, this method reduces to solving a linear system. So, we have
    x25x+16(2x+1)(x2)2=32x+1+2(x2)21x2.


  • We are now left with the integration of each partial fraction
    x25x+16(2x+1)(x2)2dx=312x+1dx+21(x2)2dx1x2dx.





Can you proceed from here? Remember these basic indefinite integral formulas:



1ax+bdx=1aln|ax+b|+C,



1(xr)2dx=1xr+C,



1xrdx=ln|xr|+C.



--




† Another method is to evaluate both sides of (3) at 3 different values, e.g. x=1,0,1 and obtain a system of 3 equations. Another one is to compute P(x)



P(x)=x25x+16=B(x2)2+A2(2x+1)+A1(x2)(2x+1)



first at the zeros of each term, i.e. x=2 and x=1/2
P(2)=10=5A2A2=2P(1/2)=754=254BB=3;



and then at e.g. x=0
P(0)=16=4B+A22A1=12+22A1A1=1.



For additional methods see this Wikipedia entry




‡ If B+2A1=1,4B+2A23A1=5,4B+A22A1=16, then x25x+16=(B+2A1)x2+(4B+2A23A1)x+(4B+A22A1) for all x and (3a) is an identity.






REMARK in response a comment below by OP. For x=2 the RHS of (3a) is not defined. But we can compute as per (3b,c) or as per †, because we are not plugging x=2 in the fraction (3a). In (3c) we assure that the numerators of (3a) x25x+16 and B(x2)2+A2(2x+1)+A1(x2)(2x+1) are identically equal, i.e. they must have equal coefficients of x2,x,x0.






(*) Detailed solution of (3c). Please note that we cannot find A,B and C with one equation only, as you tried below in a comment ("16=2b+A1A2 I have no idea how to solve this.")

{B+2A1=14B+2A23A1=54B+A22A1=16{B=12A14(12A1)+2A23A1=54(12A1)+A22A1=16{B=12A14+5A1+2A2=5410A1+A2=16{B=12A1A2=1+5A12410A11+5A12=16{B=12A1A2=1+5A12A1=1{B=12(1)A2=1+5(1)2A1=1{A1=1A2=2B=3







Comment below by OP




I watched the MIT lecture on this and they use the "cover up" method to solve systems like this and I am attempting to use that here. I have A2x+1+Bx2+C(x2)2 Is there anything wrong so far? It appears to me to be correct. Now I try to find B by making x = 2 and multplying by x-2 which gets rid of C and A since it makes them zero and then the RHS which cancels out and leaves me with B = 2 but that also works for C I think so I am confused, and for A I get 55/6 which I know is wrong but the method works and I am doing the math right so what is wrong?




Starting with x25x+16(2x+1)(x2)2=A2x+1+Bx2+C(x2)2



we can multiply it by (x2)2




x25x+162x+1=A(x2)22x+1+B(x2)+C.



To get rid of A and B we make x=2 and obtain C



2252+1622+1=A(22)22x+1+B(22)+C



2=0+0+CC=2



We proceed by multiplying (3) by 2x+1




x25x+16(x2)2=A+B(2x+1)x2+C(2x+1)(x2)2



and making x=1/2 to get rid of B and C



(1/2)25(1/2)+16(1/22)2=A+B(2(1/2)+1)1/22+C(2(1/2)+1)(1/22)2



3=A+0+0A=3




Substituing A=3,C=2 in (3), we have



x25x+16(2x+1)(x2)2=32x+1+Bx2+2(x2)2



Making e.g. x=1 (it could be e.g. x=0)



125+16(2+1)(12)2=32+1+B12+2(12)2,




4=1B+2B=1.



Thus



x25x+16(2x+1)(x2)2=32x+11x2+2(x2)2,



which is the same decomposition as (4).


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}...