Aufgabe1.tex 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. \section*{Aufgabe 1}
  2. \textbf{Gegeben:}
  3. \[A =
  4. \begin{pmatrix}
  5. 6 & -6 & 0 \\
  6. -3 & 7 & 2 \\
  7. 2 & 4 & 1
  8. \end{pmatrix}, \;\;\;
  9. b =\begin{pmatrix}
  10. 0 \\
  11. 8 \\
  12. 8
  13. \end{pmatrix}\]
  14. \textbf{Aufgabe:} $Ax = b$ mit Gaußelimination und Spaltenpivotwahl lösen
  15. \textbf{Lösung:}
  16. \begin{align}
  17. \begin{gmatrix}[p]
  18. 6 & -6 & 0 & 0\\
  19. -3 & 7 & 2 & 8\\
  20. 2 & 4 & 1 & 8
  21. \rowops
  22. \mult{0}{\cdot \frac{1}{6}}
  23. \end{gmatrix}
  24. &\leadsto
  25. \begin{gmatrix}[p]
  26. 1 & -1 & 0 & 0\\
  27. -3 & 7 & 2 & 8\\
  28. 2 & 4 & 1 & 8
  29. \rowops
  30. \add[3]{0}{1}
  31. \add[-2]{0}{2}
  32. \end{gmatrix}\\
  33. &\leadsto
  34. \begin{gmatrix}[p]
  35. 1 & -1 & 0 & 0\\
  36. 0 & 4 & 2 & 8\\
  37. 0 & 6 & 1 & 8
  38. \rowops
  39. \swap{1}{2}
  40. \end{gmatrix}\\
  41. &\leadsto
  42. \begin{gmatrix}[p]
  43. 1 & -1 & 0 & 0\\
  44. 0 & 6 & 1 & 8\\
  45. 0 & 4 & 2 & 8
  46. \rowops
  47. \mult{1}{\cdot \frac{1}{6}}
  48. \add[-4]{1}{2}
  49. \end{gmatrix}\\
  50. &\leadsto
  51. \begin{gmatrix}[p]
  52. 1 & -1 & 0 & 0\\
  53. 0 & 1 & \frac{1}{6} & \frac{4}{3}\\
  54. 0 & 0 & \frac{4}{3} & \frac{8}{3}
  55. \rowops
  56. \mult{2}{\cdot \frac{3}{4}}
  57. \end{gmatrix}\\
  58. &\leadsto
  59. \begin{gmatrix}[p]
  60. 1 & -1 & 0 & 0\\
  61. 0 & 1 & \frac{1}{6} & \frac{4}{3}\\
  62. 0 & 0 & 1 & 2
  63. \rowops
  64. \add[\cdot \frac{-1}{6}]{2}{1}
  65. \end{gmatrix}\\
  66. &\leadsto
  67. \begin{gmatrix}[p]
  68. 1 & -1 & 0 & 0\\
  69. 0 & 1 & 0 & 1\\
  70. 0 & 0 & 1 & 2
  71. \rowops
  72. \add[]{1}{0}
  73. \end{gmatrix}\\
  74. &\leadsto
  75. \begin{gmatrix}[p]
  76. 1 & 0 & 0 & 1\\
  77. 0 & 1 & 0 & 1\\
  78. 0 & 0 & 1 & 2
  79. \end{gmatrix}
  80. \end{align}
  81. $\Rightarrow x = \begin{pmatrix}1 & 1 & 2\end{pmatrix}^T$ löst das LGS.