Docsity

Homework 3 Practice Problems on Numerical Linear Algebra | MATH 170A, Assignments of Mathematics

Toggle sidebar
bg1
HW#3 Fall 2009 UCSD Math 170A with Prof. Li-Tien Cheng and TA Chris Deotte
1.7.18 Solve the linear system
Ax b
=

, where A is as in Exercise 1.7.10 and
[ ]
12, 8,21, 26
T
b= āˆ’ āˆ’

. Use the L and U that you
calculated in Exercise 1.7.10.
First we solve for y in the equation,
Ly b
=
. Then we use that y and solve for x in the equation,
Ux y
=
.
[ ]
12, 4,1,3
T
y=
and
[4, 3,2,1]
T
x=
.
1.7.36. Suppose
ī˜‚
A
is obtained from
A
by multiplying the
i
th row by the nonzero constant
c
. (a) Find the form of the matrix
M
(an
elementary matrix
of type 3) such that
ī˜‚
A MA
=
. (b) Find
1
M
āˆ’
and state its function as an elementary matrix. (c)
Find
det( )
M
and determine the relationship between
ī˜‚
(
)
det
A
and
(
)
det
A
. Deduce that
ī˜‚
A
is nonsingular if and only if
A
is.
(a)
M
is the identity matrix with
c
in the
i
th row
i
th column instead of the usual 1. Formally,
(
)
, 0 for
M j k j k
= ≠
,
(
)
, 1 for
M j j j i
= ≠
and
(
)
,
M i i c
=
.
n n
M
Ɨ
∈

with
1 , ,
i j k n
≤ ≤
(b)
1
M
āˆ’
is the identity matrix with
1
c
āˆ’
in the
i
th row
i
th column instead of the usual 1. As an elementary matrix,
1
M
āˆ’
multiplies the
i
th row by the nonzero constant
1
c
āˆ’
when
1
M
āˆ’
multiplies a matrix on the left such as
1
M A
āˆ’
.
(c) Since
M
is a triangular matrix,
(
)
det
M
is the product of the numbers on the diagonal of
M
. Therefore,
(
)
det
M c
=
.
Since
ī˜‚
A MA
=
,
ī˜‚
(
)
( ) ( ) ( )
det det det det
A M A c A
= = ā‹… .
If
A
is nonsingular then
(
)
det 0
A
≠
. This implies that
ī˜‚
(
)
( )
det det
A c A
= ā‹… is not zero and
ī˜‚
A
is non singular. (1)
If
ī˜‚
A
is nonsingular then
ī˜‚
(
)
det 0
A
≠
. This implies that
( )
ī˜‚
(
)
1
det det
A c A
āˆ’
=is not zero and
A
is non singular. (2)
From statements (1) and (2), we conclude
ī˜‚
A
is nonsingular if and only if
A
is.
1.7.37 Let
A
be a symmetric matrix with
11
0
a
≠
. Suppose
A
has been reduced to the form [See Book, pg 87], by row
operations of type 1 only. Prove that
(1)
A
is symmetric.
Partition matrix
A
as follows:
11
T
a v
v B
 
 
 
. Here
(
)
(
)
(
)
1 1 1 1
11
, ,
n n n
a v B
āˆ’ Ɨ āˆ’ Ɨ āˆ’
∈ ∈ ∈
  
.
Then
(1)
11
T
vv
A B
a
= āˆ’
and
(1)
A
is symmetric since
( )
(
)
(1) (1)
11 11
T
TT
TT
vv vv
A B B A
a a
= āˆ’ = āˆ’ =
(remember
B
is symmetric).
Alternative solution
: To prove that
(1)
A
is symmetric, we will show that
(
)
(
)
1 1
, ,
i j j i
a a
=
for
2 ,
i j n
≤ ≤
.
( ) ( ) ( )
(
)
( ) ( ) ( )
(
)
( ) ( ) ( ) ( )
(
)
( ) ( )
1 0 0 0 0 0 0 0 0 0 0 0
(0) ( 0)
, , ,1 1,1 1, , 1, 1,1 ,1 , ,1 1,1 1, ,
j k j k j k j k k j k j k j k j
a a a a a a a a a a a a a a
= āˆ’ = āˆ’ = āˆ’ =
by the symmetry of A.

