Talk:Cubic equation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

I think the Cardano's Formula section describing negative discriminants needs to be revised and wording cleaned up.

spanish version[edit]

There are two examples on the spanish version. The method is slightly different. If you copy them, please quote the author.

General cubic formula unclear ?[edit]

Hi, I find the general cubic formula rather difficult to follow and in particular the expression "any square roots" and "any cube roots" too vague : I think these points in particular should be clarified. Doe sit mean that possibly complex numbers arise, for instance ? Sorry, I am not a math major at all and cannot help much more... (2A01:E0A:2D1:7190:9959:CCC5:7AC0:707F (talk) 09:50, 30 September 2021 (UTC))[reply]

I agree that it is unclear, but i cannot help any more than you...
Good luck finding someone available. Garethphua (talk) 03:44, 25 April 2024 (UTC)[reply]
It does indeed mean that complex numbers may arise. I have added a note which I hope clarifies that. JBW (talk) 16:18, 25 April 2024 (UTC)[reply]

Suitability of page for general audience[edit]

I'm a bit unhappy with this page as it stands. The standard trigonometric substitutions are not given; was there some reason for this? Shouldn't the Chebyshev cube root be given its own page? Also, it ought to be pointed out that in practice these equations are solved by iteration methods. Xanthoxyl 16:31, 23 June 2006 (UTC)[reply]
I agree, moreover I did few unreveiled contributions making this matter very simple as shown at
6. All complete roots ... Mladen Stambuk 89.111.250.119 12:29, 5 April 2007 (UTC)[reply]

History[edit]

Didn't Cardano learn the *formulas* from Tartaglia, rather than a method that shows that the solution is correct? (Cardano came up with the method discussed in this page.)

Accuracy Dispute[edit]

This page doesn't seem to be correct. Consider the equation:

This has three distinct real roots (0, 1, and -1). However, according to the page, it has , , and , and thus and and thus and the equation should have "two real roots, one of which is a double root."

It may be that the problem is just in the definition of the cubic — it is usually the convention that is the coefficient of (the article reverses the order). However, since obviously no one has ever checked this article, I can't be confident in any of the other equations. (And I don't have time now to check them myself.)

—Steven G. Johnson

This accuracy dispute has been sitting here for over a month with no activity related to it either here or on the main article. Is anyone paying attention to it? Bryan 08:22, 21 Jan 2005 (UTC)
I happened to stumble on the summary of Bryan's edit. The original poster is right in that there is a mistake in the article. -- Jitse Niesen 19:48, 21 Jan 2005 (UTC)
It turned out that the correct definition for t, mentioned in the previous article, is
instead of
So Steven was right that part of the problem is the definition of the cubic. But even after fixing this there is still the issue of what happens if the denominator vanishes. So I used the discriminant instead.

This would not have been a problem if someone had not changed the cubic polynomial back to without changing the definition of t. This is not the standard way to write a cubic polynomial in the theory of equations or algebra in general. This is because if you write it the other way, the coefficents become homogenous polynomials of degree n in the roots. You can see in the above expressions for t that in the first form, the numerator and denominator are both homogenous of degree six, and hence t has weight zero in the roots. This fact is not apparent in the second form.

I'm inclined to change it back to conform to the usage of mathematicians who work in this area. Any comment? Gene Ward Smith 22:04, 23 Jan 2005 (UTC)

I also added a short section on history; more can be written here as it is a nice story. I also removed the paragraph on which branch of the cube root to take, as I couldn't see its relevance. Furthermore, I made some more chances throughout and checked everything, except for (5) and the section on Chebyshev radicals. However, I still have a couple of problems with the page:
  • I don't understand the section Factorization. It states that we can find the real root by extracting cube roots only of positive quantities, but how?
  • The definition of is confusing: we have which is not a real number, but both the power series and the statement that this function solves suggest that it should be real. Furthermore, the definition of p in this section differs from the p in the rest. Does somebody have a reference for these Chebyshev radicals?

If we have one real root, we can find it by extracting the cube roots of real numbers. If for some reason we wanted only to take roots of positive numbers, and had negative ones, we could substitute -x for x, find the roots of that, and take the negative of the result. Gene Ward Smith 22:17, 23 Jan 2005 (UTC)

I understand that. The problem is, how do we get the number from which we need to take the cube root? I took the text in the article to mean that there is a way to do this, but I am not sure what formula archieves this. -- Jitse Niesen 13:38, 24 Jan 2005 (UTC)

The definition given is in terms of the power series and its analytic continuation, and the power series gives for . I think I'll change it so that it is clearer that the definition is not in terms of the arccosh function, but it says so as it stands. The equations given for the roots give , , and 0 for the three roots, which is correct. Gene Ward Smith 22:04, 23 Jan 2005 (UTC)

I still don't understand what the cosh is doing there. Are you sure it shouldn't be cos? That would make everything real on the interval [-2,2]. And please, do give a reference; it would improve the article and be a big help to us checking it (at least personally, I find I often make mistakes with cubic and quartic equations!). -- Jitse Niesen 13:38, 24 Jan 2005 (UTC)
It is possible to use either cosh or cos; it's essentially equivalent. Using cos, we can see this relates to the solution of the cubic using trigonometic functions; however putting it that way disguises the fact that it really comes down to an entirely algebraic solution, in terms of an algebraic function, and hence is exactly analogous to using radicals.
Here's an explanation of the trigonometric method:

http://www.sosmath.com/algebra/factor/fac111/fac111.html

Here's a discussion of Omar Khayyam's geometric method, which is closely related to this business:

http://jwilson.coe.uga.edu/emt669/Student.Folders/Jones.June/omar/omarpaper.html

There's a long and convoluted history involving this approach. So far as the mathematical accuracy of what I wrote, I'm a mathematician who specializes in this area, so I come in that way self-referenced. Gene Ward Smith 21:52, 24 Jan 2005 (UTC)
So I didn't remove the accuracy dispute tag. -- Jitse Niesen 19:55, 23 Jan 2005 (UTC)

I would appreciate a comment of June Jones and of Gene Ward Smith to 6. All complete root ... where at last (?) DETERMINANTS for Cubic & Quartic are introduced as well as NORMALIZED (instead depressed) CUBIC that enables GRAPHICAL RESOLVING much simpler than Omar Khayyam's geometric method.
89.111.254.251 12:52, 22 March 2007 (UTC)Mladen Stambuk[reply]

Continued accuracy dispute[edit]

I notice that the disputed tag was removed. However, the page still isn't correct for the simple example I gave above:

which has roots 0, -1, and 1. According to the revised page's notation, this has: , , and . Then, according to the page, , and the equation should have "one real roots and a pair of complex conjugate roots."

That's my mistake. I was confused by the fact that MathWorld uses different sign conventions for the discriminant on their web site. Sorry. -- Jitse Niesen 13:38, 24 Jan 2005 (UTC)

Please don't remove the disputed tag until you at least check all the equations against the roots of a few simple examples. (I don't care what convention you use for the coefficient numbering, but please be consistent!) —Steven G. Johnson 04:31, Jan 24, 2005 (UTC)

What would you say to my putting the coefficients the other way around, to correspond to how algebraists most often write them, putting the sign of the discriminant to be what algebraists usually want, checking everything, and removing the disputed tag? Gene Ward Smith 00:03, 25 Jan 2005 (UTC)
Please go ahead. I'm a bit surprised that you want to put the coefficients the other way around, but I'm sure you know best. If you prefer to use the t from Chebyshev radicals in the first section instead of the determinant, that's fine with me as well. When I asked you to provide some references, I meant the old-fashioned kind: books and papers. I did not want to question your knowledge, it's just that I'm a mathematician myself and I have often quite a bit of trouble getting all the signs right; I know many of my colleagues have similar problems and I presumed the same goes for you. I hope this clarifies the matter. -- Jitse Niesen 13:10, 25 Jan 2005 (UTC)

I've removed the disputed tag since I've checked at least through the Cardano's method section for a few sample polynomials and it seems to work (modulo a couple of special cases which I've now noted in the article). —Steven G. Johnson 19:53, Jun 5, 2005 (UTC)

Complete formula[edit]

For the form:

x3 + bx2 + cx + d = 0.


For the form:

ax3 + bx2 + cx + d = 0.


These were based on the formulas given on the page and were tested on a Ti-89... They seemed to work, however there may have been typos during the tex conversion process ... 71.0.202.231 21:38, 4 Apr 2005 (UTC)

Great! I would think these would be too complicated to insert in the article. Wonder what others think. Oleg Alexandrov 23:01, 4 Apr 2005 (UTC)
I don't think it's too useful in practice unless you eliminate the common subexpressions. —Steven G. Johnson 05:51, Apr 5, 2005 (UTC)

I strongly disagree that these formulas are too complicated to insert in the article. When I was looking for information about cubic and quartic equations I was confused why we didn't have explicit formulas like the quadratic equation. 67.71.20.89 02:57, 11 October 2006 (UTC) Jordan[reply]

At Cubic function the formulas are given in a usable form.
P.S. I can't get the formula given here to work, and the denominators are way too complicated, and can be rationalized, or at least they can be if you use the method indicated in the Cubic function article. --MathMan64 21:18, 17 October 2006 (UTC)[reply]

Would anyone know how to solve an equation like this:

(a+c)x^3 +(-2a+b+2c+d)x^2+(2a-2b+2c+2d)x+2b+2d is congruent (always equal to is what i mean) to 1. b and d are quite easy but how would get values for a and c?

All complete roots in terms of the determinants for
Cubic (along with Graphical resolving) and Quartic
[edit]

The schoolbook lecture containing few unrevealed contributions is prepared in order
to facilitate understanding and memorizing of Cubic & Quartic equation.
Just opposite to Complete formula above, there is no need for any accuracy dispute since
all denominators (3A & F for Cubic i.e. 8a & P for Quartic) per definition differ from zero.
Instead enormous number of magic substitutions four determinants – E along with
its sub determinant F for Cubic and Q, R & S for Quartic
– should be memorized and
inserted into two simple formulae (2) & (4) as presented at the abstracts below:
1. Cubic equation (extended abstract)










discriminates 8 cases; X1 & X2 nature in 5 Marginal ones is:





As shown above Xk-formula is suitable for practical calculation if E×F×(E2 – F3) = 0.
If F → 0 Cubic is converging into Primitive one (3AX + B)3 = B3 – 27A2D (see I. & II.).


In remaining cases its modification is recommended introducing R ≠ 0, x and z = z(g).




