انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Linear Algebra 8

Share |
الكلية كلية التربية للعلوم الصرفة     القسم قسم الفيزياء     المرحلة 1
أستاذ المادة مي علاء عبد الخالق الياسين       22/02/2019 07:30:13
matrix equation
the vector equation is equivalent to a matrix equation of the form

where a is an m×n matrix, x is a column vector with n entries, and b is a column vector with m entries.

the number of vectors in a basis for the span is now expressed as the rank of the matrix.
row reduction
in row reduction, the linear system is represented as an augmented matrix:

this matrix is then modified using elementary row operations until it reaches reduced row echelon form. there are three types of elementary row operations:
type 1: swap the positions of two rows.
type 2: multiply a row by a nonzero scalar.
type 3: add to one row a scalar multiple of another.
because these operations are reversible, the augmented matrix produced always represents a linear system that is equivalent to the original.
there are several specific algorithms to row-reduce an augmented matrix, the simplest of which are gaussian elimination and gauss-jordan elimination. the following computation shows gauss-jordan elimination applied to the matrix above:

the last matrix is in reduced row echelon form, and represents the system x = ?15, y = 8, z = 2. a comparison with the example in the previous section on the algebraic elimination of variables shows that these two methods are in fact the same the difference lies in how the computations are written down.

cramer s rule
recall the general 3×4 matrix used to solve systems of three equations:



this matrix will be used to solve systems by cramer s rule. we divide it into four separate 3×3 matrices:
d =



d x =


d y =


d z =



d is the 3×3 coefficient matrix, and d x , d y , and d z are each the result of substituting the constant column for one of the coefficient columns in d .

cramer s rule states that:
x =
y =
z =
thus, to solve a system of three equations with three variables using cramer s rule,
1. arrange the system in the following form:
a 1 x + b 1 y + c 1 z = d 1
a 2 x + b 2 y + c 2 z = d 2
a 3 x + b 3 y + c 3 z = d 3
2. create d , d x , d y , and d z .
3. find detd , detd x , detd y , and detd z .
4. x = , y = , and z = .
note: if detd = 0 and detd x , detd y , or detd z? 0 , the system is inconsistent. if detd = 0 and detd x = detd y = detd z = 0 , the system has multiple solutions.

example:solve the following system:
8x + 10z = 7y + 15
2x + 3y + 8z = 7
5y + 9 = 4x + 2z
1. rearrange the system:
8x - 7y + 10z = 15
2x + 3y + 8z = 7
-4x + 5y - 2z = - 9
2. create the matrices:
d =
3.

4.
d x =
5.

d y =
6.

d z =
7.

8. find the determinants:

detd = (- 48 + 224 + 100) - (- 120 + 320 + 28) = 276 - 228 = 48
detd x = (- 90 + 504 + 350) - (- 270 + 600 + 98) = 764 - 428 = 336
detd y = (- 112 - 480 - 180) - (- 280 - 576 - 60) = - 772 - (- 916) = 144
detd z = (- 216 + 196 + 150) - (- 180 + 280 + 126) = 130 - 226 = - 96
9. x = = 7 . y = = 3 . z = = - 2 .
thus, (x, y, z) = (7, 3, - 2) .



cramer s rule is an explicit formula for the solution of a system of linear equations, with each variable given by a quotient of two determinants. for example, the solution to the system

is given by

for each variable, the denominator is the determinant of the matrix of coefficients, while the numerator is the determinant of a matrix in which one column has been replaced by the vector of constant terms.
though cramer s rule is important theoretically, it has little practical value for large matrices, since the computation of large determinants is somewhat cumbersome. (indeed, large determinants are most easily computed using row reduction.) further, cramer s rule has very poor numerical properties, making it unsuitable for solving even small systems reliably, unless the operations are performed in rational arithmetic with unbounded precision.

matrix solution
if the equation system is expressed in the matrix form , the entire solution set can also be expressed in matrix form. if the matrix a is square (has m rows and n=m columns) and has full rank (all m rows are independent), then the system has a unique solution given by

where is the inverse of a. more generally, regardless of whether m=n or not and regardless of the rank of a, all solutions (if any exist) are given using the moore-penrose pseudoinverse of a, denoted , as follows:

where is a vector of free parameters that ranges over all possible n×1 vectors. a necessary and sufficient condition for any solution(s) to exist is that the potential solution obtained using satisfy — that is, that if this condition does not hold, the equation system is inconsistent and has no solution. if the condition holds, the system is consistent and at least one solution exists. for example, in the above-mentioned case in which a is square and of full rank, simply equals and the general solution equation simplifies to as previously stated, where has completely dropingped out of the solution, leaving only a single solution. in other cases, though, remains and hence an infinitude of potential values of the free parameter vector give an infinitude of solutions of the equation.


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم