Microsoft Store
 

Cubic function


 

In mathematics, a cubic function is a function of the form

Root-finding formula

The formula for finding the roots of a cubic function is fairly complicated. Therefore, it is common for some students to use the rational root test or a numerical solution instead.

Related Topics:
Rational root test - Numerical solution

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

If we have

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:f(x) = ax^3 + bx^2 + cx + d = a(x - x_1)(x - x_2)(x - x_3),

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Let

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:q = rac{{3c-b^2}}{{9}} and

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:r = rac{{9bc - 27d - 2b^3}}{{54}}

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Now, let

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:s = sqrt{{ rac{{r}}{{2}} + sqrt{{ rac{{q^3}}{{27}}+ rac{{r^2}}{{4}}}}}} and

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:t = sqrt{{ rac{{r}}{{2}} - sqrt{{ rac{{q^3}}{{27}}+ rac{{r^2}}{{4}}}}}}

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The solutions are

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:x_1 = s+t- rac{{b}}{{3}}

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:x_2=- rac{{1}}{{2}}(s+t)- rac{{b}}{{3}}+ rac{{sqrt{{3}}}}{{2}}(s-t)i

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:x_3=- rac{{1}}{{2}}(s+t)- rac{{b}}{{3}}- rac{{sqrt{{3}}}}{{2}}(s-t)i

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

See also: cubic equation, spline.

Related Topics:
Cubic equation - Spline

~ ~ ~ ~ ~ ~ ~ ~ ~ ~