2013.01.09-ece595e-l02
TRANSCRIPT
-
7/29/2019 2013.01.09-ECE595E-L02
1/16
ECE 595, Section 10Numerical Simulations
Lecture 2: Problems in Numerical
Computing
Prof. Peter Bermel
January 9, 2013
-
7/29/2019 2013.01.09-ECE595E-L02
2/16
Outline
Overall Goals
Finding Special Values
Fourier Transforms Eigenproblems
Ordinary Differential Equations
Partial Differential Equations
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
3/16
Recap: Goals for This Class
Learn/review key mathematics
Learn widely-used numerical
techniques
Become a capable user of thissoftware
Appreciate strengths andweaknesses of competing
algorithms Convey your research results to an
audience of colleagues
1/9/2013 ECE 595, Prof. Bermel
RW Hamming (left),
developing error-
correcting codes (AT&T)
-
7/29/2019 2013.01.09-ECE595E-L02
4/16
Finding Special Values
Finding zeros
1D versus multidimensional
Speed versus certainty
Finding minima and maxima (optimization)
Convex vs. non-convex problems
Global vs. local search
Derivative vs. non-derivative search
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
5/16
Finding Zeros
Key concept: bracketing
Bisection continuouslyhalve intervals
Brents method adds
inverse quadraticinterpolation
Newton-Raphson method uses tangent
Laguerres method assumespacing of roots at a and b:
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
6/16
Finding Minima (or Maxima)
Golden Section Search
Brents Method
Downhill Simplex Conjugate gradient
methods
Multiple level, singlelinkage (MLSL)
1/9/2013 ECE 595, Prof. Bermel
These and further images from Numerical
Recipes, by WH Press et al.
-
7/29/2019 2013.01.09-ECE595E-L02
7/16
Recap: Fourier Transforms
1/9/2013 ECE 595, Prof. Bermel
J.W. Cooley (IEEE
Global HistoryNetwork)
-
7/29/2019 2013.01.09-ECE595E-L02
8/16
Cooley-Tukey Algorithm
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
9/16
Recap: Eigenproblems
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
10/16
Eigenproblems
Direct method: solve det(A-1)=0
Similarity transformations: A Z-1AZ
Atomic transformations: construct each Z explicitly
Factorization methods: QR and QL methods
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
11/16
Atomic Transformations in
Eigenproblems
Jacobi
Householder
Keep iterating until off-diagonal elements aresmall, or use factorization approach
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
12/16
Factorization in Eigenproblems
Most common approach known as QR method
Can also do the same with Slow in general, but fast in certain cases:
Tridiagonal matrices
Hessenberg matrix
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
13/16
Ordinary Differential Equations
Euler method nave rearrangement of ODE
Runge-Kutta methods match multiple Euler
steps to a higher-order Taylor expansion
Richardson extrapolation extrapolate
computed value to 0 step size
Predictor-corrector methods store solution
to extrapolate next point, and then correct it
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
14/16
ODE Boundary Value Problems
1/9/2013 ECE 595, Prof. Bermel
Boundary Value MethodShooting Method
-
7/29/2019 2013.01.09-ECE595E-L02
15/16
Partial Differential Equations
Classes: parabolic, hyperbolic, and elliptic
Initial value vs. boundary value problems
Finite difference
Finite element methods
Monte-Carlo
Spectral
Variational methods
1/9/2013 ECE 595, Prof. Bermel
-
7/29/2019 2013.01.09-ECE595E-L02
16/16
Next Class
Introduction to computational complexity Please read Chapter 1 of Computational
Complexity: A Modern Approach by Arora& Barak
1/9/2013 ECE 595, Prof. Bermel
http://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdfhttp://www.cs.princeton.edu/theory/complexity/modelchap.pdf