Register to reply

Problem of solving the cubic function

by Martin Zhao
Tags: cubic, function, solving
Share this thread:
Martin Zhao
#1
Apr14-14, 06:29 PM
P: 8
Guys, I may need your help. There is a question saying that how to solve the cubic function in general form, which means that y=ax^3+bx^2+cx+d. How do you guys solve for x? To be honest, I have no idea of this question. Probably, it uses the same way as the quartic function. Thanks!
Phys.Org News Partner Mathematics news on Phys.org
'Moral victories' might spare you from losing again
Fair cake cutting gets its own algorithm
Effort to model Facebook yields key to famous math problem (and a prize)
micromass
#2
Apr14-14, 06:34 PM
Mentor
micromass's Avatar
P: 18,086
Read this: http://en.wikipedia.org/wiki/Cubic_f...cubic_function
AMenendez
#3
Apr14-14, 11:40 PM
P: 6
There are numerous ways of solving cubic functions, but the most efficient way would be to plot it using some type of software--most easily maple, MATLAB, or Mathematica. Once you do that, locate one of the roots. Use the root as a factor, and divide the cubic by that factor to obtain a quadratic. Quadratics are easy to solve, thus you can easily find the remaining two roots.

micromass
#4
Apr15-14, 10:09 AM
Mentor
micromass's Avatar
P: 18,086
Problem of solving the cubic function

Quote Quote by AMenendez View Post
There are numerous ways of solving cubic functions, but the most efficient way would be to plot it using some type of software--most easily maple, MATLAB, or Mathematica. Once you do that, locate one of the roots. Use the root as a factor, and divide the cubic by that factor to obtain a quadratic. Quadratics are easy to solve, thus you can easily find the remaining two roots.
Well, if you're going to be content with numerical answers, then there are many good techniques to approximate the roots to a very high degree: http://en.wikipedia.org/wiki/Newton's_method
disregardthat
#5
Apr16-14, 05:56 AM
Sci Advisor
P: 1,742
For the cubic equation [itex]ax^3+bx^2+cx+d=0[/itex] (in your case the constant term is [itex]d-y[/itex], not [itex]d[/itex]), try substituting [itex]x = z +\frac{\gamma}{z}[/itex], and solve for [itex]z[/itex] by choosing the constant [itex]\gamma[/itex] correctly. If fairly certain that for a good choice of [itex]\gamma[/itex] (it will become apparant what [itex]\gamma[/itex] must be) you will end up with a quadratic function in [itex]z^2[/itex].

This way you may arrive at the formula yourself, it's a neat exercise. You probably need to be careful verifying your solution afterwards, as [itex]z +\frac{\gamma}{z}[/itex] is not defined everywhere, and does not attain all values. To make calculations easier, you can assume [itex]a = 1[/itex] first, and make the necessary modification afterwards.


Register to reply

Related Discussions
Solving a cubic function Calculus & Beyond Homework 2
Solving for x-cubic function Precalculus Mathematics Homework 12
Solving a cubic... sort of! General Math 13
Solving cubic equations General Math 9
Solving Cubic Equations Calculus & Beyond Homework 2