Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

solve_identity function

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

How to write it

solve_identity(equations, variables)

equations
The equation that must hold for all values. Takes an equation, or a list of equations in brackets.
variables
The variable it holds for. Takes a variable, or a list of variables.

Examples

  • ax+b=2x+3⇒(a,b)=(2,3)\displaystyle a x+b = 2 x+3 \Rightarrow (a, b) = (2, 3)
    solve_identity(a x + b = 2 x + 3, x)

    In the solver, solve_identity(a x + b = 2 x + 3, x) gives [[a -> 2, b -> 3]].

    Open in the solver
  • solve_all

    Describe the complete solution set of equations and inequalities.

  • solve

    Solve equations for one or more unknowns.

  • numeric_solve

    Solve equations numerically.

  • linear_solve

    Solve a linear system A x = b given by its matrix and right-hand side.

  • eliminate

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

  • find_instance

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