求解根、公式和导出测度
立方解决方案工作区
Cubic Diagram
仅求解三次方程。找到实根和复根,遵循基于卡尔达诺的步骤,并探索三次图。
输入多项式系数
求解根、公式和导出测度
Cubic Diagram
三次方程是 ax3 + bx2 + cx + d = 0 形式的三次多项式,其系数 a 非零。立方体出现在几何、优化、控制系统、图形和许多工程模型中。
此页面遵循类似于实际求解器工作区的清晰路径:定义、公式、求解过程、计算器工具和验证检查。
Today, cubic equations appear everywhere: in engineering optimization, physics simulations, computer graphics (Bézier curves), economic modeling, and scientific research. Whether you are a student learning polynomial theory or an engineer solving a design constraint, understanding cubics is essential. This page provides the calculator, the theory, and the worked examples you need to master them.
三次曲线剖析
在标准表示法中,a、b、c 和 d 控制曲线的形状、转折点和截距行为。
The leading coefficient a is the most important because it controls whether the curve rises to the right (a positive) or falls to the right (a negative). It also affects the steepness of the curve. The coefficient b shifts the inflection point horizontally, c affects the slope near the origin, and d sets the y-intercept — the exact point where the curve crosses the vertical axis.
首项系数必须非零。控制末端行为和曲线方向。
二次系数会移动曲率并水平移动拐点。
线性系数影响原点处的斜率和曲线的整体陡度。
曲线与垂直轴相交的常数项(y 截距)。
在求解任何三次方程之前,先确定已知系数,然后选择正确的符号路径。
替换
x = t - b/(3a)
压缩形式
t^3 + pt + q = 0
判别式
增量 = (q/2)^2 + (p/3)^3
Y 轴截距
f(0) = d
变形X
x = -b/(3a)
转折点
求解 f'(x) = 3ax^2 + 2bx + c = 0
Every cubic equation can be solved by following a systematic five-step process. This method works for all cubics regardless of their coefficients, whether the roots are real or complex, and whether they are repeated or distinct. The discriminant at step three determines which mathematical branch to use for the final computation.
以标准形式写出方程并验证 a != 0。
标准化并简化为凹陷立方形式。
评估判别式以选择数字分支。
计算根并变换回 x 空间。
通过替换和图形检查来验证根。
判别决策树
求解器的结构可显示公式、替换逻辑、计算根和解释注释,因此可以快速审核每个输出。
公式:用于当前分支的精确关系。
替换:将值插入到符号方程中。
答案:带有实数/复数类型标签的根集。
解释:判别式和曲线形状的简短解释。
通过透明的解决方案路径进行课堂和考试准备。
多项式根定义约束的工程原型。
数据曲线拟合和模拟检查点。
需要可靠的根分类的控制和优化任务。
确认 a 不为零且输入为数字。
避免在中间步骤中过早舍入。
检查每个计算根的残差 f(x) 值。
使用图形状态来验证拦截和转弯行为。
当精度至关重要时,通过示例进行交叉检查。
提供所有四个系数并保持数字格式干净。
求解器实时应用三次缩减和判别分支。
使用图形标签、状态和残差检查来验证解决方案。
比较常见的立方族和典型的根结果。
方程
x3 - 6x2 + 11x - 6 = 0
根签名
1.000、2.000、3.000
方程
x3 - 3x2 + 3x - 1 = 0
根签名
1.000(三倍)
方程
x3 + x + 1 = 0
根签名
-0.682 + 复数对
方程
x3 - 4x = 0
根签名
-2.000, 0.000, 2.000
每个三次方程都经过相同的五级管道,从原始系数到验证根。
该工具专为三次多项式而构建,提供通用计算器无法比拟的精度、透明度和速度。
不受其他多项式次数的干扰。每个功能都针对三次方程进行了调整。
查看从归一化到根提取的完整推导过程,而不仅仅是最终答案。
交互式 SVG 图形在您键入时更新,实时显示根、转折点和拐点。
提供 19 种语言版本,以便世界各地的学生和专业人士可以用自己的语言进行学习本地语言。
客户端 JavaScript 引擎意味着零服务器往返。您按“求解”后,结果就会出现。
残差检查确认每个根满足 1e-10 公差范围内的方程。
While every cubic equation shares the fundamental property of being a third-degree polynomial, they can be categorized into different types based on their coefficients and root properties. Understanding these types helps you choose the fastest solving method.
The general form where 'a' is non-zero. All other types are special cases of this standard form.
A cubic where the leading coefficient a=1. If a≠1, you can create a monic cubic by dividing the entire equation by 'a'.
A cubic with no x² term (b=0). This form is crucial because Cardano's formula requires the equation to be in depressed form first.
A cubic that can be easily factored using grouping or synthetic division. Once factored, the remaining quadratic can be solved instantly.
We designed this solver to be intuitive. Follow these steps to get precise roots and step-by-step breakdowns for any cubic equation.
The behavior of cubic equations is governed by several elegant mathematical theorems. Understanding these principles helps explain why cubics always have three roots and why complex roots always appear in pairs.
This foundational theorem states that every polynomial of degree 'n' has exactly 'n' roots in the complex number system, provided you count repeated roots. Since a cubic is degree 3, it always has exactly three roots.
If a polynomial has real coefficients (which is true for all equations entered in this calculator), any complex roots must come in conjugate pairs. If (u + vi) is a root, then (u - vi) is also a root. Because cubics have three roots and complex roots require a pair, every cubic must have at least one real root.
Vieta's formulas describe the direct relationship between the polynomial's coefficients and its roots (r₁, r₂, r₃). For the equation ax³ + bx² + cx + d = 0:
The quadratic formula solves any degree-2 equation. Cardano's formula is its degree-3 equivalent. Published by Girolamo Cardano in 1545 (based on work by Scipione del Ferro and Niccolò Tartaglia), it was the first general algebraic solution for cubic equations.
Cardano's formula cannot be applied directly to ax³ + bx² + cx + d = 0. We must first eliminate the x² term. We do this by substituting x = t - b/(3a). This transforms the general cubic into a Depressed Cubic: t³ + pt + q = 0.
Using the 'p' and 'q' from the depressed cubic, we calculate the discriminant: Δ = (q/2)² + (p/3)³. The sign of Δ dictates the rest of the algorithm:
The best way to understand cubic equations is to see them solved. Here are common scenarios you will encounter, spanning different root types and coefficient structures.
Step 1: Notice that x=1 makes the equation zero (1 - 6 + 11 - 6 = 0).
Step 2: Factor out (x-1) to get (x-1)(x² - 5x + 6) = 0.
Step 3: Factor the quadratic into (x-2)(x-3).
Roots: x = 1, x = 2, x = 3
Step 1: This is depressed (no x²). Here p = -3, q = 2.
Step 2: Discriminant Δ = (2/2)² + (-3/3)³ = 1 - 1 = 0.
Step 3: A zero discriminant means repeated roots.
Roots: x = 1 (double root), x = -2
Step 1: Depressed cubic with p = 1, q = 2.
Step 2: Δ = (2/2)² + (1/3)³ = 1 + 1/27 ≈ 1.037 > 0.
Step 3: The curve crosses the x-axis exactly once.
Roots: x = -1 (real), x = 0.5 ± 1.323i (complex)
Step 1: Notice this perfectly matches the expansion of (x-1)³.
Step 2: Therefore, the equation is (x-1)³ = 0.
Step 3: The graph has a horizontal inflection point at x=1.
Roots: x = 1 (triple root)
The graph of a cubic equation reveals its secrets at a glance. Our calculator generates this curve automatically, but knowing what to look for is essential.
Where the curve crosses the horizontal axis. A cubic will cross either 1, 2, or 3 times.
Where the curve crosses the vertical axis. This is always exactly equal to the constant term 'd'.
The local maximum (peak) and local minimum (valley). A cubic has either exactly two turning points or zero.
The exact center of rotational symmetry where the curve changes concavity (from an arch to a bowl, or vice versa).
Cubic equations aren't just abstract math — they describe the physical world. Any system involving volume, 3D space, or changing acceleration often results in a third-degree polynomial.
Used to calculate stress-strain curves in materials, optimizing structural loads, and designing aerodynamic profiles.
Essential for the van der Waals equation of state, which models the behavior of real, non-ideal gases.
Bézier curves, the foundation of vector graphics and 3D modeling, rely entirely on cubic polynomials to draw smooth lines.
Used to model cost, revenue, and profit functions where marginal rates fluctuate significantly over time.
Models projectile motion experiencing air drag, certain wave equations, and fluid dynamics simplifications.
Polynomial regression models often use third-degree expansions to map complex, non-linear optimization landscapes.
即使是经验丰富的数学家在手工求解三次多项式时也可能出错。以下是最常见的陷阱以及如何避免它们。
If the leading coefficient 'a' is zero, the x³ term disappears and it becomes a quadratic equation. Always ensure a ≠ 0.
Forgetting to include the minus sign when substituting negative coefficients into Cardano's formula is the #1 source of manual errors.
For an equation like x³ - 8 = 0, you must explicitly account for b = 0 and c = 0. Failing to do so throws off the entire calculation.
A cubic always has three roots. If you find only one real root, you are not done — the other two exist as a complex conjugate pair.
Rounding numbers in the middle of calculating p, q, and the discriminant causes massive cascading errors in the final roots. Keep exact fractions until the very end.
Assuming a curve that touches the x-axis without crossing it has no root there. In reality, it represents a double (repeated) root.
Never assume your roots are correct without proving it. Here are four mathematically rigorous ways to verify your cubic equation solutions.
Plug each calculated root back into the original equation f(x) = ax³ + bx² + cx + d. If the math is correct, the result should be exactly zero. Due to floating-point math, computers look for a result very close to zero (e.g., 1e-10).
Add all three of your roots together. The sum must exactly equal -b/a. Then, multiply all three roots together. The product must exactly equal -d/a. If either fails, your roots are wrong.
Plot the cubic curve. The real roots you calculated mathematically must align perfectly with the x-intercepts on the graph.
If you believe you have a double root at x=r, then substituting 'r' into the derivative f'(x) = 3ax² + 2bx + c must also equal zero.
使用我们专用的三次多项式计算器标准化您的工作流程。
立即识别根的性质。了解您的三次方程是否有实数、复数或重复解。
通过消除平方项应用 Cardano 历史公式的分步计算器。
自动将标准三次方程转换为更简单的凹陷形式。
闪电般快速提取 x 截距,准确求解实数根和复数根
交互式曲线绘图工具,用于可视化根、转折点和斜率行为。
精确定位三次曲线变化处的精确旋转对称中心
确定多项式的精确峰值(局部最大值)和谷值(局部最小值)。
将三次方程优雅地分解为干净的二项式因式,完美无小数。
快速速记除法工具,用于检查因数并将三次分解为可解二次方程。
强大的经典除法工具,支持完全透明的二次除数。
为您的方程生成所有可能的干净分数和整数根的严格列表。
绕过全除法快速计算根,纯粹通过快速替换来检查因子。
直接从多项式系数分析立方根的和与乘积。
从三次曲线中严格提取虚共轭对的专用实用程序。
严格的高细节 SVG 绘图应用程序超级专注于深度三次绘图。
测量找到的多项式根之间的距离、散布和绝对差。
An equation is cubic when the highest exponent (power) of the variable is 3. For example, in 4x³ - 2x + 1 = 0, the x³ term is what defines it as a cubic polynomial.
No. Because complex roots always come in pairs (conjugates), and a cubic must have exactly 3 roots total, there will always be at least one real root. Geometrically, the curve extends from negative to positive infinity, guaranteeing it crosses the x-axis at least once.
The discriminant acts like a diagnostic scan. If it is positive, you have 1 real and 2 complex roots. If it is exactly zero, you have repeated real roots. If it is negative, you have 3 distinct real roots.
When a cubic has three real roots (negative discriminant), Cardano's algebraic formula gets stuck trying to calculate the cube root of a complex number. To bypass this \"casus irreducibilis\", mathematicians use trigonometric identities (involving cosine and arccosine) to compute the exact real roots cleanly.
Yes! The calculator's engine handles integers, negative numbers, and decimals seamlessly. It maintains extremely high floating-point precision throughout all intermediate steps to ensure the final output is accurate.