Every problem in the chapter beside the book’s answer, a chapter at a time as you scroll.

Chapter 10: Linear algebra

32 problems · 0 figures

Exercise A.1.101 §A.1 source ↗

Compute the magnitude of

a) [13]

b) [23−1]

c) (−2,1,−2)

Answer

a) 10 b) 14 c) 3

Exercise A.1.102 §A.1 source ↗

Find the unit vector in the direction of the given vector

a) [−11]

b) [1−12]

c) (2,−5,2)

Answer

a)  [−1212] b) [16−1626] c) (233,−533,233)

Exercise A.1.103 §A.1 source ↗

Compute

a) [31]+[6−3]

b) [−12]−[2−1]

c) −[−53]

d) 2[−24]

e) 3[10]+7[01]

f) 2[2−3]−6[2−1]

Answer

a) [9−2] b) [−33] c) [5−3] d) [−48] e) [37] f) [−80]

Exercise A.1.104 §A.1 source ↗

If the magnitude of 𝐱 is 5, what is the magnitude of

a) 4𝐱

b) −2𝐱

c) −4𝐱

Answer

a) 20 b) 10 c) 20

Exercise A.1.105 §A.1 source ↗

Suppose a linear mapping F:ℝ2→ℝ2 takes (1,0) to (1,−1) and it takes (0,1) to (2,0)⁠. Where does it take

a) (1,1)

b) (0,2)

c) (1,−1)

Answer

a) (3,−1) b) (4,0) c) (−1,−1)

Exercise A.2.101 §A.2 source ↗

Add the following matrices

a) [21011−1]+[534125]

b) [6−237338−12]+ [−1−1−3673−94−1]

Answer

a) [744234] b) [5−3013106−131]

Exercise A.2.102 §A.2 source ↗

Compute

a) 2[1234]+3[−1312]

b) 3[2−113]−2[21−12]

Answer

a) [−113914] b) [2−555]

Exercise A.2.103 §A.2 source ↗

Multiply the following matrices

a) [214344][246335]

b) [0332−2135−2][662460204]

c) [3412−104−15][025020523616]

d) [−2−25321][0313]

Answer

a) [22314244] b) [1818126083448−2] c) [11123614−245−213382028] d) [−2−1232419]

Exercise A.2.104 §A.2 source ↗

Compute the inverse of the given matrices

a) [2]

b) [0110]

c) [1235]

d) [4244]

Answer

a) [1/2] b) [0110] c) [−523−1] d) [1/2−1/4−1/21/2]

Exercise A.2.105 §A.2 source ↗

Compute the inverse of the given matrices

a) [2003]

b) [40005000−1]

c) [−1000020000300000.1]

Answer

a) [1/2001/3] b) [1/40001/5000−1] c) [−100001/200001/3000010]

Exercise A.3.101 §A.3 source ↗

Compute the reduced row echelon form for the following matrices:

a) [101010]

b) [1234]

c) [11−2−2]

d) [1−3146−2−26−2]

e) [22521−24−1031−2]

f) [−264360−3042−11]

g) [00000000]

h) [12331235]

Answer

a) [101010] b) [1001] c) [1100] d) [10001−1/3000] e) [10077/15010−2/15001−8/5] f) [10−1/20011/21/20000] g) [00000000] h) [12300001]

Exercise A.3.102 §A.3 source ↗

Compute the inverse of the given matrices

a) [010−100001]

b) [111110100]

c) [240223241]

Answer

a) [0−10100001] b) [00101−11−10] c) [5/21−3−1−1/23/2−101]

Exercise A.3.103 §A.3 source ↗

Solve (find all solutions), or show no solution exists

a) 4x1+3x2=−15x1+6x2=4

b) 5x+6y+5z=76x+8y+6z=−15x+2y+5z=2

c) a+5b+6c=−1a+5b+6c=−1−2a+5b+6c=8

d) −2x1+2x2+8x3=6x2+8x3=2x1+4x2+8x3=7

Answer

a) x1=−2⁠, x2=7/3 b) no solution c) a=−3⁠, b=10⁠, c=−8 d) x3 is free, x1=−1+3x3⁠, x2=2−x3

Exercise A.3.104 §A.3 source ↗

By computing the inverse, solve the following systems for 𝐱⁠.

a) [−1133]𝐱=[46]

b) [2716]𝐱=[13]

Answer

a) [−13] b) [−31]

Exercise A.3.105 §A.3 source ↗

Compute the rank of the given matrices

a) [7−16777762]

b) [111111222]

c) [03−163147−1]

Answer

a) 3 b) 1 c) 2

Exercise A.3.106 §A.3 source ↗

For the matrices in Exercise A.3.105, find a linearly independent set of row vectors that span the row space (they do not need to be rows of the matrix).

Exercise A.3.105 in the book ↗

Compute the rank of the given matrices

a) [7−16777762]

b) [111111222]

c) [03−163147−1]

Answer

a) [100]⁠, [010]⁠, [001] b) [111] c) [101/3]⁠, [01−1/3]

Exercise A.3.107 §A.3 source ↗

For the matrices in Exercise A.3.105, find a linearly independent set of columns that span the column space. That is, find the pivot columns of the matrices.

Exercise A.3.105 in the book ↗

Compute the rank of the given matrices

a) [7−16777762]

b) [111111222]

