HP 50g manual Solution of linear systems, Using the numerical solver for linear systems

Models: 50g

1 184
Download 184 pages 36.34 Kb
Page 122
Image 122

Solution of linear systems

A system of n linear equations in m variables can be written as

a11x1 + a12x2 + a13x3 + …+ a1,m-1x m-1+ a1,mx m = b1, a21x1 + a22x2 + a23x3 + …+ a2,m-1x m-1+ a2,mx m = b2, a31x1 + a32x2 + a33x3 + …+ a3,m-1x m-1+ a3,mx m = b3,

. . . … .. .

an-1,1x1 + an-1,2x2 + an-1,3x3 + …+ an-1,m-1xm-1 + an-1,mxm = bn-1,an1x1 + an2x2 + an3x3 + …+ an,m-1xm-1+ an,mx m = bn.

This system of linear equations can be written as a matrix equation, Anmxm1 = bn1, if we define the following matrix and vectors:

⎡a11

a12

L a1m

 

L

 

A = a21

a22

a2m

⎢ M

M

O

M

 

L

 

an1

an2

anm nm

 

 

 

 

,

x1 ⎥ x = x2 ⎥ ⎢ M ⎥ ⎢ ⎥

xm m1 ,

b1 b = b2 ⎥ ⎢ M ⎥ ⎢ ⎥

bn n1

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 Ax = 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

Page 9-9

Page 122
Image 122
HP 50g manual Solution of linear systems, Using the numerical solver for linear systems