notes/Resources/mathematics/linear-algebra/homework/gaussian-method.md

95 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Gaussian Method
## 1.17 Solving
### a.
$$
\begin{flalign}
2x + 3y &= 13 &\\\
x - y &= -1\\
&\rightarrow (2p2 - p1) &\\\
5y &= 15 \\
x - y &= -1 \\
&\rightarrow (\text{swap } p1 / p2) &\\\
x - y &= -1 \\
5y &= 15 \\
\\
y &= 3 \\
x &= 2 \\
\end{flalign}
$$
### b.
$$
\begin{flalign}
x - z &= 0 &\\\
3x + y &= 1 \\
-x + y + z &= 4\\
\\
\rightarrow& p3 + p1 \\
x - z &= 0 \\
3x + y &= 1 \\
y &= 4\\
\\
x = -1\\
y = 4\\
z = -1
\end{flalign}
$$
## Finding type of solutions
## 1.18
### a.
$$
\begin{flalign}
3x + 2y &= 0 &\\\
2y &= 0 \\
&\rightarrow \text{One solution}
\end{flalign}
$$
### b.
$$
\begin{flalign}
x + y &= 4 &\\
y z &= 0 \\
&\rightarrow \text{Infinitely many, now row leading with z}
\end{flalign}
$$
$$
\begin{flalign}
3x + 2y &= 0 &\\\
2y &= 0 \\
&\rightarrow \text{One solution}
\end{flalign}
$$
## 1.19
## a.
$$
\begin{flalign}
2x + 2y &= 5 &\\\
x - 4y &= 0 \\
\rightarrow & -\frac{1}{2}p1 + p2 \\
2x + 2y &= 5 &\\\
- 5y &= -2.5 \\
\\
y &= \frac{1}{2}\\
x &= 2
\end{flalign}
$$