c) [03−163147−1]

Answer

a) [777]⁠, [−176]⁠, [762] b) [112] c) [064]⁠, [337]

Exercise A.3.108 §A.3 source ↗

Find a linearly independent subset of the following vectors that has the same span.

[000],[31−5],[03−1],[−324]

Answer

[31−5],[03−1]

Exercise A.4.101 §A.4 source ↗

For the following sets of vectors, find a basis for the subspace spanned by the vectors, and find the dimension of the subspace.

a) [12],[11]

b) [111],[222],[112]

c) [531],[5−15],[−13−4]

d) [224],[223],[44−3]

e) [10],[20],[30]

f) [100],[200],[012]

Answer

a) [12],[11] dimension 2, b) [111],[112] dimension 2, c) [531],[5−15],[−13−4] dimension 3, d) [224],[223] dimension 2, e) [10] dimension 1, f) [100],[012] dimension 2

Exercise A.4.102 §A.4 source ↗

For the following matrices, find a basis for the kernel (nullspace).

a) [261913293909]

b) [2−2−5−115−55−3]

c) [1−5−4235−352]

d) [044011055]

Answer

a) [3−100]⁠, [303−1] b) [−1−10] c) [11−1] d) [−100]⁠, [01−1]

Exercise A.4.103 §A.4 source ↗

Suppose the column space of a 9×5 matrix A is of dimension 3. Find

a) Rank of A⁠.

b) Nullity of A⁠.

c) Dimension of the row space of A⁠.

d) Dimension of the nullspace of A⁠.

e) Size of the maximum subset of linearly independent rows of A⁠.

Answer

a) 3 b) 2 c) 3 d) 2 e) 3

Exercise A.5.101 §A.5 source ↗

Find the s that makes the following vectors orthogonal: (1,1,1)⁠, (1,s,1)⁠.

Answer

s=−2

Exercise A.5.102 §A.5 source ↗

Find the angle θ between (1,2,3)⁠, (1,1,1)⁠.

Answer

θ≈0.3876

Exercise A.5.103 §A.5 source ↗

Given that ⟨𝐯,𝐰⟩=1⁠, ⟨𝐯,𝐮⟩=−1⁠, and ‖𝐯‖=3⁠, compute

a) ⟨3𝐮,5𝐯⟩

b) ⟨𝐯,2𝐰+3𝐮⟩

c) ⟨𝐰+3𝐯,𝐯⟩

Answer

a) -15 b) -1 c) 28

Exercise A.5.104 §A.5 source ↗

Suppose 𝐯=(1,0,−1)⁠. Find

a) proj𝐯⁡((0,2,1))

b) proj𝐯⁡((1,0,1))

c) proj𝐯⁡((4,−1,0))

Answer

a) (−1/2,0,1/2) b) (0,0,0) c) (2,0,−2)

Exercise A.5.105 §A.5 source ↗

The vectors (1,1,−1)⁠, (2,−1,1)⁠, (0,1,1) form an orthogonal basis. Represent the following vectors in terms of this basis:

a) (−1,4,0)

b) (4,−1,3)

c) (−2,6,−2)

Answer

a) (1,1,−1)− (2,−1,1)+ 2(0,1,1) b) 2(2,−1,1)+(0,1,1) c) 2(1,1,−1)− 2(2,−1,1)+ 2(0,1,1)

Exercise A.5.106 §A.5 source ↗

Let S be the subspace spanned by (2,−1,1)⁠, (2,2,2)⁠. Find an orthogonal basis of S by the Gram–Schmidt process.

Answer

(2,−1,1)⁠, (2/3,8/3,4/3)

Exercise A.5.107 §A.5 source ↗

Starting with (1,1,−1)⁠, (2,3,−1)⁠, (1,−1,1)⁠, follow the Gram–Schmidt process to find an orthogonal basis of ℝ3⁠.

Answer

(1,1,−1)⁠, (0,1,1)⁠, (4/3,−2/3,2/3)

Exercise A.6.101 §A.6 source ↗

Compute the determinant of the following matrices:

a) [−2]

b) [2−213]

c) [2222]

d) [29−110−15003]

e) [210−273110]

f) [513411451]

g) [3257002004502124]

h) [021012−3456−78123−2]

Answer

a) −2 b) 8 c) 0 d) −6 e) −3 f) 28 g) 16 h) −24

Exercise A.6.102 §A.6 source ↗

For which x are the following matrices singular (not invertible):

a) [131x]

b) [3x13]

c) [x33x]

d) [x10140162]

Answer

a) 3 b) 9 c) ±3 d) 1/4

Exercise A.6.103 §A.6 source ↗

Compute

det⁡([347120−19−800−240002]−1)

without computing the inverse.

Answer

1/12

Exercise A.6.104 §A.6 source ↗

(challenging) Find all the x that make the matrix inverse

[121x]−1

have only integer entries (no fractions). Note that there are two answers.

Answer

1 and 3

End of the book.

Exercises and answers are adapted from Notes on Diffy Qs: Differential Equations for Engineers by Jiří Lebl, which is free to read and download, and are used under the CC BY-NC-SA 4.0 licence. They are taken from the book’s LaTeX source and set for the web, so they may differ slightly from the printed page. This adaptation is released under the same licence and is neither affiliated with nor endorsed by Lebl or Jiří Lebl.