Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simultaneous Linear Equations

Similar presentations


Presentation on theme: "Simultaneous Linear Equations"— Presentation transcript:

1 Simultaneous Linear Equations

2 PHYSICAL PROBLEMS

3 Truss Problem

4 Pressure vessel problem
a b c a b

5 Polynomial Regression
We are to fit the data to the polynomial regression model

6 Simultaneous Linear Equations Naive Gaussian Elimination (Naïve and the Not That So Innocent Also)

7 Naïve Gaussian Elimination
A method to solve simultaneous linear equations of the form [A][X]=[C] Two steps 1. Forward Elimination 2. Back Substitution

8 Forward Elimination The goal of forward elimination is to transform the coefficient matrix into an upper triangular matrix

9 Forward Elimination Exercise: Show the steps for this slide (10 minutes).

10 Back Substitution Example of a system of 3 equations
Solve each equation starting from the last equation Example of a system of 3 equations

11 Forward Elimination A set of n equations and n unknowns
(n-1) steps of forward elimination

12 Forward Elimination Step 1
For Equation 2, divide Equation 1 by and multiply by .

13 Forward Elimination Subtract the result from Equation 2. − or
_________________________________________________ or

14 Forward Elimination Repeat this procedure for the remaining equations to reduce the set of equations as End of Step 1

15 Forward Elimination Step 2
Repeat the same procedure for the 3rd term of Equation 3. End of Step 2

16 Forward Elimination At the end of (n-1) Forward Elimination steps, the system of equations will look like End of Step (n-1)

17 Matrix Form at End of Forward Elimination

18 Back Substitution Example of a system of 3 equations
Solve each equation starting from the last equation Example of a system of 3 equations

19 Back Substitution Starting Eqns

20 Back Substitution Start with the last equation because it has only one unknown

21 Back Substitution

22 Naïve Gauss Elimination Example http://numericalmethods.eng.usf.edu

23 Example 1 The upward velocity of a rocket is given at three different times Table 1 Velocity vs. time data. Time, Velocity, 5 106.8 8 177.2 12 279.2 The velocity data is approximated by a polynomial as: Find the velocity at t=6 seconds .

24 Example 1 Cont. Assume Results in a matrix template of the form:
Using data from Table 1, the matrix becomes:

25 Example 1 Cont. Forward Elimination Back Substitution 25

26 Forward Elimination 26

27 Number of Steps of Forward Elimination
Number of steps of forward elimination is (n-1)=(3-1)=2

28 Forward Elimination: Step 1
Divide Equation 1 by 25 and multiply it by 64, . Subtract the result from Equation 2 Substitute new equation for Equation 2 28

29 Forward Elimination: Step 1 (cont.)
Divide Equation 1 by 25 and multiply it by 144, . Subtract the result from Equation 3 Substitute new equation for Equation 3 29

30 Forward Elimination: Step 2
Divide Equation 2 by −4.8 and multiply it by −16.8, . Subtract the result from Equation 3 Substitute new equation for Equation 3 30

31 Back Substitution 31

32 Back Substitution Solving for a3 32

33 Back Substitution (cont.)
Solving for a2 33

34 Back Substitution (cont.)
Solving for a1 34

35 Naïve Gaussian Elimination Solution
35

36 Example 1 Cont. Solution The solution vector is
The polynomial that passes through the three data points is then:

37 Determinant of a Square Matrix Using Naïve Gauss Elimination Example http://nm.MathForCollege.com
37

38 Theorem of Determinants
If a multiple of one row of [A]nxn is added or subtracted to another row of [A]nxn to result in [B]nxn then det(A)=det(B) 38

39 Theorem of Determinants
The determinant of an upper triangular, lower triangular or diagonal matrix [A]nxn is given by 39

40 Forward Elimination of a Square Matrix
Using forward elimination to transform [A]nxn to an upper triangular matrix, [U]nxn. 40

41 Example Using Naive Gaussian Elimination method, find the determinant of the following square matrix. 41

42 Finding the Determinant
After forward elimination steps . 42


Download ppt "Simultaneous Linear Equations"

Similar presentations


Ads by Google