13.07.2015 Views

Partial Fractions, and Integration by Parts - CBU

Partial Fractions, and Integration by Parts - CBU

Partial Fractions, and Integration by Parts - CBU

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

emainder:=rem(numerator,denominator,x);remainder := 27 + 5 x 3 − 2 x 2 − 17 xWe form a rational fraction <strong>by</strong> dividing the remainder <strong>by</strong> the divsor.> rf:=remainder/denominator;27 + 5 x 3 − 2 x 2 − 17 xrf :=x 4 − 4 x 3 + 5 x 2 − 4 x + 4We rewrite the original improper fraction as the sum of the quotient <strong>and</strong> a proper fraction.> new:=quotient+rf;27 + 5 x 3 − 2 x 2 − 17 xnew := 2 x +x 4 − 4 x 3 + 5 x 2 − 4 x + 4Again, we can use the convert comm<strong>and</strong> to convert the proper rational expression to partial fractions.> rf:=convert(rf,parfrac,x);1 3 7 + 2 xrf := 5 + +( x − 2 )2 x − 2 x 2 + 1The entire integr<strong>and</strong> is the sum of the quotient <strong>and</strong> the partial fraction decomposition of the properfraction.> integr<strong>and</strong>:=quotient+rf;5 3integr<strong>and</strong> := 2 x + + +( x − 2)2 x − 27 + 2 xx 2 + 1<strong>Integration</strong> <strong>by</strong> <strong>Parts</strong>Maple has a student package which is designed to illustrate calculus concepts in a step <strong>by</strong> stepmanner. We load this package <strong>by</strong> using the with statement.> with(student);Warning, the name integr<strong>and</strong> has been redefined[ D, Diff, Doubleint, Int, Limit, Lineint, Product, Sum, Tripleint, changevar, completesquare,distance, equate, integr<strong>and</strong>, intercept, intparts, leftbox, leftsum, makeproc, middlebox, middlesum,midpoint, powsubs, rightbox, rightsum, showtangent, simpson, slope, summ<strong>and</strong>, trapezoid]A list is given of all the new comm<strong>and</strong>s added. Our interest is in intparts. Let us apply this to⌠⎮x e ( 5 x )dx. The intparts comm<strong>and</strong> takes two arguments. The first in the inert intergal we are⌡⌠interested in, <strong>and</strong> the second is the u from ⎮u dv.⌡> Int(x*exp(5*x),x)=intparts(Int(x*exp(5*x),x),x);⌠⌠⎮x e ( 5 x ) 1dx = −⌡ 5 x e( 5 x )1⎮ d⎮5 e( 5 x )x⌡The comm<strong>and</strong> intparts can also be used with definite integration.> Int(x*exp(5*x),x=2..4)=intparts(Int(x*exp(5*x),x=2..4),x);44⌠⌠⎮ x e ( 5 x ) 4 21dx = − −⌡5 e20 5 e10 ⎮5 x )d⎮ 5 e( x2⌡Change of VariableWe can also use changevar for a change of variable. For example, suppose we wish to use the2


⌠substitution u = 2 x in the integral 1dx.⎮⌡1 − 4 x 2a> Int(1/sqrt(1-4*x^2),x=a..b)=changevar(u=2*x,Int(1/sqrt(1-4*x^2),x=a..b),u);b2 b⌠⌠1dx =1 1d⎮⌡1 − 4 x 2 u⎮ 2⌡1 − u 2>a2 a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!