DEV Community

farhinrahman1
farhinrahman1

Posted on

Machine Learning Episode 1

LINEAR ALGEBRA

Linear equations
There are three types of linear equation with 2 variables.

  1. Intersects (unique solutions)
  2. Two lines in the same line (infinite solutions)
  3. Two parallel lines that never meets (no solutions)

The graphs will show an easy idea about how the equation and its solution can be obtain.

Linear equation as matrics**

The Determinant
We will cross multiply the matric

According to the 4th image,

The determinant = (A x D) - (B x C)

If the determinant is 0, it is singular. That means the matrix does not have an inverse
If the determinant is not 0, it is non-singular. That means matrix has an inverse matrix.

Let's understand it with equations.

2A + 3B =10
4A + 6B =20

The determinant = (2x6) - (3x4)
= 0

Image description

Top comments (0)