Mathematics
Linear Algebra
449 Questions
Linear algebra involves the study of matrices, vectors, and linear transformations. Common topics include finding the rank of a matrix, calculating eigenvalues and eigenvectors, and performing LU decomposition. These advanced mathematical concepts are frequently tested in engineering, statistics, and civil service examinations.
Matrix rank calculationLU decompositionEigenvalues and eigenvectorsMatrix invertibilityDeterminant properties
Linear Algebra Questions
In NumPy, which function is used to compute the determinant of a matrix?
-
linalg.det()
-
linalg.inv()
-
linalg.norm()
-
linalg.solve()
A
Correct answer
Explanation
The linalg.det() function in NumPy is used to calculate the determinant of a square matrix.
In Eigen, which function is used to compute the eigenvalues and eigenvectors of a matrix?
-
eigenSolver()
-
svd()
-
lu()
-
qr()
A
Correct answer
Explanation
The eigenSolver() function in Eigen is used to compute the eigenvalues and eigenvectors of a matrix.
In Julia's LinearAlgebra package, which function is used to compute the determinant of a matrix?
-
det()
-
inv()
-
norm()
-
solve()
A
Correct answer
Explanation
The det() function in Julia's LinearAlgebra package is used to calculate the determinant of a square matrix.
In MATLAB's Linear Algebra Toolbox, which function is used to compute the eigenvalues and eigenvectors of a matrix?
A
Correct answer
Explanation
The eig() function in MATLAB's Linear Algebra Toolbox is used to compute the eigenvalues and eigenvectors of a matrix.
In R's Matrix package, which function is used to compute the determinant of a matrix?
-
det()
-
inv()
-
norm()
-
solve()
A
Correct answer
Explanation
The det() function in R's Matrix package is used to calculate the determinant of a square matrix.
-
A rectangular array of numbers
-
A set of vectors
-
A linear transformation
-
A vector space
A
Correct answer
Explanation
A matrix is a rectangular array of numbers. It can be used to represent a system of linear equations, a transformation, or a vector space.
What is the determinant of a matrix?
-
The sum of the elements in the matrix
-
The product of the elements in the matrix
-
The difference of the elements in the matrix
-
A number that is associated with a square matrix
D
Correct answer
Explanation
The determinant of a matrix is a number that is associated with a square matrix. It is used to determine whether the matrix is invertible or not.
The set of all matrices of order $m \times n$ is a subspace of the vector space of all matrices.
A
Correct answer
Explanation
The set of all matrices of order $m \times n$ is a subspace because it is non-empty, closed under matrix addition, and closed under scalar multiplication.
Which mathematical concept is central to the study of matrices?
-
Determinants
-
Eigenvalues
-
Trace
-
Rank
A
Correct answer
Explanation
Determinants are a central concept in the study of matrices, as they provide a measure of the size and orientation of a matrix and are used in various applications, such as solving systems of linear equations and calculating matrix inverses.
Given the matrices (A = \begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix}) and (B = \begin{bmatrix} 5 & 6 \ 7 & 8 \end{bmatrix}), find the product (AB).
-
\begin{bmatrix} 19 & 22 \ 43 & 50 \end{bmatrix}
-
\begin{bmatrix} 11 & 14 \ 25 & 30 \end{bmatrix}
-
\begin{bmatrix} 17 & 20 \ 39 & 46 \end{bmatrix}
-
\begin{bmatrix} 23 & 26 \ 51 & 58 \end{bmatrix}
A
Correct answer
Explanation
To find the product (AB), multiply the elements of the rows of (A) by the elements of the columns of (B) and add the products.
What is the determinant of the matrix (C = \begin{bmatrix} -2 & 3 \ 5 & -1 \end{bmatrix})?
A
Correct answer
Explanation
The determinant of a 2x2 matrix is calculated using the formula (ad - bc), where (a, b, c, d) are the elements of the matrix. In this case, the determinant of (C) is ((-2)(-1) - (3)(5) = 2 - 15 = -13).
Which of the following matrices is the identity matrix of order 3?
-
\begin{bmatrix} 1 & 0 & 0 \ 0 & 1 & 0 \ 0 & 0 & 1 \end{bmatrix}
-
\begin{bmatrix} 0 & 1 & 0 \ 1 & 0 & 0 \ 0 & 0 & 1 \end{bmatrix}
-
\begin{bmatrix} 1 & 0 & 0 \ 0 & 0 & 1 \ 0 & 1 & 0 \end{bmatrix}
-
\begin{bmatrix} 0 & 0 & 1 \ 1 & 0 & 0 \ 0 & 1 & 0 \end{bmatrix}
A
Correct answer
Explanation
The identity matrix of order 3 is a square matrix with 1s on the diagonal and 0s everywhere else.
If (A) is a square matrix and (A^2 = 0), then which of the following statements is true?
-
All eigenvalues of \(A\) are zero.
-
All eigenvalues of \(A\) are non-zero.
-
The determinant of \(A\) is zero.
-
The trace of \(A\) is zero.
C
Correct answer
Explanation
If (A^2 = 0), then the determinant of (A) must be zero, as the determinant of a matrix is equal to the product of its eigenvalues.
What is the rank of the matrix (D = \begin{bmatrix} 1 & 2 & 3 \ 2 & 4 & 6 \ 3 & 6 & 9 \end{bmatrix})?
A
Correct answer
Explanation
The rank of a matrix is the maximum number of linearly independent rows or columns. In this case, the rows of (D) are linearly dependent, so the rank of (D) is 1.
Which of the following matrices is a symmetric matrix?
-
\begin{bmatrix} 1 & 2 \ 2 & 3 \end{bmatrix}
-
\begin{bmatrix} 1 & 2 \ -2 & 1 \end{bmatrix}
-
\begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix}
-
\begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix}
C
Correct answer
Explanation
A symmetric matrix is a square matrix that is equal to its transpose. In this case, only (\begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix}) is symmetric.