一次方程求解器 — 公式
## How to Solve a Linear Equation
### Formula
Given **ax + b = c**, solve for x:
**x = (c - b) / a**
1. Subtract b from both sides: ax = c - b
2. Divide both sides by a: x = (c - b) / a
This works for any linear equation with a single unknown, as long as a is not zero.
### Formula
Given **ax + b = c**, solve for x:
**x = (c - b) / a**
1. Subtract b from both sides: ax = c - b
2. Divide both sides by a: x = (c - b) / a
This works for any linear equation with a single unknown, as long as a is not zero.
计算示例
Solve 3x + 7 = 22.
- 3x + 7 = 22
- 3x = 22 - 7 = 15
- x = 15 / 3 = 5