Vectors and Matrices — Study Notes and Flashcards Flashcards
Master Vectors and Matrices — Study Notes and Flashcards with these flashcards. Review key terms, definitions, and concepts using active recall to strengthen your understanding and ace your exams.
Swipe to navigate between cards
Front
Row vector
Back
A 1×n array with elements arranged horizontally. It contrasts with a column vector and is useful for representing a single observation or a transposed column.
Front
Column vector
Back
An n×1 array with elements arranged vertically. Column vectors are commonly used to represent variables or coefficients in linear systems.
Front
Indexing
Back
Accessing individual elements of a vector or matrix using integer positions. Indexing can be 0-based or 1-based depending on the language and is the basis for element retrieval and assignment.
Front
Slicing
Back
Selecting ranges or subblocks of elements from vectors or matrices using range notation. Slicing produces subvectors or submatrices for further operations or analysis.
Front
linspace
Back
Creates a vector of linearly spaced values between two endpoints. Common signature is linspace(a,b,n) which returns n evenly spaced points from a to b.
Front
logspace
Back
Generates logarithmically spaced values between powers of ten. logspace(a,b,n) produces n points between $10^a$ and $10^b$, useful for log-scale sampling.
Front
Matrix addition
Back
Elementwise addition of two matrices of the same shape. Each resulting element equals the sum of corresponding elements from the addends.
Front
Matrix multiplication
Back
Combines rows of the first matrix with columns of the second via dot products; defined when inner dimensions match. Matrix multiplication is not commutative in general and yields linear combinations of columns or rows.
Front
Transpose
Back
Operation that flips a matrix across its diagonal, swapping rows and columns. Denoted $A^T$, it converts row vectors to column vectors and vice versa.
Front
Inverse
Back
For a square matrix $A$, the inverse $A^{-1}$ satisfies $AA^{-1}=I$ when $A$ is nonsingular. Computing the inverse directly is often less stable than solving systems via decompositions.
Front
Determinant
Back
A scalar value $\det(A)$ that indicates volume scaling and singularity; if zero, the matrix is singular. Determinants are used to test invertibility but are sensitive to numerical errors for large matrices.
Front
Rank
Back
The number of linearly independent rows or columns of a matrix, denoted $\operatorname{rank}(A)$. Rank determines solvability and uniqueness of linear systems.
Front
Trace
Back
The sum of a square matrix's diagonal entries, $\operatorname{trace}(A)=\sum_i A_{ii}$. Trace is invariant under similarity transformations and relates to eigenvalues (sum of eigenvalues).
Front
Eigenvalue
Back
A scalar $\lambda$ for which there exists a nonzero vector $v$ with $Av=\lambda v$. Eigenvalues characterize intrinsic modes and scaling factors of a linear transform.
Front
Eigenvector
Back
A nonzero vector $v$ that satisfies $Av=\lambda v$ for some eigenvalue $\lambda$. Eigenvectors point in directions that are invariant under the linear map up to scaling.
Front
eig
Back
A function or routine that computes eigenvalues and eigenvectors of a matrix. eig typically returns a vector of eigenvalues and a matrix whose columns are eigenvectors.
Front
zeros
Back
Constructor that creates a matrix filled with zeros of specified dimensions. Useful for initialization and placeholders in algorithms.
Front
ones
Back
Creates a matrix of specified size filled with ones. Often used for biases, pattern matrices, or simple tests.
Front
eye
Back
Generates the identity matrix $I$ with ones on the diagonal and zeros elsewhere. The identity acts as the multiplicative neutral element for matrix multiplication.
Front
rand / randn
Back
rand produces uniformly distributed random entries, while randn yields normally distributed entries with mean 0 and variance 1. Both are used for randomized tests, Monte Carlo, and initializing algorithms.
Continue learning
Explore other study materials generated from the same source content. Each format reinforces your understanding of Vectors and Matrices — Study Notes and Flashcards in a different way.
Create your own flashcards
Turn your notes, PDFs, and lectures into flashcards with AI. Study smarter with spaced repetition.
Get Started Free