Skip to main content
Вернуться к руководствам
7 min read4 Шаги

How to Manually Solve a Cubic Equation: Step-by-Step Guide

Learn to solve cubic equations ax³+bx²+cx+d=0 by hand using Cardano's method. Understand discriminant analysis and find real and complex roots.

Оставьте математику — воспользуйтесь калькулятором

Пошаговые инструкции

1

Normalize and Depress the Cubic Equation

Begin with ax³+bx²+cx+d=0. Divide by 'a' to get x³ + Bx² + Cx + D = 0. Then, substitute x = y - (B/3) to transform it into the depressed cubic form y³ + py + q = 0. Calculate p = C - (B²/3) and q = D - (BC/3) + (2B³/27).

2

Calculate the Discriminant (Δ)

Determine the nature of the roots by calculating the discriminant: Δ = (q/2)² + (p/3)³. If Δ > 0, there is one real and two complex conjugate roots. If Δ = 0, all roots are real, with at least two equal. If Δ < 0, there are three distinct real roots (casus irreducibilis).

3

Apply Cardano's Formula for y

Use Cardano's formula to find the roots of the depressed cubic. Calculate U = ³√(-q/2 + √Δ) and V = ³√(-q/2 - √Δ). The three roots for y are y₁ = U + V, y₂ = ωU + ω²V, and y₃ = ω²U + ωV, where ω and ω² are the complex cube roots of unity.

4

Substitute Back to Find Original x Roots

Finally, revert the substitution. Using x = y - (B/3), calculate each of the three x roots: x₁ = y₁ - (B/3), x₂ = y₂ - (B/3), and x₃ = y₃ - (B/3). These are the solutions to your original cubic equation.

Solving cubic equations manually is a fundamental skill in advanced algebra and engineering, providing deep insight into polynomial behavior. While a cubic equation solver can quickly provide roots, understanding the manual process, particularly Cardano's method, illuminates the mathematical structure behind these solutions. This guide will walk you through the steps to solve any cubic equation of the form ax³+bx²+cx+d=0, identifying all real and complex roots.

Prerequisites

Before attempting to solve a cubic equation manually, ensure you have a solid understanding of the following:

  • Basic Algebra: Proficiency in manipulating equations, including addition, subtraction, multiplication, and division of polynomials.
  • Quadratic Formula: Knowledge of how to solve quadratic equations (ax²+bx+c=0) using the formula x = [-b ± √(b²-4ac)] / 2a.
  • Complex Numbers: Familiarity with the imaginary unit 'i' (where i² = -1) and operations involving complex numbers.
  • Cube Roots: Ability to calculate real and complex cube roots.

The General Approach: Cardano's Method

Cardano's method transforms the general cubic equation into a simpler form, solves that, and then transforms the solution back to the original variables. The complexity arises from the need to handle potential complex numbers even when all roots are real.

Step 1: Normalize and Depress the Cubic Equation

Given the equation ax³+bx²+cx+d=0, where a ≠ 0:

  1. Normalize: Divide the entire equation by 'a' to get a monic cubic (leading coefficient is 1): x³ + (b/a)x² + (c/a)x + (d/a) = 0 Let's rename the coefficients for simplicity: x³ + Bx² + Cx + D = 0, where B=b/a, C=c/a, D=d/a.

  2. Depress: Eliminate the x² term by making a substitution. Let x = y - (B/3). Substitute this into the normalized equation. After expansion and simplification, the equation will take the form: y³ + py + q = 0 where: p = C - (B²/3) q = D - (BC/3) + (2B³/27)

    Alternatively, using the original coefficients a, b, c, d, the formulas for p and q are: p = (3ac - b²) / (3a²) q = (2b³ - 9abc + 27a²d) / (27a³)

Step 2: Calculate the Discriminant (Δ) and Determine Root Nature

The discriminant helps predict the nature of the roots of the depressed cubic y³ + py + q = 0. It is calculated as:

Δ = (q/2)² + (p/3)³

  • If Δ > 0: One real root and two complex conjugate roots.
  • If Δ = 0: All roots are real, and at least two are equal.
  • If Δ < 0: Three distinct real roots (this is known as the casus irreducibilis and requires trigonometric methods or careful handling of complex cube roots).

Step 3: Apply Cardano's Formula to Solve for y

Now, use Cardano's formula to find the roots of the depressed cubic y³ + py + q = 0:

Let U = ³√(-q/2 + √Δ) Let V = ³√(-q/2 - √Δ)

The three roots for 'y' are:

y₁ = U + V y₂ = ωU + ω²V y₃ = ω²U + ωV

where ω = (-1 + i√3)/2 and ω² = (-1 - i√3)/2 are the complex cube roots of unity. When taking cube roots, ensure consistency. If U is a specific cube root of (-q/2 + √Δ), then V must be the specific cube root of (-q/2 - √Δ) such that UV = -p/3.

Step 4: Substitute Back to Find x Roots

Recall the substitution x = y - (B/3). Use this to find the roots of the original equation:

x₁ = y₁ - (B/3) x₂ = y₂ - (B/3) x₃ = y₃ - (B/3)

Remember that B = b/a from the normalization step.

Worked Example

Let's solve the equation: x³ - 6x² + 11x - 6 = 0

Here, a=1, b=-6, c=11, d=-6.

  1. Normalize and Depress:

    • The equation is already normalized (a=1). So, B=-6, C=11, D=-6.
    • Substitute x = y - (B/3) = y - (-6/3) = y + 2.
    • (y+2)³ - 6(y+2)² + 11(y+2) - 6 = 0
    • (y³ + 6y² + 12y + 8) - 6(y² + 4y + 4) + 11(y+2) - 6 = 0
    • y³ + 6y² + 12y + 8 - 6y² - 24y - 24 + 11y + 22 - 6 = 0
    • Combine terms: y³ + (6-6)y² + (12-24+11)y + (8-24+22-6) = 0
    • y³ - y + 0 = 0, which simplifies to y³ - y = 0.
    • So, for the depressed cubic y³ + py + q = 0, we have p = -1, q = 0.
  2. Calculate Discriminant:

    • Δ = (q/2)² + (p/3)³ = (0/2)² + (-1/3)³ = 0 + (-1/27) = -1/27.
    • Since Δ < 0, there are three distinct real roots.
  3. Apply Cardano's Formula (or factor directly for this simple case):

    • For y³ - y = 0, we can factor: y(y² - 1) = 0 => y(y-1)(y+1) = 0.
    • So, the roots for y are y₁=0, y₂=1, y₃=-1.
    • If we were to use the formula with Δ < 0, it would involve complex cube roots which ultimately combine to real numbers. For instance, U = ³√(-0/2 + √(-1/27)) = ³√(i/√27) and V = ³√(-0/2 - √(-1/27)) = ³√(-i/√27). This path is significantly more complex to execute by hand. For this example, factoring is much simpler.
  4. Substitute Back:

    • Recall x = y + 2.
    • x₁ = y₁ + 2 = 0 + 2 = 2
    • x₂ = y₂ + 2 = 1 + 2 = 3
    • x₃ = y₃ + 2 = -1 + 2 = 1

    The roots of x³ - 6x² + 11x - 6 = 0 are x=1, x=2, and x=3.

Common Pitfalls and Mistakes

  • Algebraic Errors: The most frequent source of error is incorrect expansion or simplification during the depression step. Double-check all calculations.
  • Sign Errors: Pay close attention to negative signs, especially when calculating p, q, and the discriminant.
  • Cube Root Ambiguity: When calculating U and V, there are three cube roots for any complex number. Ensure that the chosen U and V satisfy UV = -p/3. Incorrect choices will lead to incorrect y roots.
  • Complex Number Arithmetic: Mistakes in adding, subtracting, multiplying, or dividing complex numbers are common, particularly when dealing with ω and ω².
  • Casus Irreducibilis (Δ < 0): This case is notoriously difficult to solve manually using Cardano's direct formula, as it involves taking cube roots of complex numbers that eventually yield real results. If you encounter Δ < 0, trigonometric solutions (e.g., using Vieta's substitution x = 2√(-p/3)cosθ) are often preferred for theoretical understanding, though they are outside the scope of basic Cardano's method described here.

When to Use a Calculator for Convenience

While understanding the manual process is invaluable, the algebraic complexity of Cardano's method, especially for equations with non-integer coefficients or when Δ < 0, makes manual calculation prone to errors and extremely time-consuming. A dedicated cubic equation solver is highly recommended for:

  • Accuracy: Eliminating human calculation errors.
  • Speed: Obtaining roots instantly.
  • Complex Cases: Handling scenarios with complex roots or the casus irreducibilis effortlessly.
  • Verification: Confirming manual calculations.

For practical applications, leverage the power of computational tools. For conceptual mastery, the manual steps are indispensable.

Готовы рассчитать?

Откажитесь от ручной работы и получите мгновенные результаты.

Открыть калькулятор

Настройки