Identical structure of 4x3 ± 3x = g (Primeval Cubic) and of tigonometric & hyperbolic
formulae for triple argument leads up to either g = sinh3u or g = cosh3v i.e. g = cos3w.
VI. F < 0 i.e. f = – 1, g = sinh3u = 4sinh3u + 3sinhu → z(g) = u = arcsinh(⅓g),
x0= sinhu, X0= Rsinhu – S, X1,2= – R(sinhu ± i 3½coshu)/2 – S; E = 0 = g → IV.
VII. F > 0 i.e. f = + 1 ≤ g = cosh3v = 4cosh3v – 3coshv → z(g) = v = arccosh(⅓g),
x0 = coshv, X0 = Rcoshv – S, X1,2 = – R(coshv ± i 3½sinhv)/2 – S; g = 1 → III.
VIII. F > 0 i.e. f = + 1 ≥ g = cos3w = 4cos3w – 3cosw → z(g) = i w = i arccos(⅓g),
xk = cos(w + k×120°), Xk = Rcos(w + k×120°) – S; E = 0 = g → V.
Conclusion: in all of 8 cases X0 is real number, but X1 & X2 are conjugate if E2 > F3.
Besides, Primeval Cubic enables Semi-Graphical resolving (see C below) and
Geometrical Interpretation (Roots Flowchart): ± (y2 – x2) = 1, y2 + x2 = 1 & y = ± x.

2. Quatric equation (abstract)




Positive & negative value of Pk (k satisfying Pk2 > 0 should be chosen) results into
2 (two) symmetric pairs of either real or conjugate (if 16R/Pk < Pk2 + 4S) roots.

More history[edit]

This sounds completely wrong: <<In the early 16th century, the Italian mathematician Scipione del Ferro found a method for solving a class of cubic equations, namely those x3 + mx = n. In fact, all cubic equations can be reduced to this form if we allow m and n to be negative, but negative numbers were not known at that time.>> You can't reduce a cubic with x^2 in it to the form "x^3 + mx = n". Also, is this saying that negative numbers weren't known at the time??!! The next paragraph talks about square roots of negative numbers. I'd fix this right away, but it's been here a while -- I'm not sure what we're trying to say. Morcheeba 01:37, 10 March 2006 (UTC)[reply]

If you have the cubic equation x^3+ax^2+bx+c=0, you can perform the substitution x=y-a/3 to get an equation on the form y^3+my+n=0.
Negative numbers were in fact, if not unknown, then not accepted as "real" numbers in 16th century Europe. Negative numbers have a brief section on the history. Rasmus (talk) 07:17, 10 March 2006 (UTC)[reply]
So, given that negative numbers were not considered as proper numbers, did Cardano really notice that "Tartaglia's method sometimes required him to extract the square root of a negative number" (quote from the article), or is this an anachronism and did Cardona notice something else (for instance, that the quadratic equation for u^3 has no solution). -- Jitse Niesen (talk) 09:08, 10 March 2006 (UTC)[reply]

TEX[edit]

I'm getting these TeX errors, dunno if its because of the power failure but some of the other <math>s seem to work. 203.218.37.45 15:20, 19 April 2006 (UTC)[reply]

