• Aucun résultat trouvé

MA1112: Linear Algebra II

N/A
N/A
Protected

Academic year: 2022

Partager "MA1112: Linear Algebra II"

Copied!
2
0
0

Texte intégral

(1)

MA1112: Linear Algebra II

Dr. Vladimir Dotsenko (Vlad) Lecture 4

In practice, it is important sometimes to determine the intersection of two subspaces, each presented as a linear span of several vectors. The usual set-up for this question is as follows. We take a vector spaceV, and its two subspaces U1 and U2, where U1 =span(e1, . . . , ek) andU2= span(f1, . . . , fl). The goal is to describe a basis ofU1∩U2.

First, it makes sense to find a “convenient” basis of each of these subspaces. For that, we choose a basis of the ambient spaceV, and associate to each subspace Ui the matrix Mi whose columns are columns of coordinates of the spanning set with respect to that basis. (In case of V = Rn, this task is trivial, since everything is already written with respect to the basis of standard unit vectors.) Then for each of these two matrices, we compute its reduced column echelon form (like the reduced row echelon form, but with elementary operations on columns). Nonzero columns of the result form a basis of the linear span.

Once we know a basis g1,. . . , gp for the first subspace, and a basish1, . . . , wq for the second one, the question reduces to solving the linear systema1g1+. . .+apgp=b1h1+. . .+bqhq. For each solution to this system, the vector a1g1+. . .+apgp is in the intersection, and vice versa. Computationally, the fact that we computed the reduced column echelon forms before, we have a system with many zero coefficients which is quite easy to solve.

Example 1. Let us consider two following subspaces ofV=R5: the subspaceU1is the span of the vectors

 2 1 0

−4 2

 ,

−4 1 3

−1 2

 , and

 0 5

−1

−1 14

, and subspaceU2 is the span of the vectors

 2 1 0 1 1

 ,

 2

−1

−2

−3

−1

 ,

 1 0

−2

−2 2

 , and

 0 1 1 2 1

 .

Let us first find the bases of these subspaces. As we mentioned, we should compute reduced column echelon forms, but to not introduce new notation, we shall use transpose matrices Mt1 and Mt2 and row echelon forms. The computations are as follows:

Mt1=

2 1 0 −4 2

−4 1 3 −1 2

0 5 −1 −1 14

1

2(1),(2)+4(1)

7→

1 12 0 −2 1

0 3 3 −9 6

0 5 −1 −1 14

1

3(2),(3)−5(2)

7→

1 12 0 −2 1

0 1 1 −3 2

0 0 −16 44 16

1−12(2),−161(3)

7→

1 0 −1212 0

0 1 1 −3 2

0 0 1 −114 1

(2)−(3),1+12(3)

7→

1 0 0 −158 12 0 1 0 −14 1 0 0 1 −114 1

,

Mt2=

2 1 0 1 1

2 −1 −2 −3 −1

1 0 −2 −2 2

0 1 1 2 1

1

2(1),(2)−2(1),(3)−(1)

7→

1 12 0 12 12

0 −2 −2 −4 −2

0 −12 −2 −52 32

0 1 1 2 1

12(2),(1)−12(2),(3)+12(2),(4)−(2)

7→

1 0 −1212 0

0 1 1 2 1

0 0 −3232 2

0 0 0 0 0

23(3),(1)+12(3),(2)−(3)

7→

1 0 0 0 −23 0 1 0 1 73 0 0 1 1 −43

0 0 0 0 0

 .

1

(2)

This means that each of the subspaces is three-dimensional. To compute the intersection, recall that by definition the intersection consists of all vectors that belong to both of the subspaces. Let us denote by g1, g2, g3 the basis vectors for U1 we just found, and by h1, h2, h3 the basis vectors for U2. Then the intersection consists of all vectorsvthat can be represented in the form

v=a1g1+a2g2+a3g3=b1h1+b2h2+b3h3

for somea1, a2, a3, b1, b2, b3. This is a homogeneous system of linear equations with unknownsa1, a2, a3, b1, b2, b3. Its matrix is

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

−15/8 −1/4 −11/4 0 −1 −1

1/2 1 1 2/3 −7/3 4/3

Let us bring this matrix to the reduced row echelon form:

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

15814114 0 −1 −1

1

2 1 1 2373 43

(4)+158(1),5−12(1)

7→

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

0 −14114158 −1 −1 0 1 1 7673 43

(4)+14(2),(5)−(2)

7→

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

0 0 −11415854 −1 0 0 1 7643 43

(4)+114(3),(5)−(3)

7→

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

0 0 0 −15854154 0 0 0 7643 73

158(4),(5)−76(4)

7→

1 0 0 −1 0 0

0 1 0 0 −1 0

0 0 1 0 0 −1

0 0 0 1 23 2

0 0 0 0 −199 0

199(5),(4)−23(5),(2)+(5)

7→

1 0 0 −1 0 0

0 1 0 0 0 0

0 0 1 0 0 −1

0 0 0 1 0 2

0 0 0 0 1 0

 .

We see that the last unknown is free, so the general solution isa1= −2t,a2=0,a3=t,b1= −2t,b2=0, b3=t, and the intersection can be described as the set of all vectors of the form

t(−2u1+u3) =t(−2w1+w3),

so for a basis of the intersection we can take−2u1+u3=

−2 0 1 1 0

 .

More generally, if we had more than one free variables, this procedure would give us a vector of the form

t1v1+· · ·+tmvm, whereti are all the free variables; andv1, . . . ,vm form a basis of the intersection.

2

Références

Documents relatifs

In the end of module 1111, we discussed making a matrix of a linear transformation diagonal, using a basis of eigenvectors (when exists).. The main question that we shall address

To determine a basis for a linear span of given vectors, the easiest way is to form the matrix whose columns are the given vectors, and find its reduced column echelon form (like

We shall adapt the argument that we had for k = 2 to this general case.. It will be constructed in

These two threads together contain four vectors, so since our space is 4-dimensional, we have

From our proof, one sees that for computing the Jordan normal form and a Jordan basis of a linear trans- formation ϕ on a vector space V, one can use the following plan:.. • Find

The key point of linear algebra is exactly that: an informed choice of a coordinate system can simplify things quite

We shall temporarily take the out- look which views symmetric matrices in the spirit of one of the proofs from last week, and looks at the associated bilinear forms (and

Today we shall prove various theorems on quadratic forms stated without proof last week..