Go to the MLX, M, PDF, or HTML version of this file. Go back to Introductory Mathematics for Economists with Matlab (bookdown site). Also see M4Econ and MEconTools.
See also: System of Linear Equations
See also: Solving for Two Equations and Two Unknowns
See also: System of Linear Equations, Row Echelon Form
If we have an equation: a⋅x1+b⋅x2+c⋅x3=o, we can write this in matrix form:
This is a linear equation, where we have a sequence of variables multiplied by coefficients, more generally, this is a linear equation with n unknown variables, and n+1 known coefficients, note the a at the beginning:
In 2 dimension (with two unknowns), this is a line; in 3 dimension, this is a surface.
We have a system of linear equations, 3 equations and 3 unknowns:
We can define these:
W=[abcdefghi]
X=[x1x2x3]
v=[opq]
We can write W and v together like this, this is the augmented matrix of the system of linear equations: