Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

A.E: Linear Algebra (Exercises)

( \newcommand{\kernel}{\mathrm{null}\,}\)

A.1: Vectors, Mappings, and Matrices

Exercise A.E.A.1.1

On a piece of graph paper draw the vectors:

  1. [25]
  2. [24]
  3. (3,4)
Exercise A.E.A.1.2

On a piece of graph paper draw the vector (1,2) starting at (based at) the given point:

  1. based at (0,0)
  2. based at (1,2)
  3. based at (0,1)
Exercise A.E.A.1.3

On a piece of graph paper draw the following operations. Draw and label the vectors involved in the operations as well as the result:

  1. [14]+[23]
  2. [32][13]
  3. 3[21]
Exercise A.E.A.1.4

Compute the magnitude of

  1. [72]
  2. [231]
  3. (1,3,4)
Exercise A.E.A.1.5

Compute

  1. [23]+[78]
  2. [23][64]
  3. [32]
  4. 4[15]
  5. 5[10]+9[01]
  6. 3[18]2[31]
Exercise A.E.A.1.6

Find the unit vector in the direction of the given vector

  1. [13]
  2. [211]
  3. (3,1,2)
Exercise A.E.A.1.7

If x=(1,2) and y are added together, we find x+y=(0,2). What is y?

Exercise A.E.A.1.8

Write (1,2,3) as a linear combination of the standard basis vectors e1, e2, and e3.

Exercise A.E.A.1.9

If the magnitude of x is 4, what is the magnitude of

  1. 0x
  2. 3x
  3. x
  4. 4x
  5. x+x
  6. xx
Exercise A.E.A.1.10

Suppose a linear mapping F:R2R2 takes (1,0) to (2,1) and it takes (0,1) to (3,3). Where does it take

  1. (1,1)
  2. (2,0)
  3. (2,1)
Exercise A.E.A.1.11

Suppose a linear mapping F:R3R2 takes (1,0,0) to (2,1), it takes (0,1,0) to (3,4), and it takes (0,0,1) to (5,6). Write down the matrix representing the mapping F.

Exercise A.E.A.1.12

Suppose that a mapping F:R2R2 takes (1,0) to (1,2), (0,1) to (3,4), and (1,1) to (0,1). Explain why F is not linear.

Exercise A.E.A.1.13: (challenging)

Let R3 represent the space of quadratic polynomials in t: a point (a0,a1,a2) in R3 represents the polynomial a0+a1t+a2t2. Consider the derivative ddt as a mapping of R3 to R3, and note that ddt is linear. Write down ddt as a 3×3 matrix.

Exercise A.E.A.1.14

Compute the magnitude of

  1. [13]
  2. [231]
  3. (2,1,2)
Answer
  1. 10
  2. 14
  3. 3
Exercise A.E.A.1.15

Find the unit vector in the direction of the given vector

  1. [11]
  2. [112]
  3. (2,5,2)
Answer
  1. [1212]
  2. [161626]
  3. (233,533,233)
Exercise A.E.A.1.16

Compute

  1. [31]+[63]
  2. [12][21]
  3. [53]
  4. 2[24]
  5. 3[10]+7[01]
  6. 2[23]6[21]
Answer
  1. [92]
  2. [33]
  3. [53]
  4. [48]
  5. [37]
  6. [83]
Exercise A.E.A.1.17

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

  1. 4x
  2. 2x
  3. 4x
Answer
  1. 20
  2. 10
  3. 20
Exercise A.E.A.1.18

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

  1. (1,1)
  2. (0,2)
  3. (1,1)
Answer
  1. (3,1)
  2. (4,0)
  3. (1,1)

A.2: Matrix Algebra

Exercise A.E.A.2.1

Add the following matrices

  1. [122581]+[323835]
  2. [124231051]+[283310641]
Exercise A.E.A.2.2

Compute

  1. 3[0322]+6[1515]
  2. 2[3122]3[2132]
Exercise A.E.A.2.3

Multiply the following matrices

  1. [123158][31318323]
  2. [123311103][231712311130]
  3. [416356504660][25123556]
  4. [114051][221064]
Exercise A.E.A.2.4

