This system of linear equations can be written as a matrix equation, An×m⋅xm×1 = bn×1, if we define the following matrix and vectors:

a11

a12

L a1m

 

 x1

 

b1

 

L

 

 

 

A = a21

a22

a2m

,

x = x2

,

b = b2

 M

M O M

 

M

 

M

 

L

 

 

 

an1

an2

anm n×m

 

xm m×1

 

bn

n×1

Using the numerical solver for linear systems

There are many ways to solve a system of linear equations with the calculator. One possibility is through the numerical solver ‚Ï. From the numerical solver screen, shown below (left), select the option 4. Solve lin sys.., and press @@@OK@@@. The following input form will be provide (right):

To solve the linear system A⋅x = b, enter the matrix A, in the format [[ a11,

a12, … ], … [….]] in the A: field. Also, enter the vector b in the B: field.

When the X: field is highlighted, press @SOLVE. If a solution is available, the

solution vector x will be shown in the X: field. The solution is also copied to stack level 1. Some examples follow.

The system of linear equations

2x1 + 3x2 –5x3= 13,

x1 – 3x2 + 8x3 = -13, 2x1 – 2x2 + 4x3 = -6,

can be written as the matrix equation A⋅x = b, if

Page 9-8

Page 124
Image 124
HP 49g manual =  a,  M, Using the numerical solver for linear systems