New Post
Introduction to Linear Algebra
Linear algebra is the study of vectors, matrices and linear transformations.
Vectors
A vector can be expressed as:
$$
\mathbf{v} =
\begin{bmatrix}
v_1 \\
v_2 \\
v_3
\end{bmatrix}
$$
The Euclidean norm is defined as $\|\mathbf{v}\|_2$.
Matrix multiplication
For a matrix $A$ and a vector $x$:
$$
Ax = b
$$
Python example
import numpy as np
A = np.array([[1, 2], [3, 4]])
x = np.array([5, 6])
print(A @ x)
Conclusions
Linear algebra has applications in:
- Machine learning
- Numerical analysis
- Computer graphics
- Quantum mechanics