Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Eliminate variables from equations (eliminate)

Eliminate variables from a system of equations, leaving equations in the others.

How to write it

eliminate(equations, eliminate)

equations
The system, in brackets. Takes a list of equations in brackets.
eliminate
The variables to eliminate. Takes a variable, or a list of variables.

Examples

  • eliminate⁡([x+y=1,x−y=0],[y])=[x−12=0]\displaystyle \operatorname{eliminate}(\left[ x+y = 1, x-y = 0 \right], \left[ y \right]) = \left[ x-\frac{1}{2} = 0 \right]
    eliminate([x + y = 1, x - y = 0], [y])

    In the solver, eliminate([x + y = 1, x - y = 0], [y]) gives [x - 1/2 = 0].

    Open in the solver
  • find_instance

    A point that meets a condition, or an empty list when there is none.

  • solve_identity

    Find the values of the parameters that make an equation true for every value of the variable.

  • find_root

    Find a root numerically, from a starting value.

  • solve_all

    Describe the complete solution set of equations and inequalities.

  • least_squares

    The least-squares solution of A x = b.

  • solve

    Solve equations for one or more unknowns.