Chapterبەش 6 · Lectureوانە 6.6
The Inverse of a Matrixپێچەوانەی ماتریکس
Why there is no matrix division and what does instead; the definition ; invertible and singular matrices and the determinant test; the shortcut; the rules of inverses with the reversed order ; the adjugate method; and solving as .
بۆچی دابەشکردنی نییە و لە جیاتی ئەوە چی دەکات؛ پێناسەی ؛ و و تاقیکردنەوەی ؛ ڕێگە کورتەکەی ؛ یاساکانی پێچەوانە لەگەڵ ڕیزبەندیی پێچەوانەی ؛ ڕێگەی ؛ و شیکارکردنی وەک .
What you will learnچی فێر دەبیت
- Explain why matrices are not divided and check that a matrix is the inverse of another.
- Decide with the determinant whether a matrix is invertible or singular.
- Invert a matrix with the shortcut and a matrix with the adjugate.
- Use the rules of inverses and solve as .
- ڕوون بکەیتەوە بۆچی دابەش ناکرێن و بپشکنیت کە پێچەوانەی یەکێکی ترە.
- بە بڕیار بدەیت ئایا یان .
- پێچەوانەی بە ڕێگە کورتەکە و بە بدۆزیتەوە.
- یاساکانی پێچەوانە بەکاربهێنیت و وەک شیکار بکەیت.
Why inverses? There is no matrix divisionبۆچی پێچەوانە؟ دابەشکردنی ماتریکس نییە
With numbers, is solved by dividing by 5 — or, the same thing, by multiplying both sides by , the Reciprocal of 5: . For matrices there is no division: has no meaning. What we have instead is a matrix that undoes , the way undoes 5.
بە ژمارە، بە دابەشکردن بەسەر 5دا شیکار دەکرێت — یان، کە هەمان شتە، بە لێکدانی هەردوو لا لە ، هەڵگەڕاوەی 5: . بۆ دابەشکردن نییە: هیچ واتایەکی نییە. لە جیاتی ئەوە هەیە، ، کە کاری هەڵدەوەشێنێتەوە، وەک چۆن کاری 5 هەڵدەوەشێنێتەوە.
It is the same “undo” idea as an inverse function, now for matrices. And it is the reason inverses matter: they solve matrix equations (later in this lesson).
هەمان بیرۆکەی «هەڵوەشاندنەوە»یە وەک پێچەوانەی نەخشە، ئێستا بۆ . هۆی گرنگیی پێچەوانەکانیش ئەمەیە: وەک شیکار دەکەن (دواتر لەم وانەیەدا).
Karwan sends Dilan the numbers 3 and 4 hidden: he multiplies them by and sends 10 and 7. Dilan knows ; multiplying by it brings back 3 and 4. A stranger who sees 10 and 7 cannot read them without the key.
کاروان ژمارەکانی 3 و 4 بە شاراوەیی بۆ دیلان دەنێرێت: لە یان دەدات و 10 و 7 دەنێرێت. دیلان دەزانێت؛ لێکدانی 10 و 7 لە ژمارەکانی 3 و 4 دەگەڕێنێتەوە. کەسێکی نامۆ کە 10 و 7 دەبینێت بێ ناتوانێت بیانخوێنێتەوە.
Where the analogy stops workingسنووری ئەم نموونەیە
This is the idea of the old Hill cipher. It is far too easy to break for real security today; modern encryption works differently.
ئەمە بیرۆکەی کۆنی هیلە. بۆ ڕاستەقینەی ئەمڕۆ زۆر ئاسان دەشکێنرێت؛ نوێ بە شێوەیەکی تر کار دەکات.
Definition: پێناسە:
Let be a of order . An matrix is the of when multiplying in both orders gives the :
با بە قەبارەی بێت. ی ـیە کاتێک لێکدان بە هەردوو ڕیزبەندی بدات:
When both products give , we write , read “A inverse”. The is not a power of the entries; it is a name.
کاتێک هەردوو لێکدراوەکە بدەن، دەنووسین و دەخوێنرێتەوە «پێچەوانەی A». ژمارەکان نییە؛ ناوێکە.
Only square matrices can have an inverse: and must both be . The notes' example: show that is the inverse of .
تەنها دەتوانن پێچەوانەیان هەبێت: و دەبێت هەردووکیان بن. نموونەکەی تێبینییەکان: پیشانی بدە کە پێچەوانەی ـیە.
Both orders give , so .
هەردوو ڕیزبەندی دەدەن، بۆیە .
Invertible or singular: the determinant decidesپێچەوانەدار یان بێپێچەوانە: دیتەرمینانت بڕیار دەدات
A matrix that has an inverse is called (or non-singular). A with no inverse is called . Theorem 4 of the notes gives the test:
کە پێچەوانەی هەبێت پێی دەگوترێت (بە ئینگلیزی non-singular). کە پێچەوانەی نەبێت پێی دەگوترێت . 4ی تێبینییەکان تاقیکردنەوەکە دەدات:
- (has an inverse)
- (no inverse)
- (پێچەوانەی هەیە)
- (پێچەوانەی نییە)
Why: if exists, the product rule gives , so cannot be 0. In pictures, a determinant of 0 squashes the plane flat, and a flattened picture cannot be un-flattened.
بۆچی: ئەگەر هەبێت، یاسای لێکدان دەدات ، بۆیە ناتوانێت 0 بێت. بە وێنە، 0 ڕووتەختەکە دەپلیشێنێتەوە و وێنەیەکی پلیشاو ناگەڕێتەوە دۆخی پێشووی.
Try to invert the singular (). If were its inverse, the first column of would need and , that is and . No numbers do both.
هەوڵ بدە پێچەوانەی ی بدۆزیتەوە (). ئەگەر پێچەوانەکەی بوایە، ستوونی یەکەمی پێویستی بە و دەبوو، واتە و . هیچ ژمارەیەک هەردووکیان ناکات.
The inverse as the matrix that undoes A, and why a matrix with determinant 0 squashes space flat, so nothing can undo it.
وەک ئەو کاری A هەڵدەوەشێنێتەوە، هەروەها بۆچی بە 0 بۆشایی پان دەکاتەوە، بۆیە هیچ شتێک ناتوانێت بیگەڕێنێتەوە.
Plays 3:51-7:26: 'Inverse matrices' (A⁻¹A does nothing, like the identity) and 'Zero determinant cases' (no inverse). Stops before rank and column space.
لە 3:51 تا 7:26 پەخش دەبێت: «Inverse matrices» ( هیچ ناگۆڕێت، وەک ) و «Zero determinant cases» (هیچ پێچەوانەیەکی نییە). پێش و column space ڕادەوەستێت.
Method 1: the shortcutڕێگەی 1: ڕێگە کورتەکەی
For a matrix there is a formula. Swap the two numbers on the , change the signs of the other two, and divide everything by the determinant:
بۆ هەیە. شوێنی دوو ژمارەکەی بگۆڕەوە، هێمای دووەکەی تر بگۆڕە و هەمووی دابەش بکە بەسەر :
If the formula would divide by 0: the matrix is singular.
ئەگەر بێت، داوای دابەشکردن بەسەر سفردا دەکات: .
![Five frames on A = [4 7; 2 6]. Frame 1: det = 4·6 − 7·2 = 24 − 14 = 10, not 0. Frame 2: the diagonal numbers 4 and 6 swap places, giving [6 7; 2 4]. Frame 3: 7 and 2 change sign, giving [6 −7; −2 4]. Frame 4: A⁻¹ = 1/10 times [6 −7; −2 4]. Frame 5: check — A times [6 −7; −2 4] is [10 0; 0 10]; dividing by 10 gives the identity matrix.](/_astro/calc-matrix-inverse-shortcut.en.Dh7DOBx_.gif)
![Five frames on A = [4 7; 2 6]. Frame 1: det = 4·6 − 7·2 = 24 − 14 = 10, not 0. Frame 2: the diagonal numbers 4 and 6 swap places, giving [6 7; 2 4]. Frame 3: 7 and 2 change sign, giving [6 −7; −2 4]. Frame 4: A⁻¹ = 1/10 times [6 −7; −2 4]. Frame 5: check — A times [6 −7; −2 4] is [10 0; 0 10]; dividing by 10 gives the identity matrix.](/_astro/calc-matrix-inverse-shortcut.ckb.B7TD8Rzd.gif)
- The notes' exampleنموونەکەی تێبینییەکان
: .
: .
- Swap, change signs, divideبیگۆڕەوە، هێما بگۆڕە، دابەشی بکە
.
.
- Checkپشکنین
. Always check: it takes a minute and catches sign slips.
. هەمیشە بیپشکنە: یەک خولەک دەخایەنێت و هەڵەی هێما دەگرێت.
The determinant of the inverseدیتەرمینانتی پێچەوانەکە
If is invertible, is the of . It comes straight from the product rule: .
ئەگەر بێت، ـە. ڕاستەوخۆ لە یاسای لێکدانەوە دێت: .
The notes' example: is indeed .
نموونەکەی تێبینییەکان: بەڕاستی ـە.
The rules of inversesیاساکانی پێچەوانە
Let and be invertible matrices and a number. The notes' theorems, with two more rules:
با و بن بە قەبارەی و ژمارەیەک بێت. تێبینییەکان، لەگەڵ دوو یاسای تر:
| Ruleیاسا | In wordsبە وشە |
|---|---|
| is uniqueتەنها یەک هەیە | A matrix has at most one inverse. زۆرترین یەک پێچەوانەی هەیە. |
| Undoing the undo gives back (theorem 1).هەڵوەشاندنەوەی هەڵوەشاندنەوە دەگەڕێنێتەوە ( 1). | |
| The order reverses (theorem 2).ڕیزبەندییەکە پێچەوانە دەبێتەوە ( 2). | |
| Transpose and inverse can be done in either order (theorem 3). و پێچەوانە بە هەر ڕیزبەندییەک دەکرێن ( 3). | |
| A number comes out as its reciprocal.ژمارەیەک وەک دێتە دەرەوە. | |
| From the previous screen.لە شاشەی پێشووەوە. |
Why only one inverse? If and were both inverses of , then . Why does the order reverse? Check it: . It is the same “socks and shoes” rule as : what you put on last, you take off first.
بۆچی تەنها یەک پێچەوانە؟ ئەگەر و هەردووکیان پێچەوانەی بوونایە، ئەوا . بۆچی ڕیزبەندییەکە پێچەوانە دەبێتەوە؟ بیپشکنە: . هەمان یاسای «گۆرەوی و پێڵاو»ـە وەک : ئەوەی دوایین جار لەبەرت دەکەیت، یەکەم جار دای دەکەنیت.
A numeric check: the reversed order works, the same order does not. Also and .
پشکنینێکی ژمارەیی: ڕیزبەندیی پێچەوانە کار دەکات، هەمان ڕیزبەندی کار ناکات. هەروەها و .
Matrices with easy inversesئەو ماتریکسانەی پێچەوانەیان ئاسانە
Some special matrices from Special Matrices invert with almost no work:
هەندێک تایبەت لە ماتریکسە تایبەتەکانەوە بە کەمترین کار پێچەوانە دەکرێنەوە:
| Matrix | Inverseپێچەوانە | Whyبۆچی |
|---|---|---|
| Identity | ||
| Diagonal, no zero on the diagonalتیرەیی، بێ سفر لەسەر تیرەکە | Each diagonal number is undone by its reciprocal.هەر ژمارەیەکی تیرە بە هەڵدەوەشێتەوە. | |
| Involutory: ماتریکسی خۆپێچەوانە، واتە | says is its own inverse. دەڵێت پێچەوانەی خۆیەتی. | |
| Orthogonal: ماتریکسی ئۆرتۆگۆناڵ، واتە | The definition says works as the inverse. A rotation by is undone by a rotation by , which is its transpose.پێناسەکە دەڵێت وەک پێچەوانە کار دەکات. بە بە بە هەڵدەوەشێتەوە کە . |
Method 2: the adjugateڕێگەی 2: ئەدجوگەیت
For bigger matrices the notes use the (written ). It is built from the Cofactors in three steps:
بۆ گەورەترەکان تێبینییەکان بەکاردەهێنن (بە دەنووسرێت). لە کۆفاکتەرەکان بە سێ هەنگاو دروست دەکرێت:
A 3×3 inverse in three steps: the determinant, the matrix of cofactors, then transpose it (the adjugate) and divide by the determinant.
بە سێ هەنگاو: ، ، پاشان () و دابەشکردنی بەسەر .
Chapters: 0:22 finding the determinant, 1:37 finding the inverse (cofactors, transpose at about 4:40, divide by det).
بەشەکان: 0:22 دۆزینەوەی ، 1:37 دۆزینەوەی (، لە نزیکەی 4:40، دابەشکردن بەسەر ).
Method 2: the adjugateڕێگەی 2: ئەدجوگەیت
Why the adjugate worksبۆچی ئەدجوگەیت کار دەکات
Multiply by . On the diagonal, row meets its own cofactors: that is the expansion along row , so you get . Off the diagonal, row meets the cofactors of another row: that is the expansion of a matrix with two equal rows, so you get 0. Together: .
لە بدە. لەسەر تیرەکە، ڕیزی بە خۆی دەگات: ئەمە کردنەوەیە بە درێژایی ڕیزی ، بۆیە دەردەچێت. لە دەرەوەی تیرەکە، ڕیزی بە ڕیزێکی تر دەگات: ئەمە کردنەوەی دوو ڕیزی یەکسانە، بۆیە 0 دەردەچێت. پێکەوە: .
For a matrix the cofactors of are ; transposed, . So the shortcut of Method 1 is the adjugate method — the notes call this matrix there too.
بۆ ، ـن؛ دوای کردنی ڕیز بە ستوون، . کەواتە ڕێگە کورتەکەی ڕێگەی 1 هەمان ڕێگەی — تێبینییەکان لەوێشدا بەم دەڵێن .
A inverse with the adjugateپێچەوانەی ماتریکسێکی بە ئەدجوگەیت
The notes' example: find for
نموونەکەی تێبینییەکان: بدۆزەرەوە بۆ
- The determinantدیتەرمینانت
Row 3 has a zero, so expand along it: . Not 0, so the inverse exists.
ڕیزی 3 سفرێکی تێدایە، بۆیە بە درێژاییدا بیکەرەوە: . سفر نییە، بۆیە پێچەوانەکەی هەیە.
- Minors, then cofactorsماینەرەکان، پاشان کۆفاکتەرەکان
For example , so . All nine:
بۆ نموونە ، بۆیە . هەر نۆکەیان:
- Transpose: the adjugateکردنی ڕیز بە ستوون: ئەدجوگەیت
Row 1 of becomes column 1, and so on.
ڕیزی 1ی دەبێتە ستوونی 1 و بەم شێوەیە.
- Divide by the determinantدابەشکردن بەسەر دیتەرمینانتدا
, so .
، بۆیە .
- Check two entriesدوو ژمارە بپشکنە
Row 1 of times column 1 of : . Row 1 times column 2: . The full product is (checked with sympy).
ڕیزی 1ی جاران ستوونی 1ی : . ڕیزی 1 جاران ستوونی 2: . لێکدراوە تەواوەکە ـە (بە sympy پشکنراوە).
In Kurdish: the inverse of a 3×3 matrix with A⁻¹ = adj(A) / det(A), using quick patterns for the determinant and the cofactors.
بە کوردی: بە ، بە ڕێگای خێرا بۆ و .
Kurdish worked example on A = [1 2 3; 2 −1 3; 1 0 1]: det A = 4 by the diagonal (Sarrus) pattern, cofactors by a crossing shortcut, then A⁻¹ = adj(A)/det A.
نموونەیەکی چارەسەرکراو بە کوردی لەسەر : بە شێوازی تیرەکان (ساروس)، بە کورتەڕێیەکی خاچی، پاشان .
Using the inverse: solving بەکارهێنانی پێچەوانە: شیکارکردنی
Shilan buys 2 boxes of kulicha and 3 bags of samoon at a bakery in Duhok and pays 13,000 IQD. Rezan buys 1 box and 4 bags and pays 9,000 IQD. What does one box () and one bag () cost? The two receipts are one matrix equation:
شیلان لە نانەواخانەیەک لە دهۆک 2 قوتوو کولێچە و 3 کیسە سەموون دەکڕێت و 13,000 دینار دەدات. ڕێزان 1 قوتوو و 4 کیسە دەکڕێت و 9,000 دینار دەدات. یەک قوتوو () و یەک کیسە () بە چەندە؟ دوو پسوولەکە :
Multiply both sides on the left by : , so . Here :
هەردوو لا لە لای چەپەوە لە بدە: ، بۆیە . لێرەدا :
A box of kulicha costs 5,000 IQD and a bag of samoon 1,000 IQD. Check: and .
قوتوویەک کولێچە 5,000 دینارە و کیسەیەک سەموون 1,000 دینار. پشکنین: و .
A system of three equationsسیستەمێکی سێ هاوکێشە
The inverse found with the adjugate solves any system with the same left side. Solve
ئەو پێچەوانەیەی بە دۆزرایەوە هەر سیستەمێک شیکار دەکات کە هەمان لای چەپی هەبێت. شیکار بکە
The coefficient matrix is the of the adjugate example (a missing is a 0).
هەمان ی نموونەی (ی ون 0ـە).
So , , . Check the second equation: .
کەواتە ، ، . دووەم بپشکنە: .
In computing: inv(A) or Ab?لە کۆمپیوتەردا: inv(A) یان Ab؟
Common mistakesهەڵە باوەکان
| Mistakeهەڵە | What is trueڕاستییەکە |
|---|---|
| = the reciprocals of the entries = ژمارەکان | is the matrix with ; find it with a method. ئەو کە ؛ بە ڕێگەیەک بیدۆزەرەوە. |
| The order reverses: .ڕیزبەندییەکە پێچەوانە دەبێتەوە: . | |
| From writing or لە ـەوە نووسینی یان | Multiply on the left: .لە لای چەپەوە لێی بدە: . |
| In the shortcut, swapping and instead of and لە ڕێگە کورتەکەدا، گۆڕینەوەی و لە جیاتی و | Swap the main diagonal; only change the signs of the other two. بگۆڕەوە؛ تەنها هێمای دووەکەی تر بگۆڕە. |
| Using the cofactor matrix as the adjugateبەکارهێنانی وەک | Transpose it first: .سەرەتا ڕیزەکانی بکە بە ستوون: . |
| Looking for the inverse of a matrix, or of one with گەڕان بەدوای پێچەوانەی یان یەکێک بە | Only square matrices with have one.تەنها بە پێچەوانەیان هەیە. |
Exercisesڕاهێنانەکان
Find the inverse of .
پێچەوانەی بدۆزەرەوە.
Show answerوەڵامەکە پیشان بدە
For with , prove (a) and (b) .
بۆ کە ، بیسەلمێنە (أ) و (ب) .
Show answerوەڵامەکە پیشان بدە
In (a) the shortcut is used twice: swapping and changing signs twice gives back . Both were also checked symbolically with sympy.
لە (أ)دا ڕێگە کورتەکە دوو جار بەکارهاتووە: دوو جار گۆڕینەوە و گۆڕینی هێما دەگەڕێنێتەوە. هەردووکیان بە sympy بە هێما پشکنران.
Find for with the adjugate.
بدۆزەرەوە بۆ بە .
Hintئاماژە
Expand the determinant along column 1 (it has a 0).
بە درێژایی ستوونی 1 بکەرەوە (سفرێکی تێدایە).
Show answerوەڵامەکە پیشان بدە
The next lesson finds the same inverse by row operations.
وانەی داهاتوو هەمان پێچەوانە بە دەدۆزێتەوە.
Find for .
بدۆزەرەوە بۆ .
Show answerوەڵامەکە پیشان بدە
Lana's café sells tea and cake. Two teas and three cakes cost 11 thousand IQD; one tea and two cakes cost 7 thousand. Find both prices (in thousands).
کافێکەی لانا چا و کێک دەفرۆشێت. دوو چا و سێ کێک بە 11 هەزار دینارن؛ یەک چا و دوو کێک بە 7 هەزار دینار. هەردوو نرخەکە بدۆزەرەوە (بە هەزار).
Show answerوەڵامەکە پیشان بدە
A tea costs 1,000 IQD and a cake 3,000 IQD. Check: and .
چایەک 1,000 دینارە و کێکێک 3,000 دینار. پشکنین: و .
For which is singular?
بۆ کام ؟
Show answerوەڵامەکە پیشان بدە
, so . Then row 2 is twice row 1.
، بۆیە . ئەوکات ڕیزی 2 دوو هێندەی ڕیزی 1ە.
Find the inverse of .
پێچەوانەی بدۆزەرەوە.
Show answerوەڵامەکە پیشان بدە
Hana wrote for and . Show that it is wrong and correct it.
هانا نووسی بۆ و . پیشانی بدە کە هەڵەیە و ڕاستی بکەرەوە.
Show answerوەڵامەکە پیشان بدە
The correct rule reverses the order: .
یاسا ڕاستەکە ڕیزبەندییەکە پێچەوانە دەکاتەوە: .
Summaryپوختە
- No matrix division: undoes , with (square matrices only).
- Invertible ⇔ ; singular ⇔ . .
- : .
- Adjugate (older books: adjoint): .
- , , , .
- (multiply on the left).
- دابەشکردنی نییە: کاری هەڵدەوەشێنێتەوە، بە (تەنها ).
- ⇔ ؛ ⇔ . .
- : .
- (کتێبە کۆنەکان: ئەدجۆینت): .
- ، ، ، .
- (لە لای چەپەوە لێی بدە).
Why must both and be ?بۆچی دەبێت هەردوو و بن؟
Because matrix products depend on the order. For square matrices one order is enough in fact, but the definition asks for both.
چونکە لێکدراوی بە ڕیزبەندییەوە پەیوەستە. بۆ لە ڕاستیدا یەک ڕیزبەندی بەسە، بەڵام پێناسەکە هەردووکیان داوا دەکات.
Which method should I use?کام ڕێگە بەکاربهێنم؟
: the shortcut. Small : the adjugate or row operations. Bigger: row operations (next lesson).
: ڕێگە کورتەکە. ـی بچووک: یان . گەورەتر: (وانەی داهاتوو).
Next: Finding the Inverse by Row Operations — Method 3 of the notes.
دواتر: دۆزینەوەی پێچەوانە بە کارە سەرەتاییەکانی ڕیز — ڕێگەی 3ی تێبینییەکان.
Lesson complete!وانەکە تەواو بوو!
Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.
Key termsزاراوە سەرەکییەکان
Finding the Inverse by Row Operations (Gauss–Jordan)دۆزینەوەی پێچەوانە بە کارە سەرەتاییەکانی ڕیز (لابردنی گاوس–جۆردان)
Related lecturesوانە پەیوەندیدارەکان
- Determinants, Minors and Cofactorsدیتەرمینانتەکان، ماینەرەکان و کۆفاکتەرەکان
- Finding the Inverse by Row Operations (Gauss–Jordan)دۆزینەوەی پێچەوانە بە کارە سەرەتاییەکانی ڕیز (لابردنی گاوس–جۆردان)
- Inverse Functions and Inverse Trigonometric Functionsپێچەوانەکانی نەخشە و نەخشە سێگۆشەییە پێچەوانەکان
- Matrix Notation and Special Matricesنووسینی ماتریکس و جۆرە تایبەتەکانی
- Multiplying Matricesلێکدانی ماتریکسەکان
- Matrix Operations vs Element-by-Element Operationsکارەکانی ماتریکس بەرامبەر کارەکانی توخم بە توخم
References and further readingسەرچاوەکان و خوێندنەوەی زیاتر
- OpenStax College Algebra 2e, 7.7 Solving Systems with Inverses (definition, 2 × 2 formula, not every square matrix has an inverse, X = A⁻¹B and the order of multiplication)
- Wikipedia: Invertible matrix (uniqueness, (AB)⁻¹ = B⁻¹A⁻¹, (kA)⁻¹, (Aᵀ)⁻¹, det A⁻¹ = 1/det A; elimination in practice)
- Wikipedia: Adjugate matrix (transpose of the cofactor matrix, A adj A = det A · I, the older name 'adjoint')
- MathWorks: inv (prefer A\b to inv(A)*b; warnings for singular matrices)
This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.