Compute the inverse of the given matrices

  1. [3]
  2. [0110]
  3. [1413]
  4. [2214]
Exercise A.E.A.2.5

Compute the inverse of the given matrices

  1. [2001]
  2. [300020001]
  3. [10000100000.0100005]
Exercise A.E.A.2.6

Add the following matrices

  1. [210111]+[534125]
  2. [623733812]+[113673941]
Answer

Add texts here. Do not delete this text first.

Exercise A.E.A.2.7

Compute

  1. 2[1234]+3[1312]
  2. 3[2113]2[2112]
Answer

Add texts here. Do not delete this text first.

Exercise A.E.A.2.8

Multiply the following matrices

  1. [214344][246335]
  2. [033221352][662460204]
  3. [341210415][025020523616]
  4. [225321][0313]
Answer

Add texts here. Do not delete this text first.

Exercise A.E.A.2.9

Compute the inverse of the given matrices

  1. [2]
  2. [0110]
  3. [1235]
  4. [4244]
Answer

Add texts here. Do not delete this text first.

Exercise A.E.A.2.10

Compute the inverse of the given matrices

  1. [2003]
  2. [400050001]
  3. [1000020000300000.1]
Answer

Add texts here. Do not delete this text first.

A.3: Elimination

Exercise A.E.A.3.1

Compute the reduced row echelon form for the following matrices:

  1. [131011]
  2. [3363]
  3. [3623]
  4. [66771101]
  5. [930286367979]
  6. [213360012443]
  7. [665022656]
  8. [020166336235]
Exercise A.E.A.3.2

Compute the inverse of the given matrices

  1. [100001010]
  2. [111021001]
  3. [123201021]
Exercise A.E.A.3.3

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

  1. 4x1+3x2=2x1+3x2=4
  2. x1+5x2+3x3=78x1+7x2+8x3=84x1+8x2+6x3=4
  3. 4x1+8x2+2x3=3x12x2+3x3=14x1+8x2+3x3=2
  4. x+2y+3z=42x2y+3z=13x+2y+6z=6
Exercise A.E.A.3.4

By computing the inverse, solve the following systems for x.

  1. [4113]x=[1326]
  2. [3334]x=[21]
Exercise A.E.A.3.5

Compute the rank of the given matrices

  1. [635141776]
  2. [521306245]
  3. [123123246]
Exercise A.E.A.3.6

For the matrices in Exercise A.E.A.3.5, find a linearly independent set of row vectors that span the row space (they don’t need to be rows of the matrix).

Exercise A.E.A.3.7

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

Exercise A.E.A.3.8

Find a linearly independent subset of the following vectors that has the same span. [112],[224],[241],[132]

Exercise A.E.A.3.9

Compute the reduced row echelon form for the following matrices:

  1. [101010]
  2. [1234]
  3. [1122]
  4. [131462262]
  5. [225212410312]
  6. [264360304211]
  7. [00000000]
  8. [12331235]
Answer
  1. [101010]
  2. [1001]
  3. [1100]
  4. [1000113000]
  5. [100771501021500185]
  6. [101200112120000]
  7. [00000000]
  8. [12300001]
Exercise A.E.A.3.10

Compute the inverse of the given matrices

  1. [010100001]
  2. [111110100]
  3. [240223241]
Answer
  1. [010100001]
  2. [001011110]
  3. [521311232101]
Exercise A.E.A.3.11

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

  1. 4x1+3x2=15x1+6x2=4
  2. 5x+6y+5z=76x+8y+6z=15x+2y+5z=2
  3. a+5b+6c=1a+5b+6c=12a+5b+6c=8
  4. 2x1+2x2+8x3=6x2+8x3=2x1+4x2+8x3=7
Answer
  1. x1=2,x2=73
  2. no solution
  3. a=3,b=10,c=8
  4. x3 is free, x1=1+3x3, x2=2x3
Exercise A.E.A.3.12

By computing the inverse, solve the following systems for x.

  1. [1133]x=[46]
  2. [2716]x=[13]
Answer
  1. [13]
  2. [31]
Exercise A.E.A.3.13

Compute the rank of the given matrices

  1. [716777762]
  2. [111111222]
  3. [031631471]
Answer
  1. 3
  2. 1
  3. 2
Exercise A.E.A.3.14

For the matrices in Exercise A.E.A.3.13, find a linearly independent set of row vectors that span the row space (they don’t need to be rows of the matrix).

Answer
  1. [100], [010], [001]
  2. [111]
  3. [1013], [0113]
Exercise A.E.A.3.15

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

Answer
  1. [777], [176], [762]
  2. [112]
  3. [064], [337]
Exercise A.E.A.3.16

Find a linearly independent subset of the following vectors that has the same span. [000],[315],[031],[324]

Answer

[315], [031]

A.4: Subspaces, Dimension, and The Kernel

Exercise A.E.A.4.1

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

  1. [111],[111]
  2. [105],[010],[010]
  3. [435],[233],[202]
  4. [130],[022],[112]
  5. [13],[02],[11]
  6. [313],[244],[552]
Exercise A.E.A.4.2

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

  1. [111115114]
  2. [213404112]
  3. [444111555]
  4. [211142221043]
Exercise A.E.A.4.3

Suppose a 5×5 matrix A has rank 3. What is the nullity?

Exercise A.E.A.4.4

Suppose that X is the set of all the vectors of R3 whose third component is zero. Is X a subspace? And if so, find a basis and the dimension.

Exercise A.E.A.4.5

Consider a square matrix A, and suppose that x is a nonzero vector such that Ax=0. What does the Fredholm alternative say about invertibility of A.

Exercise A.E.A.4.6

Consider M=[1232??1??]. If the nullity of this matrix is 2, fill in the question marks. Hint: What is the rank?

Exercise A.E.A.4.7

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

  1. [12],[11]
  2. [111],[222],[112]
  3. [531],[515],[134]
  4. [224],[223],[443]
  5. [10],[20],[30]
  6. [100],[200],[012]
Answer
  1. [12], [11] dimension 2,
  2. [111], [112] dimension 2,
  3. [531], [515], [134] dimension 3,
  4. [224], [223] dimension 2,
  5. [11] dimension 1,
  6. [100], [012] dimension 2
Exercise A.E.A.4.8

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

  1. [261913293909]
  2. [225115553]
  3. [154235352]
  4. [044011055]
Answer
  1. [3100], [3031]
  2. [110]
  3. [111]
  4. [100], [011]
Exercise A.E.A.4.9

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

  1. Rank of A.
  2. Nullity of A.
  3. Dimension of the row space of A.
  4. Dimension of the nullspace of A.
  5. Size of the maximum subset of linearly independent rows of A.
Answer
  1. 3
  2. 2
  3. 3
  4. 2
  5. 3

A.5: Inner Product and Projections

Exercise A.E.A.5.1

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

Exercise A.E.A.5.2

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

Exercise A.E.A.5.3

Given that v,w=3 and v,u=1 compute

  1. u,2v
  2. v,2w+3u
  3. w+3u,v
Exercise A.E.A.5.4

Suppose v=(1,1,1). Find

  1. projv((1,0,0))
  2. projv((1,2,3))
  3. projv((1,1,0))
Exercise A.E.A.5.5

Consider the vectors (1,2,3), (3,0,1), (1,5,3).

  1. Check that the vectors are linearly independent and so form a basis.
  2. Check that the vectors are mutually orthogonal, and are therefore an orthogonal basis.
  3. Represent (1,1,1) as a linear combination of this basis.
  4. Make the basis orthonormal.
Exercise A.E.A.5.6

Let S be the subspace spanned by (1,3,1), (1,1,1). Find an orthogonal basis of S by the Gram-Schmidt process.

Exercise A.E.A.5.7

Starting with (1,2,3), (1,1,1), (2,2,0), follow the Gram-Schmidt process to find an orthogonal basis of R3.

Exercise A.E.A.5.8

Find an orthogonal basis of R3 such that (3,1,2) is one of the vectors. Hint: First find two extra vectors to make a linearly independent set.

Exercise A.E.A.5.9

Using cosines and sines of θ, find a unit vector u in R2 that makes angle θ with ı=(1,0). What is ı,u?

