34
24
The inverse of a
2
×
2
matrix.
The inverse of the 2×2 matrix is . In other words,
As is clear from the formula above, when the denominator , no inverse exists.
Program
Lbl 1:?→ A:?→ B:?→ C:?→ D:AD - BC → M:M =0⇒ Goto 1:
A→X:D÷M→A:X÷M→D:-B÷M→B:-C÷M→C:A B C D <71 STEP>
INPUT A, B, C, D : matrix
OUTPUT A, B, C, D : inverse of matrix
Execution Example:
The inverse matrix of is
For , the inverse does not exist and the values and must be re-entered.
ab
cd
1
ad bc–
------------------
db–
c– a
1
ad bc–
------------------
db–
c– a
ab
cd
1 0
0 1
=
a
d
bc– 0=
ab
cd
ab
cd
1 4
24
1– 1
0.5 0.25–
Prog
1
1
EXE
4
EXE
2
EXE
4
EXE
M
Disp
S A
D R
P1
P2 P3 P4
G
EXE
M
Disp
S A
D R
P1
P2 P3 P4
G
EXE
M
Disp
S A
D R
P1
P2 P3 P4
G
EXE
M
S A
D R
P1
P2 P3 P4
G
ad bc 0=– abc,, d
関数電卓事例集 .book 34 ページ 2002年9月2日 月曜日 午後6時51分