Matrices and Vectors: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Line 23: Line 23:
<br>
<br>
Putting it into augmented matrices
Putting it into augmented matrices
<math>
\[
\[
\begin{bmatrix}
\begin{bmatrix}
Line 32: Line 31:
\end{bmatrix}
\end{bmatrix}
\]
\]
</math>
 
[[File:Nt 1.png]]<br>
[[File:Nt 1.png]]<br>
We write this down by writing the coefficients.<br>
We write this down by writing the coefficients.<br>

Revision as of 00:23, 23 April 2025

Introduction

Next as the title says

Example

Here we go

Vector Operations

We can add the components or scale them provided they are the same size

Gaussian as Vectors

And here are the linear equations using gaussian and vectors

Homegenous Systems

Homegenous Systems always has a least one solution. Watching an alternative video showed the questions using the form 2x₁ + 4x₂ rather than 2a + 4b. There are two types of Homegenous Systems, trivial and non-trivial. The trivial solution is where all the variables are = to zero. This demonstration helped a lot in how to solve this. Here was the question

1x1+2x2+3x3+2x4=01x1+3x2+5x3+5x4=02x1+4x2+7x3+1x4=01x12x26x3+7x4=0
Putting it into augmented matrices \[ \begin{bmatrix} 1 & 2 & 3 & 2 & | & 0 \\ 1 & 3 & 5 & 5 & | & 0 \\ 2 & 4 & 7 & 1 & | & 0 \\ -1 & -2 & -6 & 7 & | & 0 \end{bmatrix} \]


We write this down by writing the coefficients.

We are looking to get a zero in column 0 so we doing the following

-1R₁ + R₂ => R₂
-2R₁ + R₃ => R₃
  R₁ + R₄ => R₄


Next step we do the following a 3 is a multiple of 4

  1/3R₄ => R₄


Next we do the following

  R₃ + R₁ => R₁
-2R₃ + R₂ => R₂
-1R₃ + R₄ => R₄


So losing the last row of zeros we can write this a equations again

Now we can express x₄ as k and derive the other variable in terms of k

x₃ = 3k
x₂ = 9k
x₁ = 7k 

This means list the solution in terms of x, i.e. x₁,x₂,x₃,x₄ gives

(7k, 9k, 3k, k)

So taking k = 1 would be

(7, 9, 3, 1)

You can put this in the original problem and it works

Terms

  • m x n a matrix of m row, n colums
  • Capital let for name of Matrix
  • Small letter for entry
  • nonsingular is a unique homegeneous solution
  • singular is a homegeneous with infinite solutions