Autar Kaw Benjamin Rigsby. Transforming Numerical Methods Education for STEM Undergraduates

Similar documents
Simpson s 1/3 rd Rule of Integration

Trapezoidal Rule of Integration

Numerical Methods (CENG 2002) CHAPTER -III LINEAR ALGEBRAIC EQUATIONS. In this chapter, we will deal with the case of determining the values of x 1

Chapter System of Equations

Trapezoidal Rule of Integration

SOLUTION OF SYSTEM OF LINEAR EQUATIONS. Lecture 4: (a) Jacobi's method. method (general). (b) Gauss Seidel method.

Solving Systems of Equations

Lesson 4 Linear Algebra

Surds, Indices, and Logarithms Radical

Advanced Algorithmic Problem Solving Le 6 Math and Search

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

Titus Beu University Babes-Bolyai Department of Theoretical and Computational Physics Cluj-Napoca, Romania

ECE 102 Engineering Computation

PROGRESSIONS AND SERIES

Section 7.3, Systems of Linear Algebraic Equations; Linear Independence, Eigenvalues, Eigenvectors (the variable vector of the system) and

BC Calculus Review Sheet

Numerical Solutions of Fredholm Integral Equations Using Bernstein Polynomials

The Islamic University of Gaza Faculty of Engineering Civil Engineering Department. Numerical Analysis ECIV Chapter 11

Statistics for Financial Engineering Session 1: Linear Algebra Review March 18 th, 2006

334 MATHS SERIES DSE MATHS PREVIEW VERSION B SAMPLE TEST & FULL SOLUTION

Approximations of Definite Integrals

Limit of a function:

Addendum. Addendum. Vector Review. Department of Computer Science and Engineering 1-1

[ 20 ] 1. Inequality exists only between two real numbers (not complex numbers). 2. If a be any real number then one and only one of there hold.

Section 6.3: Geometric Sequences

Numbers (Part I) -- Solutions

Fast Fourier Transform 1) Legendre s Interpolation 2) Vandermonde Matrix 3) Roots of Unity 4) Polynomial Evaluation

0 otherwise. sin( nx)sin( kx) 0 otherwise. cos( nx) sin( kx) dx 0 for all integers n, k.

Graphing Review Part 3: Polynomials

Elementary Linear Algebra

GRAPHING LINEAR EQUATIONS. Linear Equations. x l ( 3,1 ) _x-axis. Origin ( 0, 0 ) Slope = change in y change in x. Equation for l 1.

Important Facts You Need To Know/Review:

1. (25 points) Use the limit definition of the definite integral and the sum formulas to compute. [1 x + x2

Unit 1. Extending the Number System. 2 Jordan School District

Dynamics of Structures

Linear Algebra. Lecture 1 September 19, 2011

Eigenfunction Expansion. For a given function on the internal a x b the eigenfunction expansion of f(x):

Interpolation. 1. What is interpolation?

Approximate Integration

Linear Programming. Preliminaries

Handout #2. Introduction to Matrix: Matrix operations & Geometric meaning

Definite Integral. The Left and Right Sums

Section 2.2. Matrix Multiplication

Northwest High School s Algebra 2

Similar idea to multiplication in N, C. Divide and conquer approach provides unexpected improvements. Naïve matrix multiplication

Schrödinger Equation Via Laplace-Beltrami Operator

The total number of permutations of S is n!. We denote the set of all permutations of S by

1.3 Continuous Functions and Riemann Sums

INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS)

lecture 16: Introduction to Least Squares Approximation

Discrete Mathematics I Tutorial 12

Student Success Center Elementary Algebra Study Guide for the ACCUPLACER (CPT)

Solutions to Problem Set 7

Math 153: Lecture Notes For Chapter 1

A GENERAL METHOD FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS: THE FROBENIUS (OR SERIES) METHOD

z line a) Draw the single phase equivalent circuit. b) Calculate I BC.

The Exponential Function

Algebra II, Chapter 7. Homework 12/5/2016. Harding Charter Prep Dr. Michael T. Lewchuk. Section 7.1 nth roots and Rational Exponents

