Linear Equations: Difference between revisions
Line 57: | Line 57: | ||
Gives | Gives | ||
<br> | <br> | ||
<math> | <math> | ||
\left(2 -2.1, \; 4 -2.2, \; 8 -2.4 \right) = \left( 0, \; 0, \; 0 \right) | \left(2 -2.1, \; 4 -2.2, \; 8 -2.4 \right) = \left( 0, \; 0, \; 0 \right) | ||
</math> | </math> |
Revision as of 23:53, 22 April 2025
Introduction
This is the page on Linear Equation
Getting Started
I actually spent more time understanding how to do the matrix in wiki. An important thing to remember is you can add two equation together in a system because if you thing about 2=2, 4=4 then adding them together does not break the equality. The first time through I did not use matrices but wrote them out. Not sure which I prefer
x + 4y -4z = 0
x + 4y + 2z = 12
2x -3y -z = 3
In new video the put the value in a matrix so we now have \begin{bmatrix} 1 & 4 & -4 & 0 \\ 1 & 4 & 2 & 12 \\ 2 & -3 & -1 & 3 \end{bmatrix}
Multiply row 1 by -1
\begin{bmatrix}
-1 & 4 & -4 & 0 \\
1 & 4 & 2 & 12 \\
2 & -3 & -1 & 3
\end{bmatrix}
Now add the original Row 1 to Row 2
\begin{bmatrix} -1 & 4 & -4 & 0 \\ 0 & 0 & 6 & 12 \\ 2 & -3 & -1 & 3 \end{bmatrix}
Therefore 6z = 12
This is called Gaussian elimination method. Where you are left with 3 equations with 3, 2 and one variables and is known as the echelon form
Infinite Solutions
Sometimes the equations are not solvable when put in echlon form. You can see this when you see maybe x = x. This means the are infinite answers and example might be
𝑥 + 2𝑦 = 4 2𝑥 + 4𝑦 = 8
\begin{bmatrix}
1 & 2 & 4 \\
2 & 4 & 8
\end{bmatrix}
Eliminate x from the second row
Gives
\begin{bmatrix} 1 & 2 & 4 \\ 0 & 0 & 0 \end{bmatrix}
Apply Gaussian
-x -y + 3z = 3
-y + 4z = 6 // Row 1 + Row 2 above
0 = 0
Parameterizing
We can, when we have infinite solution express one or more variable in terms of the other e.g y = -6 + 4z. This is called parameterizing. There are
- leading variables
- free variables
What is a System
A system of linear equations is a collection of two or more linear equations, and a solution to a system of linear equations consists of values of each of the unknown variables in the system that satisfies all of its equations, or makes them true