> restart:with(student):

Integration by Change of Variable

Recall the chain rule : [f(g(x))]' = f'(g(x))g'(x). This means that F(x) = f(g(x)) is an antiderivative of an integrand of the form f'(g(x))g'(x). To integrate you can make a change of variable : Let u = g(x) and du = g'(x)dx (the differential). You then integrate with respect to the new variable u.

If you are working with a definite integral then the limits of integration are changed according to the substitution equation u = g(x).

e.g.'s

> f:=Int(4/(1+2*x)^3,x);f_new:=changevar(u=1+2*x,f1,u);value(f_new),value(f);

[Maple Math]

[Maple Math]

[Maple Math]

> f1:=Int(sec(x)*tan(x)*sqrt(1+sec(x)),x);f1_new:=changevar(u=1+sec(x),f1,u);value(f1_new),value(f1);

[Maple Math]

[Maple Math]

[Maple Math]

In the above e.g. you should also try u1 = sec(x) and u2 = [Maple Math] to see what happens!!

> f2:=Int(cos(Pi*t),t=0..1);f2_new:=changevar(w=Pi*t,f2,w);value(f2_new),value(f2);

[Maple Math]

[Maple Math]

[Maple Math]

> f3:=Int(1/x^2*sqrt(1+1/x),x=1..4);f3_new:=changevar(q=1+1/x,f3,q);value(f3),value(f3_new);evalf(%);

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

e.g. You should memorize the following result:

Use substitution to find the antiderivative of tan(x):

> Int(tan(x),x)=int(tan(x),x);Int(tan(x),x)=ln(abs(sec(x)));

[Maple Math]

[Maple Math]

#75, page 417

> restart:

The rate of airflow into the lungs can be modelled by [Maple Math] measured in L/s. Determine the volume of inhaled air at time t and the maximum lung capacity.

> f:=1*sin(2*Pi*t/5)/2;V:=int(f,t)+C;

[Maple Math]

[Maple Math]

Note: at time t the volume of inhaled air is 0 so that V(0) = 0 and we can use this to find C.

> C:=solve(subs(t=0,V)=0):V;

[Maple Math]

> plot({f,V},t=0..10,colour=[blue,red],thickness=2);

[Maple Plot]

The volume curve has horizontal tangents when [Maple Math] = 0 <=> [Maple Math] for n = 0, 1, 2, ... It follows that max. volume will occur at 2.5 s into the cycle and the volume will be:

> evalf(subs(t=2.5,Vol_t))*`litres`;

[Maple Math]

Some Chain Rule formulae.

Power functions

> Int(u(x)^n*diff(u(x),x),x)=int(u(x)^n*diff(u(x),x),x);

[Maple Math]

e.g.

> Int(x^2/sqrt(x^3+2),x)=int(x^2/sqrt(x^3+2),x)+C;

[Maple Math]

e.g.

> Int((sin(x))^3*cos(x),x)=int((sin(x))^3*cos(x),x)+K;

[Maple Math]

Trig functions

> Int(sin(u(x))*diff(u(x),x),x)=int(sin(u(x))*diff(u(x),x),x);Int(cos(u(x))*diff(u(x),x),x)=int(cos(u(x))*diff(u(x),x),x);

[Maple Math]

[Maple Math]

e.g.

> Int(sin(x^4)*2*x^3,x)=int(sin(x^4)*2*x^3,x)+C;Int(cos(2*ln(x))/x,x)=int(cos(2*ln(x))/x,x)+K;

[Maple Math]

[Maple Math]

Exponential functions

> Int(exp(1)^(u(x))*diff(u(x),x),x)=int(exp(1)^(u(x))*diff(u(x),x),x)+C;

[Maple Math]

e.g.

> Int(x*exp(1)^(-x^2),x)=int(x*exp(1)^(-x^2),x)+C;

[Maple Math]