0 Daumen
676 Aufrufe

habe eine Aufgabe mit dem Ausgleichspolynom 3 Grades gerechnet und mein Ergebnis ist leider falsch kann mir jemand sagen was ich da falsch gemacht habe?

Rauskommen soll 1/3x^3 + 1/7 x^2 +5/3x + 53/14

Daaaanke :)

image.jpg

Avatar von

die ersten 8 Zeilen nach der Wertetabelle, was genau rechnest du da?
Irgendwie fehlt da eine Gleichung, du suchst 4 Koeffizienten, hast aber nur 3 Gleichungen.

http://www.abi-mathe.de/buch/matrizen/methode-der-kleinsten-quadrate/

1 Antwort

+1 Daumen

Hallo


Ansatz:$$f(x) = ax^3 + bx^2 + cx + d \\ \\f(-2) = -7\\-8a + 4b -2c + d = -7\\f(-1) = -4\\-a + b - c + d = -4\\f(0) = -1\\ax^3 + bx^2 + cx + d = -1\\d = -1\\f(1) = 0\\a + b + c + d = 0\\f(2) = 5\\8a + 4b + 2c + d = 5\\$$
$$Ax = b \\  \begin{pmatrix} -8& 4 & -2 & 1\\ -1& 1 & -1 & 1\\0 &0  &0  &1 \\1 & 1 &1  &1\\8 & 4 &2  &1\end{pmatrix}  \begin{pmatrix}a\\b\\c\\d\end{pmatrix} = \begin{pmatrix}-7\\-4\\-1\\0\\5\end{pmatrix} \\A^TAx = A^Tb \\\begin{pmatrix} -8&-1  & 0 &1&8\\4  & 1 & 0&1&4\\-2  & -1 & 0&1&2\\1  & 1 & 1&1&1\end{pmatrix} \begin{pmatrix} -8& 4 & -2 & 1\\ -1& 1 & -1 & 1\\0 &0  &0  &1 \\1 & 1 &1  &1\\8 & 4 &2  &1\end{pmatrix}  \begin{pmatrix}a\\b\\c\\d\end{pmatrix} = \begin{pmatrix} -8&-1  & 0 &1&8\\4  & 1 & 0&1&4\\-2  & -1 & 0&1&2\\1  & 1 & 1&1&1\end{pmatrix}\begin{pmatrix}-7\\-4\\-1\\0\\5\end{pmatrix} \\\begin{pmatrix}130 & 0 &34&0 \\0  &  34&0&10 \\34  &0  &10&0\\0  &10  &0&5 \end{pmatrix} \begin{pmatrix}a\\b\\c\\d\end{pmatrix} = \begin{pmatrix} 100\\-12 \\28 \\-7 \end{pmatrix} \\\Rightarrow LGS \\\Rightarrow \\130a + 34c = 100 \\34b + 10d = -12 \\34a + 10c = 28 \\10b + 5d = -7 \\\Rightarrow \\a = \frac{1}{3}, \ b=\frac{1}{7}, \ c = \frac{5}{3}, \ d=-\frac{59}{35}$$ $$f(x) = \frac{1}{3}x^3 + \frac{1}{7}x^2 + \frac{5}{3}x - \frac{59}{35}$$
ausgleichspolynom.jpg


Grüße

Avatar von 11 k

Ein anderes Problem?

Stell deine Frage

Willkommen bei der Mathelounge! Stell deine Frage einfach und kostenlos

x
Made by a lovely community