MapleIntegrationCh8.mws

Integration Examples

from Chapter 8

>    with(plots):

Warning, the name changecoords has been redefined

Example 1

>    Int(ln(2*x)/x^2,x);

Int(ln(2*x)/x^2,x)

>    value(%);

-ln(2*x)/x-1/x

Example 2

>    Int(x*exp(-x/2),x=0..4);

Int(x*exp(-1/2*x),x = 0 .. 4)

>    value(%);

4-12*exp(-2)

>    evalf(%);

2.375976602

>    plot(x*exp(-x/2),x=0..4,filled=true);

[Maple Plot]

Example 3

>    Int(exp(x)*sin(x),x);

Int(exp(x)*sin(x),x)

>    value(%);

-1/2*exp(x)*cos(x)+1/2*exp(x)*sin(x)

>    Int(exp(x)*sin(x),x=0..1);

Int(exp(x)*sin(x),x = 0 .. 1)

>    value(%);

1/2-1/2*exp(1)*cos(1)+1/2*exp(1)*sin(1)

>    evalf(%);

.9093306740

>    plot(exp(x)*sin(x),x=0..1,filled=true);

[Maple Plot]

Example 4

>    Int(((sin(2*x))^5)*cos(2*x),x);

Int(sin(2*x)^5*cos(2*x),x)

>    value(%);

1/12*sin(2*x)^6

Example 5

>    Int((cos(x/3))^3,x);

Int(cos(1/3*x)^3,x)

>    value(%);

cos(1/3*x)^2*sin(1/3*x)+2*sin(1/3*x)

Note that the answer given above is equivalent to the answer given on my web site.

Example 6

>    Int((sec(x))^3*tan(x),x);

Int(sec(x)^3*tan(x),x)

>    value(%);

1/3*sec(x)^3

Example 7

>    Int(sin(-4*x)*cos(3*x),x);

Int(-sin(4*x)*cos(3*x),x)

>    value(%);

1/14*cos(7*x)+1/2*cos(x)

Example 8

>    Int(4/sqrt(4-x^2),x);

Int(4/(4-x^2)^(1/2),x)

>    value(%);

4*arcsin(1/2*x)

Example 9

>    Int(x/sqrt(9-x^2),x);

Int(x/(9-x^2)^(1/2),x)

>    value(%);

(x-3)*(x+3)/(9-x^2)^(1/2)

The picture used on my web site is drawn below.

>    Triangle:=plot([[0,0],[1,1],[1,0],[0,0]],axes=none,thickness=3):

>    Theta:=textplot([.2,.09,'q'],font=[SYMBOL,24]):

>    Hyp:=textplot([.43,.56,'3'],font=[HELVETICA,BOLD,24]):

>    Opp:=textplot([.9,.5,'x'],font=[HELVETICA,BOLD,24]):

>    Adj:=textplot([.6,.1,'sqrt(9-x^2)'],font=[HELVETICA,BOLD,24]):

>    display(Triangle,Theta,Hyp,Opp,Adj);

[Maple Plot]

Example 10

>    Int(x/sqrt(x^2-6*x+5),x);

Int(x/(x^2-6*x+5)^(1/2),x)

>    value(%);

(x^2-6*x+5)^(1/2)+3*ln(x-3+(x^2-6*x+5)^(1/2))

The picture used on my web site is drawn below.

>    Hyp:=textplot([.43,.56,'x-3'],font=[HELVETICA,BOLD,24]):

>    Opp:=textplot([.9,.5,'sqrt(x^2-6*x+5)'],font=[HELVETICA,BOLD,24]):

>    Adj:=textplot([.6,.1,'2'],font=[HELVETICA,BOLD,24]):

>    display(Triangle,Theta,Hyp,Opp,Adj);

[Maple Plot]

Example 11

>    Int(1/(1-t^2)^(5/2),t=0..sqrt(3)/2);

Int(1/((1-t^2)^(5/2)),t = 0 .. 1/2*3^(1/2))

>    value(%);

2*3^(1/2)

>    plot(1/(1-t^2)^(5/2),t=0..sqrt(3)/2,labels=[t,y],filled=true);

[Maple Plot]

>