Tartalomjegyzék
feladat – Műveletek mátrixokkal
feladat – Lineáris egyenletrendszerek
Megoldások
1. feladat – Műveletek mátrixokkal
1.1 Mátrixműveletek értelmezhetősége
A mátrixműveletek értelmezhetősége a mátrixok méretétől függ. Összeadás és kivonás csak azonos méretű mátrixok között lehetséges.
Skalárral való szorzás minden mátrix esetén értelmezhető. Mátrixszorzás esetén az első mátrix oszlopainak száma megegyezik a második mátrix sorméreteivel.
Transzponálás minden mátrix esetén értelmezhető, és az eredményül kapott mátrix mérete felcseréli az eredeti mátrix sor- és oszlopméreteit 1 .
📝 A + B = ( 1 − 2 3 4 ) + ( 2 1 3 0 ) = ( 3 − 1 6 4 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} = \begin{pmatrix} 3 & -1 \\ 6 & 4 \end{pmatrix} ( 1 3 − 2 4 ) + ( 2 3 1 0 ) = ( 3 6 − 1 4 ) 3
1.2 Feladatok és megoldások
Az alábbiakban a megadott mátrixokkal és vektorokkal végezhető műveletek eredményei, illetve az értelmezhetetlen műveletek jelzései láthatók.
A = ( 1 − 2 3 4 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} ( 1 3 − 2 4 ) , B = ( 2 1 3 0 ) \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} ( 2 3 1 0 ) , D = ( 0 − 3 1 2 ) \begin{pmatrix} 0 & -3 \\ 1 & 2 \end{pmatrix} ( 0 1 − 3 2 ) , C = ( 1 3 4 1 ) \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} ( 1 4 3 1 ) , E = ( 3 1 ) \begin{pmatrix} 3 \\ 1 \end{pmatrix} ( 3 1 ) , u = ( 1 − 2 3 ) \begin{pmatrix} 1 \\ -2 \\ 3 \end{pmatrix} 1 − 2 3 , v = ( − 2 3 ) \begin{pmatrix} -2 \\ 3 \end{pmatrix} ( − 2 3 ) 1 .
1.3 Mátrixösszeadás és -kivonás
A + B : A és B azonos méretű (2x2) mátrixok, így összeadásuk értelmezhető.
A + B = ( 1 − 2 3 4 ) + ( 2 1 3 0 ) = ( 3 − 1 6 4 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} = \begin{pmatrix} 3 & -1 \\ 6 & 4 \end{pmatrix} ( 1 3 − 2 4 ) + ( 2 3 1 0 ) = ( 3 6 − 1 4 ) .
3A - 2B : A és B azonos méretű (2x2) mátrixok, így skalárral szorozva és kivonva is értelmezhető.
3A - 2B = 3 ( 1 − 2 3 4 ) − 2 ( 2 1 3 0 ) = ( 3 − 6 9 12 ) − ( 4 2 6 0 ) = ( − 1 − 8 3 12 ) 3 \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} - 2 \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} = \begin{pmatrix} 3 & -6 \\ 9 & 12 \end{pmatrix} - \begin{pmatrix} 4 & 2 \\ 6 & 0 \end{pmatrix} = \begin{pmatrix} -1 & -8 \\ 3 & 12 \end{pmatrix} 3 ( 1 3 − 2 4 ) − 2 ( 2 3 1 0 ) = ( 3 9 − 6 12 ) − ( 4 6 2 0 ) = ( − 1 3 − 8 12 ) 3 .
A + C : A és C azonos méretű (2x2) mátrixok, így összeadásuk értelmezhető.
A + C = ( 1 − 2 3 4 ) + ( 1 3 4 1 ) = ( 2 1 7 5 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} = \begin{pmatrix} 2 & 1 \\ 7 & 5 \end{pmatrix} ( 1 3 − 2 4 ) + ( 1 4 3 1 ) = ( 2 7 1 5 ) .
u + v : u egy 3x1-es oszlopvektor, v egy 2x1-es oszlopvektor. Méretük nem egyezik, így az összeadás nem értelmezhető 4 .
1.4 Mátrixszorzás
AB : A (2x2) és B (2x2). Az első mátrix oszlopainak száma megegyezik a második mátrix sorainak számával így a szorzás értelmezhető.
AB = ( 1 − 2 3 4 ) ( 2 1 3 0 ) = ( 1 ⋅ 2 + ( − 2 ) ⋅ 3 1 ⋅ 1 + ( − 2 ) ⋅ 0 3 ⋅ 2 + 4 ⋅ 3 3 ⋅ 1 + 4 ⋅ 0 ) = ( − 4 1 18 3 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} = \begin{pmatrix} 1 \cdot 2 + (-2) \cdot 3 & 1 \cdot 1 + (-2) \cdot 0 \\ 3 \cdot 2 + 4 \cdot 3 & 3 \cdot 1 + 4 \cdot 0 \end{pmatrix} = \begin{pmatrix} -4 & 1 \\ 18 & 3 \end{pmatrix} ( 1 3 − 2 4 ) ( 2 3 1 0 ) = ( 1 ⋅ 2 + ( − 2 ) ⋅ 3 3 ⋅ 2 + 4 ⋅ 3 1 ⋅ 1 + ( − 2 ) ⋅ 0 3 ⋅ 1 + 4 ⋅ 0 ) = ( − 4 18 1 3 ) .
CE : C (2x2) és E (2x1). Az első mátrix oszlopainak száma megegyezik a második mátrix sorainak számával így a szorzás értelmezhető.
CE = ( 1 3 4 1 ) ( 3 1 ) = ( 1 ⋅ 3 + 3 ⋅ 1 4 ⋅ 3 + 1 ⋅ 1 ) = ( 6 13 ) \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} \begin{pmatrix} 3 \\ 1 \end{pmatrix} = \begin{pmatrix} 1 \cdot 3 + 3 \cdot 1 \\ 4 \cdot 3 + 1 \cdot 1 \end{pmatrix} = \begin{pmatrix} 6 \\ 13 \end{pmatrix} ( 1 4 3 1 ) ( 3 1 ) = ( 1 ⋅ 3 + 3 ⋅ 1 4 ⋅ 3 + 1 ⋅ 1 ) = ( 6 13 ) .
uv : u (3x1) és v (2x1). Az első mátrix oszlopainak száma nem egyezik meg a második mátrix sorainak számával így a szorzás nem értelmezhető.
vu : v (2x1) és u (3x1). Az első mátrix oszlopainak száma nem egyezik meg a második mátrix sorainak számával így a szorzás nem értelmezhető.
Cv : C (2x2) és v (2x1). Az első mátrix oszlopainak száma megegyezik a második mátrix sorainak számával így a szorzás értelmezhető.
Cv = ( 1 3 4 1 ) ( − 2 3 ) = ( 1 ⋅ ( − 2 ) + 3 ⋅ 3 4 ⋅ ( − 2 ) + 1 ⋅ 3 ) = ( 7 − 5 ) \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} \begin{pmatrix} -2 \\ 3 \end{pmatrix} = \begin{pmatrix} 1 \cdot (-2) + 3 \cdot 3 \\ 4 \cdot (-2) + 1 \cdot 3 \end{pmatrix} = \begin{pmatrix} 7 \\ -5 \end{pmatrix} ( 1 4 3 1 ) ( − 2 3 ) = ( 1 ⋅ ( − 2 ) + 3 ⋅ 3 4 ⋅ ( − 2 ) + 1 ⋅ 3 ) = ( 7 − 5 ) .
uE : u (3x1) és E (2x1). Az első mátrix oszlopainak száma nem egyezik meg a második mátrix sorainak számával így a szorzás nem értelmezhető 1 4 .
CA : C (2x2) és A (2x2). Az első mátrix oszlopainak száma megegyezik a második mátrix sorainak számával így a szorzás értelmezhető 2 .
CA = ( 1 3 4 1 ) ( 1 − 2 3 4 ) = ( 1 ⋅ 1 + 3 ⋅ 3 1 ⋅ ( − 2 ) + 3 ⋅ 4 4 ⋅ 1 + 1 ⋅ 3 4 ⋅ ( − 2 ) + 1 ⋅ 4 ) = ( 10 10 7 − 4 ) \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 1 \cdot 1 + 3 \cdot 3 & 1 \cdot (-2) + 3 \cdot 4 \\ 4 \cdot 1 + 1 \cdot 3 & 4 \cdot (-2) + 1 \cdot 4 \end{pmatrix} = \begin{pmatrix} 10 & 10 \\ 7 & -4 \end{pmatrix} ( 1 4 3 1 ) ( 1 3 − 2 4 ) = ( 1 ⋅ 1 + 3 ⋅ 3 4 ⋅ 1 + 1 ⋅ 3 1 ⋅ ( − 2 ) + 3 ⋅ 4 4 ⋅ ( − 2 ) + 1 ⋅ 4 ) = ( 10 7 10 − 4 ) 3 .
1.5 Transzponálás és kombinált műveletek
DT + 4AB : D (2x2), így DT (2x2). AB (2x2). A transzponált D és 4AB azonos méretűek, így összeadásuk értelmezhető.
DT = ( 0 1 − 3 2 ) \begin{pmatrix} 0 & 1 \\ -3 & 2 \end{pmatrix} ( 0 − 3 1 2 ) . 4AB = 4 ( − 4 1 18 3 ) = ( − 16 4 72 12 ) 4 \begin{pmatrix} -4 & 1 \\ 18 & 3 \end{pmatrix} = \begin{pmatrix} -16 & 4 \\ 72 & 12 \end{pmatrix} 4 ( − 4 18 1 3 ) = ( − 16 72 4 12 ) .
DT + 4AB = ( 0 1 − 3 2 ) + ( − 16 4 72 12 ) = ( − 16 5 69 14 ) \begin{pmatrix} 0 & 1 \\ -3 & 2 \end{pmatrix} + \begin{pmatrix} -16 & 4 \\ 72 & 12 \end{pmatrix} = \begin{pmatrix} -16 & 5 \\ 69 & 14 \end{pmatrix} ( 0 − 3 1 2 ) + ( − 16 72 4 12 ) = ( − 16 69 5 14 ) .
AT B - D : A (2x2), így AT (2x2). AT (2x2) és B (2x2). A szorzat ATB (2x2). ATB és D azonos méretűek, így kivonásuk értelmezhető.
AT = ( 1 3 − 2 4 ) \begin{pmatrix} 1 & 3 \\ -2 & 4 \end{pmatrix} ( 1 − 2 3 4 ) . ATB = ( 1 3 − 2 4 ) ( 2 1 3 0 ) = ( 1 ⋅ 2 + 3 ⋅ 3 1 ⋅ 1 + 3 ⋅ 0 − 2 ⋅ 2 + 4 ⋅ 3 − 2 ⋅ 1 + 4 ⋅ 0 ) = ( 11 1 8 − 2 ) \begin{pmatrix} 1 & 3 \\ -2 & 4 \end{pmatrix} \begin{pmatrix} 2 & 1 \\ 3 & 0 \end{pmatrix} = \begin{pmatrix} 1 \cdot 2 + 3 \cdot 3 & 1 \cdot 1 + 3 \cdot 0 \\ -2 \cdot 2 + 4 \cdot 3 & -2 \cdot 1 + 4 \cdot 0 \end{pmatrix} = \begin{pmatrix} 11 & 1 \\ 8 & -2 \end{pmatrix} ( 1 − 2 3 4 ) ( 2 3 1 0 ) = ( 1 ⋅ 2 + 3 ⋅ 3 − 2 ⋅ 2 + 4 ⋅ 3 1 ⋅ 1 + 3 ⋅ 0 − 2 ⋅ 1 + 4 ⋅ 0 ) = ( 11 8 1 − 2 ) .
AT B - D = ( 11 1 8 − 2 ) − ( 0 − 3 1 2 ) = ( 11 4 7 − 4 ) \begin{pmatrix} 11 & 1 \\ 8 & -2 \end{pmatrix} - \begin{pmatrix} 0 & -3 \\ 1 & 2 \end{pmatrix} = \begin{pmatrix} 11 & 4 \\ 7 & -4 \end{pmatrix} ( 11 8 1 − 2 ) − ( 0 1 − 3 2 ) = ( 11 7 4 − 4 ) .
CT + E : C (2x2), így CT (2x2). CT (2x2) és E (2x1). Méretük nem egyezik, így az összeadás nem értelmezhető.
2C - AET : C (2x2), így 2C (2x2). A (2x2), E (2x1), T jelölés hiányzik, feltételezve, hogy E transzponáltját jelenti ET (1x2). Az AET szorzás értelmezhető (2x2 * 1x2 -> nem értelmezhető). Ha ET az E transzponáltja, akkor ET = (3 1). Az AET szorzás: A (2x2) * ET (1x2) -> nem értelmezhető. Ha E egy 1x2-es mátrix lenne, akkor ET 2x1 lenne. A feladatban E egy 2x1-es oszlopvektor. Feltételezve, hogy a feladatban tévesen szerepel az ET, és az A*E műveletet kellene végezni, ami 2x2 * 2x1 -> 2x1.
AET nem értelmezhető a megadott mátrixméretekkel.
uv : u (3x1) és v (2x1). A szorzás nem értelmezhető.
vu : v (2x1) és u (3x1). A szorzás nem értelmezhető.
CA : C (2x2) és A (2x2). A szorzás értelmezhető.
CA = ( 1 3 4 1 ) ( 1 − 2 3 4 ) = ( 1 ⋅ 1 + 3 ⋅ 3 1 ⋅ ( − 2 ) + 3 ⋅ 4 4 ⋅ 1 + 1 ⋅ 3 4 ⋅ ( − 2 ) + 1 ⋅ 4 ) = ( 10 10 7 − 4 ) \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 1 \cdot 1 + 3 \cdot 3 & 1 \cdot (-2) + 3 \cdot 4 \\ 4 \cdot 1 + 1 \cdot 3 & 4 \cdot (-2) + 1 \cdot 4 \end{pmatrix} = \begin{pmatrix} 10 & 10 \\ 7 & -4 \end{pmatrix} ( 1 4 3 1 ) ( 1 3 − 2 4 ) = ( 1 ⋅ 1 + 3 ⋅ 3 4 ⋅ 1 + 1 ⋅ 3 1 ⋅ ( − 2 ) + 3 ⋅ 4 4 ⋅ ( − 2 ) + 1 ⋅ 4 ) = ( 10 7 10 − 4 ) 3 .
A + C : A (2x2) és C (2x2). Az összeadás értelmezhető.
A + C = ( 1 − 2 3 4 ) + ( 1 3 4 1 ) = ( 2 1 7 5 ) \begin{pmatrix} 1 & -2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 1 & 3 \\ 4 & 1 \end{pmatrix} = \begin{pmatrix} 2 & 1 \\ 7 & 5 \end{pmatrix} ( 1 3 − 2 4 ) + ( 1 4 3 1 ) = ( 2 7 1 5 ) .
u + v : u (3x1) és v (2x1). Az összeadás nem értelmezhető.
(AB)T - BT AT :
(AB)T = ( − 4 1 18 3 ) T = ( − 4 18 1 3 ) \begin{pmatrix} -4 & 1 \\ 18 & 3 \end{pmatrix}^T = \begin{pmatrix} -4 & 18 \\ 1 & 3 \end{pmatrix} ( − 4 18 1 3 ) T = ( − 4 1 18 3 ) . BT = ( 2 3 1 0 ) \begin{pmatrix} 2 & 3 \\ 1 & 0 \end{pmatrix} ( 2 1 3 0 ) .
AT = ( 1 3 − 2 4 ) \begin{pmatrix} 1 & 3 \\ -2 & 4 \end{pmatrix} ( 1 − 2 3 4 ) . BT AT = ( 2 3 1 0 ) ( 1 3 − 2 4 ) = ( 2 ⋅ 1 + 3 ⋅ ( − 2 ) 2 ⋅ 3 + 3 ⋅ 4 1 ⋅ 1 + 0 ⋅ ( − 2 ) 1 ⋅ 3 + 0 ⋅ 4 ) = ( − 4 18 1 3 ) \begin{pmatrix} 2 & 3 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} 1 & 3 \\ -2 & 4 \end{pmatrix} = \begin{pmatrix} 2 \cdot 1 + 3 \cdot (-2) & 2 \cdot 3 + 3 \cdot 4 \\ 1 \cdot 1 + 0 \cdot (-2) & 1 \cdot 3 + 0 \cdot 4 \end{pmatrix} = \begin{pmatrix} -4 & 18 \\ 1 & 3 \end{pmatrix} ( 2 1 3 0 ) ( 1 − 2 3 4 ) = ( 2 ⋅ 1 + 3 ⋅ ( − 2 ) 1 ⋅ 1 + 0 ⋅ ( − 2 ) 2 ⋅ 3 + 3 ⋅ 4 1 ⋅ 3 + 0 ⋅ 4 ) = ( − 4 1 18 3 ) .
(AB)T - BT AT = ( − 4 18 1 3 ) − ( − 4 18 1 3 ) = ( 0 0 0 0 ) \begin{pmatrix} -4 & 18 \\ 1 & 3 \end{pmatrix} - \begin{pmatrix} -4 & 18 \\ 1 & 3 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} ( − 4 1 18 3 ) − ( − 4 1 18 3 ) = ( 0 0 0 0 ) 4 .
2. feladat – Lineáris egyenletrendszerek
2.1 Gauss-elimináció
A Gauss-elimináció egy módszer lineáris egyenletrendszerek megoldására. Az egyenletrendszer kibővített mátrixát használva elemi sorműveletekkel (sorok cseréje, sor szorzása skalárral, sor skalárral szorozva egy másik sorhoz adása) átalakítjuk a mátrixot lépcsős alakra, majd visszafejtjük a megoldásokat 2 .
2.2 Megoldott egyenletrendszerek
📝 { x + y − z = 2 2 x − y + z = 1 3 x + y + 2 z = 7 \begin{cases} x + y - z = 2 \\ 2x - y + z = 1 \\ 3x + y + 2z = 7 \end{cases} ⎩ ⎨ ⎧ x + y − z = 2 2 x − y + z = 1 3 x + y + 2 z = 7 A megoldás ( x , y , z ) = ( 1 , 2 , 1 ) (x, y, z) = (1, 2, 1) ( x , y , z ) = ( 1 , 2 , 1 ) 4 .
2.3 Első egyenletrendszer
{ x + y − z = 2 2 x − y + z = 1 3 x + y + 2 z = 7 \begin{cases} x + y - z = 2 \\ 2x - y + z = 1 \\ 3x + y + 2z = 7 \end{cases} ⎩ ⎨ ⎧ x + y − z = 2 2 x − y + z = 1 3 x + y + 2 z = 7
A kibővített mátrix: ( 1 1 − 1 ∣ 2 2 − 1 1 ∣ 1 3 1 2 ∣ 7 ) \begin{pmatrix} 1 & 1 & -1 & | & 2 \\ 2 & -1 & 1 & | & 1 \\ 3 & 1 & 2 & | & 7 \end{pmatrix} 1 2 3 1 − 1 1 − 1 1 2 ∣ ∣ ∣ 2 1 7
Elemi sorműveletekkel lépcsős alakra hozva: S 2 ← S 2 − 2 S 1 S_2 \leftarrow S_2 - 2S_1 S 2 ← S 2 − 2 S 1 , S 3 ← S 3 − 3 S 1 S_3 \leftarrow S_3 - 3S_1 S 3 ← S 3 − 3 S 1 ( 1 1 − 1 ∣ 2 0 − 3 3 ∣ − 3 0 − 2 5 ∣ 1 ) \begin{pmatrix} 1 & 1 & -1 & | & 2 \\ 0 & -3 & 3 & | & -3 \\ 0 & -2 & 5 & | & 1 \end{pmatrix} 1 0 0 1 − 3 − 2 − 1 3 5 ∣ ∣ ∣ 2 − 3 1
S 2 ← − 1 3 S 2 S_2 \leftarrow -\frac{1}{3}S_2 S 2 ← − 3 1 S 2 ( 1 1 − 1 ∣ 2 0 1 − 1 ∣ 1 0 − 2 5 ∣ 1 ) \begin{pmatrix} 1 & 1 & -1 & | & 2 \\ 0 & 1 & -1 & | & 1 \\ 0 & -2 & 5 & | & 1 \end{pmatrix} 1 0 0 1 1 − 2 − 1 − 1 5 ∣ ∣ ∣ 2 1 1
S 3 ← S 3 + 2 S 2 S_3 \leftarrow S_3 + 2S_2 S 3 ← S 3 + 2 S 2 ( 1 1 − 1 ∣ 2 0 1 − 1 ∣ 1 0 0 3 ∣ 3 ) \begin{pmatrix} 1 & 1 & -1 & | & 2 \\ 0 & 1 & -1 & | & 1 \\ 0 & 0 & 3 & | & 3 \end{pmatrix} 1 0 0 1 1 0 − 1 − 1 3 ∣ ∣ ∣ 2 1 3
S 3 ← 1 3 S 3 S_3 \leftarrow \frac{1}{3}S_3 S 3 ← 3 1 S 3 ( 1 1 − 1 ∣ 2 0 1 − 1 ∣ 1 0 0 1 ∣ 1 ) \begin{pmatrix} 1 & 1 & -1 & | & 2 \\ 0 & 1 & -1 & | & 1 \\ 0 & 0 & 1 & | & 1 \end{pmatrix} 1 0 0 1 1 0 − 1 − 1 1 ∣ ∣ ∣ 2 1 1
Visszafejtés: z = 1 z = 1 z = 1 y − z = 1 ⟹ y − 1 = 1 ⟹ y = 2 y - z = 1 \implies y - 1 = 1 \implies y = 2 y − z = 1 ⟹ y − 1 = 1 ⟹ y = 2 x + y − z = 2 ⟹ x + 2 − 1 = 2 ⟹ x = 1 x + y - z = 2 \implies x + 2 - 1 = 2 \implies x = 1 x + y − z = 2 ⟹ x + 2 − 1 = 2 ⟹ x = 1
Megoldás: ( x , y , z ) = ( 1 , 2 , 1 ) (x, y, z) = (1, 2, 1) ( x , y , z ) = ( 1 , 2 , 1 ) 4 .
📝 { x + y + z = 0 2 x − y + z = 0 3 x + 2 z = 0 \begin{cases} x + y + z = 0 \\ 2x - y + z = 0 \\ 3x + 2z = 0 \end{cases} ⎩ ⎨ ⎧ x + y + z = 0 2 x − y + z = 0 3 x + 2 z = 0 A megoldás ( x , y , z ) = ( − 2 t 3 , − t 3 , t ) (x, y, z) = (-\frac{2t}{3}, -\frac{t}{3}, t) ( x , y , z ) = ( − 3 2 t , − 3 t , t ) , t ∈ R t \in \mathbb{R} t ∈ R 4 .
2.4 Második egyenletrendszer
{ x + y + z = 0 2 x − y + z = 0 3 x + 2 z = 0 \begin{cases} x + y + z = 0 \\ 2x - y + z = 0 \\ 3x + 2z = 0 \end{cases} ⎩ ⎨ ⎧ x + y + z = 0 2 x − y + z = 0 3 x + 2 z = 0
Kibővített mátrix: ( 1 1 1 ∣ 0 2 − 1 1 ∣ 0 3 0 2 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & | & 0 \\ 2 & -1 & 1 & | & 0 \\ 3 & 0 & 2 & | & 0 \end{pmatrix} 1 2 3 1 − 1 0 1 1 2 ∣ ∣ ∣ 0 0 0
Elemi sorműveletek: S 2 ← S 2 − 2 S 1 S_2 \leftarrow S_2 - 2S_1 S 2 ← S 2 − 2 S 1 , S 3 ← S 3 − 3 S 1 S_3 \leftarrow S_3 - 3S_1 S 3 ← S 3 − 3 S 1 ( 1 1 1 ∣ 0 0 − 3 − 1 ∣ 0 0 − 3 − 1 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & | & 0 \\ 0 & -3 & -1 & | & 0 \\ 0 & -3 & -1 & | & 0 \end{pmatrix} 1 0 0 1 − 3 − 3 1 − 1 − 1 ∣ ∣ ∣ 0 0 0
S 3 ← S 3 − S 2 S_3 \leftarrow S_3 - S_2 S 3 ← S 3 − S 2 ( 1 1 1 ∣ 0 0 − 3 − 1 ∣ 0 0 0 0 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & | & 0 \\ 0 & -3 & -1 & | & 0 \\ 0 & 0 & 0 & | & 0 \end{pmatrix} 1 0 0 1 − 3 0 1 − 1 0 ∣ ∣ ∣ 0 0 0
A harmadik sor csupa nulla, ami azt jelenti, hogy a rendszernek végtelen sok megoldása van (paraméteres). Legyen z = t z = t z = t , ahol t ∈ R t \in \mathbb{R} t ∈ R .
− 3 y − z = 0 ⟹ − 3 y − t = 0 ⟹ y = − t 3 -3y - z = 0 \implies -3y - t = 0 \implies y = -\frac{t}{3} − 3 y − z = 0 ⟹ − 3 y − t = 0 ⟹ y = − 3 t . x + y + z = 0 ⟹ x − t 3 + t = 0 ⟹ x = − 2 t 3 x + y + z = 0 \implies x - \frac{t}{3} + t = 0 \implies x = -\frac{2t}{3} x + y + z = 0 ⟹ x − 3 t + t = 0 ⟹ x = − 3 2 t .
Megoldás: ( x , y , z ) = ( − 2 t 3 , − t 3 , t ) (x, y, z) = (-\frac{2t}{3}, -\frac{t}{3}, t) ( x , y , z ) = ( − 3 2 t , − 3 t , t ) , t ∈ R t \in \mathbb{R} t ∈ R 4 .
2.5 Harmadik egyenletrendszer
{ x 1 + x 2 + x 3 + x 4 = 4 x 1 − x 2 + x 3 − x 4 = 0 2 x 1 + x 3 = 3 \begin{cases} x_1 + x_2 + x_3 + x_4 = 4 \\ x_1 - x_2 + x_3 - x_4 = 0 \\ 2x_1 + x_3 = 3 \end{cases} ⎩ ⎨ ⎧ x 1 + x 2 + x 3 + x 4 = 4 x 1 − x 2 + x 3 − x 4 = 0 2 x 1 + x 3 = 3
Kibővített mátrix: ( 1 1 1 1 ∣ 4 1 − 1 1 − 1 ∣ 0 2 0 1 0 ∣ 3 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 4 \\ 1 & -1 & 1 & -1 & | & 0 \\ 2 & 0 & 1 & 0 & | & 3 \end{pmatrix} 1 1 2 1 − 1 0 1 1 1 1 − 1 0 ∣ ∣ ∣ 4 0 3
Elemi sorműveletek: S 2 ← S 2 − S 1 S_2 \leftarrow S_2 - S_1 S 2 ← S 2 − S 1 , S 3 ← S 3 − 2 S 1 S_3 \leftarrow S_3 - 2S_1 S 3 ← S 3 − 2 S 1 ( 1 1 1 1 ∣ 4 0 − 2 0 − 2 ∣ − 4 0 − 2 − 1 − 2 ∣ − 5 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 4 \\ 0 & -2 & 0 & -2 & | & -4 \\ 0 & -2 & -1 & -2 & | & -5 \end{pmatrix} 1 0 0 1 − 2 − 2 1 0 − 1 1 − 2 − 2 ∣ ∣ ∣ 4 − 4 − 5
S 2 ← − 1 2 S 2 S_2 \leftarrow -\frac{1}{2}S_2 S 2 ← − 2 1 S 2 ( 1 1 1 1 ∣ 4 0 1 0 1 ∣ 2 0 − 2 − 1 − 2 ∣ − 5 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 4 \\ 0 & 1 & 0 & 1 & | & 2 \\ 0 & -2 & -1 & -2 & | & -5 \end{pmatrix} 1 0 0 1 1 − 2 1 0 − 1 1 1 − 2 ∣ ∣ ∣ 4 2 − 5
S 3 ← S 3 + 2 S 2 S_3 \leftarrow S_3 + 2S_2 S 3 ← S 3 + 2 S 2 ( 1 1 1 1 ∣ 4 0 1 0 1 ∣ 2 0 0 − 1 0 ∣ − 1 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 4 \\ 0 & 1 & 0 & 1 & | & 2 \\ 0 & 0 & -1 & 0 & | & -1 \end{pmatrix} 1 0 0 1 1 0 1 0 − 1 1 1 0 ∣ ∣ ∣ 4 2 − 1
S 3 ← − S 3 S_3 \leftarrow -S_3 S 3 ← − S 3 ( 1 1 1 1 ∣ 4 0 1 0 1 ∣ 2 0 0 1 0 ∣ 1 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 4 \\ 0 & 1 & 0 & 1 & | & 2 \\ 0 & 0 & 1 & 0 & | & 1 \end{pmatrix} 1 0 0 1 1 0 1 0 1 1 1 0 ∣ ∣ ∣ 4 2 1
Visszafejtés: x 3 = 1 x_3 = 1 x 3 = 1 x 2 + x 4 = 2 x_2 + x_4 = 2 x 2 + x 4 = 2 . Legyen x 4 = t x_4 = t x 4 = t , ahol t ∈ R t \in \mathbb{R} t ∈ R .
Ekkor x 2 = 2 − t x_2 = 2 - t x 2 = 2 − t . x 1 + x 2 + x 3 + x 4 = 4 ⟹ x 1 + ( 2 − t ) + 1 + t = 4 ⟹ x 1 + 3 = 4 ⟹ x 1 = 1 x_1 + x_2 + x_3 + x_4 = 4 \implies x_1 + (2-t) + 1 + t = 4 \implies x_1 + 3 = 4 \implies x_1 = 1 x 1 + x 2 + x 3 + x 4 = 4 ⟹ x 1 + ( 2 − t ) + 1 + t = 4 ⟹ x 1 + 3 = 4 ⟹ x 1 = 1 .
Megoldás: ( x 1 , x 2 , x 3 , x 4 ) = ( 1 , 2 − t , 1 , t ) (x_1, x_2, x_3, x_4) = (1, 2-t, 1, t) ( x 1 , x 2 , x 3 , x 4 ) = ( 1 , 2 − t , 1 , t ) , t ∈ R t \in \mathbb{R} t ∈ R 4 .
2.6 Negyedik egyenletrendszer
{ x 1 + x 2 + x 3 + x 4 + x 5 = 0 x 1 − x 2 + x 3 − x 4 + x 5 = 0 x 1 + x 2 − x 3 + x 4 − x 5 = 0 \begin{cases} x_1 + x_2 + x_3 + x_4 + x_5 = 0 \\ x_1 - x_2 + x_3 - x_4 + x_5 = 0 \\ x_1 + x_2 - x_3 + x_4 - x_5 = 0 \end{cases} ⎩ ⎨ ⎧ x 1 + x 2 + x 3 + x 4 + x 5 = 0 x 1 − x 2 + x 3 − x 4 + x 5 = 0 x 1 + x 2 − x 3 + x 4 − x 5 = 0
Kibővített mátrix: ( 1 1 1 1 1 ∣ 0 1 − 1 1 − 1 1 ∣ 0 1 1 − 1 1 − 1 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & 1 & 1 & | & 0 \\ 1 & -1 & 1 & -1 & 1 & | & 0 \\ 1 & 1 & -1 & 1 & -1 & | & 0 \end{pmatrix} 1 1 1 1 − 1 1 1 1 − 1 1 − 1 1 1 1 − 1 ∣ ∣ ∣ 0 0 0
Elemi sorműveletek: S 2 ← S 2 − S 1 S_2 \leftarrow S_2 - S_1 S 2 ← S 2 − S 1 , S 3 ← S 3 − S 1 S_3 \leftarrow S_3 - S_1 S 3 ← S 3 − S 1 ( 1 1 1 1 1 ∣ 0 0 − 2 0 − 2 0 ∣ 0 0 0 − 2 0 − 2 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & 1 & 1 & | & 0 \\ 0 & -2 & 0 & -2 & 0 & | & 0 \\ 0 & 0 & -2 & 0 & -2 & | & 0 \end{pmatrix} 1 0 0 1 − 2 0 1 0 − 2 1 − 2 0 1 0 − 2 ∣ ∣ ∣ 0 0 0
S 2 ← − 1 2 S 2 S_2 \leftarrow -\frac{1}{2}S_2 S 2 ← − 2 1 S 2 , S 3 ← − 1 2 S 3 S_3 \leftarrow -\frac{1}{2}S_3 S 3 ← − 2 1 S 3 ( 1 1 1 1 1 ∣ 0 0 1 0 1 0 ∣ 0 0 0 1 0 1 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & 1 & 1 & | & 0 \\ 0 & 1 & 0 & 1 & 0 & | & 0 \\ 0 & 0 & 1 & 0 & 1 & | & 0 \end{pmatrix} 1 0 0 1 1 0 1 0 1 1 1 0 1 0 1 ∣ ∣ ∣ 0 0 0
Visszafejtés: Legyen x 4 = s x_4 = s x 4 = s , x 5 = t x_5 = t x 5 = t , ahol s , t ∈ R s, t \in \mathbb{R} s , t ∈ R . x 3 + x 5 = 0 ⟹ x 3 + t = 0 ⟹ x 3 = − t x_3 + x_5 = 0 \implies x_3 + t = 0 \implies x_3 = -t x 3 + x 5 = 0 ⟹ x 3 + t = 0 ⟹ x 3 = − t .
x 2 + x 4 = 0 ⟹ x 2 + s = 0 ⟹ x 2 = − s x_2 + x_4 = 0 \implies x_2 + s = 0 \implies x_2 = -s x 2 + x 4 = 0 ⟹ x 2 + s = 0 ⟹ x 2 = − s . x 1 + x 2 + x 3 + x 4 + x 5 = 0 ⟹ x 1 + ( − s ) + ( − t ) + s + t = 0 ⟹ x 1 = 0 x_1 + x_2 + x_3 + x_4 + x_5 = 0 \implies x_1 + (-s) + (-t) + s + t = 0 \implies x_1 = 0 x 1 + x 2 + x 3 + x 4 + x 5 = 0 ⟹ x 1 + ( − s ) + ( − t ) + s + t = 0 ⟹ x 1 = 0 .
Megoldás: ( x 1 , x 2 , x 3 , x 4 , x 5 ) = ( 0 , − s , − t , s , t ) (x_1, x_2, x_3, x_4, x_5) = (0, -s, -t, s, t) ( x 1 , x 2 , x 3 , x 4 , x 5 ) = ( 0 , − s , − t , s , t ) , s , t ∈ R s, t \in \mathbb{R} s , t ∈ R 4 .
2.7 Ötödik egyenletrendszer
{ x 1 + x 2 + x 3 + x 4 = 5 2 x 1 − x 2 + x 3 = − 1 x 1 + 3 x 2 − x 4 = 4 x 2 + 2 x 3 + x 4 = 3 \begin{cases} x_1 + x_2 + x_3 + x_4 = 5 \\ 2x_1 - x_2 + x_3 = -1 \\ x_1 + 3x_2 - x_4 = 4 \\ x_2 + 2x_3 + x_4 = 3 \end{cases} ⎩ ⎨ ⎧ x 1 + x 2 + x 3 + x 4 = 5 2 x 1 − x 2 + x 3 = − 1 x 1 + 3 x 2 − x 4 = 4 x 2 + 2 x 3 + x 4 = 3
Kibővített mátrix: ( 1 1 1 1 ∣ 5 2 − 1 1 0 ∣ − 1 1 3 0 − 1 ∣ 4 0 1 2 1 ∣ 3 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 2 & -1 & 1 & 0 & | & -1 \\ 1 & 3 & 0 & -1 & | & 4 \\ 0 & 1 & 2 & 1 & | & 3 \end{pmatrix} 1 2 1 0 1 − 1 3 1 1 1 0 2 1 0 − 1 1 ∣ ∣ ∣ ∣ 5 − 1 4 3
Elemi sorműveletek: S 2 ← S 2 − 2 S 1 S_2 \leftarrow S_2 - 2S_1 S 2 ← S 2 − 2 S 1 , S 3 ← S 3 − S 1 S_3 \leftarrow S_3 - S_1 S 3 ← S 3 − S 1 ( 1 1 1 1 ∣ 5 0 − 3 − 1 − 2 ∣ − 11 0 2 − 1 − 2 ∣ − 1 0 1 2 1 ∣ 3 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 0 & -3 & -1 & -2 & | & -11 \\ 0 & 2 & -1 & -2 & | & -1 \\ 0 & 1 & 2 & 1 & | & 3 \end{pmatrix} 1 0 0 0 1 − 3 2 1 1 − 1 − 1 2 1 − 2 − 2 1 ∣ ∣ ∣ ∣ 5 − 11 − 1 3
Sorok cseréje a könnyebb számolás érdekében (S 2 ↔ S 4 S_2 \leftrightarrow S_4 S 2 ↔ S 4 ): ( 1 1 1 1 ∣ 5 0 1 2 1 ∣ 3 0 2 − 1 − 2 ∣ − 1 0 − 3 − 1 − 2 ∣ − 11 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 0 & 1 & 2 & 1 & | & 3 \\ 0 & 2 & -1 & -2 & | & -1 \\ 0 & -3 & -1 & -2 & | & -11 \end{pmatrix} 1 0 0 0 1 1 2 − 3 1 2 − 1 − 1 1 1 − 2 − 2 ∣ ∣ ∣ ∣ 5 3 − 1 − 11
S 3 ← S 3 − 2 S 2 S_3 \leftarrow S_3 - 2S_2 S 3 ← S 3 − 2 S 2 , S 4 ← S 4 + 3 S 2 S_4 \leftarrow S_4 + 3S_2 S 4 ← S 4 + 3 S 2 ( 1 1 1 1 ∣ 5 0 1 2 1 ∣ 3 0 0 − 5 − 4 ∣ − 7 0 0 5 1 ∣ − 2 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 0 & 1 & 2 & 1 & | & 3 \\ 0 & 0 & -5 & -4 & | & -7 \\ 0 & 0 & 5 & 1 & | & -2 \end{pmatrix} 1 0 0 0 1 1 0 0 1 2 − 5 5 1 1 − 4 1 ∣ ∣ ∣ ∣ 5 3 − 7 − 2
S 4 ← S 4 + S 3 S_4 \leftarrow S_4 + S_3 S 4 ← S 4 + S 3 ( 1 1 1 1 ∣ 5 0 1 2 1 ∣ 3 0 0 − 5 − 4 ∣ − 7 0 0 0 − 3 ∣ − 9 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 0 & 1 & 2 & 1 & | & 3 \\ 0 & 0 & -5 & -4 & | & -7 \\ 0 & 0 & 0 & -3 & | & -9 \end{pmatrix} 1 0 0 0 1 1 0 0 1 2 − 5 0 1 1 − 4 − 3 ∣ ∣ ∣ ∣ 5 3 − 7 − 9
S 4 ← − 1 3 S 4 S_4 \leftarrow -\frac{1}{3}S_4 S 4 ← − 3 1 S 4 ( 1 1 1 1 ∣ 5 0 1 2 1 ∣ 3 0 0 − 5 − 4 ∣ − 7 0 0 0 1 ∣ 3 ) \begin{pmatrix} 1 & 1 & 1 & 1 & | & 5 \\ 0 & 1 & 2 & 1 & | & 3 \\ 0 & 0 & -5 & -4 & | & -7 \\ 0 & 0 & 0 & 1 & | & 3 \end{pmatrix} 1 0 0 0 1 1 0 0 1 2 − 5 0 1 1 − 4 1 ∣ ∣ ∣ ∣ 5 3 − 7 3
Visszafejtés: x 4 = 3 x_4 = 3 x 4 = 3 − 5 x 3 − 4 x 4 = − 7 ⟹ − 5 x 3 − 4 ( 3 ) = − 7 ⟹ − 5 x 3 − 12 = − 7 ⟹ − 5 x 3 = 5 ⟹ x 3 = − 1 -5x_3 - 4x_4 = -7 \implies -5x_3 - 4(3) = -7 \implies -5x_3 - 12 = -7 \implies -5x_3 = 5 \implies x_3 = -1 − 5 x 3 − 4 x 4 = − 7 ⟹ − 5 x 3 − 4 ( 3 ) = − 7 ⟹ − 5 x 3 − 12 = − 7 ⟹ − 5 x 3 = 5 ⟹ x 3 = − 1 . x 2 + 2 x 3 + x 4 = 3 ⟹ x 2 + 2 ( − 1 ) + 3 = 3 ⟹ x 2 − 2 + 3 = 3 ⟹ x 2 + 1 = 3 ⟹ x 2 = 2 x_2 + 2x_3 + x_4 = 3 \implies x_2 + 2(-1) + 3 = 3 \implies x_2 - 2 + 3 = 3 \implies x_2 + 1 = 3 \implies x_2 = 2 x 2 + 2 x 3 + x 4 = 3 ⟹ x 2 + 2 ( − 1 ) + 3 = 3 ⟹ x 2 − 2 + 3 = 3 ⟹ x 2 + 1 = 3 ⟹ x 2 = 2 .
x 1 + x 2 + x 3 + x 4 = 5 ⟹ x 1 + 2 + ( − 1 ) + 3 = 5 ⟹ x 1 + 4 = 5 ⟹ x 1 = 1 x_1 + x_2 + x_3 + x_4 = 5 \implies x_1 + 2 + (-1) + 3 = 5 \implies x_1 + 4 = 5 \implies x_1 = 1 x 1 + x 2 + x 3 + x 4 = 5 ⟹ x 1 + 2 + ( − 1 ) + 3 = 5 ⟹ x 1 + 4 = 5 ⟹ x 1 = 1 .
Megoldás: ( x 1 , x 2 , x 3 , x 4 ) = ( 1 , 2 , − 1 , 3 ) (x_1, x_2, x_3, x_4) = (1, 2, -1, 3) ( x 1 , x 2 , x 3 , x 4 ) = ( 1 , 2 , − 1 , 3 ) 4 .
2.8 Hatodik egyenletrendszer
{ x + y + z = 2 2 x + 2 y + 2 z = 5 x − y = 0 \begin{cases} x + y + z = 2 \\ 2x + 2y + 2z = 5 \\ x - y = 0 \end{cases} ⎩ ⎨ ⎧ x + y + z = 2 2 x + 2 y + 2 z = 5 x − y = 0
Kibővített mátrix: ( 1 1 1 ∣ 2 2 2 2 ∣ 5 1 − 1 0 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & | & 2 \\ 2 & 2 & 2 & | & 5 \\ 1 & -1 & 0 & | & 0 \end{pmatrix} 1 2 1 1 2 − 1 1 2 0 ∣ ∣ ∣ 2 5 0
Elemi sorműveletek: S 2 ← S 2 − 2 S 1 S_2 \leftarrow S_2 - 2S_1 S 2 ← S 2 − 2 S 1 ( 1 1 1 ∣ 2 0 0 0 ∣ 1 1 − 1 0 ∣ 0 ) \begin{pmatrix} 1 & 1 & 1 & | & 2 \\ 0 & 0 & 0 & | & 1 \\ 1 & -1 & 0 & | & 0 \end{pmatrix} 1 0 1 1 0 − 1 1 0 0 ∣ ∣ ∣ 2 1 0
A második sorban 0 = 1 0 = 1 0 = 1 áll, ami ellentmondás. Ez azt jelenti, hogy az egyenletrendszernek nincs megoldása 4 .
2.9 Hetedik egyenletrendszer
{ x 1 + x 2 + x 3 = 3 x 1 + x 2 + x 4 = 6 x 1 + x 3 + x 4 − x 5 = 4 3 x 1 + 2 x 2 − x 3 − x 5 = 7 \begin{cases} x_1 + x_2 + x_3 = 3 \\ x_1 + x_2 + x_4 = 6 \\ x_1 + x_3 + x_4 - x_5 = 4 \\ 3x_1 + 2x_2 - x_3 - x_5 = 7 \end{cases} ⎩ ⎨ ⎧ x 1 + x 2 + x 3 = 3 x 1 + x 2 + x 4 = 6 x 1 + x 3 + x 4 − x 5 = 4 3 x 1 + 2 x 2 − x 3 − x 5 = 7
Kibővített mátrix: ( 1 1 1 0 0 ∣ 3 1 1 0 1 0 ∣ 6 1 0 1 1 − 1 ∣ 4 3 2 − 1 0 − 1 ∣ 7 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 1 & 1 & 0 & 1 & 0 & | & 6 \\ 1 & 0 & 1 & 1 & -1 & | & 4 \\ 3 & 2 & -1 & 0 & -1 & | & 7 \end{pmatrix} 1 1 1 3 1 1 0 2 1 0 1 − 1 0 1 1 0 0 0 − 1 − 1 ∣ ∣ ∣ ∣ 3 6 4 7
Elemi sorműveletek: S 2 ← S 2 − S 1 S_2 \leftarrow S_2 - S_1 S 2 ← S 2 − S 1 , S 3 ← S 3 − S 1 S_3 \leftarrow S_3 - S_1 S 3 ← S 3 − S 1 , S 4 ← S 4 − 3 S 1 S_4 \leftarrow S_4 - 3S_1 S 4 ← S 4 − 3 S 1 ( 1 1 1 0 0 ∣ 3 0 0 − 1 1 0 ∣ 3 0 − 1 0 1 − 1 ∣ 1 0 − 1 − 4 0 − 1 ∣ − 2 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 0 & 0 & -1 & 1 & 0 & | & 3 \\ 0 & -1 & 0 & 1 & -1 & | & 1 \\ 0 & -1 & -4 & 0 & -1 & | & -2 \end{pmatrix} 1 0 0 0 1 0 − 1 − 1 1 − 1 0 − 4 0 1 1 0 0 0 − 1 − 1 ∣ ∣ ∣ ∣ 3 3 1 − 2
Sorcsere (S 2 ↔ S 3 S_2 \leftrightarrow S_3 S 2 ↔ S 3 ): ( 1 1 1 0 0 ∣ 3 0 − 1 0 1 − 1 ∣ 1 0 0 − 1 1 0 ∣ 3 0 − 1 − 4 0 − 1 ∣ − 2 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 0 & -1 & 0 & 1 & -1 & | & 1 \\ 0 & 0 & -1 & 1 & 0 & | & 3 \\ 0 & -1 & -4 & 0 & -1 & | & -2 \end{pmatrix} 1 0 0 0 1 − 1 0 − 1 1 0 − 1 − 4 0 1 1 0 0 − 1 0 − 1 ∣ ∣ ∣ ∣ 3 1 3 − 2
S 4 ← S 4 − S 2 S_4 \leftarrow S_4 - S_2 S 4 ← S 4 − S 2 ( 1 1 1 0 0 ∣ 3 0 − 1 0 1 − 1 ∣ 1 0 0 − 1 1 0 ∣ 3 0 0 − 4 − 1 0 ∣ − 3 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 0 & -1 & 0 & 1 & -1 & | & 1 \\ 0 & 0 & -1 & 1 & 0 & | & 3 \\ 0 & 0 & -4 & -1 & 0 & | & -3 \end{pmatrix} 1 0 0 0 1 − 1 0 0 1 0 − 1 − 4 0 1 1 − 1 0 − 1 0 0 ∣ ∣ ∣ ∣ 3 1 3 − 3
S 4 ← S 4 − 4 S 3 S_4 \leftarrow S_4 - 4S_3 S 4 ← S 4 − 4 S 3 ( 1 1 1 0 0 ∣ 3 0 − 1 0 1 − 1 ∣ 1 0 0 − 1 1 0 ∣ 3 0 0 0 − 5 0 ∣ − 15 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 0 & -1 & 0 & 1 & -1 & | & 1 \\ 0 & 0 & -1 & 1 & 0 & | & 3 \\ 0 & 0 & 0 & -5 & 0 & | & -15 \end{pmatrix} 1 0 0 0 1 − 1 0 0 1 0 − 1 0 0 1 1 − 5 0 − 1 0 0 ∣ ∣ ∣ ∣ 3 1 3 − 15
S 4 ← − 1 5 S 4 S_4 \leftarrow -\frac{1}{5}S_4 S 4 ← − 5 1 S 4 ( 1 1 1 0 0 ∣ 3 0 − 1 0 1 − 1 ∣ 1 0 0 − 1 1 0 ∣ 3 0 0 0 1 0 ∣ 3 ) \begin{pmatrix} 1 & 1 & 1 & 0 & 0 & | & 3 \\ 0 & -1 & 0 & 1 & -1 & | & 1 \\ 0 & 0 & -1 & 1 & 0 & | & 3 \\ 0 & 0 & 0 & 1 & 0 & | & 3 \end{pmatrix} 1 0 0 0 1 − 1 0 0 1 0 − 1 0 0 1 1 1 0 − 1 0 0 ∣ ∣ ∣ ∣ 3 1 3 3
Visszafejtés: Legyen x 5 = t x_5 = t x 5 = t , ahol t ∈ R t \in \mathbb{R} t ∈ R . x 4 = 3 x_4 = 3 x 4 = 3 .
− x 3 + x 4 = 3 ⟹ − x 3 + 3 = 3 ⟹ − x 3 = 0 ⟹ x 3 = 0 -x_3 + x_4 = 3 \implies -x_3 + 3 = 3 \implies -x_3 = 0 \implies x_3 = 0 − x 3 + x 4 = 3 ⟹ − x 3 + 3 = 3 ⟹ − x 3 = 0 ⟹ x 3 = 0 . − x 2 + x 4 − x 5 = 1 ⟹ − x 2 + 3 − t = 1 ⟹ − x 2 = t − 2 ⟹ x 2 = 2 − t -x_2 + x_4 - x_5 = 1 \implies -x_2 + 3 - t = 1 \implies -x_2 = t - 2 \implies x_2 = 2 - t − x 2 + x 4 − x 5 = 1 ⟹ − x 2 + 3 − t = 1 ⟹ − x 2 = t − 2 ⟹ x 2 = 2 − t .
x 1 + x 2 + x 3 = 3 ⟹ x 1 + ( 2 − t ) + 0 = 3 ⟹ x 1 = 1 + t x_1 + x_2 + x_3 = 3 \implies x_1 + (2-t) + 0 = 3 \implies x_1 = 1 + t x 1 + x 2 + x 3 = 3 ⟹ x 1 + ( 2 − t ) + 0 = 3 ⟹ x 1 = 1 + t .
Megoldás: ( x 1 , x 2 , x 3 , x 4 , x 5 ) = ( 1 + t , 2 − t , 0 , 3 , t ) (x_1, x_2, x_3, x_4, x_5) = (1+t, 2-t, 0, 3, t) ( x 1 , x 2 , x 3 , x 4 , x 5 ) = ( 1 + t , 2 − t , 0 , 3 , t ) , t ∈ R t \in \mathbb{R} t ∈ R 4 .
3. Megoldások
3.1 feladat megoldásai 3 4
A mátrixműveletek eredményei a következők:
Művelet Eredmény A + B \begin{pmatrix} 3 & -1 \ 6 & 4 \end{pmatrix} 3A - 2B \begin{pmatrix} -1 & -8 \ 3 & 12 \end{pmatrix} AB \begin{pmatrix} -4 & 1 \ 18 & 3 \end{pmatrix} D^T + 4AB \begin{pmatrix} -16 & 5 \ 69 & 14 \end{pmatrix} A^T B - D \begin{pmatrix} 11 & 4 \ 7 & -4 \end{pmatrix} CE \begin{pmatrix} 6 \ 13 \end{pmatrix} CT + E Nem értelmezhető 2C - AET Nem értelmezhető uv Nem értelmezhető vu Nem értelmezhető Cv \begin{pmatrix} 7 \ -5 \end{pmatrix} uE Nem értelmezhető CA \begin{pmatrix} 10 & 10 \ 7 & -4 \end{pmatrix} A + C \begin{pmatrix} 2 & 1 \ 7 & 5 \end{pmatrix} u + v Nem értelmezhető (AB)^T - B^T A^T \begin{pmatrix} 0 & 0 \ 0 & 0 \end{pmatrix}
3.2 feladat megoldásai 4
A lineáris egyenletrendszerek megoldásai a következők:
Egyenletrendszer Megoldás 1. rendszer (x, y, z) = (1, 2, 1) 2. rendszer (x, y, z) = (-2t/3, -t/3, t), t ∈R 3. rendszer (x1, x2, x3, x4) = (1, 2-t, 1, t), t ∈R 4. rendszer (x1, x2, x3, x4, x5) = (0, -s, -t, s, t), s, t ∈R 5. rendszer (x1, x2, x3, x4) = (1, 2, -1, 3) 6. rendszer Nincs megoldás 7. rendszer (x1, x2, x3, x4, x5) = (1+t, 2-t, 0, 3, t), t ∈R