Title: A%20History%20of%20Numerical%20Analysis%20Ideas
1A History of Numerical Analysis Ideas
Prepared for CS 378 History of Computing October
14, 2003
- Alan Kaylor Cline
- Department of Computer Sciences
- The University of Texas at Austin
2What is Different in Numerical Computing?
3What is Different in Numerical Computing?
Well, its numbers
4Scientific Computing vs.Numerical Analysis
5Your Original CS Department
1966
6Your Original CS Department
1966
10 faculty with 2 numerical analysts
7Is there anything special with numerical
computing?
8A Small Example
A computation of p
9Simple iteration
10 2 2.828427124746190 3 3.061467458920719 4
3.121445152258053 5 3.136548490545941 6
3.140331156954739 7 3.141277250932757 8
3.141513801144145 9 3.141572940367883 10
3.141587725279961 11 3.141591421504635 12
3.141592345611077 13 3.141592576545004 14
3.141592633463248 15 3.141592654807589 16
3.141592645321215 17 3.141592607375720 18
3.141592910939673 19 3.141594125195191 20
3.141596553704820 21 3.141596553704820 22
3.141674265021758 23 3.141829681889202 24
3.142451272494134 25 3.142451272494134 26
3.162277660168380 27 3.162277660168380 28
3.464101615137754 29 4.000000000000000 30
0.000000000000000 31 0.000000000000000
Result of 15 digit computation
Red digits are correct
White and green digits are incorrect
11 2 2.828427124746190 3 3.061467458920719 4
3.121445152258053 5 3.136548490545941 6
3.140331156954739 7 3.141277250932757 8
3.141513801144145 9 3.141572940367883 10
3.141587725279961 11 3.141591421504635 12
3.141592345611077 13 3.141592576545004 14
3.141592633463248 15 3.141592654807589 16
3.141592645321215 17 3.141592607375720 18
3.141592910939673 19 3.141594125195191 20
3.141596553704820 21 3.141596553704820 22
3.141674265021758 23 3.141829681889202 24
3.142451272494134 25 3.142451272494134 26
3.162277660168380 27 3.162277660168380 28
3.464101615137754 29 4.000000000000000 30
0.000000000000000 31 0.000000000000000 . . .
Result of 15 digit computation
Red digits are correct
White and green digits are incorrect
p 0 ?
12Wheres the problem?
13Wheres the problem?
is calculated as zero
14Lets replace
with the algebraically identical expression
15New iteration
results in
16 2 2.828427124746190 3 3.061467458920719 4
3.121445152258053 5 3.136548490545940 6
3.140331156954753 7 3.141277250932773 8
3.141513801144301 9 3.141572940367091 10
3.141587725277160 11 3.141591421511200 12
3.141592345570118 13 3.141592576584872 14
3.141592634338563 15 3.141592648776985 16
3.141592652386591 17 3.141592653288992 18
3.141592653514593 19 3.141592653570993 20
3.141592653585093 21 3.141592653588618 22
3.141592653589499 23 3.141592653589719 24
3.141592653589774 25 3.141592653589788 26
3.141592653589792 27 3.141592653589793 28
3.141592653589793 29 3.141592653589793 30
3.141592653589793 31 3.141592653589793
2 2.828427124746190 3 3.061467458920719 4
3.121445152258053 5 3.136548490545941 6
3.140331156954739 7 3.141277250932757 8
3.141513801144145 9 3.141572940367883 10
3.141587725279961 11 3.141591421504635 12
3.141592345611077 13 3.141592576545004 14
3.141592633463248 15 3.141592654807589 16
3.141592645321215 17 3.141592607375720 18
3.141592910939673 19 3.141594125195191 20
3.141596553704820 21 3.141596553704820 22
3.141674265021758 23 3.141829681889202 24
3.142451272494134 25 3.142451272494134 26
3.162277660168380 27 3.162277660168380 28
3.464101615137754 29 4.000000000000000 30
0.000000000000000 31 0.000000000000000
p correct to all digits
17Boring Is that all there is to numerical
analysis?
18Not so boring if the result of this computation
affects
19Not so boring if the result of this computation
affects
- The ability of the next plane you fly to stay in
the air
20Not so boring if the result of this computation
affects
- The ability of the next plane you fly to stay in
the air - The integrity of the next bridge you cross
21Not so boring if the result of this computation
affects
- The ability of the next plane you fly to stay in
the air - The integrity of the next bridge you cross
- The state of the economy on which you live
22Not so boring if the result of this computation
affects
- The ability of the next plane you fly to stay in
the air - The integrity of the next bridge you cross
- The state of the economy on which you live
- The path of a missile that isnt intended to
strike you
23So what are the common problems of numerical
analysis?
24So what are the common problems of numerical
analysis?
Application areas
25So what are the common problems of numerical
analysis?
Application areas
26So what are the common problems of numerical
analysis?
Application areas
- Petroleum modeling
- Atomic energy including weapons
27So what are the common problems of numerical
analysis?
Application areas
- Petroleum modeling
- Atomic energy including weapons
- Weather modeling
28So what are the common problems of numerical
analysis?
Application areas
- Petroleum modeling
- Atomic energy including weapons
- Weather modeling
- Other modeling such as aircraft and automobile
29So what are the common problems of numerical
analysis?
Algorithm areas
30So what are the common problems of numerical
analysis?
Algorithm areas
31So what are the common problems of numerical
analysis?
Algorithm areas
- Linear Equations
- Nonlinear equations - single and systems
32So what are the common problems of numerical
analysis?
Algorithm areas
- Linear Equations
- Nonlinear equations - single and systems
- Optimization
33So what are the common problems of numerical
analysis?
Algorithm areas
- Linear Equations
- Nonlinear equations - single and systems
- Optimization
- Data Fitting - interpolation and approximation
34So what are the common problems of numerical
analysis?
Algorithm areas
- Linear Equations
- Nonlinear equations - single and systems
- Optimization
- Data Fitting - interpolation and approximation
- Integration
35So what are the common problems of numerical
analysis?
Algorithm areas
- Linear Equations
- Nonlinear equations - single and systems
- Optimization
- Data Fitting - interpolation and approximation
- Integration
- Differential Equations - ordinary and partial
36Didnt we study that stuff in math classes?
37Didnt we study that stuff in math classes?
Yes, but as the Pi Example shows, math classes
are just the beginning
38Lets get back to history
39Why were computers used primarily for numerical
problems initially?
40- Why were computers used primarily for numerical
problems initially? - Mathematicians and engineers designed them
41- Why were computers used primarily for numerical
problems initially? - Mathematicians and engineers designed them
- A history of algorithms in that area
42- Why were computers used primarily for numerical
problems initially? - Mathematicians and engineers designed them
- A history of algorithms in that area
- Immediate war-time and post-war-time
applications
43- Why were computers used primarily for numerical
problems initially? - Mathematicians and engineers designed them
- A history of algorithms in that area
- Immediate war-time and post-war-time
applications - Applications did not depend upon having a large
number of computers
44- Why were computers used primarily for numerical
problems initially? - Mathematicians and engineers designed them
- A history of algorithms in that area
- Immediate war-time and post-war-time
applications - Applications did not depend upon having a large
number of computers - However, there were non-numerical examples
ENIGMA
45What were the major computing ideas that arose in
numerical analysis?
46What were the major computing ideas that arose in
numerical analysis?
47What were the major computing ideas that arose in
numerical analysis?
input
output
48What were the major computing ideas that arose in
numerical analysis?
true operation
input
output
49What were the major computing ideas that arose in
numerical analysis?
true operation
approximate operation
input
output
50What were the major computing ideas that arose in
numerical analysis?
true operation
error
approximate operation
input
output
51What were the major computing ideas that arose in
numerical analysis?
true operation
approximate operation
input
output
52What were the major computing ideas that arose in
numerical analysis?
true operation
backward error
approximate operation
input
output
53What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
54What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical based
- Computationally Efficient
- Portable
- Standardized 3 times
55What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
56What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
57What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
- NANET
58What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
- NANET
- Weekly information about people, problems, and
papers - Software repository
59What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
- NANET
- Matlab, Mathematica
60What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
- NANET
- Matlab, Mathematica
Scientific computing environments
61What were the major computing ideas that arose in
numerical analysis?
- Backward error analysis
- FORTRAN
- Mathematical software packages
- NANET
- Matlab, Mathematica
- Super computers - Parallelism