所有工具

二次方程求解

Solve quadratic equations of the form ax² + bx + c = 0. Find real and complex roots with step-by-step logic.

Quadratic equations are a cornerstone of algebra and appear frequently in physics, engineering, and economics to model parabolic motion, optimize costs, or calculate trajectories. Any equation that can be rearranged into the standard form of ax² + bx + c = 0 is a quadratic equation. Solving these by hand using factoring or completing the square can be time-consuming and prone to errors, especially when dealing with non-integer coefficients. Our Quadratic Equation Solver uses the universal quadratic formula to find the exact roots (solutions) for any set of coefficients, and it even handles complex numbers when the discriminant is negative.

Coefficient x²

Coefficient x

Constant

Equation to Solve

1x25x+6=01x^2 -5x + 6 = 0

Root x₁

3.0000

Root x₂

2.0000

工作原理

This solver takes your inputs for a, b, and c and first calculates the discriminant (D = b² - 4ac). Based on the value of the discriminant, it then applies the quadratic formula. If the discriminant is non-negative, it provides one or two real roots. If it is negative, the tool calculates the real and imaginary parts separately to provide the two complex conjugate roots in the form of 'x + yi'.

计算公式

x = [-b ± √(b² - 4ac)] / 2a

计算示例

1. **Real**: x² - 5x + 6 = 0 roots are **2 and 3**. 2. **Complex**: x² + 1 = 0 roots are **±i**.

为什么在日常生活中使用这个工具?

该工具是学生和研究人员必不可少的生产力提升工具。通过为任何系数提供即时、无错误的根,它可以作为您作业的可靠验证器和现实世界建模的高速工具。 该工具是学生和研究人员必不可少的生产力提升工具。 通过为任何系数提供即时、无错误的根,它可以作为您作业的可靠验证器和现实世界建模的高速工具。

常见问题解答

提示

收藏此工具以便快速访问。一切都在您的浏览器中本地运行。

相关工具

更多 数学 工具

标准计算器 – 快速可靠的基础数学 |计算工具 标准计算器 – 快速可靠的基础数学 | 计算工具

打开

执行基本算术运算,包括加法、减法、乘法和除法。用于日常计算的现代响应式工具。 执行基本算术运算,包括加法、减法、乘法和除法。 用于日常计算的现代响应式工具。

代数方程求解器 - 逐步逻辑 |计算工具 代数方程求解器 - 逐步逻辑 | 计算工具

打开

通过详细的教学分解来求解线性和二次方程。非常适合学生和学术报告。 通过详细的教学分解来求解线性和二次方程。 非常适合学生和学术报告。

科学计算器

打开

一个全功能的科学计算器,适用于高级数学,包括三角函数、对数和幂运算。