SlideShare a Scribd company logo
1 of 11
Download to read offline
Integration in Mathematics B
John A. Belward, Department of Mathematics
University of Queensland
e-mail: jab@maths.uq.edu.au, web: www.maths.uq.edu.au/~jab
This presentation concerns integration. I am not going to go through a long set of difficult
manipulative examples, rather I want to raise important (as I see them) points I hope this will help
people when preparing work programs and assessment instruments.
Until one does problems with applications in applied areas, the extension to topics in Mathematics
C which concern integration will most likely concern freer use of the log, exponential and
trigonometric functions, so a lot of what is here is relevant to Mathematics C too.
I want to make some points about
• indefinite integrals
• the definite integrals
• what is area
• the fundamental theorem of calculus
• simple substitution
• numerical integration
• manipulation packages
What is integration
What is it for? It enables us to navigate in space. If we know our velocity vector v at any time t
then our position vector is given by s where
d
dt
=
s
v and if we have s = s0 at t = t0 then
0
0 = ( )
t
t
t dt∫s - s v
so we just have to integrate v(t) ! To know v(t) we integrate the acceleration vector a(t) in a
similar way.
Figure 1
There are other less attention grabbing examples.
1
Indefinite integrals
The expression
( )f x dx∫
stands for the function which when differentiated gives f(x).
It is commonly known as the indefinite integral.
It is also sometimes known as the antiderivative of f(x), or even a primitive
Examples:
2 2
4
3
2 ; sin( ) cos( ) ; 2
2
u ux
x dx c t dt t c e udu e cπ π= + + = − + + = +∫ ∫ ∫
The number c can have any value, simply because the derivative of a constant is zero.
These examples are done “by inspection” which is a pompous way of saying “guess and check”.
So there is a nagging question. Since I have guessed the answer someone else might make a guess
too which can be verified, but is different from mine.
Example (esoteric)
2 2 2 2
2sec tan tan and 2sec tan secx xdx x c x xdx x c= + = +∫ ∫
because
2 2 2 2
tan 2sec tan and sec 2sec tan
d d
x x x x x
dx dx
= = x
Here the theoreticians (pure mathematicians) come to our assistance proving that if two functions
have the same derivative they differ from each other by a constant at the most.
Doing indefinite integration boils down to learning manipulative tricks.
Examples
2 3 8 3 9
27 ( 2) ( 2)x x dx x+ = + +∫ c
and
3
3 2 2 2 sin
cos cos cos (1 sin )cos cos sin cos sin
3
d d d d d
θ
θ θ θ θ θ θ θ θ θ θ θ θ θ θ= = − = − = −∫ ∫ ∫ c+∫ ∫
I’d expect that the second of these to be set only as a challenge problem.
2
Definite integration
The definite integral is denoted by
( )
b
a
f x dx∫
Its geometric interpretation is the area defined by the lines y = f(x) , y = 0, x = a and x = b,
when f(x) is positive from a to b.
Figure 2
Shaded Area = ( )
b
a
f x dx∫
There is nothing to be proved in this statement if the definition of area for sets of points enclosed by
curved lines has been made.
Defining area
Strict proofs probably belong to second year tertiary mathematics, but an intuitive idea can easily be
grasped with the use of a couple of diagrams. One of them has an immediate practical application.
This is the tiler’s problem mistakenly called the butcher’s problem.
A millionaire in Brisbane has a pool included in the back yard of his architect designed home.
Being architect designed, for aesthetic reasons the shape of the pool is random, as shown. The
millionaire is tough and has had the man screw his price right down low. Thus the area of the pool
has to be known accurately to minimise wastage. How does he find this out?
Well, he’s never done any maths save for a little geometry and arithmetic. So he gets the plans of
the back yard which show the position of the pool accurately and proceeds as follows.
He overlays a piece of squared paper on the plan and counts the number of squares inside the pool.
Subtracting this from the rectangular area he knows that the area of tiles mustn’t exceed a certain
3
amount. And he can do another sum by counting the squares that overlap the pool with part of the
square overlapping the pool. This way he finds out a total that he must exceed when placing his
order.
Figure 3a, b, c,
This is all very well but theses two areas differ by a lot. Can he do better? Yes if he overlays a grid
of smaller squares. In this way he can reduce the grid size until the over estimate and the
underestimate are near enough together.
Figure 4a, b, c
In doing this he has essentially defined what we mean by area. If it is rectangular or polygonal then
we find it by doing length times breadth and adding up a finite number of areas of pieces. If it is
enclosed by a curve we have to overlay the grid of squares reducing the grid size to determine the
limits of the inner and outer areas.
You could argue that the tiler used numerical integration for that is just what he did.
4
y
x
y
x
Figure 5a,b
From the diagrams above we observe that the area between the curve and the axis as shown in
figure 2 is greater than the sum of the areas of the rectangles on the left and less than those on the
right. By extending the horizontals and verticals it is easy to see that these areas are just the areas
of a grid of underlapping squares and overlapping squares.
This is far from rigorous, but a plausible argument to show that the definition of area and the
definition of the definite integral are one and the same thing.
We can write these areas as a summation using the sigma notation or write out the expression in full
detail, either way is complicated but hard to avoid. For the current discussion it is enough to use the
diagrams.
Nevertheless we note that
1
1 1 1
( ) ( ) ( ) ( )lim lim lim
bn n n
i i i i i i
i i i an n n
f x x f x x f t x f x d−
= = =→∞ →∞ →∞
∆ = ∆ = ∆ =∑ ∑ ∑ ∫ x
(ti is a value between xi-1 and xi )
This result is used endlessly in problems where the evaluation of some quantity (physical,
economic, etc.) is needed.
This has nothing to do with differentiation until we learn of the fundamental theorem of Calculus.
( ) ( ) ( ) where ( ) is such that '( ) ( )
b
a
f x dx F b F a F x F x f x= − =∫
There are ways of evaluating definite integrals where we do not find an antiderivative. Thus while
one often learns about integration as antidifferentiation this is not the whole story by any means and
it is not correct to think of integration as being the reverse of differentiation.
5
Demonstration of the fundamental theorem and the relation between the indefinite integral
and the definite integral
If we allow either of the limits of integration in a definite integral to vary then we will have a
function, so we can write
( ) ( )
t
a
G t f x dx= ∫
If the integral can be evaluated for all values of t greater than a then the function is defined.
From this definition we can say
( ) ( )
x
a
G x f t dt= ∫
The roles of x and t have changed above. More on this point below.
Now we can find G x as follows'
( )
( ) ( ) ( ) ( )
x x x
a a
G x x G x f t dt f t dt
+∆
+ ∆ − = −∫ ∫
and it is clear from a diagram that this is the difference of 2 areas and so itself is an area as shown
below, because G(x) = A and G(x+∆ x) = A + ∆A .
∆y
∆A
t = x
P
∆x
T
N (x+∆x, y+∆y)
y
y = f(t)
S
t
t = x+∆x
M
A
Q
B
t=a
Now
( ) ( )G x x G x A
x x
+ ∆ − ∆
=
∆ ∆
and ∆A lies between (length of PQ)∆x and (length of MN)∆x.
Now lets write this down explicitly and then divide through by ∆x to get successively
( ) (lengthPQ x A length MN x)∆ < ∆ < ∆
and
( ) (
A
lengthPQ length MN
x
)
∆
< <
∆
6
Finally, as ∆ x goes to zero (lengthMN) becomes (lengthPQ) which is f(x) and so we’ve shown
that
'( ) ( )
As 0, ( ) in other words ( ) so ( ) ( )
A G x x G x
x f x f x G x f x
x x
∆ + ∆ −
∆ → → → =
∆ ∆
Some notation. Which is a constant and which is a variable.
Because we can add and subtract areas,
if then but the integral on the
right hand side of this last equation is independent of x so G′ (x) = F′ (x).
( ) ( ) , and G( ) ( ) ,
x x
a b
F x f t dt x f t dt= =∫ ∫ ( ) ( ) G( )
b
a
F x f t dt x= +∫
So now we can bring together the notation for definite and indefinite integrals, thus
( ) ( ) where is arbitrary
x
a
f x dx f t dt a=∫ ∫ .
Thus it appears that a takes the part of the arbitrary constant. In fact a is almost arbitrary,
because it must be in the range of f(x) .
Please note also that
( ) ( ) = ( ) = ( )
x t x x
a t a a
f x dx f t dt f t dt f d
=
=
=∫ ∫ ∫ ∫ i i
and indeed
( ) = ( ) = ( ) ( ) = ( ) ( )= ( ) ( )
b b b b b
a a a a a
f x dx f t dt f cows d cows f horses d horses f elephants d elephants∫ ∫ ∫ ∫ ∫ .
These statements underline the fact that the variable of integration is irrelevant as far as the value of
the definite integral is concerned. The value of the integral depends on the function, f , and the
interval [a, b]. Indeed in many advanced texts you will just see
b
a
f∫ .
Substitution
The example
2 2
2u u
e udu e c= +∫
is of the form
'
( ( )) ( )f g u g u du∫ .
We recognize that had we differentiated
2
u
y e= we would have done so by putting z = u2
then y = ez
and we work out and
dz dy
du dz
and apply
dy dy dz
du dz du
= . As said before, this is just
a “guess and check” example.
7
If you put z = g(u) and '( )
dz
g u
du
= then you can put
'
( ( )) ( ) ( ) ( )
dz
f g u g u du f z du f z dz
du
= =∫ ∫ ∫
2
=
.
In these manipulations we have “cancelled” du and dz ; these formal operations have to be
legitimised, fortunately the pure mathematicians have done this for us.
There is a very compact way of viewing the “guess and check” structure, it is to see that we can
express the integral as
2 2
2 ( ) ( )
2 ( ) and we apply ( ) puttingu u
e udu e d u e d e c u= = +∫ ∫ ∫
i i
i i
Apply the same reasoning to 2 7
( 5)x xdx+∫ , observing that a “fudge factor” of 2 (legitimate here)
needs to be introduced inside and outside the integral, in the denominator and numerator
respectively.
The reasons for pointing out these interpretations are two-fold. First to reduce the amount of detail,
which for some will reduce the possibility of an arithmetic or algebraic blunder, and also because
this way we see structure and gain some insight into what is a function. Ask the students whether
they think that sin(x) , sin(w) and sin(x2
) are the same functions.
My understanding of the Mathematics B syllabus is that integration by substitution is only to be
done on examples which can be done by guess and check.
Certainly, applying substitution in the reverse direction where we do
'
( ) with ( ) so that ( ) ( ( )) ( )
dz
f z dz z g u f z du f g u g u du
du
= =∫ ∫ ∫
and thus get a more tractable integral in terms of u is not in the syllabus.
Numerical integration
To get an idea of the accuracy of the trapezoidal rule some examples should be done in which the
exact value is known. The error can be plotted and the dependence on the number of intervals
investigated. Further, since the rule is obtained by integrating a piecewise linear approximation to
the integrand by plotting the function and the piecewise linear approximation an understanding of
the error behaviour can be obtained.
For example with we get the following results( ) sin(3 ) for the interval [0,4]f x x=
no of intervals approximate
value
exact value absolute error relative error
4 .00554 .052045 .04651 .894
8 .04190 .052045 .01014 .195
16 .04959 .052045 .00246 .047
32 .05144 .052045 .00061 .012
Table 1 Results for the Trapezoidal rule with ( ) sin(3 ) for the interval [0,4]f x x=
Plotting the function and the approximations for 4 and 8 intervals we get the following diagrams
8
0 0.5 1 1.5 2 2.5 3 3.5 4
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0 0.5 1 1.5 2 2.5 3 3.5 4
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
you can see that until we put in enough points to follow the function we will have little chance of
getting an accurate answer.
Using Mathematical Software
I assume that everyone uses calculators to compute integrals using the trapezoidal rule. The areas
that featured in earlier sections in the definition of the definite integral can be calculated easily for
simple functions with very similar keystrokes or code. A spread sheet can also be used for these
purposes. I use Matlab because it is accessible and I am familiar with how it works.
Using symbolic manipulation packages is not yet established as an element of first year courses at
the University of Queensland. I would always use a package – demonstrate and use it in a lecture -
if it is available, but I prefer to present the package as a resource which can support the course
rather than be an integral part of it. The problem is the communications interface. Interpretation of
the output and a realization of what to expect from the package are crucial elements in their use.
These are not simple tasks to master.
I have learned from experience not to face a class without having gone through the steps ahead of
time.
9
One day in a lecture I typed into Maple:
> int(1/(x^2-1),x);
and was returned
-arctanh(x)
I had to do some talking! Of course I expected to get a logarithm as the answer.
So I then did
> int(1/((x-1)*(x+1)),x);
and got
1/2 ln(x - 1) - 1/2 ln(x + 1)
which was what I wanted. But since I wanted the students to learn that the first thing to do is to
factor the expression, Maple had not helped me at all.
Here are some more examples which I found ‘interesting’ when doing solutions to some of the
revision chapters in our book
The example was “Find the derivative of 3
( 2)y x= + ”
I entered :
>diff(sqrt((x+2)^3),x);
and was returned
2
3
3 ( 2)
2 ( 2)
x
x
+
+
I was not impressed with that answer and had to enter
> diff((x+2)^(3/2),x);
to get
3
2
2
x +
After getting
2
3
3 ( 2)
2 ( 2)
x
x
+
+
I later found that I could have used
>simplify(“);
Simplify does not always get you what you want, here’s another sequence:
10
> diff((x+2)^3*((x-1)^7),x);
2 3
3 ( 2) ( - 1) 7( 2) ( - 1)x x x x+ + + 6
6
> simplify("); “ stands for the last expression
9 8 7 6 5 4 3 2
10 - 9 - 72 105 126 - 315 84 207 180 44x x x x x x x x x+ + + + − +
> collect("",x); “” stands for the second last expression
9 8 7 6 5 4 3 2
10 - 9 - 72 105 126 - 315 84 207 180 44x x x x x x x x x+ + + + − + you don’t always get what
you want!
- 180 x + 44
> factor("""); “””stands for the third last expression !
2
(10 11)( 2) -1( )x x x+ + at last!
Finally, I wanted to do 2 3
6 (3 2)x x +∫ dx , expecting 2 41
(3 2)
4
x c+ + . Here’s what I got:
>int((6*x)*(3*x*x+2)^3,x);
8 6 481
54 54 4
4
2
x x x+ + + x Well that’s not what I expected, but I can factorise it into the
form I want, so I did
> factor("); and got
2 2 4 23
(3 4)(9 12 8)
4
x x x x+ + + That’s not what I wanted! Then I realized the trouble
was with the non-existent arbitrary constant and so I could fudge it!
> factor(""+4);
2 41
(3 2)
4
x +
Conclusion There is a lot of craft needed when using manipulation packages.
11

More Related Content

What's hot

5 4 equations that may be reduced to quadratics
5 4 equations that may be reduced to quadratics5 4 equations that may be reduced to quadratics
5 4 equations that may be reduced to quadraticsmath123b
 
Difference quotient algebra
Difference quotient algebraDifference quotient algebra
Difference quotient algebramath260
 
Integration presentation
Integration presentationIntegration presentation
Integration presentationUrmila Bhardwaj
 
Chapter 12 vectors and the geometry of space merged
Chapter 12 vectors and the geometry of space mergedChapter 12 vectors and the geometry of space merged
Chapter 12 vectors and the geometry of space mergedEasyStudy3
 
Stability criterion of periodic oscillations in a (9)
Stability criterion of periodic oscillations in a (9)Stability criterion of periodic oscillations in a (9)
Stability criterion of periodic oscillations in a (9)Alexander Decker
 
13 1 basics_integration
13 1 basics_integration13 1 basics_integration
13 1 basics_integrationManarAdham
 
5 3 the graphs of quadratic equations
5 3 the graphs of quadratic equations5 3 the graphs of quadratic equations
5 3 the graphs of quadratic equationsmath123b
 
Solution 3
Solution 3Solution 3
Solution 3aldrins
 
optimal graph realization
optimal graph realizationoptimal graph realization
optimal graph realizationIgor Mandric
 
Introduction to Real Analysis 4th Edition Bartle Solutions Manual
Introduction to Real Analysis 4th Edition Bartle Solutions ManualIntroduction to Real Analysis 4th Edition Bartle Solutions Manual
Introduction to Real Analysis 4th Edition Bartle Solutions ManualDawsonVeronica
 
Linear ineqns. and statistics
Linear ineqns. and statisticsLinear ineqns. and statistics
Linear ineqns. and statisticsindu psthakur
 
Pure Mathematics 1- Functions
Pure Mathematics 1- FunctionsPure Mathematics 1- Functions
Pure Mathematics 1- FunctionsSuraj Motee
 
Module 4 quadratic functions
Module 4 quadratic functionsModule 4 quadratic functions
Module 4 quadratic functionsdionesioable
 
Solution 3
Solution 3Solution 3
Solution 3aldrins
 
9 determinant and cross product
9 determinant and cross product9 determinant and cross product
9 determinant and cross productmath267
 
Module 2 exponential functions
Module 2   exponential functionsModule 2   exponential functions
Module 2 exponential functionsdionesioable
 
Module 1 linear functions
Module 1   linear functionsModule 1   linear functions
Module 1 linear functionsdionesioable
 

What's hot (19)

5 4 equations that may be reduced to quadratics
5 4 equations that may be reduced to quadratics5 4 equations that may be reduced to quadratics
5 4 equations that may be reduced to quadratics
 
Difference quotient algebra
Difference quotient algebraDifference quotient algebra
Difference quotient algebra
 
Integration presentation
Integration presentationIntegration presentation
Integration presentation
 
Chapter 12 vectors and the geometry of space merged
Chapter 12 vectors and the geometry of space mergedChapter 12 vectors and the geometry of space merged
Chapter 12 vectors and the geometry of space merged
 
Stability criterion of periodic oscillations in a (9)
Stability criterion of periodic oscillations in a (9)Stability criterion of periodic oscillations in a (9)
Stability criterion of periodic oscillations in a (9)
 
13 1 basics_integration
13 1 basics_integration13 1 basics_integration
13 1 basics_integration
 
5 3 the graphs of quadratic equations
5 3 the graphs of quadratic equations5 3 the graphs of quadratic equations
5 3 the graphs of quadratic equations
 
Logistics Management Assignment Help
Logistics Management Assignment Help Logistics Management Assignment Help
Logistics Management Assignment Help
 
Solution 3
Solution 3Solution 3
Solution 3
 
optimal graph realization
optimal graph realizationoptimal graph realization
optimal graph realization
 
Functions
FunctionsFunctions
Functions
 
Introduction to Real Analysis 4th Edition Bartle Solutions Manual
Introduction to Real Analysis 4th Edition Bartle Solutions ManualIntroduction to Real Analysis 4th Edition Bartle Solutions Manual
Introduction to Real Analysis 4th Edition Bartle Solutions Manual
 
Linear ineqns. and statistics
Linear ineqns. and statisticsLinear ineqns. and statistics
Linear ineqns. and statistics
 
Pure Mathematics 1- Functions
Pure Mathematics 1- FunctionsPure Mathematics 1- Functions
Pure Mathematics 1- Functions
 
Module 4 quadratic functions
Module 4 quadratic functionsModule 4 quadratic functions
Module 4 quadratic functions
 
Solution 3
Solution 3Solution 3
Solution 3
 
9 determinant and cross product
9 determinant and cross product9 determinant and cross product
9 determinant and cross product
 
Module 2 exponential functions
Module 2   exponential functionsModule 2   exponential functions
Module 2 exponential functions
 
Module 1 linear functions
Module 1   linear functionsModule 1   linear functions
Module 1 linear functions
 

Viewers also liked (11)

G S Ajay Kumar
G S Ajay KumarG S Ajay Kumar
G S Ajay Kumar
 
PathOfMostResistance
PathOfMostResistancePathOfMostResistance
PathOfMostResistance
 
JNIC 2015
JNIC 2015JNIC 2015
JNIC 2015
 
SAP
SAPSAP
SAP
 
MKTG 341 Plans Book Finished
MKTG 341 Plans Book FinishedMKTG 341 Plans Book Finished
MKTG 341 Plans Book Finished
 
Discover Your HP
Discover Your HPDiscover Your HP
Discover Your HP
 
Kk
KkKk
Kk
 
The Williams Group 2015 Transit Quals1
The Williams Group 2015 Transit Quals1The Williams Group 2015 Transit Quals1
The Williams Group 2015 Transit Quals1
 
O ctober december issue final
O ctober  december issue finalO ctober  december issue final
O ctober december issue final
 
MIS - Web 2.0 Review
MIS - Web 2.0 ReviewMIS - Web 2.0 Review
MIS - Web 2.0 Review
 
Fuel Cell
Fuel CellFuel Cell
Fuel Cell
 

Similar to 1543 integration in mathematics b

Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Reviewhassaanciit
 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionJames Smith
 
The Fundamental theorem of calculus
The Fundamental theorem of calculus The Fundamental theorem of calculus
The Fundamental theorem of calculus AhsanIrshad8
 
Based on the readings and content for this course.docxBased on.docx
Based on the readings and content for this course.docxBased on.docxBased on the readings and content for this course.docxBased on.docx
Based on the readings and content for this course.docxBased on.docxikirkton
 
1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoioNoorYassinHJamel
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicessuzanne
 
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
Optimization
OptimizationOptimization
OptimizationSpringer
 
Conjugate Gradient Methods
Conjugate Gradient MethodsConjugate Gradient Methods
Conjugate Gradient MethodsMTiti1
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcupatrickpaz
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment HelpMaths Assignment Help
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment HelpMaths Assignment Help
 

Similar to 1543 integration in mathematics b (20)

Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Review
 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
 
Calc 7.1a
Calc 7.1aCalc 7.1a
Calc 7.1a
 
The integral
The integralThe integral
The integral
 
The Fundamental theorem of calculus
The Fundamental theorem of calculus The Fundamental theorem of calculus
The Fundamental theorem of calculus
 
Based on the readings and content for this course.docxBased on.docx
Based on the readings and content for this course.docxBased on.docxBased on the readings and content for this course.docxBased on.docx
Based on the readings and content for this course.docxBased on.docx
 
1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
 
Exp integrals
Exp integralsExp integrals
Exp integrals
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
Optimization
OptimizationOptimization
Optimization
 
Week 7
Week 7Week 7
Week 7
 
Conjugate Gradient Methods
Conjugate Gradient MethodsConjugate Gradient Methods
Conjugate Gradient Methods
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcu
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment Help
 
Calculus Assignment Help
 Calculus Assignment Help Calculus Assignment Help
Calculus Assignment Help
 
1.6 all notes
1.6 all notes1.6 all notes
1.6 all notes
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment Help
 

More from Dr Fereidoun Dejahang

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020Dr Fereidoun Dejahang
 
028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrunDr Fereidoun Dejahang
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvementDr Fereidoun Dejahang
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-writeDr Fereidoun Dejahang
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sectorDr Fereidoun Dejahang
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurementDr Fereidoun Dejahang
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projectsDr Fereidoun Dejahang
 

More from Dr Fereidoun Dejahang (20)

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020
 
28 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-201928 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-2019
 
16 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-201916 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-2019
 
029 fast-tracking projects
029 fast-tracking projects029 fast-tracking projects
029 fast-tracking projects
 
028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun028 fast-tracking projects &amp; cost overrun
028 fast-tracking projects &amp; cost overrun
 
027 fast-tracked projects-materials
027 fast-tracked projects-materials027 fast-tracked projects-materials
027 fast-tracked projects-materials
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvement
 
025 enterprise resources management
025 enterprise resources management025 enterprise resources management
025 enterprise resources management
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-write
 
022 a construction productivity (2)
022 a construction productivity (2)022 a construction productivity (2)
022 a construction productivity (2)
 
021 construction productivity (1)
021 construction productivity (1)021 construction productivity (1)
021 construction productivity (1)
 
019 competencies-managers
019 competencies-managers019 competencies-managers
019 competencies-managers
 
018 company productivity
018 company productivity018 company productivity
018 company productivity
 
017 communication
017 communication017 communication
017 communication
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sector
 
015 changes-process model
015 changes-process model015 changes-process model
015 changes-process model
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurement
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projects
 
012 bussiness planning process
012 bussiness planning process012 bussiness planning process
012 bussiness planning process
 
011 business performance management
011 business performance management011 business performance management
011 business performance management
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

1543 integration in mathematics b

  • 1. Integration in Mathematics B John A. Belward, Department of Mathematics University of Queensland e-mail: jab@maths.uq.edu.au, web: www.maths.uq.edu.au/~jab This presentation concerns integration. I am not going to go through a long set of difficult manipulative examples, rather I want to raise important (as I see them) points I hope this will help people when preparing work programs and assessment instruments. Until one does problems with applications in applied areas, the extension to topics in Mathematics C which concern integration will most likely concern freer use of the log, exponential and trigonometric functions, so a lot of what is here is relevant to Mathematics C too. I want to make some points about • indefinite integrals • the definite integrals • what is area • the fundamental theorem of calculus • simple substitution • numerical integration • manipulation packages What is integration What is it for? It enables us to navigate in space. If we know our velocity vector v at any time t then our position vector is given by s where d dt = s v and if we have s = s0 at t = t0 then 0 0 = ( ) t t t dt∫s - s v so we just have to integrate v(t) ! To know v(t) we integrate the acceleration vector a(t) in a similar way. Figure 1 There are other less attention grabbing examples. 1
  • 2. Indefinite integrals The expression ( )f x dx∫ stands for the function which when differentiated gives f(x). It is commonly known as the indefinite integral. It is also sometimes known as the antiderivative of f(x), or even a primitive Examples: 2 2 4 3 2 ; sin( ) cos( ) ; 2 2 u ux x dx c t dt t c e udu e cπ π= + + = − + + = +∫ ∫ ∫ The number c can have any value, simply because the derivative of a constant is zero. These examples are done “by inspection” which is a pompous way of saying “guess and check”. So there is a nagging question. Since I have guessed the answer someone else might make a guess too which can be verified, but is different from mine. Example (esoteric) 2 2 2 2 2sec tan tan and 2sec tan secx xdx x c x xdx x c= + = +∫ ∫ because 2 2 2 2 tan 2sec tan and sec 2sec tan d d x x x x x dx dx = = x Here the theoreticians (pure mathematicians) come to our assistance proving that if two functions have the same derivative they differ from each other by a constant at the most. Doing indefinite integration boils down to learning manipulative tricks. Examples 2 3 8 3 9 27 ( 2) ( 2)x x dx x+ = + +∫ c and 3 3 2 2 2 sin cos cos cos (1 sin )cos cos sin cos sin 3 d d d d d θ θ θ θ θ θ θ θ θ θ θ θ θ θ θ= = − = − = −∫ ∫ ∫ c+∫ ∫ I’d expect that the second of these to be set only as a challenge problem. 2
  • 3. Definite integration The definite integral is denoted by ( ) b a f x dx∫ Its geometric interpretation is the area defined by the lines y = f(x) , y = 0, x = a and x = b, when f(x) is positive from a to b. Figure 2 Shaded Area = ( ) b a f x dx∫ There is nothing to be proved in this statement if the definition of area for sets of points enclosed by curved lines has been made. Defining area Strict proofs probably belong to second year tertiary mathematics, but an intuitive idea can easily be grasped with the use of a couple of diagrams. One of them has an immediate practical application. This is the tiler’s problem mistakenly called the butcher’s problem. A millionaire in Brisbane has a pool included in the back yard of his architect designed home. Being architect designed, for aesthetic reasons the shape of the pool is random, as shown. The millionaire is tough and has had the man screw his price right down low. Thus the area of the pool has to be known accurately to minimise wastage. How does he find this out? Well, he’s never done any maths save for a little geometry and arithmetic. So he gets the plans of the back yard which show the position of the pool accurately and proceeds as follows. He overlays a piece of squared paper on the plan and counts the number of squares inside the pool. Subtracting this from the rectangular area he knows that the area of tiles mustn’t exceed a certain 3
  • 4. amount. And he can do another sum by counting the squares that overlap the pool with part of the square overlapping the pool. This way he finds out a total that he must exceed when placing his order. Figure 3a, b, c, This is all very well but theses two areas differ by a lot. Can he do better? Yes if he overlays a grid of smaller squares. In this way he can reduce the grid size until the over estimate and the underestimate are near enough together. Figure 4a, b, c In doing this he has essentially defined what we mean by area. If it is rectangular or polygonal then we find it by doing length times breadth and adding up a finite number of areas of pieces. If it is enclosed by a curve we have to overlay the grid of squares reducing the grid size to determine the limits of the inner and outer areas. You could argue that the tiler used numerical integration for that is just what he did. 4
  • 5. y x y x Figure 5a,b From the diagrams above we observe that the area between the curve and the axis as shown in figure 2 is greater than the sum of the areas of the rectangles on the left and less than those on the right. By extending the horizontals and verticals it is easy to see that these areas are just the areas of a grid of underlapping squares and overlapping squares. This is far from rigorous, but a plausible argument to show that the definition of area and the definition of the definite integral are one and the same thing. We can write these areas as a summation using the sigma notation or write out the expression in full detail, either way is complicated but hard to avoid. For the current discussion it is enough to use the diagrams. Nevertheless we note that 1 1 1 1 ( ) ( ) ( ) ( )lim lim lim bn n n i i i i i i i i i an n n f x x f x x f t x f x d− = = =→∞ →∞ →∞ ∆ = ∆ = ∆ =∑ ∑ ∑ ∫ x (ti is a value between xi-1 and xi ) This result is used endlessly in problems where the evaluation of some quantity (physical, economic, etc.) is needed. This has nothing to do with differentiation until we learn of the fundamental theorem of Calculus. ( ) ( ) ( ) where ( ) is such that '( ) ( ) b a f x dx F b F a F x F x f x= − =∫ There are ways of evaluating definite integrals where we do not find an antiderivative. Thus while one often learns about integration as antidifferentiation this is not the whole story by any means and it is not correct to think of integration as being the reverse of differentiation. 5
  • 6. Demonstration of the fundamental theorem and the relation between the indefinite integral and the definite integral If we allow either of the limits of integration in a definite integral to vary then we will have a function, so we can write ( ) ( ) t a G t f x dx= ∫ If the integral can be evaluated for all values of t greater than a then the function is defined. From this definition we can say ( ) ( ) x a G x f t dt= ∫ The roles of x and t have changed above. More on this point below. Now we can find G x as follows' ( ) ( ) ( ) ( ) ( ) x x x a a G x x G x f t dt f t dt +∆ + ∆ − = −∫ ∫ and it is clear from a diagram that this is the difference of 2 areas and so itself is an area as shown below, because G(x) = A and G(x+∆ x) = A + ∆A . ∆y ∆A t = x P ∆x T N (x+∆x, y+∆y) y y = f(t) S t t = x+∆x M A Q B t=a Now ( ) ( )G x x G x A x x + ∆ − ∆ = ∆ ∆ and ∆A lies between (length of PQ)∆x and (length of MN)∆x. Now lets write this down explicitly and then divide through by ∆x to get successively ( ) (lengthPQ x A length MN x)∆ < ∆ < ∆ and ( ) ( A lengthPQ length MN x ) ∆ < < ∆ 6
  • 7. Finally, as ∆ x goes to zero (lengthMN) becomes (lengthPQ) which is f(x) and so we’ve shown that '( ) ( ) As 0, ( ) in other words ( ) so ( ) ( ) A G x x G x x f x f x G x f x x x ∆ + ∆ − ∆ → → → = ∆ ∆ Some notation. Which is a constant and which is a variable. Because we can add and subtract areas, if then but the integral on the right hand side of this last equation is independent of x so G′ (x) = F′ (x). ( ) ( ) , and G( ) ( ) , x x a b F x f t dt x f t dt= =∫ ∫ ( ) ( ) G( ) b a F x f t dt x= +∫ So now we can bring together the notation for definite and indefinite integrals, thus ( ) ( ) where is arbitrary x a f x dx f t dt a=∫ ∫ . Thus it appears that a takes the part of the arbitrary constant. In fact a is almost arbitrary, because it must be in the range of f(x) . Please note also that ( ) ( ) = ( ) = ( ) x t x x a t a a f x dx f t dt f t dt f d = = =∫ ∫ ∫ ∫ i i and indeed ( ) = ( ) = ( ) ( ) = ( ) ( )= ( ) ( ) b b b b b a a a a a f x dx f t dt f cows d cows f horses d horses f elephants d elephants∫ ∫ ∫ ∫ ∫ . These statements underline the fact that the variable of integration is irrelevant as far as the value of the definite integral is concerned. The value of the integral depends on the function, f , and the interval [a, b]. Indeed in many advanced texts you will just see b a f∫ . Substitution The example 2 2 2u u e udu e c= +∫ is of the form ' ( ( )) ( )f g u g u du∫ . We recognize that had we differentiated 2 u y e= we would have done so by putting z = u2 then y = ez and we work out and dz dy du dz and apply dy dy dz du dz du = . As said before, this is just a “guess and check” example. 7
  • 8. If you put z = g(u) and '( ) dz g u du = then you can put ' ( ( )) ( ) ( ) ( ) dz f g u g u du f z du f z dz du = =∫ ∫ ∫ 2 = . In these manipulations we have “cancelled” du and dz ; these formal operations have to be legitimised, fortunately the pure mathematicians have done this for us. There is a very compact way of viewing the “guess and check” structure, it is to see that we can express the integral as 2 2 2 ( ) ( ) 2 ( ) and we apply ( ) puttingu u e udu e d u e d e c u= = +∫ ∫ ∫ i i i i Apply the same reasoning to 2 7 ( 5)x xdx+∫ , observing that a “fudge factor” of 2 (legitimate here) needs to be introduced inside and outside the integral, in the denominator and numerator respectively. The reasons for pointing out these interpretations are two-fold. First to reduce the amount of detail, which for some will reduce the possibility of an arithmetic or algebraic blunder, and also because this way we see structure and gain some insight into what is a function. Ask the students whether they think that sin(x) , sin(w) and sin(x2 ) are the same functions. My understanding of the Mathematics B syllabus is that integration by substitution is only to be done on examples which can be done by guess and check. Certainly, applying substitution in the reverse direction where we do ' ( ) with ( ) so that ( ) ( ( )) ( ) dz f z dz z g u f z du f g u g u du du = =∫ ∫ ∫ and thus get a more tractable integral in terms of u is not in the syllabus. Numerical integration To get an idea of the accuracy of the trapezoidal rule some examples should be done in which the exact value is known. The error can be plotted and the dependence on the number of intervals investigated. Further, since the rule is obtained by integrating a piecewise linear approximation to the integrand by plotting the function and the piecewise linear approximation an understanding of the error behaviour can be obtained. For example with we get the following results( ) sin(3 ) for the interval [0,4]f x x= no of intervals approximate value exact value absolute error relative error 4 .00554 .052045 .04651 .894 8 .04190 .052045 .01014 .195 16 .04959 .052045 .00246 .047 32 .05144 .052045 .00061 .012 Table 1 Results for the Trapezoidal rule with ( ) sin(3 ) for the interval [0,4]f x x= Plotting the function and the approximations for 4 and 8 intervals we get the following diagrams 8
  • 9. 0 0.5 1 1.5 2 2.5 3 3.5 4 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 0 0.5 1 1.5 2 2.5 3 3.5 4 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 you can see that until we put in enough points to follow the function we will have little chance of getting an accurate answer. Using Mathematical Software I assume that everyone uses calculators to compute integrals using the trapezoidal rule. The areas that featured in earlier sections in the definition of the definite integral can be calculated easily for simple functions with very similar keystrokes or code. A spread sheet can also be used for these purposes. I use Matlab because it is accessible and I am familiar with how it works. Using symbolic manipulation packages is not yet established as an element of first year courses at the University of Queensland. I would always use a package – demonstrate and use it in a lecture - if it is available, but I prefer to present the package as a resource which can support the course rather than be an integral part of it. The problem is the communications interface. Interpretation of the output and a realization of what to expect from the package are crucial elements in their use. These are not simple tasks to master. I have learned from experience not to face a class without having gone through the steps ahead of time. 9
  • 10. One day in a lecture I typed into Maple: > int(1/(x^2-1),x); and was returned -arctanh(x) I had to do some talking! Of course I expected to get a logarithm as the answer. So I then did > int(1/((x-1)*(x+1)),x); and got 1/2 ln(x - 1) - 1/2 ln(x + 1) which was what I wanted. But since I wanted the students to learn that the first thing to do is to factor the expression, Maple had not helped me at all. Here are some more examples which I found ‘interesting’ when doing solutions to some of the revision chapters in our book The example was “Find the derivative of 3 ( 2)y x= + ” I entered : >diff(sqrt((x+2)^3),x); and was returned 2 3 3 ( 2) 2 ( 2) x x + + I was not impressed with that answer and had to enter > diff((x+2)^(3/2),x); to get 3 2 2 x + After getting 2 3 3 ( 2) 2 ( 2) x x + + I later found that I could have used >simplify(“); Simplify does not always get you what you want, here’s another sequence: 10
  • 11. > diff((x+2)^3*((x-1)^7),x); 2 3 3 ( 2) ( - 1) 7( 2) ( - 1)x x x x+ + + 6 6 > simplify("); “ stands for the last expression 9 8 7 6 5 4 3 2 10 - 9 - 72 105 126 - 315 84 207 180 44x x x x x x x x x+ + + + − + > collect("",x); “” stands for the second last expression 9 8 7 6 5 4 3 2 10 - 9 - 72 105 126 - 315 84 207 180 44x x x x x x x x x+ + + + − + you don’t always get what you want! - 180 x + 44 > factor("""); “””stands for the third last expression ! 2 (10 11)( 2) -1( )x x x+ + at last! Finally, I wanted to do 2 3 6 (3 2)x x +∫ dx , expecting 2 41 (3 2) 4 x c+ + . Here’s what I got: >int((6*x)*(3*x*x+2)^3,x); 8 6 481 54 54 4 4 2 x x x+ + + x Well that’s not what I expected, but I can factorise it into the form I want, so I did > factor("); and got 2 2 4 23 (3 4)(9 12 8) 4 x x x x+ + + That’s not what I wanted! Then I realized the trouble was with the non-existent arbitrary constant and so I could fudge it! > factor(""+4); 2 41 (3 2) 4 x + Conclusion There is a lot of craft needed when using manipulation packages. 11