Failed to parse (Can't write to or create math output directory): \Delta = 4\alpha_1^3\alpha_3 - \alpha_1^2\alpha_2^2 + 4\alpha_0\alpha_2^3 - 18\alpha_0\alpha_1\alpha_2\alpha_3 + 27\alpha_0^2\alpha_3^2.

References Section[edit]

The reference to "Cardano solution calculator as java applet" needs to be removed. The applet is a piece of rubbish that doesn't appear to work very well at all.

Resultant[edit]

I've tested the nature of the roots against a simple cubic equation according to these discriminants the equation is supposed to only have 1 real root, while it has 2. Why does this discriminant lack an "ab" section? -T. Stokke

The formula for Δ2 indeed seems to be wrong. When I (or, to be honest, Maple) compute the resultant, I get
I'm not too comfortable with putting this in, so I simply removed the old formula. -- Jitse Niesen (talk) 15:18, 31 December 2006 (UTC)[reply]
Well the old one worked, if you didnt forget that if then the two roots that coincide (usually called x2 and x3) also equal 0

Merger proposal[edit]


Proposal
The idea is to replace existing articles with unique Cubic & Quartic equation as follows:

A. Merged history paragraphs giving a credit for cubic to Tartaglia (Cardano’s contribution
is suspicious, at least exaggerated) as well as for quartic to Ferrari.
B. Tartaglia’s – Ferrari’s method for resolving cubic and quartic equations containing mentioned
lecture should replace all the others (Lagrange resolvents and Chebyshev radicals are included under trigonometric and hyperbolic substitutions, depressed cubic is replaced with Primeval one).
C. The graph actualy presents Marginal case V: 4Y = (X + 1)3 – 9(X + 1) = O.
Therefore it should be replaced with more representative one given in Primeval form
4y = 4x3 ± 3x – g = 0
(containing all off cubics where F ≠ 0) that can be splited into:
Basic parabola (y = x3) and
either Green (if F > 0) or Red (if F < 0) Straight line (4y = ± 3x) shifted up for ¼g.
Real solution(s) is x-coordinate of the cut(s) of these functions.
Two characteristic examples are to be chosen (common S = 1.5 & R2 = ± 62).
8X3 + 36X2 – 162X – 729 = 0 → S = 1.5, E = + 373248, F = + 5184, R = + 6,
g = 1 = 4x3 – 3x or x3 = y = (1 + 3x)/4 → x0 = 1, x1 = x2 = – 0.5,
X0 = 6×1 – 1.5 = 4.5 & X1 = X2 = 6×(– 0.5) – 1.5 = – 4.5
8X3 + 36X2 + 270X – 1350 = 0 → S = 1.5, E = + 1469664, F = – 5184, R = + 6,
g = 3.9375 = 4x3 + 3x or x3 = y = (3.9375 – 3x)/4 → x0 = 0.75,
X0 = 6×0.75 – 1.5 = 3 but X1 and X2 are conjugate numbers.
x-Drawing Ratio: 6cm = 1, 4cm = 1 for y. The conversion from x & y to X & Y coordinates:
6cm = R (1cm = 1 for upper examples due to R = 6) should be taken as X-Drawing Ratio,
Y-axis shifted either right if S > 0 or left if S < 0 (1.5cm right for upper examples),
X-ais mirrored if E < 0.


The lecture is prepared by means of Microsoft Equation 3.0 and Word Drawing tool. Therefore it was impossible to paste here neither this drawing nor Geometrical interpretation. I apologize for this inconvenience to Wikipedians asking them to assist. If you (Wikipedia editorial) find it interesting don’t hesitate to contact me for details like:

89.111.252.148 16:54, 17 March 2007 (UTC)Mladen Stambuk[reply]
ok, I have absolutely no idea what's going on, but as the person who created the image, I'm going to say I chose those values for their aesthetic appearance - it makes a nice looking cubic. enochlau (talk) 23:02, 28 March 2007 (UTC)[reply]
[Meanwhile I added on few formulae hoping it to be understood finally. In my opinion aesthetic appearance should not prevail mathematical reasons. Regards Mladen]
89.111.250.119 11:26, 5 April 2007 (UTC)[reply]

I noticed that this page has a merger tag, but no corresponding section in the talk page. I decided to add one, instead of taking away the merger tag. Daniel 22:02, 26 October 2007 (UTC)[reply]

Yes, a merge of cubic function into cubic equation seems to be appropriate to me. There is not much information in cubic function. It should be easily combined. --MathMan64 00:43, 10 November 2007 (UTC)[reply]

As it is now, the cubic function page doesn't have much additional information. It would be nice, however, to add to the cubic function page a discussion of various cases, i.e. how the function looks depending on a,b,c values. Xenonice (talk) 22:50, 26 November 2007 (UTC)[reply]

The external link reference:

Dave Auckly, Solving the quartic with a pencil American Math Monthly 114:1 (2007) 29--39

is about quartics and not cubics.

Before the "Lagrange resolvents" section it states:

"...or two real roots (a single and a double root.)"

What does this mean? Id D=0 and there are 2 roots [aside that there should be 3 roots for a cubic] how can there be 2 real roots of a single and double root?

I think this statement needs clarification.

cited reference and D section[edit]

The external link reference:

Dave Auckly, Solving the quartic with a pencil American Math Monthly 114:1 (2007) 29--39

is about quartics and not cubics.

Before the "Lagrange resolvents" section it states:

"...or two real roots (a single and a double root.)"

What does this mean? Id D=0 and there are 2 roots [aside that there should be 3 roots for a cubic] how can there be 2 real roots of a single and double root?

I think this statement needs clarification. —Preceding unsigned comment added by 212.20.240.70 (talk) 16:22, 20 January 2009 (UTC)[reply]

Could you explain the technical usage of "useless"?[edit]

@D.Lazard: Re: positive square root, mea culpa; I was thinking only of real coefficients which is of course silly. (The purpose of the edit was to remove the duplication between talking about "any square root" and "±" which are redundant with each other.)

The connection to the discriminant Δ I thought was valuable; why use the symbols Δ0 and Δ1 if there isn't one? The thing that prompted me was the discussion in Discriminant#Degree 3 of the use of the discriminant in the cubic formula. That wasn't mentioned in this article, so I wanted to add it.

But what really confuses me is this bit about preferring the word "useless". That seems directly contrary to the lay usage. "Useless" carries an implication of not-usable, non-functional, will not work. But the text is clear that the general equation does work, it's just more complex than necessary. I agree that "useless" doesn't denote that, but the usage sounded to me like the sort of almost-but-not-quite word choice commonly found in translated text.

I thought "unnecessary" conveyed the intended meaning better. As an example of the distinction, when a motorway option exists, travelling via side streets is unnecessary; travelling via a cul-de-sac is useless. When a window is dirty only on the outside, washing the inside is unnecessary; washing only the inside is useless.

But you say there's a technical mathematical usage of the word "useless"? I've never heard of that. Can you point me to an example? (Searching for "mathematics" and "useless" leads to a large number of essays on pure mathematics and school curricula.)

I know how mathematicians like to redefine common words (one might hope they'd at least limit themselves to nouns, adjectives, verbs and adverbs; but "into" and "onto" are prepositions!), so it wouldn't surprise me if "useless" had a technical meaning in a narrow field, but I really haven't heard of a widely-used technical meaning.

I'm leery of a meaning which actually conflicts with the lay meaning of the word. WP:TECHNICAL and all that. 64.44.80.252 (talk) 00:05, 13 December 2020 (UTC)[reply]

It is not "useless" that has a technical meaning, it is "unecessary" (see, for example, necessary condition). So, care must be taken for using "necessary" and "unnecessary" in a mathematical context. Here, the intended meaning of "useless" is clearly "not useful". If you have a better word for this meaning, the word could be changed, but it must be clear that this makes the meaning of the sentence clearer. D.Lazard (talk) 10:42, 13 December 2020 (UTC)[reply]
Ah, that makes more sense! I'm sorry for misinterpreting your edit comment!
There are certainly other synonyms like "not required", "excessive", and "superfluous" which don't carry the implication (literary, not formal logic sense!) of "does not lead to a solution" that "useless" does.
But also, there's nothing wrong with "unnecessary" in this context. Even though this article is not in the field of formal logic, the usage is consistent with the formal logical meaning: when simpler methods are sufficient, the general method, although also sufficient, is not necessary.
That is why I didn't twig to your reference to the formal meaning of "necessary": the way I was using it is completely compatible with the that meaning.
With regard to the modal logic usage of "necessary", things get a bit stranger. I suppose if you took "the general formula holds" as a proposition, then it is a necessary proposition. So calling it unnecessary could be interpreted as making the false claim that its negation is possible; i.e. there are circumstances in which it does not hold. But that's a ridiculously contrived reading; the reader is inferring a modal logical statement not explicitly in the text while ignoring the explicit statement that the formula does hold in general. Clearly the more common classical logic usage is intended.
Note that even modal logic textbooks use "necessary" (pp. 253, 255, 268, 284, 285, 304, 320), "unnecessary" (p. 253) and "necessarily" (pp. 258, 309) in the informal sense. Mixed in with formal usage: "is necessarily an isomorphism" (p. 276), "necessary condition" (p. 282), "necessary but not sufficient conditions" (p. 302), "not necessarily ordered structures" (p. 321).
The same is true (albeit less frequently) of Blackburn's standard text "Modal Logic" (available from libgen.rs). §2.2 (p. 71): "But as it turns out, most of this work is unnecessary." §5.3 (p. 286): "We now have all the necessary material to prove Stone’s Theorem." §6.6 (p. 375): "(If necessary, consult Appendix C for further discussion.)" §6.7 (p. 388): "While the size of the entire model may be exponential in |φ| it is not necessary to keep track of all this information."
If modal logicians can handle informal usage of the words "necessary" and "unnecessary" in their specialized texts, then Wikipedia is not going to confuse them.
Considering the available options, "unnecessary" still seems simplest and most natural, but "not needed" isn't much worse. (The main problem is the lack of an adverb form). Which do you prefer? 64.44.80.252 (talk) 16:06, 13 December 2020 (UTC)[reply]
This is an article of mathematics, not of logic. Moreover, modal logic is a non-classical logic that is sometimes (in fact rarely) used in mathematical logic, but never used in other parts of mathematics. So, all your references to modal logic are definitely irrelevant here. Moreover, the article talks about a formula that is proved true. The sentence says that in the listed cases the formula has no interest because there are other formulas that are much simpler, and equivalent in this case, and thus there is no reason to use this formula. If one would want using "unnecessary" here, one should write "in these cases, for solving the equation, it is unnecessary to use the general equation. But this is not the formula that is "unnecessary", it is its use. Thus "useless" or "not useful" has a stronger meaning, which is: "although the formula is true, it not useful in any application". This is not logic but plain English. D.Lazard (talk) 17:21, 13 December 2020 (UTC)[reply]
@D.Lazard: I was searching for every sense of the term "necessary" I could find in mathematics (sensu lato, including logic) to find the problematic "different technical meaning" to which you referred. The classical logical meaning is not a problem because it applies here. The modal logical meaning is not a problem because it's only used in a specialized field, (we appear to agree on this point!) and even a reader familiar with that field would never mistake the usage here. If you're excluding the field of logic, there must be some third "different technical meaning" to which you were referring. What is it?
In common plain English, "useless" means complete futility. Not merely inefficient (little use), but unable to ever reach the goal (no use at all). Plenty of reductions return their own input in some circumstances; the reduction is useless in those situations. Duplicate factors, and factors of x, in a CRC polynomial are useless for error detection. Linearly dependent equations are useless for solving a system of equations. Naïve floating-point solutions to ill-conditioned systems of equations produce useless answers. Measuring the moments of a sample to estimate the moments of an underlying distribution is useless if the distribution is Cauchy. And so on.
It's not uncommonly used hyperbolically in situations which only approximate that, but the dictionary definition is zero use:
  • of no use; not working or not achieving what is needed: "Without fuel, the vehicles will become useless for moving supplies." "It's useless to speculate without more information."[1]
  • having or being of no use: (a) ineffectual "a useless attempt" (b) not able to give service or aid: inept[2]
  • (1) of no use; not serving the purpose or any purpose; unavailing or futile: "It is useless to reason with him." (2) without useful qualities; of no practical good: "a useless person"; "a useless gadget."[3]
  • (1)(a) Being or having no beneficial use; ineffective: "This pen is useless because it's out of ink." See Synonyms at futile. (b) Having no purpose or reason; pointless; to no avail: "It's useless to argue over matters of taste." (2) Incapable of acting or functioning effectively; ineffectual or inept: "He panics easily and is useless in an emergency."[4]
  • (1) Cannot be used: "He realised that their money was useless in this country." "Computers would be useless without software writers." (2) does not achieve anything helpful or good: "She knew it was useless to protest." "...a useless punishment which fails to stop people trafficking." (3) no good at all [informal]: "Their education system is useless." "He was useless at any game with a ball." (4) unable to help someone or achieve anything: "She sits at home all day, watching TV and feeling useless."[5]
  • (1) Without use or possibility to be used: "This fork has prongs that are bent. It's useless now." (2) Unhelpful, not useful; pointless (of an action): "I think it's useless to keep this discussion going. It's like talking to a wall." "I tried my best to make him quit smoking, but my efforts were useless. He now smokes six packs a day." (3) (derogatory, of a person) Good-for-nothing; not dependable. "Bill never mows the lawn, takes out the trash or anything. He's useless, but I love him anyways." (4) (colloquial, of a person) Unable to do well at a particular task or thing. Useless is mildly insulting: "My brother is useless at most computer games, but he is an awesome PS2 player." "Why do you keep trying? You're obviously useless at it."[6]
You say that the general formula is "not useful for any application" if a special case applies. I disagree and WP:CHALLENGE that claim.
The general cubic formula is useful in any application which does not want to bother checking if the special case applies. To minimize code size in an implementation, for example. Or a constant-time implementation defending against a timing attack. Or because the expected probability of the special case occurring, while not zero, is so low that the cost of the test outweighs the expected saving from the special case.
The word "useless" implies that the general case fails to find a solution and it is necessary for correctness to check for the special case and use alternate techniques in that case. That implication is false, and I want to change the wording to eliminate it.
More generally, neither of us knows a reader's utility function. There are some algorithms which are worse by any sensible utility function, such as bogosort and galactic algorithms, so I don't object to calling them "useless", but that doesn't apply in this case. (I know that I use "inefficient" algorithms all the time, simply because one is conveniently at hand and will get me the answer I want faster than searching for a more "efficient" algorithm. Brute-force search can do a lot on modern computers.)
Actually, that suggests another possible solution: change every instance of "useless" to "inefficient". Does that seem more palatable to you? 64.44.80.252 (talk) 19:58, 13 December 2020 (UTC)[reply]

Naming discriminants[edit]

AchzehnWeg, I have reverted your edit several times for two reasons. The first one, is that it is not useful, and often confusing to introduce in a section some symbols that are not used in the same section. The second reason, is that it is very confusing to give the same name (here ) to two different things (here the discriminants of two different cubics). However, reading your explanation, it appeared that the formulation of the beginning ot the next section was incorrect: the use of "the polynomial" and "the discriminant" seemed to refer to things previously defined and was therefore ambiguous, since there are two polynomials and two discriminants defined in the previous section. So, I have put "a polynomial" and "its discriminant". With this modification, is perfectly defined by the sentence, and I hope that will convince you. D.Lazard (talk) 15:51, 19 April 2021 (UTC)[reply]

Case of real roots[edit]

I think it is useful to mention in this article something elementary (hence, no need to have citations), also hinting to deeper structure, but mainly useful when it comes to inequalities for three real numbers. Namely, explicit bounds on the product of three real numbers in terms of the symmetric functions built from these three numbers. This could also trigger search for similar constructions for higher degree polynomials. For , writing (it is always possible when the cubic polynomial has real roots) and, just for convenience, , the inequality is: . It could be written as , and next: . We may go back (not very illuminating though) to explicit symmetric functions: .

This is the best upper/lower bound of the product of any three real numbers in terms of symmetric functions. One may consider this is trivial and ridiculous to worth mentioning in the article, but this is debatable: something simple is not necessarily irrelevant. These inequalities (necessary and sufficient) could be trivially upgraded for positive numbers, when in addition to the above bounds one has the obvious , or just , and .

I would appreciate comments from those erasing my post, explaining their view. Thank you in advance. 0ctavte0. — Preceding unsigned comment added by 78.97.139.142 (talkcontribs) 22:38, 5 May 2021 (UTC)[reply]

Please, sign your posts in talk pages with four tildes (~~~~).
Wikipedia is not a forum for discussing personal research. There are specialized sites for such discussions, such as Mathematics Stack Exchange (https://math.stackexchange.com). Your post is better suited for such a forum.
About your results, my first comment is the following. When working on a subject that has been deeply studied for century, this is unbelievable to find something something really new. This is the case here. So, the first thing to do, before trying to publish your results is to search for them in the literature, and, if you do not find them, to try to understand why it is not published.
In your case, the notations that you use appear in the Wikipedia article: is essentially the coefficient p of the associated depressed cubic. So, your first inequality is an unusual way to express that, if the three roots are reals, the discriminant of the depressed cubic is positive. The huge final inequality may be trivially interpreted as follows: The discriminant is a quadratic function of and the inequality is the standard condition for a quadratic function to be positive.
A last comment: one may derive hundreds formulas from those appearing in the article. For adding one of them to the article, it must not only having been published elsewhere, but it must also having been shown to be useful for some explicit purpose. As far as I know, your reverted addition does not satisfy either of these conditions. D.Lazard (talk) 07:40, 6 May 2021 (UTC).[reply]
It is OK. Of course, like all results in the article, it might have had appeared somewhere before. It could have been useful to have the best bounds for the product of three real numbers explicitly mentioned in this extensive article, in one way or the other. Case of real roots needs to be treated separately, with more results included, anyway. (78.97.139.142 (talk) 13:15, 6 May 2021 (UTC))[reply]

Algorithm[edit]

Resolved

May I append and algorithm written in Python or is it inappropriate? I use the General cubic formula, so I would insert it at the end of section 'General cubic formula'. — Preceding unsigned comment added by Betaminus (talkcontribs) 09:49, 26 May 2021 (UTC)[reply]

A program written in Python would certainly not useful in this article: not all readers knows Python. Readers who know Python are supposed to be able to write simple programs in this language. Translating the formula into a Python program is an easy exercise for beginners in Python programming. This is of no value in this article that is not about Python. D.Lazard (talk) 11:37, 26 May 2021 (UTC)[reply]
Thank you for your guidance. Betaminus (talk) 16:25, 26 May 2021 (UTC)[reply]

Characteristic 2 and 3​[edit]

In section Cubic equation#Characteristic 2 and 3 one can read «This allows computing the multiple root». OK, if the polynomial has a multiple root. But NOT OK, if it does not have. E.g. if the derivative is a constant. What then? Or let with non-constant derivative  ? I assume there is no multiple root of . What does this knowledge help me to find the non-multiple roots ? –Nomen4Omen (talk) 15:29, 10 February 2022 (UTC)[reply]

Bad behavior by user D.Lazard[edit]

User D.Lazard has exhibited a persistent pattern of aggressively suppressing even minor changes that do improve the accuracy or readability of this article. I'm not sure what measures to take, but it appears that D.Lazard is not able to appropriately tolerate other editors' changes to this imperfect article, and is treating it like private property. Astro-Tom-ical (talk) 03:16, 18 February 2022 (UTC)[reply]

To editor Astro-Tom-ical: It seems that you are a WP:SOCKPUPPET, since your two edits on Cubic equation are signed 166.205.91.21 and BigEmD. If you continue to use several accounts without good and explicit reasons, your accounts will be blocked for editing.
Also, this talk page is not for judging the behavior of other editors, it is for discussing the content of the associated article.
About the content of your post, it seems that you ignore the main rules of Wikipedia. In this case, that is in the case of a reverted edit, the correct procedure is extensively described in WP:BRD. It consists of opening a discussion in this talk page as soon as you disagree with a revert, for explaining the reasons of your edit and why you think that it improves the article. Then, all editors interested in the question can give their opinion and search for a consensus. Before a consensus, the previous stable version prevails. Therefore, I'll restore it. Do not start WP:edit warring, as this may lead to an edit block. D.Lazard (talk) 10:29, 18 February 2022 (UTC)[reply]
@D.Lazard Continuing this conversation, I would like to understand why you reverted my edit. In particular I don't understand what "either of the cube roots" could refer to as we are discussing a case of only one real root. Yehoshua2 (talk) 21:42, 1 November 2022 (UTC)[reply]
@Yehoshua2: Your edit "the real root" was not correct with this singular.–Nomen4Omen (talk) 08:51, 2 November 2022 (UTC)[reply]
@Nomen4Omen Could you elaborate please? Yehoshua2 (talk) 14:15, 2 November 2022 (UTC)[reply]
I thought that I did in the new version of § Cardano's formula. But nevertheless:
There are the two real roots
  1.   and
  2. ,
each of which has to be multiplied by a root of unity.
So that finally, there are the three roots (of the cubic equation):
  1.   and
  2.   and
  3. .
If this isn't sufficiently clear, please improve!
Nomen4Omen (talk) 14:54, 2 November 2022 (UTC)[reply]

Possible pedagogical point: some real cubics have real roots that require cube roots of complex numbers[edit]

Here is a possible pedagogical point about the cubic formula that I vaguely recall but I do not have a source for. Consider x^3 - 3x - 1 = 0, with 3 real roots. One (all 3?) of the roots is a = t + 1 / t where t = cbrt((1 + i sqrt(3)) / 2). Suppose that a is given by the principle cube root. In order to compute a, a real number, I have to consider cube roots of complex numbers. If I want to find the real and imaginary parts of t, I still have to consider cube roots of complex numbers. I believe that there does not exist any closed form for a (radicals and "i" allowed) that does not involve taking the cube root of a complex number. (This may be a deep theorem). In this sense, there is something unsatisfying about the cubic formula.

Edit: I missed that this is "casus irreducibilis," which I ctrl+f'ed 3 times once I knew the formal term for it.

This just can't be right[edit]

This article includes the phrase, "Babylonian (20th to 16th centuries BC)". That just can't be right, but I don't know what it should be. AWCzarnik (talk) — Preceding undated comment added 04:58, 17 July 2022 (UTC)[reply]

38.73.247.37 (talk) 21:42, 27 May 2022 (UTC)[reply]

Application of Lagrange resolvent roots[edit]

Equations (85) - (91) of Wolfram MathWorld's CubicFormula webpage develop the roots of the reduced cubic using Lagranges theory. I checked the algebra of equation (91). A Fourier transform is not referenced, just algebra. Janet Heine Barrett, in her article "The Roots of Early Group Theory in the Works of Lagrange" (2017) [7], references the algebra needed to transform a reduced cubic equation into a Lagrange resolvent equation. [op. cit., page 7]. As suggested, I checked the algebra. 72.89.23.208 (talk) 15:17, 21 November 2022 (UTC)[reply]

There is wrong use of algebraically in the second paragraph[edit]

So the problem is algebraically is not only in radicals. Algebraic number is any root of any polinomial, not only those that is in radicals, i.e. a solvable root. Remove the word "algebraically". Valery Zapolodov (talk) 05:01, 15 April 2023 (UTC)[reply]

Correct:algebraically ⊋ radicals.
Abel–Ruffini theorem is mentioned further down. −Nomen4Omen (talk) 06:49, 15 April 2023 (UTC)[reply]
This is not the use of the word which is wrong, but the article to which it is linked. Here,"algebraically" means "using only algebra". So, I have changed to "Algebra" the target of the wikilink. D.Lazard (talk) 08:20, 15 April 2023 (UTC)[reply]
I agree with Doctor Lazard Hu741f4 (talk) 16:14, 15 April 2023 (UTC)[reply]
But as User:Valery Zapolodov did point out: For users without deep algebraic pre-knowledge, the formulation suggests the equivalence of:
algebraical ⇔ coefficients, the four basic arithmetic operations, radicals
This impression is made a little bit weaker by the wording "more precisely" instead of "that is" (as it was until 18:35, April 14, 2023‎). User:D.Lazard is right in saying: «"algebraically" means "using only algebra"». –Nomen4Omen (talk) 16:50, 15 April 2023 (UTC)[reply]
Cubic formula requires some algebra knowledge, we are not in 20th century where it was tought very early. It means only that algebra that is needed to write out the solution is more complex, Bring radical or hypergeometric functions, and that is before factoring and finding which (first found numerically) roots are solvable and what are not (using splitting field to find the class/ Galois group of it). It is very hard, see e.g.: https://mathematica.stackexchange.com/search?q=solvable+quintic Even when it is solvable using irrational coefficients complicates everything and in fact just in 2022 new formula was invented: https://math.stackexchange.com/questions/4439694/can-a-quintic-equation-be-solved-without-needing-a-piece-of-paper-the-size-of-a/4442541#4442541 Valery Zapolodov (talk) 18:38, 15 April 2023 (UTC)[reply]

Sign of the discriminant[edit]

There is still an error in the sign of the discriminant in the Cardano section. In the section defining the discriminant, the discriminant for the depressed cubic is asserted to be

However, in the section on Cardano's formula, the discriminant has the opposite sign. It is important to make the signs consistent because of the section relating the sign of the discriminant to the number of real roots.Thomas Hales (talk) 00:20, 24 May 2023 (UTC)[reply]

In § Cardano's formula, it is not said that is the discriminant. Nevertheless, I have added a footnote for clarifying this. D.Lazard (talk) 08:12, 24 May 2023 (UTC)[reply]

Why was my change reversed by D.Lazard?[edit]

What did I do wrong? 121.210.212.82 (talk) 10:47, 2 September 2023 (UTC)[reply]

This is explained in the edit summary: Awfully formatted, wrong in the case of three real roots, poor duplication of proofs given later in the article. D.Lazard (talk) 11:31, 2 September 2023 (UTC)[reply]
I worked so hard on it! 121.210.212.82 (talk) 12:27, 2 September 2023 (UTC)[reply]
Doesn't matter. If it's wrong, it's wrong; if it's badly formatted, it's badly formatted; if it's poorly written, it's poorly written. Please stop trying to insert it.--Jasper Deng (talk) 08:20, 3 September 2023 (UTC)[reply]

Revisions: re use of multiple fonts for the same symbols[edit]

Use of multiple fonts for the same symbols[edit]

To: D.Lazard 18:10, 1 April 2024

You have twice reverted a valid correction I made to this article, for no justifiable reason. The notations v and v and produce different fonts for what is supposed to be the same symbol, and all three of these were being used previously, depending on where the symbol was appearing: in the text, in an inline expression, or in an offset equation.

And the same occurred for several other math symbols. This is confusing for the reader, and obscures what is being stated. I made the effort to carefully correct these in order to make the notation consistent. But for no justifiable reason, you have reverted these edits, twice, and also incorrectly stated that there was an identification made between the symbols "A" , "B" and "C", when there was not (at least, not by me in this correction).

It is not a matter of preferring one "style" over another, but of making the article more clearly readable by not using different fonts, in different locations, for the same symbol. Please undo your reversions, and be more careful about undoing valid revisions made by others, who are only trying to improve the article by correcting notational inconsistencies. You have twice reverted to previous, erroneous versions that need to be corrected all over again. KarlJacobi (talk) 22:31, 1 April 2024 (UTC)[reply]

I have already answered to a similar post on my talk page (at User talk:D.Lazard#About the Cubic equation article). Please, be more careful about calling "valid revisions", revisions that contain blatant errors, and go against the Manual of Style. D.Lazard (talk) 10:19, 2 April 2024 (UTC)[reply]
You clearly have no interest in seeing the article's inconsistent use of various
fonts for the same symbols corrected, nor allowing any constructive edits by
other editors. You apparently wish to "guard" the editing of this article as though
it were your own private territory, and view contributions by other editors,
however well founded, as "alien incursions". There were no "blatant errors" in any
of the revisions I made; they were all valid corrections of inconsistencies in notation or
improvements of unclearly worded passages. I am not prepared to waste more time pursuing
this sort of trivial quarrel in the face of such absurd territoriality. Let the article
remain as you insist it remain - with all its errors, inconsistencies, imprecision
and poor English well guarded. KarlJacobi (talk) 15:28, 2 April 2024 (UTC)[reply]