Skip to content
  • Home
  • About
  • Contact Us
  • Omega CAS
  • Publications & Presentations
  • Systems Engineering
Search

Month: December 2021

How to solve a cubic equation

December 10, 2021January 24, 2022 / Michael Xue / 1 Comment

Consider the general cubic equation

x^3+bx^2+cx+d=0.\quad\quad\quad(*)

Let

y = x + \omega \implies x = y - \omega.\quad\quad\quad(1)

Substituting (1) into (*), we have

(y-\omega)^3 + b(y-\omega)^2+c(y-\omega) + d = 0.

This is a new cubic equation in y:

y^3 + (b-3\omega)y^2 + (3\omega^2-2b\omega+c)y - \omega^3+b\omega^2-c\omega+d=0\quad\quad\quad(2)

Let

\omega = \frac{b}{3}\quad\quad\quad(3)

so that (2) becomes

y^3 + (c-\frac{b^2}{3})y+d-\frac{bc}{3}+\frac{2b^3}{27}=0.

That is

y^3+py=q\quad\quad\quad(4)

where p = c-\frac{b^2}{3}, q = -d+\frac{bc}{3}-\frac{2b^3}{27} (see Fig. 1).

Thus, (4) is the so called depressed cubic equation. A solution is readily available through Cardano’s formula (see “Through the Mind’s Eye“).

Once we know y, (1) gives

x = y - \frac{b}{3}.

Fig. 1

Deriving the quadratic formula without completing the square

December 4, 2021December 3, 2021 / Michael Xue / 4 Comments

Consider the general quadratic equation

ax^2+bx + c =0, a \ne 0.\quad\quad\quad(*)

Let

y = x + \omega \implies x = y-\omega.\quad\quad\quad(1)

Substituting (1) into (*), we have

a(y-\omega)^2+b(y-\omega)+c = 0.

This is a new quadratic equation in y:

ay^2+(b-2a\omega)\cdot y + a\omega^2-b\omega+c=0.\quad\quad\quad(2)

Let

\omega = \frac{b}{2a} \quad\quad\quad(3)

so that (2) becomes

ay^2 + 0\cdot y + a(\frac{b}{2a})^2 - b(\frac{b}{2a}) +c=0.

That is,

ay^2  + \frac{-b^2}{4a} + c =0.\quad\quad\quad(4)

Solving (4) for y^2,

y^2 = \frac{b^2-4ac}{4a^2} \implies y = \pm \frac{\sqrt{b^2-4ac}}{2a}\quad\quad\quad(5)

Substituting (3) and (5) into (1) gives

x = \pm \frac{\sqrt{b^2-4ac}}{2a}-\frac{b}{2a}=-\frac{b}{2a} \pm \frac{\sqrt{b^2-4ac}}{2a},

i.e.,

x = \frac{-b \pm\sqrt{b^2-4ac}}{2a}.

Categories

  • Computer Algebra
  • Mathematics
  • Physics
Follow on WordPress.com

Google Translate

Archives

  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
Website Powered by WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • vroomlab.wordpress.com
    • Already have a WordPress.com account? Log in now.
    • vroomlab.wordpress.com
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...