This operation adds two vectors component-wise. It's fundamental in vector algebra and represents combining two vectors to get a resultant vector. Vector addition is used in physics for combining forces, velocities, and other vector quantities.
Vectors in Rn
Components of vectors u and v
For u=[13] and v=[24], u+v=[1+23+4]=[37]
Adding forces, velocities, or any quantities represented by vectors
Scalar Multiplication
Formula:
cv=c⋅v1c⋅v2⋮c⋅vn
This operation multiplies each component of a vector by a scalar. It scales the vector by stretching or compressing it without changing its direction (unless the scalar is negative, which also reverses the direction).
Scalar (real number)
Vector in Rn
Components of vector v
For c=3 and v=[2−1], cv=[3⋅23⋅(−1)]=[6−3]
Scaling vectors in physics and engineering applications
Dot Product (Inner Product)
Formula:
u⋅v=u1v1+u2v2+⋯+unvn
The dot product computes a scalar from two vectors. It measures the extent to which two vectors point in the same direction and is used to find angles between vectors and projections.
Vectors in Rn
Components of vectors u and v
For u=[12] and v=[34], u⋅v=(1)(3)+(2)(4)=11
Calculating work, projections, and determining orthogonality
Cross Product
Formula:
u×v=u2v3−u3v2u3v1−u1v3u1v2−u2v1
The cross product of two vectors in R3 results in a vector that is perpendicular to both, with a magnitude equal to the area of the parallelogram they span.
Vectors in R3
Components of vectors u and v
For u=100 and v=010, u×v=001
Calculating torque, rotational motion, and normal vectors
Norm Of A Vector
Formula:
∥v∥=v12+v22+⋯+vn2
The norm (or length) of a vector is a measure of its magnitude in space.
Vector
Components of v
For v=[34], ∥v∥=5
Calculating distances, normalizing vectors
Unit Vector
Formula:
u=∥v∥v
A unit vector has a magnitude of 1 and indicates direction. Any vector can be converted to a unit vector by dividing by its norm.
Original vector
Unit vector in the direction of v
For v=[34], u=[5354]
Direction representation, projections
Projection Of A Vector
Formula:
projvu=(∥v∥2u⋅v)v
The projection of u onto v is the component of u in the direction of v. It is used in decomposing vectors and in least squares approximations.
Matrices of the same dimensions can be added by adding their corresponding elements. This operation is fundamental in linear algebra and has applications in systems of equations and transformations.
Matrices of size m×n
Elements of matrices A and B
For A=[1324] and B=[5768], A+B=[610812]
Combining linear transformations, solving matrix equations
Scalar Multiplication Of A Matrix
Formula:
cA=c⋅a11⋮c⋅am1…⋱…c⋅a1n⋮c⋅amn
Each element of the matrix is multiplied by the scalar. This operation scales the matrix and is essential in linear transformations and eigenvalue problems.
Scalar (real number)
Matrix of size m×n
Elements of matrix A
For c=2 and A=[10−13], cA=[20−26]
Scaling transformations, adjusting system responses
Matrix Multiplication
Formula:
(AB)ij=∑k=1naikbkj
Matrix multiplication combines two matrices to produce a new matrix. It's not commutative in general and represents the composition of linear transformations.
Matrix of size m×n
Matrix of size n×p
Element in row i, column j of the product matrix
For A=[12] and B=[34], AB=(1)(3)+(2)(4)=11
Transformations, solving systems of equations
Determinants
Determinant Of A 2x2 Matrix
Formula:
det(A)=ad−bc
The determinant of a 2x2 matrix gives the scaling factor of the linear transformation represented by the matrix. It's also used to determine invertibility.
Matrix [acbd]
Elements of matrix A
For A=[2134], det(A)=(2)(4)−(3)(1)=5
Checking invertibility, area scaling
Matrix Inverses
Inverse Of A 2x2 Matrix
Formula:
A−1=det(A)1[d−c−ba]
The inverse of a matrix reverses the effect of the original matrix. For a 2x2 matrix, the inverse exists if and only if the determinant is non-zero.
Matrix [acbd]
Determinant of A
Inverse of matrix A
For A=[2513], det(A)=1, so A−1=[3−5−12]
Solving linear systems, undoing transformations
Eigenvalues And Eigenvectors
Eigenvalues And Eigenvectors
Formula:
Ax=λx
An eigenvalue is a scalar that indicates how much the eigenvector is stretched or compressed during the transformation represented by A. Eigenvectors point in directions that are invariant under the transformation.
Square matrix
Eigenvector
Eigenvalue
For A=[2003], eigenvalues are λ=2,3 with corresponding eigenvectors along the x and y axes.
Stability analysis, quantum mechanics, principal component analysis
Systems Of Equations
Cramer's Rule
Formula:
xi=det(A)det(Ai)
Cramer's Rule provides a method to solve a system of linear equations using determinants, applicable when the system has a unique solution.
Coefficient matrix
Matrix A with its i-th column replaced by the constants vector b
Determinant of A
Solution for variable xi
For {2x+y=5x−y=1, solve for x and y using determinants.
Solving small systems of equations
Matrix Properties
Rank Of A Matrix
Formula:
The rank is the maximum number of linearly independent rows or columns.
The rank indicates the dimension of the vector space spanned by the rows or columns. It determines the solvability of linear systems.
Matrix
A 3×3 matrix with rank 2 has linearly dependent rows or columns.
Analyzing solutions of linear systems, determining invertibility
Linear Transformations
Linear Transformation
Formula:
T(cu+dv)=cT(u)+dT(v)
A function is a linear transformation if it preserves vector addition and scalar multiplication. Linear transformations can be represented by matrices.
Linear transformation
Vectors
Scalars
Rotation, reflection, and scaling transformations are linear.
Computer graphics, differential equations
Vector Properties
Orthogonality
Formula:
u⋅v=0
Two vectors are orthogonal if their dot product is zero, meaning they are perpendicular in space.