Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Eliminate

Function: eliminate ([<eqn_1>, ..., <eqn_n>], [<x_1>, ..., <x_k>]) Eliminates variables from equations (or expressions assumed equal to zero) by taking successive resultants. This returns a list of `<n> - <k>` expressions with the <k> variables <x_1>, ..., <x_k> eliminated. First <x_1> is eliminated yielding `<n> - 1` expressions, then `x_2` is eliminated, etc. If `<k> = <n>` then a single expression in a list is returned free of the variables <x_1>, ..., <x_k>. In this case `solve` is called to solve the last resultant for the last variable. Example:

```          (%i1) expr1: 2*x^2 + y*x + z;
2
(%o1)                    z + x y + 2 x
(%i2) expr2: 3*x + 5*y - z - 1;
(%o2)                  - z + 5 y + 3 x - 1
(%i3) expr3: z^2 + x - y^2 + 5;
2    2
(%o3)                    z  - y  + x + 5
(%i4) eliminate ([expr3, expr2, expr1], [y, z]);
8         7         6          5          4
(%o4) [7425 x  - 1170 x  + 1299 x  + 12076 x  + 22887 x```

3 2 - 5154 x - 1291 x + 7688 x + 15376]

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

### Related Examples

##### eliminate

Ie00:(Id*pa_dd+Ic*pa_...

Ie01:(Id*pa_cd+Ic*pa_...

Ie02:(Id*pa_bd+Ic*pa_...

Calculate

##### eliminate

eliminate ([va1 = (m0...

Calculate

##### eliminate-logexpand-logsimp-true

logexpand: true;

logsimp: true;

eq1: Va = Vin - Rsh*I...

Calculate

##### eliminate-fullratsimp

eliminate([-I2+I3+Ic,...

Calculate

##### eliminate-solve

v:[v1,v2,v3,v4,v5];

eq1:[3/s+s/6+1, -3/...

eq2:[-3/s, 9/s+s/6,...

Calculate

Calculate

##### eliminate-sqrt

eq1:U1 = (a1 + b1)*sq...

eq2:I1 = (a1 - b1)/sq...

eq3:U2 = (a2 + b2)*sq...

Calculate

##### eliminate-linsolve-sqrt

a:[U1 = (a1 + b1)*sqr...

b:eliminate(a,[I1,I2,...

jednacina1:(b2 - b1 +...

Calculate

##### eliminate

e1: b1 = -w + a*tx - ...

e2: b2 = -w + a*tx + ...

e3: b3 = -w - a*tx + ...

Calculate

##### eliminate

eq1: h(t):=(1/2)*(-9....

eq2: s(t):=98.1+(-9.8...

eq3:eliminate([eq1, e...

Calculate 