Exercise A.E.A.5.10

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

Answer

s=2

Exercise A.E.A.5.11

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

Answer

θ0.3876

Exercise A.E.A.5.12

Given that v,w=1 and v,u=1 and and

  1. \langle 3 \vec{u} , 5 \vec{v} \rangle
  2. \langle \vec{v} , 2 \vec{w} + 3 \vec{u} \rangle
  3. \langle \vec{w} + 3 \vec{v}, \vec{v} \rangle
Answer
  1. -15
  2. -1
  3. 28
Exercise \PageIndex{A.5.13}

Suppose \vec{v} = (1,0,-1). Find

  1. \operatorname{proj}_{\vec{v}}\bigl( (0,2,1) \bigr)
  2. \operatorname{proj}_{\vec{v}}\bigl( (1,0,1) \bigr)
  3. \operatorname{proj}_{\vec{v}}\bigl( (4,-1,0) \bigr)
Answer
  1. \left(-\frac{1}{2},0,\frac{1}{2}\right)
  2. (0,0,0)
  3. (2,0,-2)
Exercise \PageIndex{A.5.14}

The vectors (1,1,-1), (2,-1,1), (1,-5,3) form an orthogonal basis. Represent the following vectors in terms of this basis:

  1. (1,-8,4)
  2. (5,-7,5)
  3. (0,-6,2)
Answer
  1. (1,1,-1)-(2,-1,1)+2(1,-5,3)
  2. 2(2,-1,1)+(1,-5,3)
  3. 2(1,1,-1)-2(2,-1,1)+2(1,-5,3)
Exercise \PageIndex{A.5.15}

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), \left(\frac{2}{3},\frac{8}{3},\frac{4}{3}\right)

Exercise \PageIndex{A.5.16}

Starting with (1,1,-1), (2,3,-1), (1,-1,1), follow the Gram-Schmidt process to find an orthogonal basis of {\mathbb{R}}^3.

Answer

(1,1,-1), (0,1,1), \left(\frac{4}{3},-\frac{2}{3},\frac{2}{3}\right)

A.6: Determinant

Exercise \PageIndex{A.6.1}

Compute the determinant of the following matrices:

  1. \begin{bmatrix} 3 \end{bmatrix}
  2. \begin{bmatrix} 1 & 3 \\ 2 & 1 \end{bmatrix}
  3. \begin{bmatrix} 2 & 1 \\ 4 & 2 \end{bmatrix}
  4. \begin{bmatrix} 1 & 2 & 3 \\ 0 & 4 & 5 \\ 0 & 0 & 6 \end{bmatrix}
  5. \begin{bmatrix} 2 & 1 & 0 \\ -2 & 7 & -3 \\ 0 & 2 & 0 \end{bmatrix}
  6. \begin{bmatrix} 2 & 1 & 3 \\ 8 & 6 & 3 \\ 7 & 9 & 7 \end{bmatrix}
  7. \begin{bmatrix} 0 & 2 & 5 & 7 \\ 0 & 0 & 2 & -3 \\ 3 & 4 & 5 & 7 \\ 0 & 0 & 2 & 4 \end{bmatrix}
  8. \begin{bmatrix} 0 & 1 & 2 & 0 \\ 1 & 1 & -1 & 2 \\ 1 & 1 & 2 & 1 \\ 2 & -1 & -2 & 3 \end{bmatrix}
Exercise \PageIndex{A.6.2}

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

  1. \begin{bmatrix} 2 & 3 \\ 2 & x \end{bmatrix}
  2. \begin{bmatrix} 2 & x \\ 1 & 2 \end{bmatrix}
  3. \begin{bmatrix} x & 1 \\ 4 & x \end{bmatrix}
  4. \begin{bmatrix} x & 0 & 1 \\ 1 & 4 & 2 \\ 1 & 6 & 2 \end{bmatrix}
Exercise \PageIndex{A.6.3}

Compute \det \left( \begin{bmatrix} 2 & 1 & 2 & 3 \\ 0 & 8 & 6 & 5 \\ 0 & 0 & 3 & 9 \\ 0 & 0 & 0 & 1 \end{bmatrix}^{-1} \right) \nonumber without computing the inverse.

