# solve_identity 函数

找出使方程对变量的每个取值都成立的参数值。

## 怎么写

### solve_identity(equations, variables)

**equations**

必须对所有取值都成立的方程。接受一个方程或放在方括号中的方程列表。

**variables**

它对其成立的变量。接受一个变量或变量列表。

## 示例

- $\displaystyle a x+b = 2 x+3 \Rightarrow (a, b) = (2, 3)$

  `solve_identity(a x + b = 2 x + 3, x)`

  在求解器中，`solve_identity(a x + b = 2 x + 3, x)` 的结果是 `[[a -> 2, b -> 3]]`。

  [在求解器中打开](https://zh.hilberon.com/?q=solve_identity%28a%20x%20%2B%20b%20%3D%202%20x%20%2B%203%2C%20x%29)

## 相关函数

- [solve_all](https://zh.hilberon.com/library/solve_all)

  描述方程和不等式的完整解集。
- [solve](https://zh.hilberon.com/library/solve)

  对一到多个未知量求解方程。
- [numeric_solve](https://zh.hilberon.com/library/numeric_solve)

  数值求解方程。
- [linear_solve](https://zh.hilberon.com/library/linear_solve)

  求解由矩阵和右端项给出的线性方程组 A x = b。
- [eliminate](https://zh.hilberon.com/library/eliminate)

  从方程组中消去变量，留下只含其他变量的方程。
- [find_instance](https://zh.hilberon.com/library/find_instance)

  满足条件的一个点；不存在时为空列表。

---
Source: https://zh.hilberon.com/library/solve_identity
