0 Daumen
1,6k Aufrufe

Hallo ich habe eine Aufgabe :

Berechnen Sie mit Hilfe des Gram-Schmidt-Verfahrens eine Orthonormalbasis des Unterraums

U=[(1101),(2101),(2103)]U=[\begin{pmatrix} 1 \\ 1\\ 0\\ 1\end{pmatrix}, \begin{pmatrix} 2 \\ 1\\ 0\\ 1\end{pmatrix}, \begin{pmatrix} 2 \\ 1\\ 0\\ 3\end{pmatrix}]

Berechnen Sie das Element xU ∈ U welches den minimalen Abstand vom Vektor

x=(0110)x=\begin{pmatrix} 0 \\ 1 \\ 1 \\ 0 \end{pmatrix}

besitzt.

das mit vektor x verrwirt mich irgendwie KΓΆnnte mir jemand helfen ?

Avatar von

1 Antwort

+2 Daumen

Das soll wohl heißen:

xu soll so gewΓ€hlt werden, dass <x - xu, u> = 0 fΓΌr alle u βˆˆ U gilt.

Wenn du die ON-Basis hast, reicht es, wenn du fΓΌr jeden der 3 Basisvektoren

v1, v2, v3 nimmst und den Ansatz  xu = a*v1 + b*v2 + c*v3 #

Dann ist die erste Bedingung < x - (a*v1 + b*v2 + c*v3 ) , v1 > = 0

wegen der ON-Eigenschaft gibt das ja

x*v1 - a + 0 + 0 = 0   also    x*v1 = a

entsprechend x*v2=b  und x*v3=c.

Die Ergebnisse bei # einsetzen und du hast das xu.

Avatar von 289 k πŸš€

Ok ich habe das alles eingestzt und ich habe es so rausbekommen:

x*v1=a

(0110)βˆ—(1100)=(0100)=a\begin{pmatrix} 0 \\ 1\\ 1\\ 0\end{pmatrix}* \begin{pmatrix} 1 \\ 1\\ 0\\ 0\end{pmatrix} = \begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix} =a

x*v2=b

(0110)βˆ—(2101)=(0100)=b\begin{pmatrix} 0 \\ 1\\ 1\\ 0\end{pmatrix}* \begin{pmatrix} 2 \\ 1\\ 0\\ 1\end{pmatrix} = \begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix} =b

x*v3=c

(0110)βˆ—(2103)=(0100)=c\begin{pmatrix} 0 \\ 1\\ 1\\ 0\end{pmatrix}* \begin{pmatrix} 2 \\ 1\\ 0\\ 3\end{pmatrix} = \begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix} =c

also a=b=c

<x-xu,x>= 0 für alle u∈U

Bedingung:

<x-(a*v1+v*v2+c*v3),v1>=0

bei einsetzen kommt mir aber sowas raus

(0110)βˆ’((0100)+(0100)+(0100))βˆ—(1100)=(0110)βˆ’((0300)βˆ—(1100))=(0βˆ’200)\begin{pmatrix} 0 \\ 1\\ 1\\ 0\end{pmatrix}-( \begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix} + \begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix} +\begin{pmatrix} 0 \\ 1\\ 0\\ 0\end{pmatrix})*\begin{pmatrix} 1 \\ 1\\ 0\\ 0\end{pmatrix}= \begin{pmatrix} 0 \\ 1\\ 1\\ 0\end{pmatrix} - (\begin{pmatrix} 0 \\ 3\\ 0\\ 0\end{pmatrix}* \begin{pmatrix} 1 \\ 1\\ 0\\ 0\end{pmatrix} )= \begin{pmatrix} 0 \\ -2\\ 0\\ 0\end{pmatrix}

und das ist leider nicht =0 habe ich mich verrechnet  odeer habe ich was falsch verstanden ?

Du darfst nicht die Basisvekoren von UU verwenden, sondern die daraus generierte Orthonormalbasis.

(v1v2v3)=(1331360133βˆ’166βˆ’122000133βˆ’166122)\begin{pmatrix} v_1 & v_2 & v_3 \end{pmatrix} = \begin{pmatrix}\frac13 \sqrt{3}& \frac13 \sqrt{6}& 0\\ \frac13 \sqrt{3}& -\frac16 \sqrt{6}& - \frac12 \sqrt{2}\\ 0& 0& 0\\ \frac13 \sqrt{3}& -\frac16 \sqrt{6}& \frac12 \sqrt{2} \end{pmatrix}

Zum Beispiel xβ‹…v1=133x \cdot v_1 = \frac13 \sqrt{3}.

ahh und wie komme ich auf die ?

ahh und wie komme ich auf die ?

nach dem Gram-Schmidtschen Orthonormalisierungsverfahren. Soll ich Dir den Wikipedia-Eintrag abschreiben? Hier ist U=(w1w2w3)U = \begin{pmatrix} w_1 & w_2 & w_3\end{pmatrix}, βˆ₯w1βˆ₯=w1Tβ‹…w1\| w_1\| = \sqrt{w_1^T \cdot w_1}  und das ⟨v1,w2⟩\langle v_1, w_2\rangle ist das Skalarprodukt v1Tβ‹…w2v_1^T \cdot w_2.

Was genau ist Dir nicht klar?

Ein anderes Problem?

Stell deine Frage