Stability and Sensitivity of Certain Computational Methods: A Symbolic-Numeric Treatment with Mathematica Ali YAZICI Software Engineering Department Atilim.

Slides:



Advertisements
Similar presentations
Mathematics in Engineering Education N. Grünwald & V. Konev Hochschule Wismar – University of Technology, Business and Design, Wismar, Germany Tomsk Polytechnic.
Advertisements

Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
1 Using Octave to Introduce Programming to Technical Science Students Nuno C. Marques Francisco Azevedo CENTRIA, DI-
MATH 685/ CSI 700/ OR 682 Lecture Notes
Part 3 Chapter 9 Gauss Elimination
Introduction to Scientific Computing ICE / ICE 508 Prof. Hyuckjae Lee KAIST- ICC
Chapter 5 Orthogonality
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 7 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Matlab Matlab is a powerful mathematical tool and this tutorial is intended to be an introduction to some of the functions that you might find useful.
QR-RLS Algorithm Cy Shimabukuro EE 491D
Polynomial Interpolation
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 6. Eigenvalue problems.
Chapter 9 Numerical Integration Numerical Integration Application: Normal Distributions Copyright © The McGraw-Hill Companies, Inc. Permission required.
CSE 425: Industrial Process Control 1. About the course Lect.TuLabTotal Semester work 80Final 125Total Grading Scheme Course webpage:
Autar Kaw Humberto Isaza
Application of CAS to geodesy: a ‘live’ approach P. Zaletnyik 1, B. Paláncz 2, J.L. Awange 3, E.W. Grafarend 4 1,2 Budapest University of Technology and.
Scientific Computing Algorithm Convergence and Root Finding Methods.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Eigenvectors and Eigenvalues
Numerics with Geogebra in High School dr Dragoslav Herceg dr Đorđe Herceg Faculty of Science and Mathematics Novi Sad, Serbia {hercegd |
Numerical Computations in Linear Algebra. Mathematically posed problems that are to be solved, or whose solution is to be confirmed on a digital computer.
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
1 Chapter 1 MATLAB Primer This introductory chapter is relatively short and has as its main objective the introduction of MATLAB ® to the reader. This.
An innovative learning model for computation in first year mathematics Birgit Loch Department of Mathematics and Computing, USQ Elliot Tonkes CS Energy,
9/14/ Trapezoidal Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 Finding the Roots of Equations
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Simpson Rule For Integration.
MATH 685/CSI 700 Lecture Notes Lecture 1. Intro to Scientific Computing.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
Numerical Methods Part: Simpson Rule For Integration.
CMPS 1371 Introduction to Computing for Engineers MATRICES.
MAT 1221 Survey of Calculus Maple
Control Engineering Lecture# 10 & th April’2008.
AGC DSP AGC DSP Professor A G Constantinides©1 Hilbert Spaces Linear Transformations and Least Squares: Hilbert Spaces.
Scientific Computing Introduction to Matlab Programming.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Scientific Computing General Least Squares. Polynomial Least Squares Polynomial Least Squares: We assume that the class of functions is the class of all.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
Perfidious Polynomials and Elusive Roots Zhonggang Zeng Northeastern Illinois University Nov. 2, 2001 at Northern Illinois University.
Newton’s Method, Root Finding with MATLAB and Excel
Numerical Analysis. Numerical Analysis or Scientific Computing Concerned with design and analysis of algorithms for solving mathematical problems that.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 15 General Least Squares and Non- Linear.
, Free vibration Eigenvalue equation EIGENVALUE EQUATION
Section 3.4 – Zeros of a Polynomial. Find the zeros of 2, -3 (d.r), 1, -4.
Stability Analysis . A system is BIBO stable if all poles or roots of
(COEN507) LECTURE III SLIDES By M. Abdullahi
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
3/12/ Trapezoidal Rule of Integration Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
MA2213 Lecture 9 Nonlinear Systems. Midterm Test Results.
Chapter 12: Data Analysis by linear least squares Overview: Formulate problem as an over-determined linear system of equations Solve the linear system.
DYNAMIC BEHAVIOR OF PROCESSES :
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 6. TRANSIENT RESPONSE -- STABILITY Pusan National University Intelligent.
Building Comfort With MATLAB
Explorations in Computational Science: Mathematica Chemistry
Trapezoidal Rule of Integration
244-1: INTRODUCTION TO PROGRAMMING
7.5 Zeros of Polynomial Functions
Properties Of the Quadratic Performance Surface
Chapter 10: Solving Linear Systems of Equations
Chapter 6. STABILITY Good relationships nurture you. They help you find yourself and who you are. I don’t mean just relationships with boys or men. Relationships.
Presentation transcript:

Stability and Sensitivity of Certain Computational Methods: A Symbolic-Numeric Treatment with Mathematica Ali YAZICI Software Engineering Department Atilim University Ankara, Turkey

SYNASC Timisoara2 Introduction  Computer Algebra Systems (CAS) such as Mathematica, Maple and Matlab offer so many different capabilities, which can be used as an aid in Computer Assisted Instruction.  The use of Mathematica (especially its symbolic power) in teaching some of the numerical methods is shown to be effective ([1], [2],[3], [4]).  In this study, symbolic and numerical properties of stability and sensitivity of some basic computational procedures are given using Mathematica.

SYNASC Timisoara3 Definitions  Sensitivity: The question how much does a function change under perturbations of its arguments is of importance in numerical computations.  Stability: An algorithm, is numerically stable if an error, whatever the reason is, does not grow unexpectedly larger during the calculation.  In this work, Mathematica notebooks have been prepared to demonstrate the issues of sensitivity and stability problems for some introductory numerical computations.

SYNASC Timisoara4 Sensitivity of Polynomials Obviously, the zeros of p(x) are 1,2,...,10 and are simple. However, it can be shown that a small change in the coefficient of x 9 from -55 to eps for very small values of eps may change some of the real roots of p(x) to be complex (Wilkinson). The roots of the perturbed polynomial are simply calculated (Mathematica) as: {x->1}, {x->2}, {x->2.9998}, {x->4:0061}, {x-> },{x-> }, {x-> i}, {x-> i},{x-> i}, {x-> i}

SYNASC Timisoara5 Sensitivity animated

SYNASC Timisoara6 Analysis  By differentiating the equation p(x,eps) = 0 with respect to eps, one gets [10]  This equation can be used to compute the measure of sensitivity against the roots 1,2,3,...,9, and 10.

SYNASC Timisoara7 Analysis by Mathematica

SYNASC Timisoara8...Mathematica  The input commands 1-3 below computes the sensitivity constants by invoking the module above.

SYNASC Timisoara9 Stability of Gram-Schmidt &QR  Let A = (a 1, a 2,..., a n ) be a mxn matrix with real values with m ¸ n and rank(A) = n. The CGS process produces an orthogonal basis Q = (q 1, q 2,..., q n ) of span(A), such that A = QR where R is an upper triangular matrix of order n.  This factorization can be utilized to determine the eigenvalues of A.

SYNASC Timisoara10 CGS Algorithm

SYNASC Timisoara11 Stability Measures  The accuracy of the QR factorization based on the CGS process can be simply measured by computing the norm ||A-QR||  The measure of orthogonalization can be obtained similarly by computing the norm ||Q T Q -I||

SYNASC Timisoara12 Mathematica Implementation of CGS

SYNASC Timisoara13 Running CGS  To display the instability numerically, Hilbert’s matrix (highly ill-conditioned) of order n is chosen.  Mathematica commands to produce the Hilbert matrix of order 5 and running the CGS program

SYNASC Timisoara14...Running CGS

SYNASC Timisoara15 Results

SYNASC Timisoara16 Divided Differences

SYNASC Timisoara17 Mathematica in action

SYNASC Timisoara18 Propagation of initial error

SYNASC Timisoara19 Conclusions  This study is about using one of the well-known CAS, namely, Mathematica to demonstrate rather complicated concepts just mentioned in a numerical computing course taught to engineering undergraduates.  The code segments produced in this study have been successfully used and class tested in the Numerical Methods courses taught at the undergraduate level.  The learner with some intermediate knowledge of Mathematica can easily modify the codes at his/her wish and perform additional experiments to understand the concepts of stability, sensitivity and error analysis in scientific problems.  This study can be expanded to cover the stability of other (more sophisticated) computational methods. A GUI based interactive tool is also necessary to provide an educational environment for computational problems of similar nature.

SYNASC Timisoara20