Aufgabe5.tex 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 = 0$ 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. In dieser Aufgabe sind nur die symmetrischen QF, also die von Ordnung
  17. $p=4$ explizit anzugeben. Für die QF von Ordnung $p=5$ hätte man nur
  18. die Gewichte in Abhängigkeit der Knoten darstellen müssen und
  19. eine Bedinung nur an die Knoten herleiten müssen.
  20. \subsection*{Ordnung 4}
  21. Es gilt $g(x) = c$ für eine Konstante $c$, da $\text{Grad}(g(x))=0$ ist.
  22. Also ist \ref{a3} gleichbedeutend mit:
  23. \begin{align}
  24. \int_0^1 M(x) \cdot c \mathrm{d}x &= 0 \\
  25. \Leftrightarrow c \cdot \int_0^1 M(x) \mathrm{d}x &= 0 \\
  26. \Leftrightarrow \int_0^1 M(x) \mathrm{d}x &= 0 \\
  27. \Leftrightarrow \int_0^1 (x-c_1)(x-c_2)(x-c_3) \mathrm{d}x &= 0 \\
  28. \Leftrightarrow \frac{1}{4} - \frac{1}{3} \cdot (c_2 + c_3) + \frac{1}{2} \cdot c_2 \cdot c_3 &= 0 \\
  29. \Leftrightarrow \frac{\frac{1}{4} - \frac{1}{3} \cdot c_3}
  30. {\frac{1}{3} - \frac{1}{2} \cdot c_3} &= c_2
  31. \end{align}
  32. Natürlich müssen auch die Gewichte optimal gewählt werden. Dafür wird Satz 28 genutzt:
  33. Sei $b^T = (b_1, b_2, b_3)$ der Gewichtsvektor. Sei zudem $C :=
  34. \begin{pmatrix}
  35. {c_1}^0 & {c_2}^0 & {c_3}^0 \\
  36. {c_1}^1 & {c_2}^1 & {c_3}^1 \\
  37. {c_1}^2 & {c_2}^2 & {c_3}^2
  38. \end{pmatrix}
  39. $. \\
  40. Dann gilt: $C$ ist invertierbar und $b = C^{-1} \cdot
  41. \begin{pmatrix}
  42. 1 \\
  43. \frac{1}{2} \\
  44. \frac{1}{3}
  45. \end{pmatrix}
  46. $.
  47. Es gibt genau eine symmetrische QF in der Familie. Begründung: \\
  48. 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. \\
  49. Es handelt sich um die aus der Vorlesung bekannte Simpsonregel.
  50. \subsection*{Ordnung 5}
  51. Es gilt $g(x) = ax+c$ für Konstanten $a \neq 0, c$, da $\text{Grad}(g(x))=1$ ist.
  52. Also ist \ref{a3} gleichbedeutend mit:
  53. \begin{align}
  54. \int_0^1 M(x) \cdot (ax+c) \mathrm{d}x &= 0 \\
  55. \Leftrightarrow a \int_0^1 x M(x) \mathrm{d}x + c \int_0^1 M(x) \mathrm{d}x &= 0 \\
  56. \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 \\
  57. \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 \\
  58. \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 \\
  59. \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
  60. \end{align}
  61. 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:
  62. \begin{align}
  63. c_2 &= \frac{6-\sqrt{6}}{10} \approx 0.355\\
  64. c_3 &= \frac{6+\sqrt{6}}{10} \approx 0.845
  65. \end{align}
  66. Wegen der Ordnungsbedingungen gilt nun:
  67. \begin{align}
  68. 1 &= b_1 + b_2 + b_3\\
  69. \frac{1}{2} &= b_2 \cdot \frac{6-\sqrt{6}}{10} + b_3 \cdot \frac{6+\sqrt{6}}{10}\\
  70. \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\\
  71. \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\\
  72. \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\\
  73. \Leftrightarrow b_2 &= \frac{100}{3 \cdot (6-\sqrt{6})^2} - b_3 \cdot \frac{(6+\sqrt{6})^2}{(6-\sqrt{6})^2}\\
  74. \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}\\
  75. &= \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}\\
  76. &= 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})}\\
  77. &= b_3 \cdot \left (\frac{30-(6+\sqrt{6})^2}{10 \cdot (6 - \sqrt{6})} \right ) + \frac{10}{3 \cdot (6 - \sqrt{6})}\\
  78. \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 )\\
  79. \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 )\\
  80. \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)}\\
  81. &= \frac{(3 \cdot (6 - \sqrt{6}) - 20) \cdot 5}{3 \cdot (30-(6+\sqrt{6})^2)}\\
  82. &= \frac{15 \cdot (6 - \sqrt{6}) - 100}{90-3 \cdot (6+\sqrt{6})^2}\\
  83. \Aboxed{b_3 &= \frac{16-\sqrt{6}}{36}} \approx 0.3764\\
  84. \Aboxed{b_2 &= \frac{16+\sqrt{6}}{36}} \approx 0.5125\\
  85. \stackrel{\text{Ordnungsbedinung 1}}{\Rightarrow} \Aboxed{b_1 &= \frac{1}{9}}\\
  86. \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}\\
  87. \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}\\
  88. \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}
  89. \end{align}