Talk:Cubic function
![]() | Mathematics B‑class Mid‑priority | |||||||||
|
![]() | The contents of Cubic equation was merged into Cubic function. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
Would like to rate this, but wonder if it should be merged with cubic equation? Geometry guy 01:07, 21 May 2007 (UTC)
What is the name of the shape in a Cubic Function Graph? 168.170.46.5 16:39, 11 April 2006 (UTC)
Historically, it is called a cubic parabola, which is confusing if the term parabola has always meant the curve of a second-degree polynomial in your education. The 1911 Britannica article Parabola describes many curves having the name parabola. Alternative names include cubical parabola, parabola of third degree, cubic polynomial curve, third-degree polynomial curve, and polynomial curve of third degree. Other names are variations of what I have listed but substituting order for degree, or rephrasing of third degree as of degree 3.Nicknicknickandnick 21:02, 23 May 2006 (UTC)
Root-finding Formula
When I merged from [Cubic equation|talk], I noticed each had a different set of formulae for finding the roots. I chose the one that looked simpler, but thought it best to preserve this one as well (just in case the simpler one is wrong or something!) See below: —Celtic Minstrel (talk • contribs) 20:08, 6 December 2007 (UTC)
Inconsistency in Cardano's method
It is said that
But according to the equation some lines lower
so
I think the latter is consistent with the earlier stated when applying the quadratic ABC-formula
another inconsistency here
A significant problem it seems to me is that at the introduction (top of page) we have the usual a,b,c,d form of the function. However, at the begining of the Cardano part, we start with a monic form (thats OK) BUT with coefficients 1,a,b,c !!! this is a really bad idea - can we please keep the coeffs a,b,c,d, to `always' represent the original coeffs at the top of the page. To do otherwise is really confusing. Halothane (talk) 18:36, 30 July 2008 (UTC)
Chebishew radicals - inconsistency and replacement
Support to Halotane for a, b, c, d form that should be extended to "Solution in terms of Chebyshew radicals" and to "The case of Cubic equation with real coefficients".
Since Chebyshev cosine is rather inconvenient there is a suggestion below how both could be replaced with ordinary trigonometric and hyperbolic operators.
Stap (talk) 08:36, 16 September 2008 (UTC)
The formula
If we have
let
and
where Δ is the discriminant defined above. Now, let
and
The solutions are
Merge
I haven't seen any discussion of the merge and so this may be a moot point that has already been demonstrated, but I would just like to point out the following inconsistency:
Is there any reason why cubics should be different? asyndeton talk 20:19, 6 December 2007 (UTC)
- Yes, I agree that is a little odd. This was rather a hard decision. Switch it around if you like, but it would require a little fiddling with the intro section (ie before the table of contents). The reason I chose "function" instead of "equation" is that it was easier (for me) to derive the equation from the function rather than the other way around. I agree the inconsistency is not good though. —Celtic Minstrel (talk • contribs) 20:30, 6 December 2007 (UTC)
- And for the record, the only one of those that doesn't have a "function" page is Quintic:
- Linear function
- Quadratic function
- Quartic function
- Quintic function is a redirect.
- —Celtic Minstrel (talk • contribs) 20:44, 6 December 2007 (UTC)
- I wasn't aware of the function pages; I only came across this one when I saw the suggested merge at 'Cubic equation'. I've seen that you've proposed the merging of quartic function/equation and I think as long as we're consistent about article names, all will be fine. asyndeton talk 20:48, 6 December 2007 (UTC)
Cardano/Tartaglia Contest
I saw no source for what was previously up, and what I'm saying has a source for it, so I believe I'm justified in correcting what was said.
What was previously said was that Cardano broke his promise to Tartaglia. By modern standards, this is incorrect. The promise he made to Tartaglia was that he would not publish Tartaglia's work: Cardano published del Ferro's work. Not only that, but part of the agreement was that even if he did publish something on cubics, that he give Tartaglia a decent amount of time to at least publish his results. And I don't believe it was just a few years, he gave Tartaglia about a decade to publish his results, in which Tartaglia did nothing. Cardano even published a book about arithmetic in the meantime and sent Tartaglia a copy to show that he kept his promise. That, and the fact that he could've ignored giving Tartaglia any credit for an independent proof should be something worthwhile to say.
Later on I'll add in a few more dates and specifics from my source. Fephisto (talk) 03:20, 4 March 2008 (UTC)
- There is one source that does say that Tartaglia broke his promise, that is Mathematics: From the Birth of Numbers by Jan Gullberg, page 316. It is prudent to say there have been several areas in this book that have been inaccurate (still an excellent book), so I am not saying you are wrong, I am just stating that there is a published book that contradicts what you are saying. So what is your source for the information you provided?--Terets (talk) 17:15, 28 December 2008 (UTC)
- To be a sufficiently accurate source it needs to come from a peer-reviewable source like a scholarly journal. Published books are not bound to this requirement and thus should not be used as a primary source of information. --Fusionshrimp 128.194.39.250 (talk) 20:02, 2 March 2009 (UTC)
The (complete) root-finding formula
I've written the complete formula that treat the case too. Tested and working, found on an Italian math paper. Sorry for my bad English and format. Please, make it more readable if you mind... Heavymachinegun 87.10.134.182 (talk) 23:49, 4 July 2008 (UTC)
Four methods for solution of the cubic equation by Nilaish
Method is shown by the help of the article given below :-
Abstract & Article :
We have general cubic equation ,
(1) ax³ + bx² + cx + d = 0 ; where a, b , c , d € R , a ≠ 0. Also ,
(1’) x³ + (b/a)x² + (c/a)x + d/a = 0
Solution :
Method 1
As from the equation 1 , we can say that , it can factorized as shown below,
(2) δ( x + α )( x + β )( x + γ ) = 0
where δ, α, β, γ are arbitrary constants. The matter which is to be observed is given below. When we split 2 then we get after rearranging ,
(3) x³ + ( α + β + γ )x² + ( αβ + βγ + γα )x + αβγ = 0.
Hence , equations 3 and 1’ are identical so we can equate coefficients , we get,
(4) ∑α = (b/a).
(5) ∑αβ = (c/a).
(6) αβγ = (d/a).
Solving equations 4, 5 , 6 which are linear equations in four variables, we will get the roots of the equation 1, i.e.,
(7) x = {-α, -β, -γ }.
Method 2
As from equation 1’ we have ,
x³ + (b/a)x² + (c/a)x + d/a = 0
As from equation 3 we have ,
x³ + ( α + β + γ )x² + ( αβ + βγ + γα )x + αβγ = 0.
Now we can mentally write the roots of the given cubic equation. Factorize constant term in the equation (d/a) ; into three factors say, p , q , r.
Such that,
(8) p + q + r = (b/a). (9) pq + qr + pr = (c/a).
This method is best illustrated using the example give below ,
F(x) = x³ + 6x² + 11x + 6 = 0
Sum of coefficients = S = 1 + 6 + 11 + 6 = 24.
Constant term in the equation = 6.
Now we have , 6 = 1.2.3 = 1.1.6
Now we will check the conditions given in 8 and 9 which set of p , q , r satisfies these conditions are the roots of the equation.
And we see that ( 1,2,3 ) satisfies these conditions so these are the roots of the equation , x³ + 6x² + 11x + 6 = 0.
And ( 1,1,6) is rejected.
Note :- In using these methods always remove the coefficient of x³. It should be always 1.
Method 3
From the equation 1’ let ,
A = (b/a) ; B = (c/a) and C = (d/a).
Hence we get,
(10) x³ + Ax² + Bx + C = 0.
Now let ,
(11) (x³ + Ax^2 ) = − ( Bx + C )
Now complete ( x³ + Ax^2 ) in cube ,say, ( x + p )³ then,
(12) ( x + p )³ = x³ + Ax² + A’x + p³
where , Ax² = 3px² and A’x = 3p²x
Now put 7.11 in 7.12 and we get,
(13) ( x + p )³ = − ( Bx + C ) + A’x + p³
Now in practice R.H.S of the equation 13 turns into ,
(14) ( x + p )³ = ( x + p ).
So, we put ( x + p ) = y.
So the equation becomes,
Or , y³ − y = 0
Or, y²( y − 1 ) = 0.
i.e, we get this three equations simply to solve these cubic equations,
(15) ( x + p ) = 0. (16) ( x + p ) = 1. (17) ( x + p ) = -1.
And the solution of the equation 1 is given by ,
(18) x = { -p , ( -p + 1 ) , ( -p – 1 ) }.
A few examples for illustration :-
Ex1. x³ + 6x² + 11x + 6 = 0.
ð x³ + 6x² = - ( 11x + 6 )
But , ( x + 2 )³ = x³ + 6x² + 12x + 8.
= - ( 11x + 6 ) + 12x + 8.
= ( x + 2 ).
So, y³ − y = 0. Therefore, x = { -2 , -1 , 3 }.
Ex.2. x³ + 7x² + 14x + 8 = 0
Proceeding in the same way, ( x + 3 )³ = x³ + 9x² + 27x + 27.
= 2x² + 13x + 19.
= ( x + 3 )( 2x + 7 ) – 2 . so, y³ = y( 2y + 1 ) – 2 . or, y³ - y( 2y + 1 ) + 1 = 0. Or, ( y – 1 )( y + 1 )( y – 2 ) = 0
So, x = { -2 , 4 , ± 1 }.
Note : 2( x + 3 ) – 6 + 7 = (2y + 1)
Method 4 :
Standard form of cubic equation is given by ,
(1.1) ax³ + bx² + cx + d = 0 ; Where a , b , c , d € R and a ≠ 0.
We can use many methods to solve this equation (1.1) but according to Numerical Analysis method , we require two boundaries to obtain roots.
We have from equation (1.1) ,
(1.1) ax³ + bx² + cx + d = 0 ; a ≠ 0.
And a , b , c , d € R.
Or, ax³ + bx² = - ( cx + d ).
So, x = √[ - ( cx + d )/(ax + b) ].
Or , x = √(-M). , where M = [( cx + d )/(ax + b)].
M must be negative or zero to have real outcome. Otherwise it will be some complex number.
(1.2) M ≤ 0
Which means ,
[(cx + d)/(ax + b)] ≤ 0.
Or , ( cx + d )( ax + b ) ≤ 0.
Iff , ( ax + b) ≠ 0 . Now we have ,
( x + d/c )( x + b/a ) ≤ 0. c,a ≠ 0
i.e.,
(1.3) ( x + d/c )( x + b/a ) ≤ 0
we have a beautiful inequality , which can be further solved by using any iterative method. By using sign scheme we can extract the boundaries for the equation 1.1.
Note :- The only thing which must be taken care of is ( ax + b) ≠ 0 and c,a ≠ 0 , > 0.
After getting the boundaries for the equation 1.3 we can further proceed using Iterative Method.
One Example to illustrate my method :-
Solve for x in , x³ - 6x² + 11x – 6 = 0.
Solution :
Using my analysis ; x³ - 6x² = -( 11x – 6 ) .
So, x = √[-(11x – 6)/(x – 6 )].
As per using my equation 1.2 we have now,
Or , ( 11x – 6 )( x – 6 ) ≤ 0
Taking the sign scheme of this inequation, The solution for the inequality we have ,
So, x € [ 6/11 , 6 ].
Now testing f(a) => f ( 6/11 ) <> 0.
Therefore , according to Newton - Raphson’s method at x◦ = 6. we will have a calculation chart which shows the possible iterations using the equation given below. ( 1.4 ) x1 = x◦ - f(x◦)/f’(x◦)
After seven Iterations we have,
Approximate value of one root is to three decimal places is 3.000. Therefore , we get ( x – 3 ) a factor of x³ - 6x² + 11x – 6 = 0. Hence, by using synthetic Division method , we can further calculate the other roots.
Source : Dr. Nilaish's Journal for maths., ISSN 0974 - 3022 , http://nilaish.livejournal.com/ , Vol.1, No. 8,7. nilaish (talk) 05:18, 4 August 2008 (UTC)
Observation
My friend from above, there is only one and only one way to solve a cubic equation, algebraically, which was given by italian's mathematicians, in then XV century, "those men's where the choseen ones, which in their hard lives had the pleasure to solve it, as a gift of destiny" I work hard to find an altenative solution, and in fact I came with one, which I do not publish, however Tartaglia condition's, are unavoidable, so is the same so this seem to me like the only way, otherwise there are, numerical methods, to do it, but !!JUST AN ALGEBRAIC GENERAL SOLUTION!!, I try what you have said but always find me, in the same cubic, you can not solve a cubic equation, nor any equation solving something in a minor degree.
Lagrange solvents, my oh, my....
Gaddy Alcalá —Preceding unsigned comment added by 200.90.51.187 (talk) 17:46, 2 May 2009 (UTC)
Correct equal case
In the "Root-finding formula" section the solution is split for DELTA >= 0 and DELTA < 0 but at the beginning of the article there's a separate case for DELTA = 0. I think this last case should be treated apart or at least put in the DELTA<0 case, where we have 3 real solutions . For instance when we have y = x^3, DELTA=0 and we get 3 coincident solutions that are real. Is it just that with DELTA = 0 in the second case we may get a NaN calculating theta ? Wentu (talk) 15:09, 22 August 2008 (UTC)
Citations
I notice a conspicuous lack of citations throughout this page. If anyone knows where published forms of what is printed in this article can be found and is willing to go though and create citations, that would greatly improve the article as a whole. —Preceding unsigned comment added by 75.157.213.174 (talk) 01:31, 18 November 2008 (UTC)
I think that formula for x is totally wrong. Should be .. Correct me, if I'm wrong.. --BiH (talk) 22:39, 29 December 2008 (UTC)
- Pull a factor 2 out of the square root and divide numerator and denominator by 2. DVdm (talk) 10:16, 30 December 2008 (UTC)
- Indeed.. Wasn't paying attention on that.. Thanks! --BiH (talk) 19:45, 31 December 2008 (UTC)
How to use these things
I want to use this useful piece of mathematical technology to make some graphs. Sadly, this page lacks the critical information. Could a mathematician please add a section to explain whether one changes a, b or c to make the curves flatter/steeper, change the y intercept, etc.? The article on quadratic equations does this graphically through a clever image, but a few lines of text would be great. Apologies to all mathematicians recoiling in horror at the thought of using maths.... :-) --Matt's talk 18:50, 8 January 2009 (UTC)
- Could you explain what makes it critical information? I agree that applied math has its importance; I just don't see what makes this particular use of a graph useful. Also, the reason that such a thing is not explored for cubics is it would be considerably more complicated than quadratics as there are four degrees of freedom instead of just three. This can be easily demonstrated when one considers that a quadratic can be written easily in the form a(x-h)^2+k so that each translation or stretch factor is isolated; to do this for cubics would be horrendously ugly. --Fusionshrimp 128.194.39.250 (talk) 20:11, 2 March 2009 (UTC)
- Although I should say that this and related articles are pretty much horrendously ugly and useless plethoras of information. —Preceding unsigned comment added by 128.194.39.250 (talk) 20:16, 2 March 2009 (UTC)
One way to do this is has been shown by Thomas Mueller at "http://demonstrations.wolfram.com/ParametersForPlottingACubicPolynomial" perhaps we should add this to the reference list? Halothane (talk) 11:31, 1 July 2009 (UTC)
question about u=0
The article states that the roots x can be found from x=-p/3u + u - a/3
What if u==0??
- ==> Since u is defined as satisfying the condition 3uv + p = 0, your what-if u = 0 demands that p = 0, which reduces equation (2) to t3 + q = 0. DVdm (talk) 17:29, 22 January 2009 (UTC)
For example: 3x^3+10x^2+14x+27=0 and normalised to x^3+3.33x^2+4.66x+3=0
- ==> Overhere (and with this reduced precision) this would normalise to x3 + 3.33 x2 + 4.67 x + 9 = 0, resulting in u = 0.173. DVdm (talk) 17:29, 22 January 2009 (UTC)
gives u=0, which results in a division by zero?
- ==> Even your version x3 + 3.33 x2 + 4.66 x + 3 = 0 does not result in u = 0. Overhere it results in u = 0.377. DVdm (talk) 17:29, 22 January 2009 (UTC)
However, this cubic equation has 3 non-zero roots.
Can anyone provide a C++/Java implementation based on this page that actually works?
I've spent the past 2 days coding up both C++ and Java methods using several different variants based on this article and can't get any of them to give the correct answers in all test cases. — Preceding unsigned comment added by 212.20.240.70 (talk)
- ==> I suspect you either have defined your variable u as an integer, or you have used integer division. Anyway, always use a good old calculator before you try a programming language you don't thoroughly understand. DVdm (talk) 17:29, 22 January 2009 (UTC)
Why I don't have a wikipedia account
Yesterday I added a discussion comment as to an external reference in fact discussing the solution of quartics and not cubics and the confusing statement regarding D, and today I see that my comment is deleted and the text body remains unaltered.
What is the point of having a wikipedia "by the people, for the people" if some moderator deletes text without addressing the points made?
Wikipedia is a 21st century equivalent of the dark ages scriptures transcribed by moderating monks. Free - but moderated.
Now go and moderate my free expression. — Preceding unsigned comment added by 212.20.240.70 (talk)
- ==> Consider it done :-) - DVdm (talk) 19:10, 22 January 2009 (UTC)
This is crazy. The use of the constants is so inconsistent that an average reader would not be able to follow the derivations near the bottom of the page. The discriminant case, for example, is wrong. —Preceding unsigned comment added by 76.75.119.183 (talk) 20:36, 3 February 2009 (UTC)
Inconsistent Discriminant Definition
There is one in "Nature of the Roots" and another in "Root-Finding Formula". I think they differ by a multiplicative factor of -1/(108 a^4). A consequence is that in one case, there are 3 real roots if it is positive, but in the other case there are 3 real roots if it is negative. Shouldn't they use the same definition of the term within the same article?John Lawrence (talk) 17:45, 13 April 2009 (UTC)