Partial preview of the text

Download Homework 3 Practice Problems on Numerical Linear Algebra | MATH 170A and more Assignments Mathematics in PDF only on Docsity!

HW#3 Fall 2009 UCSD Math 170A with Prof. Li-Tien Cheng and TA Chris Deotte

1.7.18 Solve the linear system Ax = b

, where A is as in Exercise 1.7.10 and [ 12, 8, 21, 26 ]

T b = āˆ’ āˆ’

. Use the L and U that you

calculated in Exercise 1.7.10.

First we solve for y in the equation, Ly = b

. Then we use that y and solve for x in the equation, (^) Ux = y.

[12, 4,1,3 ]^

T y = and [4,3, 2,1]

T x =.

1.7.36. Suppose

A is obtained from A by multiplying the i th row by the nonzero constant c. (a) Find the form of the matrix

M (an elementary matrix of type 3) such that

A = MA. (b) Find

1 M

āˆ’ and state its function as an elementary matrix. (c)

Find det( M )and determine the relationship between

det A and det ( A ). Deduce that

A is nonsingular if and only if A is.

(a) M is the identity matrix with c in the i th row i th column instead of the usual 1. Formally, M ( j k , )= 0 for j ≠ k ,

M ( j j , )= 1 for j ≠ i and M ( i i , )= c.

n n M

Ɨ ∈  with 1 ≤ i j k , , ≤ n

(b)

1 M

āˆ’ is the identity matrix with

1 c

āˆ’ in the i th row i th column instead of the usual 1. As an elementary matrix,

1 M

āˆ’

multiplies the i th row by the nonzero constant

1 c

āˆ’ when

1 M

āˆ’ multiplies a matrix on the left such as

1 M A

āˆ’ .

(c) Since M is a triangular matrix, det ( M )is the product of the numbers on the diagonal of M. Therefore, det ( M )= c.

Since

A = MA ,

( ) (^ )^ (^ )^ (^ )

det A = det M det A = c ā‹… det A.

If A is nonsingular then det ( A ) ≠ 0. This implies that

( ) (^ )

det A = c ā‹… det A is not zero and

A is non singular. (1)

If

A is nonsingular then

det A ≠ 0. This implies that ( )

1 det A c det A

āˆ’ = is not zero and A is non singular. (2)

From statements (1) and (2), we conclude

A is nonsingular if and only if A is.

1.7.37 Let A be a symmetric matrix with 11

a ≠ 0. Suppose A has been reduced to the form [See Book, pg 87], by row

operations of type 1 only. Prove that

(1) A is symmetric.

Partition matrix A as follows:

11

T a v

v B

. Here

( 1 ) 1 ( 1 ) ( 1 )

11

n n n a v B

āˆ’ Ɨ āˆ’ Ɨ āˆ’ ∈  ∈  ∈.

Then

(1)

11

T vv

A B

a

= āˆ’ and

(1)

A is symmetric since ( )

(1) (1)

11 11

T T T T T

vv vv

A B B A

a a

= āˆ’ = āˆ’ = (remember B is symmetric).

Alternative solution : To prove that

(1) A is symmetric, we will show that

( 1 )^ (^1 )

i j , j i ,

a = a for 2 ≤ i j , ≤ n.

( ) ( ) ( )

( ) ( ) ( )

( ) ( ) ( ) ( )

(^1 0 0) (0) 0 0 0 (0) (^0 0 0 0) ( 0 ) (^) ( 0 )

j k , j k , j ,1 1,1 1, k j k , 1, k 1,1 j ,1 k , j k ,1 1,1 1, j k , j

a = a āˆ’ a a a = a āˆ’ a a a = a āˆ’ a a a = a by the symmetry of A.