分步说明
Gather Your Inputs and Normalize the Equation
Identify the coefficients `a, b, c, d` from your cubic equation `ax³+bx²+cx+d=0`. Then, transform this into the depressed form `y³+py+q=0` by first dividing by `a` (let `A=b/a`) and then substituting `x = y - A/3`. Calculate the resulting `p` and `q` values: `p = (c/a) - (b/a)²/3` and `q = (d/a) - (b/a)(c/a)/3 + 2(b/a)³/27`.
Calculate the Discriminant (Δ)
Compute the discriminant using the formula `Δ = (q/2)² + (p/3)³`. Analyze its sign: `Δ > 0` indicates one real and two complex conjugate roots; `Δ = 0` indicates three real roots with at least two equal; `Δ < 0` indicates three distinct real roots (the *casus irreducibilis*).
Apply Cardano's or Trigonometric Formula
If `Δ ≥ 0`, use Cardano's direct formula: `y = ³√(-q/2 + √Δ) + ³√(-q/2 - √Δ)` for the primary real root. For the other two roots, use the complex cube roots of unity (`ω`, `ω²`) with the terms `u = ³√(-q/2 + √Δ)` and `v = ³√(-q/2 - √Δ)`. If `Δ < 0` (the *casus irreducibilis*), use the trigonometric method: calculate `θ = arccos((-q/2) / √(-p³/27))` and find the three real `y` roots using `y_k = 2√(-p/3) cos((θ+2kπ)/3)` for `k=0, 1, 2`.
Convert Back to Original Variable (x)
Once you have determined the three roots for `y` (y₁, y₂, y₃) from the previous step, convert them back to the original variable `x` by applying the substitution `x = y - b/(3a)` (where `A=b/a` from Step 1). This will yield your three solutions for `x`: `x₁, x₂, x₃`.
Verify Your Solutions and Understand Pitfalls
Plug each calculated `x` root back into the original cubic equation `ax³+bx²+cx+d=0` to ensure it satisfies the equation. Be mindful of common pitfalls such as algebraic errors during normalization, sign errors in `p` and `q` calculations, incorrect discriminant interpretation, and difficulties with complex number arithmetic, especially when manually extracting cube roots.
A cubic equation is a polynomial equation of degree three, meaning it contains a term with an exponent of three but no higher. Its general form is ax³+bx²+cx+d=0, where a, b, c, d are coefficients and a ≠ 0. Solving cubic equations can yield up to three roots, which can be real or complex.
While the quadratic formula provides a direct solution for second-degree polynomials, cubic equations require a more intricate approach, most famously Cardano's formula. This guide will walk you through the manual process, highlighting the necessary transformations and interpretations.
Prerequisites
Before you begin, ensure you have a solid understanding of:
- Basic algebraic manipulation (substitution, expansion).
- Solving quadratic equations (using the quadratic formula).
- Complex numbers, including the concept of
i = √-1and cube roots of unity. - Trigonometric functions (for the casus irreducibilis).
Understanding the Cubic Equation and its Roots
The fundamental theorem of algebra states that a polynomial of degree n has exactly n roots (counting multiplicity) in the complex number system. For a cubic equation (n=3), there will always be three roots. These roots can be:
- Three distinct real roots.
- One real root and two complex conjugate roots.
- Three real roots, with at least two being equal.
Step 1: Normalize the Equation to a Depressed Cubic
Cardano's formula is designed for a simplified form of the cubic equation, known as the 'depressed cubic', which lacks an x² term. Your first step is to transform ax³+bx²+cx+d=0 into y³+py+q=0.
-
Divide by
a: Divide the entire equation byato get a monic cubic (where the coefficient ofx³is 1):x³ + (b/a)x² + (c/a)x + (d/a) = 0For simplicity, letA = b/a,B = c/a,C = d/a. So,x³ + Ax² + Bx + C = 0. -
Substitute to eliminate the
x²term: Introduce a new variableyusing the substitutionx = y - A/3. Substitute this into the equation and expand. They²terms will cancel out, leaving you with the depressed cubic form:y³ + py + q = 0Where:p = B - A²/3q = C - AB/3 + 2A³/27
Step 2: Calculate the Discriminant (Δ)
The discriminant of the depressed cubic equation y³+py+q=0 determines the nature of its roots. It is calculated as:
Δ = (q/2)² + (p/3)³
Interpret the discriminant as follows:
Δ > 0: The equation has one real root and two complex conjugate roots.Δ = 0: All three roots are real, and at least two of them are equal.Δ < 0: The equation has three distinct real roots. This is known as the casus irreducibilis (irreducible case), which can be challenging to solve directly with Cardano's formula without involving intermediate complex numbers, even though the final roots are real.
Step 3: Apply Cardano's or Trigonometric Formula
This is the core of solving the depressed cubic y³+py+q=0.
Case 1: Δ ≥ 0 (One real root, two complex or three real with at least two equal)
Use Cardano's formula directly:
Let u = ³√(-q/2 + √Δ)
Let v = ³√(-q/2 - √Δ)
The first real root for y is y₁ = u + v.
The other two roots, y₂ and y₃, are found using the complex cube roots of unity (ω = (-1 + i√3)/2 and ω² = (-1 - i√3)/2):
y₂ = ωu + ω²vy₃ = ω²u + ωv
If Δ = 0, then u = v = ³√(-q/2), and y₁ = 2u, y₂ = -u, y₃ = -u. This means two of the real roots are equal.
Case 2: Δ < 0 (Three distinct real roots - Casus Irreducibilis)
Although Cardano's formula can still be used, it involves taking cube roots of complex numbers, which can be cumbersome manually. A more practical manual approach for this case is the trigonometric solution:
- Calculate
cos θ = (-q/2) / √(-p³/27). Note thatpmust be negative forΔ < 0. - The three distinct real roots for
yare then given by:y₁ = 2√(-p/3) cos(θ/3)y₂ = 2√(-p/3) cos((θ + 2π)/3)y₃ = 2√(-p/3) cos((θ + 4π)/3)
Step 4: Convert Back to Original Variable (x)
Once you have found the three roots for y (y₁, y₂, y₃), you need to convert them back to the original variable x using the substitution made in Step 1:
x = y - A/3 (where A = b/a)
Substitute each y root into this equation to find x₁, x₂, x₃.
Worked Example
Let's solve the cubic equation: x³ - 6x² + 11x - 6 = 0
-
Normalize the Equation:
a=1, b=-6, c=11, d=-6A = b/a = -6/1 = -6B = c/a = 11/1 = 11C = d/a = -6/1 = -6- Substitution:
x = y - A/3 = y - (-6)/3 = y + 2 - Calculate
pandq:p = B - A²/3 = 11 - (-6)²/3 = 11 - 36/3 = 11 - 12 = -1q = C - AB/3 + 2A³/27 = -6 - (-6)(11)/3 + 2(-6)³/27 = -6 + 22 + 2(-216)/27 = 16 - 16 = 0
- Depressed cubic:
y³ - y = 0
-
Calculate the Discriminant (Δ):
Δ = (q/2)² + (p/3)³ = (0/2)² + (-1/3)³ = 0 - 1/27 = -1/27- Since
Δ < 0, there are three distinct real roots. We will use the trigonometric method.
-
Apply Trigonometric Formula (for
Δ < 0):cos θ = (-q/2) / √(-p³/27) = (0) / √(-(-1)³/27) = 0 / √(1/27) = 0- Therefore,
θ = π/2(or 90°). - Calculate
yroots:y₁ = 2√(-p/3) cos(θ/3) = 2√(-(-1)/3) cos((π/2)/3) = 2√(1/3) cos(π/6) = (2/√3) * (√3/2) = 1y₂ = 2√(-p/3) cos((θ+2π)/3) = 2√(1/3) cos((π/2+2π)/3) = 2√(1/3) cos(5π/6) = (2/√3) * (-√3/2) = -1y₃ = 2√(-p/3) cos((θ+4π)/3) = 2√(1/3) cos((π/2+4π)/3) = 2√(1/3) cos(9π/6) = 2√(1/3) cos(3π/2) = (2/√3) * 0 = 0
- The
yroots are1, -1, 0.
-
Convert Back to Original Variable (x):
- Recall
x = y + 2 x₁ = y₁ + 2 = 1 + 2 = 3x₂ = y₂ + 2 = -1 + 2 = 1x₃ = y₃ + 2 = 0 + 2 = 2- The roots of the equation
x³ - 6x² + 11x - 6 = 0are1, 2, 3.
- Recall
Step 5: Verify Your Solutions and Understand Pitfalls
Always verify your solutions by plugging them back into the original equation ax³+bx²+cx+d=0. For our example:
- For
x=1:(1)³ - 6(1)² + 11(1) - 6 = 1 - 6 + 11 - 6 = 0. Correct. - For
x=2:(2)³ - 6(2)² + 11(2) - 6 = 8 - 24 + 22 - 6 = 0. Correct. - For
x=3:(3)³ - 6(3)² + 11(3) - 6 = 27 - 54 + 33 - 6 = 0. Correct.
Common Pitfalls to Avoid:
- Algebraic Errors: The normalization and substitution steps involve careful algebraic manipulation. A single sign error or miscalculation can lead to incorrect
pandqvalues. - Sign Errors with
pandq: Pay close attention to negative signs, especially when squaringAor cubingpandqcomponents. - Incorrect Discriminant Calculation: Errors here will lead to misinterpretation of root types and incorrect application of Cardano's or trigonometric formulas.
- Complex Number Arithmetic: If
Δ > 0and you need to calculatey₂andy₃with complex numbers, ensure you handlei,ω, andω²correctly. - Cube Roots of Complex Numbers: For
Δ < 0using the direct Cardano's formula, finding cube roots of complex numbers manually is very involved and a common source of error. The trigonometric method is generally preferred for manual calculation in this case.
When to Use a Calculator for Convenience
While understanding the manual process is crucial, solving cubic equations by hand can be incredibly tedious and error-prone, especially with:
- Large or Fractional Coefficients: Calculations become unwieldy.
- Complex Roots with
Δ > 0: Manually calculating cube roots of complex numbers can be very challenging. - The Casus Irreducibilis (
Δ < 0): Even with the trigonometric method, exact values ofcos(θ/3)might not be easily determined without a calculator, particularly ifθis not a standard angle. Numerical methods or dedicated cubic equation solvers are highly recommended for precision and efficiency in such cases.
For practical applications, a calculator or specialized software is almost always preferred, but knowing the underlying manual steps provides a deeper understanding of the mathematics involved.