Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Group Presentation
Arsalan Ahmed, Zeeshan Karim, Syed Hasan Asim, Abeel Ahmed Minai
•Topics to be presented
x y
x y
x=2 y = -1
• If equation is already in the form of one variable expressed (or easily expressible)
in terms of another variable, substitution is faster otherwise Elimination method
is used to get a solution in minimal steps.
Possible Solutions:
• Unique Solution (Having an • No solution (Having no • Infinitely many solutions
intersection point) intersection point) (lines are coincident)
𝟑 𝒙 − 𝒚 =𝟕 −𝟐
𝒙+ 𝒚 =𝟗 𝟐 𝒙 − 𝒚=𝟒
𝟐 𝒙 +𝟑 𝒚=𝟏 𝟔 𝒙 −𝟑 𝒚 =𝟓 𝟔 𝒙 −𝟑 𝒚 =𝟏𝟐
Geometrical Representation of a System of
Equations
Visualizing the row picture
No
Solution
Unique
Solution
Infinitely
Many
Solutions
Column Picture:
The solutions to bigger than a The main idea in the
3 ×3 linear system can not be column picture is to
represented graphically, and interpret the 2 × 2 linear
the substitution method system as an addition of
becomes more involved to new objects, in the
solve, hence alternative ideas following way:
are needed to solve such
systems.
2x1 − x2 = 0
−x1 + 2x2 = 3
Using the Solution from the previous Example, we get:
In other words, the m-vector b is a linear combination of the m-vectors a1, …... , an if there exist
real numbers x1, …… , xn such that the following equation holds:
These are the main ideas in the column picture. We see that linear algebra emerges from
the column picture.
Gaussian Elimination:
• The method is named after Carl Friedrich
Gauss (1777–1855), although
it was known to Chinese mathematicians as early as 179 AD.
• Used widely as it’s one of the most efficient ways to solve a system of
linear equations.
• Goal: Achieve an Upper triangular matrix by a sequence of
operations performed on the corresponding matrix of coefficients.
Solution:
• augmented form
• R2 – 2(R1); R3 – (R1)
• R3 – R2
Row Echelon Form
Cases in which Gaussian elimination fails(examples):
• Permanent failure with no solutions
Geometrical Interpretation:
Elimination Matrices:
• The identity matrix I has 1’s on the diagonal and otherwise 0’s.
Then Ib = b. The elementary matrix or elimination matrix Eij,
that subtracts a multiple L of a row j from row i has the extra
non-zero entry –L in the i,j position.
• A more systematic, clean and condensed solution.
• Example
Identity I = Elimination E31 =
The row echelon form could also be obtained
using Elimination matrices.
• U=
=
=
=
Permutation Matrices:
• The permutation matrix Pij is the identity matrix with rows i and j
reversed. When it left-multiplies another matrix, it exchanges rows i
and j. There are n! permutations of order n for square matrices. The
inverse of a permutation matrix is equal to its transpose.
• Used for row exchanges when zero is in the pivot position during
elimination.
• Example:
= , ,=
Block Matrices:
• It is often convenient to partition a matrix M into smaller
matrices called blocks.
• Example: