# Solution Of Linear Systems - HP 50g User Manual

Graphing calculator.

The implementation of function LCXM for this case requires you to enter:
The following figure shows the RPN stack before and after applying function
LCXM:
In ALG mode, this example can be obtained by using:
The program P1 must still have been created and stored in RPN mode.

## Solution of linear systems

A system of n linear equations in m variables can be written as
a
x
+ a
11
1
a
x
+ a
21
1
a
x
+ a
31
1
.
.
a
x
+ a
n-1,1
1
a
x
+ a
n1
1
This system of linear equations can be written as a matrix equation, A
= b
, if we define the following matrix and vectors:
n 1
2`3`‚@@P1@@ LCXM `
x
+ a
x
12
2
13
3
x
+ a
x
22
2
23
3
x
+ a
x
32
2
33
3
.
.
.
.
x
+ a
n-1,2
2
n-1,3
x
+ a
x
n2
2
n3
3
+ ...+ a
1,m-1
+ ...+ a
2,m-1
+ ...+ a
3,m-1
...
.
...
.
x
+ ...+ a
3
n-1,m-1
+ ...+ a
n,m-1
x
+ a
x
m-1
1,m
x
+ a
x
m-1
2,m
x
+ a
x
m-1
3,m
.
!!
.
x
+ a
x
m-1
n-1,m
x
+ a
x
m-1
n,m
= b
,
m
1
= b
,
m
2
= b
,
m
3
!! .
.
= b
,
m
n-1
= b
.
m
n
x
n m
m 1
Page 11-17