Confessions of a Numerical Analyst Keith Evan Schubert

Slides:



Advertisements
Similar presentations
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
Advertisements

Motion Analysis (contd.) Slides are from RPI Registration Class.
Linear Regression  Using a linear function to interpolate the training set  The most popular criterion: Least squares approach  Given the training set:
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 19 Solution of Linear System of Equations - Iterative Methods.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Math for CSTutorial 41 Contents: 1.Least squares solution for overcomplete linear systems. 2.… via normal equations 3.… via A = QR factorization 4.… via.
Solving Equations Involving Cube Roots. Negative Solutions.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Solving Quadratic Equations by Completing the Square
Matrix Entry or element Rows, columns Dimensions Matrix Addition/Subtraction Scalar Multiplication.
Warm-Up 3) Find the determinant by hand. 4) Find the determinant using your calculator. 1) Multiply. Show work. 2) Multiply. Show work.
DO NOW: FACTOR EACH EXPRESSION COMPLETELY 1) 1) 2) 3)
Solving Quadratic Equations. Solving by Factoring.
Perfidious Polynomials and Elusive Roots Zhonggang Zeng Northeastern Illinois University Nov. 2, 2001 at Northern Illinois University.
4.6 Completing the Square Completing a perfect square trinomial allows you to factor the completed trinomial as the square of a binomial. You can solve.
Backward Thinking Confessions of a Numerical Analyst Keith Evan Schubert.
How do I know the answer if I’m not sure of the question? Putting robustness into estimation K. E. Schubert 11/7/00.
Perfect squares: 1, 4, 9, __, __, __, __, __, __, __,…
Factoring Polynomials.
Adjoint models: Theory ATM 569 Fovell Fall 2015 (See course notes, Chapter 15) 1.
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 26: Cholesky and Singular Value.
Quadratic Equations. Solving ax 2 + bx + c = 0 Taking Square Roots of Both Sides Graphing Factoring Completing the Square Quadratic Formula.
Computing ill-Conditioned Eigenvalues
ASEN 5070: Statistical Orbit Determination I Fall 2014
Quadratic Equations P.7.
Solving Quadratic Equations by the Quadratic Formula
Depth from disparity (x´,y´)=(x+D(x,y), y)
Newton’s Method for Systems of Non Linear Equations
Chapter 8 Continued – Radical Expressions and Equations
Solving Quadratic Equations by the Quadratic Formula
Warm-Up.
Level Circuit Adjustment
Garbage collection; lightstick orientation
Solving Quadratic Equations by the Quadratic Formula
MA10210: Algebra 1B
Singular Value Decomposition
Models for Robust Estimation and Identification
The Quadratic Formula.
Unit 3. Day 16..
Some useful linear algebra
Multiple Column Partitioned Min Max
How do I know the answer if I’m not sure of the question?
Solving Systems of Equations using Substitution
SVD: Physical Interpretation and Applications
Solving Quadratic Equations by the Quadratic Formula
Section 11.1 Quadratic Equations.
Backward Error Estimation
Models for Robust Estimation and Identification
Section 9.2 Using the Square Root Property and Completing the Square to Find Solutions.
The Square Root Property and Completing the Square
SOLUTION OF NONLINEAR EQUATIONS
Solving Quadratic Equations by the Quadratic Formula
9.2 Solving Quadratic Equations using square roots
Solving Quadratic Equations by the Quadratic Formula
Bellwork 1) Multiply. 3) Find the determinant. 2) Multiply.
Boundary value problems:
7.7 Write and Apply Exponential & Power Functions
Solving Quadratic Equations by the Quadratic Formula
Solving Quadratic Equations by the Quadratic Formula
Backward Error Estimation
Least Squares Now, we go back to consider a simple problem: Ax=b
Review: 10.1a Mini-Quiz 1. Solve 5y = 125y2
Let’s see why the answers (1) and (2) are the same
Example 5A: Solving Simple Rational Equations
Question 37.
5.6 Solving Quadratic Equations by the Quadratic Formula
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Solve Quadratic Equations by Finding Square Roots Lesson 1.5
Solving Quadratic Equations by the Quadratic Formula
Presentation transcript:

Confessions of a Numerical Analyst Keith Evan Schubert Backward Thinking Confessions of a Numerical Analyst Keith Evan Schubert

Simple Problem Consider the problem ax=b The resulting x value is

Simple Problem 2 Consider the problem ax=b The resulting x value is

What’s Up? The condition number (sensitivity to perturbations) is about 400. A condition number of 1 is perfect. Perturbation is 0.01, so 0.01*400=4. Components of x can vary by this much!

What Can We Do? Rather than solve it the standard way X=a\b X=(ATA)-1atb Consider the following: X=(ATA+i)-1atb  =.01 Then:

Lucky Guess?

Does It Always Work? No Consider  X0 Consider si2 (si is singular value of A) X± Picking the wrong value can get junk

Skyline Consider a 1 dimensional picture Use height instead of color Result looks like the silhouette of a city’s skyline Have smog which blurs and softens Don’t know exactly how much blur Want to get sharp edges

Getting Garbage

Getting Improvement

Why Backward? Forward errors Backward errors Explicitly account for each error source (X+d1)(y+d2)=xy+(yd1+xd2+d1d2) Backward errors Check that my algorithm acting on data will give me a solution that is “near” to the actual system acting on a nearby set of data I.E. My algorithm with good data should do about as well as a perfect calculation on ok data

Picture Please! Inherent errors in A b Perfect Calculations b* Errors due to algorithm best My Algorithm Actual Data (x) Nearby Data (x*)

Least Squares Usually we don’t have an invertible matrix Need to find an estimated solution Criterion: minimize ||ax-b|| Normal equation ATA x = ATb Solution X = (ATA)-1atb

Backward Error Criterion: minimize ||Ax-b||/(||A|| ||x||+||b||) Normal Equations Solution:

Non Convex

Finding The Root

Look At Critical Region

Informal Algorithm Get (A,b) svd(A)  [u1 u2],,v U1b  b1 Use rootfinder (bisection, Newton, etc.) to get  in [-sn2,0] vT(2- I)-1  b1  x

What You Get

Least Squares

Total Least Squares

Tikhonov

Backward Error

Original

Comparison

Final Thoughts BE is always optimistic in that it presumes that the real system is “better” Even with this it is “robust” There is a perturbed version of this algorithm which can be either optimistic or pessimistic That version is not fully proven