The Maxima on-line user's manual

Algebra Calculator

Augcoefmatrix

Function: augcoefmatrix ([<eqn_1>, ..., <eqn_m>], [<x_1>, ..., <x_n>]) Returns the augmented coefficient matrix for the variables <x_1>, ..., <x_n> of the system of linear equations <eqn_1>, ..., <eqn_m>. This is the coefficient matrix with a column adjoined for the constant terms in each equation (i.e., those terms not dependent upon <x_1>, ..., <x_n>).

```          (%i1) m: [2*x - (a - 1)*y = 5*b, c + b*y + a*x = 0]\$
(%i2) augcoefmatrix (m, [x, y]);
[ 2  1 - a  - 5 b ]
(%o2)                  [                 ]
[ a    b      c   ]```

```(%o1)                                true
(%i2) ```

Related Examples

augcoefmatrix-if-while

a(x1,x2,x3):= 15*x1 +...

b(x1,x2,x3):= 4*x1 - ...

c(x1,x2,x3):= x1 + 2*...

Calculate

augcoefmatrix-mat_unblocker-max

eq1: [y + z = 2];

eq2: [2*x + 3*z = 5];

eq3: [x + y +z = 3];

Calculate

M : matrix ([1, 2], [...

N : matrix ([-1,3], [...

Calculate

augcoefmatrix-display-do-eliminate-linsolve-mat_unblocker-max-ptriangularize-rowswap

eq1:x*4+y-2=y;

eq2:x+2=y;

linsolve([eq1,eq2],[x...

Calculate

augcoefmatrix-display-do-mat_unblocker-max-ptriangularize-rowswap

eq[1]: [3*v + 4*w + 5...

eq[2]: [-2*v - 3*w + ...

eq[3]: [4*v + 2*w + 6...

Calculate

augcoefmatrix-mat_unblocker

eq1: [y + z = 2];

eq2: [2*x + 3*z = 5];

eq3: [x + y +z = 3];

Calculate

augcoefmatrix-display-do-mat_unblocker-max-ptriangularize-rowswap

eq[1]: [y + z = 2];

eq[2]: [2*x + 3*z = 5];

eq[3]: [x + y +z = 3];

Calculate

augcoefmatrix-display-do-mat_unblocker-max-rowswap

eq[1]: [3*v + 4*w + 5...

eq[2]: [-2*v - 3*w + ...

eq[3]: [4*v + 2*w + 6...

Calculate

p: c[1]*x+c[0];

l1: [0,1,2,3];

l2: [0,1,3,2];

Calculate

augcoefmatrix-false-linsolve-linsolve_params

sistemaE:[x-2*y+8*z=-...

linsolve(sistemaE,[x,...

E:augcoefmatrix(siste...

Calculate