The Fundamental Theorem of Calculus (F.T.C.)

Part 1.

The FTC part 1 : If f is continuous on [a,b] then [Maple Math] for x [Maple Math] [a,b] is continuous on [a,b] and differentiable on (a,b) and g'(x) = f(x) .

Proof: Hard. See board.

e.g. Find g'(x) two ways if g(x) = [Maple Math] .

> g:=Int(sqrt(1+t^2),t=0..x);

[Maple Math]

> diff(g,x);

[Maple Math]

> gg:=value(g);

[Maple Math]

> diff(gg,x);

[Maple Math]

> simplify(%);

[Maple Math]

e.g. Find h'(x) if h(x) = [Maple Math]

> h:=Int(sin(p^3),p = x .. -2);diff(h,x);

[Maple Math]

[Maple Math]

e.g. Find F'(x) if F(x) = [Maple Math]

> F:=Int(ln(t^2+1),t = 0 .. x^3);

[Maple Math]

> diff(F,x);

[Maple Math]

e.g. Find G'(x) if G(x) = [Maple Math]

> G:=Int(ln(t^2+1),t = x^2 .. x^3);

[Maple Math]

> diff(G,x);

[Maple Math]

Part 2.

The FTC part 2 : If f is continuous on [a,b] and F is any antiderivative of f on [a,b] then [Maple Math]

Proof: Follows quickly from Part 1 .

e.g.'s Use the FTC to confirm the area calculations from the Previous Section

1. Find the area under y = 2x + 1 and above [0,4]

=> Find [Maple Math]

> f:=2*x+1;F:=int(f,x);

[Maple Math]

[Maple Math]

> Area=subs(x=4,F)-subs(x=0,F);

[Maple Math]

> Int(2*x+1,x=0..4)=int(2*x+1,x=0..4);

[Maple Math]

2. Find [Maple Math]

> Int(x^2+2,x=1..2)=int(x^2+2,x=1..2);

[Maple Math]

3. Find [Maple Math]

> Int(4*x-x^3,x = 0 .. 3)=int(4*x-x^3,x = 0 .. 3);

[Maple Math]

Evaluate the following definite integrals :

> f1:=Int(3/(t^4),t=1..2);f2:=Int(sqrt(x^2-5),x=4..4);f3:=Int(sin(q),q=Pi/4..Pi/3);f4:=Int(6/(1+x^2),x=1..sqrt(3));

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

> value(f1);value(f2);value(f3);value(f4);

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

> f5:=piecewise(0<=x and x<1,x^4,1<=x and x<=2,x^5);plot(f5,x=0..3,y=0..30,colour=black);

[Maple Math]

[Maple Plot]

> Int(f5,x=0..2)=int(f5,x=0..2);

[Maple Math]

Total Change

By the FTC, if F'(x) = f(x) (i.e. if F is an antiderivative of f) then [Maple Math] where f is the rate of change of F. It follows that we can interprete the definite integral [Maple Math] as the (total) change in F with respect to x as x changes from a to b.

For example, if v(t) is the rate of change of position (i.e. the velocity) of an object moving in a straight line then [Maple Math] is its total change in position (i.e. its displacement). Note: this is not the same as the total distance travelled by the object. Look at a sketch of a velocity curve to see why the total distance travelled would be [Maple Math] .

This idea of total change can be applied to any functional relationship involving the FTC: [Maple Math] .

e.g.

(#55, page 408) Suppose a particle moving in a straight line is accelerating (in m/ [Maple Math] ) according to [Maple Math] , [Maple Math] , t [Maple Math] [0,10] (this would not happen in Nature!). Find (a) the velocity at time t and (b) the distance travelled.

> a:=t+4;v:=int(a,t)+C;

[Maple Math]

[Maple Math]

Now, v(0) = 5 so C = 5:

> C:=5;v;

[Maple Math]

[Maple Math]

=> [Maple Math]

> plot(v,t,colour=black);t_intercepts:=solve(v=0);

[Maple Plot]

[Maple Math]

You can see from the plot (and by knowing that the graph is parabola with a minimum point and the t-intercepts as above) that the velocity is positive for [Maple Math] so the total displacement over [0,10] is the same as the total distance travelled over the same interval. Therefore:

> total_distance:=Int(v,t=0..10);

[Maple Math]

> value(total_distance);

[Maple Math]

> evalf(%);

[Maple Math]

=> The particle covers a distance of ~417 meters.

e.g. A particle moving in si mple harminic motion.

Suppose a mass attached to a spring is oscillating at the rate [Maple Math] units/s. Determine its displacement after 1 second and the distance it travels in the first second.

> with(plots):

> v:=t->-8/5*sin(8*t);

[Maple Math]

> plot1:=plot(v(t),t=0..1,colour=blue,style=point):plot2:=plot(abs(v(t)),t=0..1,thickness=2):

> display({plot1,plot2},title=`velocity(broken) and speed (line)`);

[Maple Plot]

> int(v(t),t);

[Maple Math]

> displ:=int(v(t),t=0..1);evalf(%);

[Maple Math]

[Maple Math]

=> Its displacement at t = 1 is ~0.23 units (i.e. at 1 second it is 0.29 units to the left of equilibrium.

> dist:=int(abs(v(t)),t=0..1);evalf(%);

[Maple Math]

[Maple Math]

=> It travels a total of ~1.03 units in 1 second.

Alternately, if you don't know the antiderivative of [Maple Math] you would proceed as follows:

> solve(abs(v(t))=0);

[Maple Math]

Maple is not much help in finding the intercepts of v, so you solve the equation "by hand" to get the first two nonzero intercepts:

> intercepts:=seq(k*Pi/8,k=1..2);

[Maple Math]

> Int(-v(t),t=0..intercepts[1])+Int(v(t),t=intercepts[1]..intercepts[2])+Int(-v(t),t=intercepts[2]..1)=value(%);;

[Maple Math]

> evalf(rhs(%));

[Maple Math]

=> Same answer! (phew!)