You are on page 1of 4

HW1: Math & Statistics for Data Science

TA: Hyerin Son(iorad@snu.ac.kr), Mooho Song (anmh9161@snu.ac.kr)


2023 Fall

HW1
1
Is (3, 2, −2) a solution of the following system?
x1 + x2 + x3 = 3
2x1 + 3x2 + x3 = −2
x1 + 2x2 + x3 = 3

No

2
Are the following set of vectors linearly independent?
     
0 1 2
x1 = 3 , x2 = −7 , x3 = −2
2 3 2

Yes

3
For every vector space V , V has at least three subspaces.

No

4
Let A ∈ Rn×n be a matrix for some n ∈ N. A is a regular(non-singular) matrix
if and only if rk(A) = n.

True

1
5
   
3/5 −4/5
Let a = and b = . Then {a, b} forms a orthonormal basis of R2
−4/5 3/5
False

6
(a) If v1 , ..., v4 are linearly independent vectors in R4 , then {v1 , v2 , v3 } are lin-
early independent.
(b) If v1 , ..., v4 are in R4 and v3 = 0, then {v1 , ..., v4 } are linearly independent.
(c) If v1 and v2 are in R4 and v2 is not a scalar multiple of v1 , then {v1 , v2 } are
linearly independent.

True, False, False

7
(a) Every orthogonal matrix is invertible.
(b) If A is an orthogonal matrix, then A−1 = A.

True, False

8
Consider the following system

2x1 + x2 =0
x1 − x2 − 2x3 = −10
x2 + 7x3 = 3

(a) Solve the system. Express your answer in the following form:

(x1 , x2 , x3 ) = ( , , ).
 
x1
(b) Express this system with matrix form Ax = b, where x = x2  .
x3
(All elements of A and b must be integers.)

(c) Find the inverse of A using Gaussian elimination.

(d) Check if your solution in (a) equals to A−1 b.

64 128 11
(a) (x1 , x2 , x3 ) = (− , ,− )
17 17 17

2
9
Determine h and k such that the solution set of the system contains infinitely
many solutions. Please write your answer in the order of h, k.

x1 + 3x2 = k
4x1 + hx2 = 8

(h, k) = (12, 2)

10
The matrix A is given as follow.
 
3 3 2 1
A = 1 2 −1 0
0 1 −3 −1

Find the rank and kernel space dimension of the matrix A.

(rank)=3, (kernel space dimension)=1

11
Compute the distance between
   
1 2
x1 = −1 , x2 = 1
1 0

using
 
5 1 −2
⟨x, y⟩ := xT Ay, where A =  1 7 4  .
−2 4 6

Your answer is of the form a for some positive number a. Write a.

31 (a = 31)

12
Find the angle θ between x and y within the range 0◦ < θ < 90◦ . Use the dot
product as the inner product.
   
1 1
−2 3
x= 3  , y = 6 .
  

6 2

3
θ is of the form θ = a◦ for some positive number a. Write a.

60◦ (a = 60)

13
Consider the vector space R3 with the dot product. A subspace U ⊆ R3 and
x ∈ R3 are given by
     
1 1 2
U = span[ 0  , −1], x = 1
−1 0 6

The distance d(x, U ) is of the form d(x, U ) = a for some positive number a.
Write a.

27 (a = 27)

You might also like