全球免费使用

方程求解器

求解实数范围内的一次方程和二次方程 ax² + bx + c = 0。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Quadratic equations appear in physics (projectiles), finance (break-even points) and geometry. Enter the coefficients a, b and c of ax² + bx + c = 0 and this solver returns the discriminant and the real roots. Setting a to 0 turns it into a linear equation bx + c = 0, which it also solves.

When the discriminant is negative there are no real roots; the factoring calculator shows complex roots and factors polynomials of any degree.

使用方法

  1. Rearrange your equation into the form ax² + bx + c = 0.
  2. Enter a, b and c, including negative signs.
  3. Run the solver.
  4. Check a root by substituting it back into the equation.

计算原理

Discriminant D = b² − 4ac. If D > 0 there are two real roots (−b ± √D) ÷ 2a; if D = 0 one repeated root; if D < 0 none in the real numbers. With a = 0, x = −c ÷ b.

计算示例

For 2x² − 7x + 3 = 0, enter a = 2, b = −7 and c = 3. The discriminant is 25 and the roots are x₁ = 3 and x₂ = 0.5. For x² + 2x + 5 = 0 the discriminant is −16, so there are no real roots.

局限性

  • Degree 2 or lower.
  • Real roots only; complex roots are not listed.
  • Coefficients between −1,000,000 and 1,000,000.

最后更新:

常见问题

What does the discriminant tell me?

Positive means two real roots, zero means one repeated root, negative means two complex roots.

How do I solve 3x = 12?

Rewrite it as 3x − 12 = 0, then enter a = 0, b = 3, c = −12.

Can it solve cubic equations?

Not here. Use the factoring calculator for higher degrees with rational roots.

故障排除

It says there are no real roots.

The discriminant is negative; the parabola does not cross the x-axis.

My textbook gives fractions.

Roots are shown as decimals; 0.5 is 1/2.

a, b and c are all 0.

Every x satisfies 0 = 0, so there is no single solution.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步