Exercise \PageIndex{A.6.4}

Suppose L = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 2 & 1 & 0 & 0 \\ 7 & \pi & 1 & 0 \\ 2^8 & 5 & -99 & 1 \end{bmatrix} \qquad \text{and} \qquad U = \begin{bmatrix} 5 & 9 & 1 & -\sin(1) \\ 0 & 1 & 88 & -1 \\ 0 & 0 & 1 & 3 \\ 0 & 0 & 0 & 1 \end{bmatrix} . \nonumber Let A = LU. Compute \det(A) in a simple way, without computing what is A. Hint: First read off \det(L) and \det(U).

Exercise \PageIndex{A.6.5}

Consider the linear mapping from {\mathbb R}^2 to {\mathbb R}^2 given by the matrix A = \left[ \begin{smallmatrix} 1 & x \\ 2 & 1 \end{smallmatrix} \right] for some number x. You wish to make A such that it doubles the area of every geometric figure. What are the possibilities for x (there are two answers).

Exercise \PageIndex{A.6.6}

Suppose A and S are n \times n matrices, and S is invertible. Suppose that \det(A) = 3. Compute \det(S^{-1}AS) and \det(SAS^{-1}). Justify your answer using the theorems in this section.

Exercise \PageIndex{A.6.7}

Let A be an n \times n matrix such that \det(A)=1. Compute \det(x A) given a number x. Hint: First try computing \det(xI), then note that xA = (xI)A.

Exercise \PageIndex{A.6.8}

Compute the determinant of the following matrices:

  1. \begin{bmatrix} -2 \end{bmatrix}
  2. \begin{bmatrix} 2 & -2 \\ 1 & 3 \end{bmatrix}
  3. \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix}
  4. \begin{bmatrix} 2 & 9 & -11 \\ 0 & -1 & 5 \\ 0 & 0 & 3 \end{bmatrix}
  5. \begin{bmatrix} 2 & 1 & 0 \\ -2 & 7 & 3 \\ 1 & 1 & 0 \end{bmatrix}
  6. \begin{bmatrix} 5 & 1 & 3 \\ 4 & 1 & 1 \\ 4 & 5 & 1 \end{bmatrix}
  7. \begin{bmatrix} 3 & 2 & 5 & 7 \\ 0 & 0 & 2 & 0 \\ 0 & 4 & 5 & 0 \\ 2 & 1 & 2 & 4 \end{bmatrix}
  8. \begin{bmatrix} 0 & 2 & 1 & 0 \\ 1 & 2 & -3 & 4 \\ 5 & 6 & -7 & 8 \\ 1 & 2 & 3 & -2 \end{bmatrix}
Answer
  1. -2
  2. 8
  3. 0
  4. -6
  5. -3
  6. 28
  7. 16
  8. -24
Exercise \PageIndex{A.6.9}

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

  1. \begin{bmatrix} 1 & 3 \\ 1 & x \end{bmatrix}
  2. \begin{bmatrix} 3 & x \\ 1 & 3 \end{bmatrix}
  3. \begin{bmatrix} x & 3 \\ 3 & x \end{bmatrix}
  4. \begin{bmatrix} x & 1 & 0 \\ 1 & 4 & 0 \\ 1 & 6 & 2 \end{bmatrix}
Answer
  1. 3
  2. 9
  3. 3
  4. \frac{1}{4}
Exercise \PageIndex{A.6.10}

Compute \det \left( \begin{bmatrix} 3 & 4 & 7 & 12 \\ 0 & -1 & 9 & -8 \\ 0 & 0 & -2 & 4 \\ 0 & 0 & 0 & 2 \end{bmatrix}^{-1} \right) \nonumber without computing the inverse.

Answer

12

Exercise \PageIndex{A.6.11}: (challenging)

Find all the x that make the matrix inverse \begin{bmatrix} 1 & 2 \\ 1 & x \end{bmatrix}^{-1} \nonumber have only integer entries (no fractions). Note that there are two answers.

Answer

1 and 3


This page titled A.E: Linear Algebra (Exercises) is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Jiří Lebl via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?