SM2H. Unit 2 Polynomials, Exponents, Radicals & Complex Numbers Notes. 3.1 Number Theory

Content: Essential Calculus, Early Transcendentals, James Stewart, 2007 Chapter 1: Functions and Limits., in a set B.

1 Tangent Line Problem

EXERCISE a a a 5. + a 15 NEETIIT.COM

DETERMINANT. = 0. The expression a 1. is called a determinant of the second order, and is denoted by : y + c 1

10.5 Power Series. In this section, we are going to start talking about power series. A power series is a series of the form

In an algebraic expression of the form (1), like terms are terms with the same power of the variables (in this case

Indices and Logarithms

Chapter 10: The Z-Transform Adapted from: Lecture notes from MIT, Binghamton University Dr. Hamid R. Rabiee Fall 2013

Unit 1 Chapter-3 Partial Fractions, Algebraic Relationships, Surds, Indices, Logarithms

 n. A Very Interesting Example + + = d. + x3. + 5x4. math 131 power series, part ii 7. One of the first power series we examined was. 2!

Sharjah Institute of Technology

CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION

F x = 2x λy 2 z 3 = 0 (1) F y = 2y λ2xyz 3 = 0 (2) F z = 2z λ3xy 2 z 2 = 0 (3) F λ = (xy 2 z 3 2) = 0. (4) 2z 3xy 2 z 2. 2x y 2 z 3 = 2y 2xyz 3 = ) 2

Chapter 7 Infinite Series

Geometric Sequences. Geometric Sequence. Geometric sequences have a common ratio.

Engineering Analysis ENG 3420 Fall Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00

REVISION SHEET FP1 (AQA) ALGEBRA. E.g., if 2x

Repeated Root and Common Root

Gauss Quadrature Rule of Integration

Closed Newton-Cotes Integration

Gauss Quadrature Rule of Integration

Exponents and Radical

Chapter 10: The Z-Transform Adapted from: Lecture notes from MIT, Binghamton University Hamid R. Rabiee Arman Sepehr Fall 2010

y udv uv y v du 7.1 INTEGRATION BY PARTS

is continuous at x 2 and g(x) 2. Oil spilled from a ruptured tanker spreads in a circle whose area increases at a

=> PARALLEL INTERCONNECTION. Basic Properties LTI Systems. The Commutative Property. Convolution. The Commutative Property. The Distributive Property

LEVEL I. ,... if it is known that a 1

Fig. 1. I a. V ag I c. I n. V cg. Z n Z Y. I b. V bg

Chapter Real Numbers

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK SUMMER EXAMINATION 2005 FIRST ENGINEERING

(200 terms) equals Let f (x) = 1 + x + x 2 + +x 100 = x101 1

Variational Iteration Method for Solving Volterra and Fredholm Integral Equations of the Second Kind

f(bx) dx = f dx = dx l dx f(0) log b x a + l log b a 2ɛ log b a.

Homework 5 solutions

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

2a a a 2a 4a. 3a/2 f(x) dx a/2 = 6i) Equation of plane OAB is r = λa + µb. Since C lies on the plane OAB, c can be expressed as c = λa +

Summer Math Requirement Algebra II Review For students entering Pre- Calculus Theory or Pre- Calculus Honors

Limits and an Introduction to Calculus

denominator, think trig! Memorize the following two formulas; you will use them often!

Chapter Real Numbers

MAS221 Analysis, Semester 2 Exercises

Transcription:

Autr Kw Bejmi Rigsby http://m.mthforcollege.com Trsformig Numericl Methods Eductio for STEM Udergrdutes

http://m.mthforcollege.com

. solve set of simulteous lier equtios usig Nïve Guss elimitio,. ler the pitflls of the Nïve Guss elimitio method,. uderstd the effect of roud-off error whe solvig set of lier equtios with the Nïve Guss elimitio method,

4. ler how to modify the Nïve Guss elimitio method to the Gussi elimitio with prtil pivotig method to void pitflls of the former method,. fid the determit of squre mtri usig Gussi elimitio, d 6. uderstd the reltioship betwee the determit of coefficiet mtri d the solutio of simulteous lier equtios.

A method to solve simulteous lier equtios of the form [A][X][C] Two steps. Forwrd Elimitio. Bck Substitutio

.7 96. 6.8.7.6 4.8 79. 77. 6.8 44 8 64 The gol of forwrd elimitio is to trsform the coefficiet mtri ito upper trigulr mtri

A set of equtios d ukows + + +... + b + + +... + b + + +... +...... b (-) steps of forwrd elimitio

Step For Equtio, divide Equtio by by. d multiply ( + + +... + b ) + +... + b

Subtrct the result from Equtio. + + +... + b + +... + b... b b + + or +... + b

Repet this procedure for the remiig equtios to reduce the set of equtios s + + +... + b + +... + b + +... + b......... + + +... Ed of Step b

Step Repet the sme procedure for the rd term of Equtio. + + +... + b + +... + b + " " "... + b...... + + b " " "... Ed of Step

At the ed of (-) Forwrd Elimitio steps, the system of equtios will look like + + +... + b + +... + b " " " +... + b ( ) ( ) b...... Ed of Step (-)

) ( " ) ( " " b b b b

.7 96. 6.8.7.6 4.8 Solve ech equtio strtig from the lst equtio Emple of system of equtios

+ + +... + b + +... + b " " +... + b...... " ( ) ( ) b

Strt with the lst equtio becuse it hs oly oe ukow b ( ) ( )

( ) ( ) ( ) ( ) ( ),..., for...,,, + + + + i b i ii i i i i i i i i i i i i i ( ) ( ) ( ),..., for + i b i ii i j j i ij i i i ) ( ) ( b

THE END http://umericlmethods.eg.usf.edu

For ll resources o this topic such s digitl udiovisul lectures, primers, tetbook chpters, multiple-choice tests, worksheets i MATLAB, MATHEMATICA, MthCd d MAPLE, blogs, relted physicl problems, plese visit http://umericlmethods.eg.usf.edu/topics/gussi_elimitio. html

The upwrd velocity of rocket is give t three differet times Tble Velocity vs. time dt. Time, t ( s) Velocity, v ( m/s) 6.8 8 77. 79. The velocity dt is pproimted by polyomil s: v ( ) t t + t +, t. Fid the velocity t t6 secods.

( ). t, t t t v + + Assume v v v t t t t t t Results i mtri templte of the form: Usig dt from Tble, the mtri becomes: 79. 77. 6.8 44 8 64

79 44 77 8 64 6 8 79 77 6 8 44 8 64....... Forwrd Elimitio. Bck Substitutio

79 44 77 8 64 6 8 79 77 6 8 44 8 64....... Forwrd Elimitio. Bck Substitutio

Forwrd Elimitio

Number of steps of forwrd elimitio is (-)(-)

64 44 8. 6.8 77. 79. Divide Equtio by d 64 multiply it by 64,.6. [ 6.8].6 [ 64.8.6 7.48] Subtrct the result from Equtio [ 64 8 77.] [ 64.8.6 7.48] [ 4.8.6 96.8] Substitute ew equtio for Equtio 44 4.8.6 6.8 96.8 79.

44 4.8.6. 6.8 96.8 79. [ 6.8].76 [ 44 8.8.76 6.68] Subtrct the result from Equtio Substitute ew equtio for Equtio [ 44 79.] [ 44 8.8.76 6.68] [ 6.8 4.76.968] Divide Equtio by d 44 multiply it by 44,.76. 4.8 6.8.6 4.76 6.8 96.8.968

4.8 6.8.6 4.76 6.8 96.8.968 Divide Equtio by 4.8 d multiply it by 6.8, 6.8.. 4.8 [ 4.8.6 96.8]. [ 6.8.46 6.78] [ 6.8 4.76.968] Subtrct the result from Equtio [ 6.8.46 6.78] [.7.76] Substitute ew equtio for Equtio 4.8.6.7 6.8 96.8.76

Bck Substitutio

4.8.6.7 6.8 96..7 4.8.6.7 6.8 96.8.76 Solvig for.7.76.76.7.87

Solvig for 9.69 4.8.87.6 96.8 4.8.6 96.8 96.8.6 4.8 + +.76 96.8 6.8.7.6 4.8

4.8.6.7 6.8 96..76 Solvig for + + 6.8 6.8 6.8 9.69.87.947

79 77 6 8 44 8 64....87 9.69.947

Solutio The solutio vector is.947 9.69.87 The polyomil tht psses through the three dt poits is the: v ( t) t + t +.947t + 9.69t +.87, t v ( ) ( ) 6.947 6 + 9.69( 6) 9.686 m/s. +.87

THE END http://umericlmethods.eg.usf.edu

9 6 7 + + + 9 6 7 Pitfll#. Divisio by zero

9 4 6 7 + + + + 9 4 6 7

8 4 4 6 7 + + + + 8 4 4 6 7 6. 9 6. 7 Divisio by zero is possibility t y step of forwrd elimitio

Pitfll#. Lrge Roud-off Errors 9.7 4 7.49 Ect Solutio

Pitfll#. Lrge Roud-off Errors.99999..96 9.7 4 7.49 Solve it o computer usig 6 sigifict digits with choppig

Pitfll#. Lrge Roud-off Errors.9999..6 9.7 4 7.49 Solve it o computer usig sigifict digits with choppig Is there wy to reduce the roud off error?

Icrese the umber of sigifict digits Decreses roud-off error Does ot void divisio by zero

Gussi Elimitio with Prtil Pivotig Avoids divisio by zero Reduces roud off error

THE END http://umericlmethods.eg.usf.edu

Possible divisio by zero Lrge roud-off errors

Icrese the umber of sigifict digits Decreses roud-off error Does ot void divisio by zero

Gussi Elimitio with Prtil Pivotig Avoids divisio by zero Reduces roud off error

At the begiig of the k th step of forwrd elimitio, fid the mimum of,..., kk, k +, k k If the mimum of the vlues is pk i the p th row, k p, the switch rows p d k.

4 b b b b

9 8 6 4 7 8 6 9 4 6 7 6.7. 4 6 4 Which two rows would you switch?

6 9 8 6 7 8 6 9 4 4 7 6.7. 4 6 4 Switched Rows

A method to solve simulteous lier equtios of the form [A][X][C] Two steps. Forwrd Elimitio. Bck Substitutio

Sme s ïve Guss elimitio method ecept tht we switch rows before ech of the (-) steps of forwrd elimitio.

4 b b b b

) ( " ) ( " " b b b b

+... + b + + +... + b + " " " +... + b ( ) ( ) b......

b ( ) ( ) i b ( i) ( i) i j ii ij j i+ ( ) for i,..., i

THE END http://umericlmethods.eg.usf.edu

79 77 6 8 44 8 64... Solve the followig set of equtios by Gussi elimitio with prtil pivotig

79 77 6 8 44 8 64.... Forwrd Elimitio. Bck Substitutio 79. 44 77. 8 64 6.8

Forwrd Elimitio

Number of steps of forwrd elimitio is (-)(-)

Emie bsolute vlues of first colum, first row d below., 64, 44 Lrgest bsolute vlue is 44 d eists i row. Switch row d row. 64 44 8 6.8 77. 79. 44 64 8 79. 77. 6.8

44 64 8 79. 77. 6.8 [ 44 79.].4444 [ 6.99..4444 4.] Subtrct the result from Equtio Divide Equtio by 44 d 64 44 multiply it by 64,.4444. [ 64 8 77.] [ 6.99..4444 4.] [.667.6.] Substitute ew equtio for Equtio 44.667.6 79.. 6.8

44.667.6 79.. 6.8 [ 44 79.].76 [..8.76 48.47] Subtrct the result from Equtio Substitute ew equtio for Equtio Divide Equtio by 44 d multiply it by,.76. [ 6.8] [.8.76 48.47] [.97.864 8.] 44.667.97.6.864 44 79.. 8.

Emie bsolute vlues of secod colum, secod row d below..667,.97 Lrgest bsolute vlue is 44 d eists i row. Switch row d row. 44.667.97.6.864 79.. 8. 44.97.667.864.6 79. 8..

44.97.667.864.6 79. 8.. [.97.864 8.].94 [.667.76.] Subtrct the result from Equtio Substitute ew equtio for Equtio Divide Equtio by.97 d multiply it by.667,.94. [.667.6.] [.667.76.] [..] 44.97.667.97 79..864 8...

Bck Substitutio

..... Solvig for 8 79 864 97 44.. 8..864.97 79. 44......

44. 97 79.. 864 8... Solvig for.97 +.864 8. 8..864.97 8..864..97 9.67

Solvig for.97 44. 9.67 79. 44 79. 79. 44 + + 8 79 864 97 44......

79 77 6 8 44 8 64.... 9.67.97

6.9 6.99 7 7 + + + Cosider the system of equtios I mtri form 6.99 7 6.9 7 Solve usig Gussi Elimitio with Prtil Pivotig usig five sigifict digits with choppig

Forwrd Elimitio: Step Emiig the vlues of the first colum, -, d or,, d The lrgest bsolute vlue is, which mes, to follow the rules of Prtil Pivotig, we switch row with row. 6.9 7 6.99 7. 6. 7. 6. 7 Performig Forwrd Elimitio

6.. 7 6.. 7 Forwrd Elimitio: Step Emiig the vlues of the first colum -. d. or. d. The lrgest bsolute vlue is., so row is switched with row. 6. 7. 6. 7 Performig the row swp

Forwrd Elimitio: Step Performig the Forwrd Elimitio results i: 6.. 7 6.. 7

Bck Substitutio Solvig the equtios through bck substitutio 7. 6. 7. 6. 7 + 7 6. 6...

[ ] X ect [ ] X clculted Compre the clculted d ect solutio. The fct tht they re equl is coicidece, but it does illustrte the dvtge of Prtil Pivotig

THE END http://umericlmethods.eg.usf.edu

Determit of Squre Mtri Usig Nïve Guss Elimitio Emple

If multiple of oe row of [A] is dded or subtrcted to other row of [A] to result i [B] the det(a)det(b)

The determit of upper trigulr mtri [A] det A... ii... give by ( ) i is ii

Usig forwrd elimitio to trsform [A] upper trigulr mtri, [U]. to [ A ] [ ] U ( A) det( U ) det

Usig ïve Gussi elimitio fid the determit of the followig squre mtri. 64 44 8

Forwrd Elimitio

64 44 8.6 [ ] [ 64.8.6] Subtrct the result from Equtio Substitute ew equtio for Equtio. Divide Equtio by d [ 64 8 ] [ 64.8.6] [ 4.8.6] 44 64 multiply it by 64,. 4.8.6.6

44 4.8..6 [ ].76 [ 44 8.8.76] Subtrct the result from Equtio Substitute ew equtio for Equtio Divide Equtio by d multiply it by 44,.76. [ 44 ] [ 44 8.8.76] [ 6.8 4.76] 4.8 6.8 44.6 4.76

4.8 6.8..6 4.76 ([ 4.8.6] ). [ 6.8.46] Subtrct the result from Equtio Substitute ew equtio for Equtio Divide Equtio by 4.8 d multiply it by 6.8, 6.8.. 4.8 [ 6.8 4.76] [ 6.8.46] [.7] 4.8.6.7

After forwrd elimitio 64 44 8 4.8.6.7 ( A) det u u u 84. ( 4.8).7

Forwrd Elimitio Bck Substitutio Pitflls Improvemets Prtil Pivotig Determit of Mtri

For ll resources o this topic such s digitl udiovisul lectures, primers, tetbook chpters, multiple-choice tests, worksheets i MATLAB, MATHEMATICA, MthCd d MAPLE, blogs, relted physicl problems, plese visit http://umericlmethods.eg.usf.edu/topics/gussi_elimitio. html

THE END http://umericlmethods.eg.usf.edu