Solving Cubic Equations - General Method

  • Thread starter Thread starter TheDestroyer
  • Start date Start date
AI Thread Summary
To solve the cubic equation ax^3 + bx^2 + cx + d = 0, the general method involves reducing it to a simpler form without the x^2 term. This is achieved by substituting x with y + y0 to eliminate the quadratic term. The resulting reduced cubic equation can be solved using the relationship x^3 + mx - n = 0, where m and n are derived from the original coefficients. The solutions for a and b can yield up to three distinct values for x, as each cube root provides multiple complex solutions. This method effectively allows for solving all cubic equations systematically.
TheDestroyer
Messages
401
Reaction score
1
Hi guyz,

How can I solve the equation with the form :

ax^3 + bx^2 + cx + d = 0

I want the general way to solve allllllllll cubic equations..

Thanks
 
Mathematics news on Phys.org
The post above is very good but here it is in a nutshell:

We know that (a- b)3= a3-3a2b+ 3ab2- b3 and that 3ab(a-b)= 3a2b- 3ab so:

(a-b)3+ 3ab(a-b)= a3- b3
(the middle terms cancel).

That is: if we pick any two numbers a, b and let x= a- b, m= 3ab and n= a3- b3, then x3+ mx= n.

What about the other way? If we are given m and n, can we solve for a and b (and so find x)?

Yes, we can. From m= 3ab, we have b= m/(3a). Put that into
a3- b3= n and we have a3- m3/(33a3)= n

Multiply both sides of the equation by a3 and we have the (6th degree!) equation
a6- (m/3)3= naa3.

But if we let u= a3, this reduces to a quadratic equation for u: u2- nu- (m/3)3= 0.

We can solve that by the quadratic formula:
u= a3= (n +/- √(n2+ 4(m/3)3))/2= (n/2)+/- √((n/2)2+ (m/3)3).

Since a3- b3= n,
b3= a3- n
= (-n/2)+/- √((n/2)2+ (m/3)3).

Solving for a and b,

a= (((n/2)+/- √((n/2)2+ (m/3)3))1/3
b= ((-(n/2)+/- √((n/2)2+ (m/3)3))1/3

and, finally, x= a-b.


Notice that the equation was x3+ mx- n= 0 which has no x2. This is the "reduced" cubic.

To solve a general cubic, x3+ ax2+ bx+ c= 0,
"Shift" the variable: replace x by y+ y0 in this equation and then choose y0 to make the coefficient of y2 equal to 0.
 
Thanks Guyz,

Thanks Guyz, I hope these equations are true, because i can't check them right now :)

I'm very thankful :):)
 
?

Hey Guyz, Does the equation "imhereyeah" posted solves with 3 values of x? or 1 only?
 


Originally posted by TheDestroyer
Hey Guyz, Does the equation "imhereyeah" posted solves with 3 values of x? or 1 only?

Yes. Note that the "a" and "b" in that reply are derived from cube roots. So "a" and "b" each have 3 possible (complex) values giving a total of 9 combinations in the solution (though at most 3 will be distinct).
 
Last edited:
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top