Docsity

5 Solved Problems on Linear Algebra - Review Sheet | MATH 21, Study notes of Linear Algebra

Toggle sidebar
bg1
UCSC MATH 21 FALL 2007
Review Questions 1
Solutions
1. The identity
3x2−4x+ 1
(x+ 1)(x2+ 2) =a
x+ 1 +bx +c
x2+ 2
=a(x2+ 2) + (bx +c)(x+ 1)
(x+ 1)(x2+ 2)
=(a+b)x2+ (b+c)x+ (2a+c)
(x+ 1)(x2+ 2)
gives the system of equations below for a, b and c:
a+b= 3
b+c=−4
2a+c= 1.
The augmented matrix for this system is
A=
1 1 0 3
011−4
2 0 1 1
.
Next, perform Gauss-Jordan elimination on A:
1 1 0 3
011−4
2 0 1 1
⇒(R3−2R1)→R3⇒
1 1 0 3
0 1 1 −4
0−2 1 −5
1 1 0 3
0 1 1 −4
0−2 1 −5
⇒(R1−R2)→R1
(R3+ 2R2)→R3
⇒
1 0 −1 7
0 1 1 −4
0 0 3 −13
1 0 −1 7
0 1 1 −4
0 0 3 −13
⇒1
3R3→R3⇒
1 0 −1 7
0 1 1 −4
0 0 1 −13
3
1 0 −1 7
0 1 1 −4
0 0 1 −13
3
⇒(R1+R3)→R1
(R2−R1)→R2
⇒
100 8
3
010 1
3
001−13
3
.
So the solution is a= 8/3, b= 1/3 and c=−13/3.
2. We want to find the coefficients of the polynomial f(x) = ax3+bx2+cx +dsatisfying
f(−1) = 1, f(0) = 2, f(2) = 4 and f(3) = 1.
This leads to the system of equations for a, b, c and dbelow:
−a+b−c+d= 1
d= 2
8a+ 4b+ 2c+d= 4
27a+ 9b+ 3c+d= 1.
1
pf3

Partial preview of the text

Download 5 Solved Problems on Linear Algebra - Review Sheet | MATH 21 and more Study notes Linear Algebra in PDF only on Docsity!

UCSC MATH 21 FALL 2007

Review Questions 1

Solutions

  1. The identity

3 x^2 − 4 x + 1 (x + 1)(x^2 + 2)

a x + 1

bx + c x^2 + 2

=

a(x^2 + 2) + (bx + c)(x + 1) (x + 1)(x^2 + 2)

=

(a + b)x^2 + (b + c)x + (2a + c) (x + 1)(x^2 + 2)

gives the system of equations below for a, b and c:

a + b = 3 b + c = − 4 2 a + c = 1.

The augmented matrix for this system is

A =

Next, perform Gauss-Jordan elimination on A:  

 ⇒ (R 3 − 2 R 1 ) → R 3 ⇒

 ⇒ (R^1 −^ R^2 )^ →^ R^1

(R 3 + 2R 2 ) → R 3 ⇒

 ⇒ 13 R 3 → R 3 ⇒

 ⇒ (R^1 +^ R^3 )^ →^ R^1

(R 2 − R 1 ) → R 2 ⇒

So the solution is a = 8/3, b = 1/3 and c = − 13 /3.

  1. We want to find the coefficients of the polynomial f (x) = ax^3 + bx^2 + cx + d satisfying

f (−1) = 1, f (0) = 2, f (2) = 4 and f (3) = 1.

This leads to the system of equations for a, b, c and d below:

−a + b − c + d = 1 d = 2 8 a + 4b + 2c + d = 4 27 a + 9b + 3c + d = 1. 1

The augmented matrix, and its reduced-row-echelon form are 

 

 ⇒^ G-J elimination^ ⇒

so the cubic polynomial in question is

f (x) = −

x^3 +

x^2 +

x + 2.

  1. The reduced-row-echelon forms are

A =

 (^) ⇒ G-J elimination ⇒

and

B =

 ⇒^ G-J elimination^ ⇒

  1. The systems of equations corresponding to matrices A and B are

A :

2 x +3y −z = 1 x − 2 y +4z = 0 x +4y +2z = − 3

and

B :

2 w +3x +7y = 13 2 w +4x +8y +2z = 15 2 w +4y +2z = 9 w +2y +z = 5.

Based on the reduced-row-echelon forms of the matrices that we found in problem 3., we see that system A has the unique solution x = 1.25, y = − 0 .725 and z = − 0 .675, and system B has no solutions, since the last row of its reduced-row-echelon form has a pivot in the last column, corresponding to the equation 0 = 1.

5a. The zero vector,

[ 0

.. . 0

]

, is always a solution of a homogeneous system of equations.

b. We know that aj 1 x 1 + aj 2 y 1 + aj 3 z 1 = 0, and aj 1 x 2 + aj 2 y 2 + aj 3 z 2 = 0 for j = 1, 2 , 3, since

x 1 y 1 z 1

  (^) and

 

x 2 y 2 z 2

  (^) are both solutions of the homogeneous system in question. Now choose any

two real numbers α and β, and check:

aj 1 (αx 1 + βx 2 ) + aj 2 (αy 1 + βy 2 ) + aj 3 (αz 1 + βz 2 ) = (aj 1 αx 1 + aj 2 αy 1 + aj 3 αz 1 ) + (aj 1 βx 2 + aj 2 βy 2 + aj 3 βz 2 ) = α(aj 1 x 1 + aj 2 y 1 + aj 3 z 1 ) + β(aj 1 x 2 + aj 2 y 2 + aj 3 z 2 ) = α · 0 + β · 0 = 0.