SlidePub
Home
Categories
Login
Register
Home
Technology
Numerical Methods for Engineers chapter 9 including linear equations.ppt
Numerical Methods for Engineers chapter 9 including linear equations.ppt
2468MonzuUddin
0 views
20 slides
Oct 08, 2025
Slide
1
of 20
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
About This Presentation
Linear equations with solution system
Size:
279.47 KB
Language:
en
Added:
Oct 08, 2025
Slides:
20 pages
Slide Content
Slide 1
by Lale Yurttas, Texas A
&M University
Part 3 1
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 9
Slide 2
by Lale Yurttas, Texas A
&M University
Part 3 2
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Linear Algebraic Equations
Part 3
•An equation of the form ax+by+c=0 or equivalently
ax+by=-c is called a linear equation in x and y variables.
• ax+by+cz=d is a linear equation in three variables, x, y, and
z.
•Thus, a linear equation in n variables is
a
1
x
1
+a
2
x
2
+ … +a
n
x
n
= b
•A solution of such an equation consists of real numbers c
1
, c
2
,
c
3
, … , c
n
. If you need to work more than one linear
equations, a system of linear equations must be solved
simultaneously.
Slide 3
by Lale Yurttas, Texas A
&M University
Part 3 3
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Noncomputer Methods for Solving
Systems of Equations
•For small number of equations (n ≤ 3) linear
equations can be solved readily by simple
techniques such as “method of elimination.”
•Linear algebra provides the tools to solve such
systems of linear equations.
•Nowadays, easy access to computers makes
the solution of large sets of linear algebraic
equations possible and practical.
Slide 4
by Lale Yurttas, Texas A
&M University
Part 3 4
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Gauss Elimination
Chapter 9
Solving Small Numbers of Equations
•There are many ways to solve a system of
linear equations:
–Graphical method
–Cramer’s rule
–Method of elimination
–Computer methods
For n ≤ 3
Slide 5
by Lale Yurttas, Texas A
&M University
Part 3 5
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Graphical Method
•For two equations:
•Solve both equations for x
2:
2222121
1212111
bxaxa
bxaxa
22
2
1
22
21
2
12
12
1
1
12
11
2 intercept(slope)
a
b
x
a
a
x
xx
a
b
x
a
a
x
Slide 6
by Lale Yurttas, Texas A
&M University
Part 3 6
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•Plot x
2
vs. x
1
on rectilinear
paper, the
intersection of
the lines
present the
solution.
Fig. 9.1
Slide 7
by Lale Yurttas, Texas A
&M University
Part 3 7
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Graphical Method
•Or equate and solve for x
1
12
11
22
21
12
1
22
2
12
11
22
21
22
2
12
1
1
22
2
12
1
1
12
11
22
21
22
2
1
22
21
12
1
1
12
11
2
0
a
a
a
a
a
b
a
b
a
a
a
a
a
b
a
b
x
a
b
a
b
x
a
a
a
a
a
b
x
a
a
a
b
x
a
a
x
Slide 8
by Lale Yurttas, Texas A
&M University
Part 3 8
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 9.2
No solution Infinite solutions
Ill-conditioned
(Slopes are too close)
Slide 9
by Lale Yurttas, Texas A
&M University
Part 3 9
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Determinants and Cramer’s Rule
•Determinant can be illustrated for a set of three
equations:
•Where A is the coefficient matrix:
bAx
333231
232221
131211
aaa
aaa
aaa
A
Slide 10
by Lale Yurttas, Texas A
&M University
Part 3 10
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•Assuming all matrices are square matrices, there is a
number associated with each square matrix A called
the determinant, D, of A. (D=det (A)). If [A] is order 1,
then [A] has one element:
A=[a
11]
D=a
11
•For a square matrix of order 2, A=
the determinant is D= a
11 a
22-a
21 a
12
a
11 a
12
a
21 a
22
Slide 11
by Lale Yurttas, Texas A
&M University
Part 3 11
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•For a square matrix of order 3, the minor of
an element a
ij is the determinant of the matrix
of order 2 by deleting row i and column j of A.
Slide 12
by Lale Yurttas, Texas A
&M University
Part 3 12
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
22313221
3231
2221
13
23313321
3331
2321
12
23323322
3332
2322
11
333231
232221
131211
aaaa
aa
aa
D
aaaa
aa
aa
D
aaaa
aa
aa
D
aaa
aaa
aaa
D
Slide 13
by Lale Yurttas, Texas A
&M University
Part 3 13
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
3231
2221
13
3331
2321
12
3332
2322
11
aa
aa
a
aa
aa
a
aa
aa
aD
• Cramer’s rule expresses the solution of a
systems of linear equations in terms of ratios
of determinants of the array of coefficients of
the equations. For example, x
1
would be
computed as:
D
aab
aab
aab
x
33323
23222
13121
1
Slide 14
by Lale Yurttas, Texas A
&M University
Part 3 14
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Method of Elimination
•The basic strategy is to successively solve one
of the equations of the set for one of the
unknowns and to eliminate that variable from
the remaining equations by substitution.
•The elimination of unknowns can be extended
to systems with more than two or three
equations; however, the method becomes
extremely tedious to solve by hand.
Slide 15
by Lale Yurttas, Texas A
&M University
Part 3 15
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Naive Gauss Elimination
•Extension of method of elimination to large
sets of equations by developing a systematic
scheme or algorithm to eliminate unknowns
and to back substitute.
•As in the case of the solution of two equations,
the technique for n equations consists of two
phases:
–Forward elimination of unknowns
–Back substitution
Slide 16
by Lale Yurttas, Texas A
&M University
Part 3 16
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Fig. 9.3
Slide 17
by Lale Yurttas, Texas A
&M University
Part 3 17
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Pitfalls of Elimination Methods
•Division by zero. It is possible that during both
elimination and back-substitution phases a division
by zero can occur.
•Round-off errors.
•Ill-conditioned systems. Systems where small changes
in coefficients result in large changes in the solution.
Alternatively, it happens when two or more equations
are nearly identical, resulting a wide ranges of
answers to approximately satisfy the equations. Since
round off errors can induce small changes in the
coefficients, these changes can lead to large solution
errors.
Slide 18
by Lale Yurttas, Texas A
&M University
Part 3 18
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•Singular systems. When two equations are
identical, we would loose one degree of
freedom and be dealing with the impossible
case of n-1 equations for n unknowns. For
large sets of equations, it may not be obvious
however. The fact that the determinant of a
singular system is zero can be used and tested
by computer algorithm after the elimination
stage. If a zero diagonal element is created,
calculation is terminated.
Slide 19
by Lale Yurttas, Texas A
&M University
Part 3 19
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Techniques for Improving Solutions
•Use of more significant figures.
•Pivoting. If a pivot element is zero,
normalization step leads to division by zero.
The same problem may arise, when the pivot
element is close to zero. Problem can be
avoided:
–Partial pivoting. Switching the rows so that the
largest element is the pivot element.
–Complete pivoting. Searching for the largest
element in all rows and columns then switching.
Slide 20
by Lale Yurttas, Texas A
&M University
Part 3 20
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Gauss-Jordan
•It is a variation of Gauss elimination. The
major differences are:
–When an unknown is eliminated, it is eliminated
from all other equations rather than just the
subsequent ones.
–All rows are normalized by dividing them by their
pivot elements.
–Elimination step results in an identity matrix.
–Consequently, it is not necessary to employ back
substitution to obtain solution.
Tags
solve linear equation
Categories
Technology
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
0
Slides
20
Age
54 days
Related Slideshows
11
8-top-ai-courses-for-customer-support-representatives-in-2025.pptx
JeroenErne2
44 views
10
7-essential-ai-courses-for-call-center-supervisors-in-2025.pptx
JeroenErne2
45 views
13
25-essential-ai-courses-for-user-support-specialists-in-2025.pptx
JeroenErne2
36 views
11
8-essential-ai-courses-for-insurance-customer-service-representatives-in-2025.pptx
JeroenErne2
33 views
21
Know for Certain
DaveSinNM
19 views
17
PPT OPD LES 3ertt4t4tqqqe23e3e3rq2qq232.pptx
novasedanayoga46
23 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-20)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better