Sreejita Ghosh
answered on 15 Jan 2020:
last edited 15 Jan 2020 2:56 pm
Hi there!
Linear algebra is a lot like the common algebra (for example, y=3x+2) , but instead of y and x representing a scalar variable (a single value), they represent vectors or matrices. It is used in solving simultaneous equations, to study properties of a mathematical model.
Suppose you have the following set of equations
y = 0.4 * x1 + 0.3 * x2
y = 0.2* x1 + 0.7 * x2
y = 0.5 * x1 – 0.1 * x2
…
The column of y can be taken as the output matrix Y.
On the right hand side (of the ‘=’) the combinations of x1 and x2 with the numeric values can be taken as the product of two matrices, one is a column vector X=transpose([x1 x2]), and the other as a numeric matrix having 3 rows and 2 columns.
B=[0.4 0.3; 0.2 0.7; 0.5 -0.1 ] (the ‘;’ denote end of a row).
So the above set of equations in y, x1 and x2 can be written as a Linear algebra equation as: Y=BX
Comments