Aufgabe5.tex 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. \section*{Aufgabe 5}
  2. Zunächst ist nach der Familie von Quadraturformeln gefragt, für die gilt: ($p := $ Ordnung der QF)
  3. \begin{align}
  4. s = 3 \\
  5. 0 = c_1 < c_2 < c_3 \\
  6. p \ge 4
  7. \end{align}
  8. Nach Satz 29 sind in der Familie genau die QFs, für die gilt: \\
  9. Für alle Polynome $g(x)$ mit Grad $\le m-1$ gilt:
  10. \begin{align}
  11. \int_0^1 M(x) \cdot g(x) \mathrm{d}x = 0 \label{a3}
  12. \end{align}
  13. Da eine Quadraturformel höchstens Grad $2s=6$ (Satz 30) haben kann und es wegen
  14. $c_1 = 0$ nicht die Gauss-Quadratur sein kann (Satz 31), kommt nur Ordnung $p=4$
  15. und $p=5$ in Frage.
  16. \subsection*{Ordnung 4}
  17. Es gilt $g(x) = c$ für eine Konstante $c$, da $\text{Grad}(g(x))=0$ ist.
  18. Also ist \ref{a3} gleichbedeutend mit:
  19. \begin{align}
  20. \int_0^1 M(x) \cdot c \mathrm{d}x &= 0 \\
  21. \Leftrightarrow c \cdot \int_0^1 M(x) \mathrm{d}x &= 0 \\
  22. \Leftrightarrow \int_0^1 M(x) \mathrm{d}x &= 0 \\
  23. \Leftrightarrow \int_0^1 (x-c_1)(x-c_2)(x-c_3) \mathrm{d}x &= 0 \\
  24. \Leftrightarrow \frac{1}{4} - \frac{1}{3} \cdot (c_2 + c_3) + \frac{1}{2} \cdot c_2 \cdot c_3 &= 0 \\
  25. \Leftrightarrow \frac{\frac{1}{4} - \frac{1}{3} \cdot c_3}
  26. {\frac{1}{3} - \frac{1}{2} \cdot c_3} &= c_2
  27. \end{align}
  28. Natürlich müssen auch die Gewichte optimal gewählt werden. Dafür wird Satz 28 genutzt:
  29. Sei $b^T = (b_1, b_2, b_3)$ der Gewichtsvektor. Sei zudem $C :=
  30. \begin{pmatrix}
  31. {c_1}^0 & {c_2}^0 & {c_3}^0 \\
  32. {c_1}^1 & {c_2}^1 & {c_3}^1 \\
  33. {c_1}^2 & {c_2}^2 & {c_3}^2
  34. \end{pmatrix}
  35. $. \\
  36. Dann gilt: $C$ ist invertierbar und $b = C^{-1} \cdot
  37. \begin{pmatrix}
  38. 1 \\
  39. \frac{1}{2} \\
  40. \frac{1}{3}
  41. \end{pmatrix}
  42. $.
  43. Es gibt genau eine symmetrische QF in der Familie. Begründung: \\
  44. Aus $c_1 = 0 $ folgt, dass $c_3 = 1$ ist. Außerdem muss $c_2 = \frac{1}{2} $ sein. Also sind die Knoten festgelegt. Da wir die Ordnung $\ge s = 3$ fordern, sind auch die Gewichte eindeutig. \\
  45. Es handelt sich um die aus der Vorlesung bekannte Simpsonregel.
  46. \subsection*{Ordnung 5}
  47. Es gilt $g(x) = ax+c$ für Konstanten $a \neq 0, c$, da $\text{Grad}(g(x))=1$ ist.
  48. Also ist \ref{a3} gleichbedeutend mit:
  49. \begin{align}
  50. \int_0^1 M(x) \cdot (ax+c) \mathrm{d}x &= 0 \\
  51. \Leftrightarrow a \int_0^1 x M(x) \mathrm{d}x + c \int_0^1 M(x) \mathrm{d}x &= 0 \\
  52. \Leftrightarrow a \int_0^1 x (x-c_1)(x-c_2)(x-c_3) \mathrm{d}x + c \int_0^1 (x-c_1)(x-c_2)(x-c_3) \mathrm{d}x &= 0 \\
  53. \stackrel{c_1=0}{\Leftrightarrow} a \int_0^1 x^2(x-c_2)(x-c_3) \mathrm{d}x + c \int_0^1 x(x-c_2)(x-c_3) \mathrm{d}x &= 0 \\
  54. \Leftrightarrow a \left (\frac{c_2 c_3}{3}-\frac{c_2}{4}-\frac{c_3}{4}+\frac{1}{5} \right ) + c \left ( \frac{c_2 c_3}{2}-\frac{c_2}{3}-\frac{c_3}{3}+\frac{1}{4} \right ) &= 0 \\
  55. \Leftrightarrow \left (\frac{c_2 c_3}{3}-\frac{c_2}{4}-\frac{c_3}{4}+\frac{1}{5} \right ) + \underbrace{\frac{c}{a}}_{=: d} \left ( \frac{c_2 c_3}{2}-\frac{c_2}{3}-\frac{c_3}{3}+\frac{1}{4} \right ) &= 0
  56. \end{align}
  57. Nun habe ich \href{http://www.wolframalpha.com/input/?i=(1%2F5+-+c%2F4+%2B+(b+(-3+%2B+4+c))%2F12)%2B+d*(3+-+4+c+%2B+b+(-4+%2B+6+c))%2F12%3D0}{Wolfram|Alpha} lösen lassen:
  58. \begin{align}
  59. c_2 &= \frac{6-\sqrt{6}}{10} \approx 0.355\\
  60. c_3 &= \frac{6+\sqrt{6}}{10} \approx 0.845
  61. \end{align}
  62. Wegen der Ordnungsbedingungen gilt nun:
  63. \begin{align}
  64. 1 &= b_1 + b_2 + b_3\\
  65. \frac{1}{2} &= b_2 \cdot \frac{6-\sqrt{6}}{10} + b_3 \cdot \frac{6+\sqrt{6}}{10}\\
  66. \frac{1}{3} &= b_2 \cdot \left (\frac{6-\sqrt{6}}{10} \right )^2 + b_3 \cdot \left (\frac{6+\sqrt{6}}{10} \right )^2\\
  67. \Leftrightarrow \frac{1}{3} - b_3 \cdot \left (\frac{6+\sqrt{6}}{10} \right )^2 &= b_2 \cdot \left (\frac{6-\sqrt{6}}{10} \right )^2\\
  68. \Leftrightarrow \frac{\frac{1}{3} - b_3 \cdot \left (\frac{6+\sqrt{6}}{10} \right )^2}{\left (\frac{6-\sqrt{6}}{10} \right )^2} &= b_2\\
  69. \Leftrightarrow b_2 &= \frac{100}{3 \cdot (6-\sqrt{6})^2} - b_3 \cdot \frac{(6+\sqrt{6})^2}{(6-\sqrt{6})^2}\\
  70. \Rightarrow \frac{1}{2} &= \left ( \frac{100}{3 \cdot (6-\sqrt{6})^2} - b_3 \cdot \frac{(6+\sqrt{6})^2}{(6-\sqrt{6})^2} \right ) \cdot \frac{6-\sqrt{6}}{10} + b_3 \cdot \frac{6+\sqrt{6}}{10}\\
  71. &= \left (\frac{10}{3 \cdot (6 - \sqrt{6})} - b_3 \cdot \frac{(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right ) + b_3 \cdot \frac{6+\sqrt{6}}{10}\\
  72. &= b_3 \cdot \left (\frac{6+\sqrt{6}}{10} - \frac{(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right ) + \frac{10}{3 \cdot (6 - \sqrt{6})}\\
  73. &= b_3 \cdot \left (\frac{30-(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right ) + \frac{10}{3 \cdot (6 - \sqrt{6})}\\
  74. \Leftrightarrow \frac{1}{2} - \frac{10}{3 \cdot (6 - \sqrt{6})} &= b_3 \cdot \left (\frac{30-(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right )\\
  75. \Leftrightarrow \frac{3 \cdot (6 - \sqrt{6}) - 20}{6\cdot (6 - \sqrt{6})} &= b_3 \cdot \left (\frac{30-(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right )\\
  76. \Leftrightarrow b_3 &= \frac{(3 \cdot (6 - \sqrt{6}) - 20) \cdot 10 \cdot (6 - \sqrt{6})}{6\cdot (6 - \sqrt{6}) \cdot (30-(6+\sqrt{6})^2)}\\
  77. &= \frac{(3 \cdot (6 - \sqrt{6}) - 20) \cdot 5}{3 \cdot (30-(6+\sqrt{6})^2)}\\
  78. &= \frac{15 \cdot (6 - \sqrt{6}) - 100}{90-3 \cdot (6+\sqrt{6})^2}\\
  79. &= \frac{16-\sqrt{6}}{36} \approx 0.3764\\
  80. b_2 &= \frac{16+\sqrt{6}}{36} \approx 0.5125\\
  81. \stackrel{\text{Ordnungsbedinung 1}}{\Rightarrow} b_1 &= \frac{1}{9}\\
  82. \frac{1}{4} &\stackrel{?}{=} \frac{16+\sqrt{6}}{36} \cdot \left (\frac{6-\sqrt{6}}{10} \right )^3 + \frac{16-\sqrt{6}}{36} \cdot \left (\frac{6+\sqrt{6}}{10} \right)^3 \text{ \cmark}\\
  83. \frac{1}{5} &\stackrel{?}{=} \frac{16+\sqrt{6}}{36} \cdot \left (\frac{6-\sqrt{6}}{10} \right )^4 + \frac{16-\sqrt{6}}{36} \cdot \left (\frac{6+\sqrt{6}}{10} \right)^4 \text{ \cmark}\\
  84. \frac{1}{6} &\stackrel{?}{=} \frac{16+\sqrt{6}}{36} \cdot \left (\frac{6-\sqrt{6}}{10} \right )^5 + \frac{16-\sqrt{6}}{36} \cdot \left (\frac{6+\sqrt{6}}{10} \right)^5 = \frac{33}{200} \text{ \xmark}
  85. \end{align}