Linear algebra explains how vectors, matrices, and linear transformations work. If you are searching for linear algebra basics, the core idea is simple: it studies quantities with several components and the rules for combining or transforming them in a consistent way.
The word "linear" matters because it makes behavior predictable. If a rule is linear, adding inputs adds outputs in the same pattern, and scaling an input scales the output by the same factor.
Vectors And Matrices In Plain Language
A vector is an ordered list of numbers. In practice, a vector can represent a position, a velocity, a list of measurements, or coefficients in a problem.
For example, this is a vector in dimensions:
A matrix is a rectangular array of numbers. A matrix can store coefficients, describe a system of equations, or act as a rule that transforms one vector into another.
This is a matrix:
The difference is worth keeping straight: a vector is one mathematical object, while a matrix is usually used to organize or apply rules to vectors.
What "Linear" Means In Linear Algebra
In linear algebra, "linear" does not just mean "looks like a line." It means a rule respects addition and scalar multiplication.
If is a linear transformation, then for vectors , and scalar ,
and
Those two conditions are why matrices are so useful. Multiplying by a matrix gives a compact way to describe transformations with exactly that behavior.
One quick check follows from this definition: every linear transformation sends the zero vector to the zero vector. A rule like fails that test, so it is not linear in this setting.
The Core Ideas You Need First
A scalar is a single number, a vector is a list of numbers, and a matrix is an array of numbers. Mixing up those roles causes a lot of beginner mistakes.
Linear Combination
A linear combination is built by scaling vectors and then adding them. For example, is a linear combination of and .
This idea matters because many questions reduce to one test: can a target vector be built from the vectors you already have?
Matrix As A Transformation
When a matrix multiplies a vector, it mixes the vector's components using fixed coefficients. That is why a matrix is often described as a transformation.
Linear Systems
A system such as
can be written in matrix form. Linear algebra gives you tools to solve that system and to tell whether it has one solution, no solution, or infinitely many solutions.
Worked Example: Matrix Times Vector
Take the matrix
and the vector
To compute , multiply each row of the matrix by the vector:
The output is a new vector whose entries are linear combinations of the input entries. Here, the first output entry is , and the second is .
So the matrix takes the input vector and maps it to
That is the basic pattern behind matrix-vector multiplication: each output entry is built from one row of the matrix.
Common Linear Algebra Mistakes
Treating Matrix Multiplication Like Entry-By-Entry Multiplication
Matrix multiplication is not usually done by multiplying matching positions. It uses row-by-column combinations, so the structure matters.
Ignoring Dimensions
You can only multiply a matrix and a vector when the number of matrix columns matches the number of vector entries. If the dimensions do not match, the product is undefined.
Assuming Every System Has Exactly One Solution
That is only true under certain conditions. Some linear systems have no solution, and some have infinitely many solutions.
Using "Linear" Too Loosely
A rule is not linear just because it looks simple. Terms like , products like , or a constant shift such as can break linearity.
Where Linear Algebra Basics Are Used
Linear algebra appears whenever a problem involves many related quantities and rules that act on them systematically.
It is used in computer graphics for rotations and projections, in engineering for systems of equations, in physics for state models, and in data science for matrix-based methods.
You do not need advanced theory to benefit from the basics. If vectors, matrices, and matrix-vector multiplication make sense, later topics become much easier to learn.
Try A Similar Problem
Try multiplying
Then ask yourself what each output entry represents. If this example clicked, try your own version with a different matrix and see how the output changes.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →