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.
Where to Go From Here
The foundation is small but it carries a lot: a vector is a list of related quantities, a matrix is a rule that acts on vectors, and matrix-vector multiplication is that rule in action. Once those three ideas feel concrete, the harder topics that build on them, such as systems of equations, transformations, and matrix-based data methods, become far easier to pick up.
Frequently Asked Questions
- What is linear algebra about?
- Linear algebra studies vectors, matrices, and linear transformations. It deals with quantities that have several components and the rules for combining or transforming them in a consistent way. The word linear matters because it makes behavior predictable: adding inputs adds outputs in the same pattern, and scaling an input scales the output by the same factor.
- What is the difference between a vector and a matrix?
- A vector is an ordered list of numbers that can represent a position, a velocity, measurements, or coefficients. A matrix is a rectangular array of numbers that can store coefficients, describe a system of equations, or act as a rule that transforms one vector into another. A vector is one object; a matrix usually organizes or applies rules to vectors.
- What does linear mean in linear algebra?
- It does not just mean looks like a line. A rule is linear when it respects addition and scalar multiplication: transforming a sum gives the sum of the transforms, and scaling an input scales the output by the same factor. Those two conditions are exactly why matrices are useful for describing transformations compactly.
- How can you tell whether a transformation is linear?
- Check the two defining conditions: it must preserve addition and scalar multiplication. One quick test follows from the definition: every linear transformation sends the zero vector to the zero vector. A rule like adding 1 to the input fails that test, so it is not linear in this setting even though its graph looks like a line.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →