How to Solve Ax3+bx2+cx+d

Solving cubic equations of the form ax3 + bx2 + cx + d = 0 is a fundamental skill in algebra that appears in various mathematical and real-world applications. Whether you're tackling problems in physics, engineering, or pure mathematics, understanding how to find the roots of a cubic polynomial can be incredibly valuable. Although these equations may seem complex at first glance, with systematic methods and some practice, you can learn to solve any cubic equation efficiently.

How to Solve Ax3 + bx2 + cx + d = 0


Understanding the Structure of Cubic Equations

Before diving into solution methods, it's essential to understand the structure of cubic equations. The general form is:

ax3 + bx2 + cx + d = 0

where:

  • a ≠ 0 (if a = 0, it's a quadratic equation)
  • b, c, d are coefficients that can be real or complex numbers

The goal is to find the values of x that satisfy the equation—these are called roots or solutions. Cubic equations can have up to three real roots or a combination of real and complex roots.


Step 1: Normalize the Equation

The first step in solving a cubic is to simplify it by dividing through by a to make the coefficient of x3 equal to 1:

x3 + (b/a) x2 + (c/a) x + (d/a) = 0

Let:

  • p = (3ac - b2) / (3a2)
  • q = (2b3 - 9abc + 27a2d) / (27a3)

These substitutions set the stage for depressed cubic equations, which are easier to solve.


Step 2: Convert to a Depressed Cubic

To eliminate the quadratic term, perform a substitution:

x = y - b / (3a)

Substituting back into the normalized cubic results in a simplified form:

y3 + py + q = 0

This is called a depressed cubic because it has no quadratic term, making it more manageable to solve.


Step 3: Solve the Depressed Cubic

There are multiple methods to solve the depressed cubic, including Cardano's method, which is the most common. The key is to find the roots using the discriminant and cube roots.

Calculating the Discriminant

Compute:

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

The value of Δ determines the nature of the roots:

  • If Δ > 0: One real root and two complex conjugate roots
  • If Δ = 0: All roots are real, with at least two equal
  • If Δ < 0: All roots are real and distinct

Finding the Roots

Calculate:

u = cube root of ( -q/2 + √Δ )

v = cube root of ( -q/2 - √Δ )

Then, the solutions for y are:

y = u + v

Finally, substitute back to find x:

x = y - b / (3a)

For cases where Δ < 0, and roots are all real, you can use trigonometric methods involving cosines to find the roots, which we will explore next.


Step 4: Solving When Roots Are All Real (Δ < 0)

When the discriminant indicates three real roots, use the trigonometric solution:

Define:

θ = arccos( (3q) / (2p) * √(-3/p) )

Then, the roots are given by:

  • x1 = 2√(-p/3) * cos(θ/3) - b/(3a)
  • x2 = 2√(-p/3) * cos((θ + 2π)/3) - b/(3a)
  • x3 = 2√(-p/3) * cos((θ + 4π)/3) - b/(3a)
This approach utilizes the fact that all roots are real and involves roots of unity and trigonometric functions.

Step 5: Factoring and Finding Roots

Once you have an initial root (say, x1), you can perform polynomial division or synthetic division to factor the cubic:

  • Divide the original cubic by (x - x1)
  • Obtain a quadratic factor
  • Solve the quadratic using quadratic formula or factoring

This process simplifies solving the cubic by breaking it down into manageable parts.


Practical Example

Suppose you need to solve:

2x3 - 4x2 - 22x + 24 = 0

Step 1: Divide through by 2:

x3 - 2x2 - 11x + 12 = 0

Step 2: Use substitution x = y + 2/3 to convert to depressed cubic or directly attempt rational root theorem to find rational roots:

  • Possible roots: ±1, ±2, ±3, ±4, ±6, ±12

Test x = 1:

1 - 2 - 11 + 12 = 0 → root found!

Now, divide the cubic by (x - 1):

Remaining quadratic: 2x2 - 4x - 12 = 0

Solve quadratic:

Using quadratic formula:

x = [4 ± √(16 - 4*2*-12)] / (2*2) = [4 ± √(16 + 96)] / 4 = [4 ± √112] / 4

which simplifies to:

x = [4 ± 2√28] / 4 = [4 ± 2√4*7] / 4 = [4 ± 4√7] / 4 = 1 ± √7

Solutions: x = 1, x = 1 + √7, x = 1 - √7


Summary of Key Points

Solving cubic equations involves a systematic approach:

  • Normalize the equation by dividing through by the leading coefficient.
  • Transform the cubic into a depressed cubic to simplify the problem.
  • Calculate the discriminant to determine the nature of roots.
  • Use Cardano’s method with cube roots for complex roots, or trigonometric methods for real roots.
  • Factor the cubic once a root is found and solve the resulting quadratic.

With these methods, solving cubic equations becomes a manageable task, enabling you to find roots accurately whether they are real or complex. Practice with different equations to build confidence and develop an intuitive understanding of the solution process.

Back to blog

Leave a comment