Matrices and Data Manipulation
View group questions.
To print this group, add it to a test.
The following matrix, A, lists 5 sets of points, where the first column is the x coordinate and the second column is the y coordinate.
[math]A = [[3,2],[4,1],[5,9],[7,-1],[1,8]] [/math]
The following questions will use matrix operations to find the distance between the first and third points.
[math]A = [[3,2],[4,1],[5,9],[7,-1],[1,8]] [/math]
The following questions will use matrix operations to find the distance between the first and third points.
A.
Which of the following operations would result in a 2-by-2 matrix, with only the first and third points as elements? Let this matrix be called B.
- [math]B = [[1,0,1,0,0],[1,0,1,0,0]] A[/math]
- [math]B = A [[1,1],[0,0],[1,1],[0,0],[0,0]][/math]
- [math]B = A [[1,0],[0,0],[0,1],[0,0],[0,0]][/math]
- [math]B = [[1,0,0,0,0],[0,0,1,0,0]] A[/math]
B.
Which of the following operations would create a matrix, called C, where each element is the difference of the respective coordinates of the two points? I.e., the first element is the difference of the two x-coordinates.
- [math]C = B[[1,-1]][/math]
- [math]C = [[1,-1]] B[/math]
- [math]C = [[1],[-1]] B[/math]
- [math]C = B [[1],[-1]][/math]
C.
The transpose of a matrix is when the rows and columns are switched. For a given matrix, [math]M[/math], and its transpose, [math]M^T[/math], the columns of [math]M[/math] correspond to the rows of [math]M^T[/math]. This means that the dimensions of the matrix are switched; a 2-by-4 matrix becomes a 4-by-2 matrix. For a 1-by-n or m-by-1 matrix, the single column becomes a single row (or vice-versa).
Which of the following operations would result in a matrix of only one element which is the square of the distance between the first and third points in the original matrix A? (Taking the square root of this element would therefore give the distance between these points).
Which of the following operations would result in a matrix of only one element which is the square of the distance between the first and third points in the original matrix A? (Taking the square root of this element would therefore give the distance between these points).
- [math]C^T C[/math]
- [math]C C^T[/math]
- [math](C^T C)^2[/math]
- [math](C C^T)^2[/math]
