News for hackers. Stuff that matters.
Re:The Chinese were solving 14th degree polynomials in 1303.... by betterunix2 on Friday August 31, 2018 @09:56AM (#17885580)
One of the things I find interesting about ancient Chinese math is how computational it was (in modern terminology we would say they were only interested in computable numbers); AFAIUI the ancient Chinese were vaguely aware of numbers that could not be computed exactly (i.e. irrationals) but mostly cared about being able to compute approximations up to whatever precision was required for a given task. So while Western mathematicians were struggling in vain to find a way to double a cube using a compass and straightedge or to derive a quintic formula, the Chinese mathematicians were satisfied with an algorithm that found useful approximations. There is a profound difference in philosophy, as evidenced by the title of this entire thread: the Chinese were "solving" 14th degree polynomials, but only in the sense of having an algorithm for doing so (as opposed to having a formula like the quadratic formula; in fact there is no such formula for degree 14 polynomials, or for any polynomials beyond the quartic).
Re:The Chinese were solving 14th degree polynomials in 1303.... by skh on Friday August 31, 2018 @11:18AM (#17886249)
In case someone is wondering about your wording. A computable number is one whose decimal approximation can be computed to arbitrary precision with a finite, terminating algorithm. All algebraic numbers and some transcendental numbers are computable. Thus being irrational does not imply not being computable.

One more pedantic note. There are algebraic formulas for solving polynomials of higher degree than 4. For instance, you can find a formula to solve x^n = 0 for n a positive integer. You can’t find a general, algebraic formula to solve polynomial equations of degree n where n > 4.

Re:The Chinese were solving 14th degree polynomials in 1303.... by throwawaymath on Friday August 31, 2018 @01:38PM (#17887433)
These are good points. To expand a bit for even further nomenclature:

> All algebraic numbers and some transcendental numbers are computable. Thus being irrational does not imply not being computable.

Yes, there is a distinction to be made about set computability and element computability. The real numbers (rationals and irrationals) are not computable because they are uncountable. Hence floating point numbers only approximate the reals, but they are not real representations themselves. But individual real numbers are frequently computable in a finite number of steps, including irrationals. For example, any given digit of Pi or the sqrt(2) is computable in a finite number of steps. But Chaitan's constant is an uncomputable real number.

Likewise, transcendental functions - such as logarithms - are not generally computable as a set even though individual instances can be computed. This is why an inequality including an expression with logarithmic exponents might be reducible in Mathematica, but when you set those exponents to be the ceiling or floor functions of those logarithms it suddenly becomes insoluble.

> You can’t find a general, algebraic formula to solve polynomial equations of degree n where n > 4.

Yes, and the terminology for something with no general algebraic formula is that there's no closed form solution for it. Mathematica's documentation specifically states it can solve any expression with exponents of 4 of less, but it cannot do so with exponents of greater than 4.

Re:The Chinese were solving 14th degree polynomials in 1303.... by malmsteen on Friday August 31, 2018 @01:27PM (#17887335)
Is there "not computable" numbers ? Example ?
Re:The Chinese were solving 14th degree polynomials in 1303.... by lacker on Friday August 31, 2018 @03:20PM (#17888088)
In math, infinite sets have different sizes. The number of computer programs is "countably infinite". The number of real numbers is "uncountably infinite". Since there are more numbers than computer programs, some numbers must be uncomputable.

for more info see: https://en.wikipedia.org/wiki/Countable_set

Re:The Chinese were solving 14th degree polynomials in 1303.... by DoctorOetker on Saturday September 01, 2018 @10:25AM (#17891965)
Let's consider the plattitude that math appears in printed books, and books contain characters, and the character set or symbol alphabet is finite, and books are finite. Hence the set of all possible books on mathematics is countable.

Then how is there a difference between books and programs?

Now consider the following program or function:

f_epsilon(x) (return x + epsilon;) where epsilon is a number from a set S.

Then if the set S is considered countable for pragmatic reasons like representing epsilon in the form of bits etc then everyone agrees it is countable in practice.

I.e. aren't there uncountably many functions f(x) above if we allow epsilon to be drawn from an uncountable set?

Re:The Chinese were solving 14th degree polynomials in 1303.... by Dylan16807 on Sunday September 02, 2018 @09:06PM (#17899567)
There is no important difference between books and functions.

Let me present a challenge to you: Pick a uniformly random number between 1 and 2. Now tell me what it is.

No 'coincidences', like getting exactly 1.34 or the square root of three. It has to be properly random.

The odds are 100% that you picked a 'normal' number that goes on forever with no pattern. A number that cannot be specified in finite space. In other words, a number that can't be computed.

Re:The Chinese were solving 14th degree polynomials in 1303.... by DoctorOetker on Monday September 03, 2018 @12:53AM (#17900411)
I fully agree with you.

We can also consider a similar function f_epsilon(x) that returns the sum of x and a uniformly random number between 1 and 2 chosen at compile time, but constant at run time.

I agree it can't be specified in finite space.

The dichotomy is the computational model, from a utilitarian perspective we consider every conceptual computer to be a huge but finite finite-state-machine. One could abstractly (and less down-to-earth usefully) define/conceive of a computer that can store arbitrary variables representing uncountable objects (like real numbers etc)

Re:The Chinese were solving 14th degree polynomials in 1303.... by Dylan16807 on Monday September 03, 2018 @01:24AM (#17900513)
How many f_epsilon functions do you set up at compile time?

If it's countable, then your computer can now reflect the previously-computable numbers across these epsilons, and give you new numbers, but you're still only covering 0% of the reals.

If it's uncountable, covering a range, then you just moved the problem back a step. On top of that, such a computer doesn't even have to do real work. You can spend 20 seconds using grade school arithmetic to map the input range to the entire set of reals, 1:1. But mapping a range of reals into a bigger range of reals is a pretty lousy definition of "computable".

Re:The Chinese were solving 14th degree polynomials in 1303.... by lacker on Sunday September 02, 2018 @03:31AM (#17896046)
I agree that the set of all math books is countable, and I agree that there are uncountably many f_epsilon functions if epsilon comes from an uncountable set.

However, f(x) = x + epsilon is not a computable function when epsilon is not a computable number. So not all of the f_epsilon family of functions is computable.

Re:The Chinese were solving 14th degree polynomials in 1303.... by betterunix2 on Friday August 31, 2018 @09:11PM (#17889569)
Yes. First, fix a programming language; for example, C. Now, the halting problem asks for a given C program and a given stdin, will the program terminate. For simplicity, let's just say that we close stdin and give the program an empty input.

It turns out no algorithm can solve the halting problem for all C programs. The explanation is that, if you had such an algorithm, you could write a C program that applies the algorithm to itself (this is a special quine), and then does the opposite of whatever the halting algorithm says the program would do (if it says the program halts, the program will just enter an infinite loop; if it says it does not halt, the program calls exit).

Now, imagine a list of all valid C programs in alphabetical order, beginning with the empty string (which, oddly enough, is a valid C program). Consider a number where the Nth digit after the decimal point is 0 if the Nth C program halts, and 1 if it does not; for example, the first digit, corresponding to the empty string, is 0, while a few digits later, the digit corresponding to "int main() {main(); return 0;}" will be 1.

Putting it all together, we know there are C programs for which we cannot compute the solution to the halting problem, and we have a number whose digits are determined by the solution to the halting problem for every C program. So that number is not computable (because we cannot compute every digit, so we cannot compute it to arbitrary precision).

Re:The Chinese were solving 14th degree polynomials in 1303.... by skh on Friday August 31, 2018 @02:06PM (#17887643)
I can give you many more examples of specific computable numbers than I can of noncomputable numbers. This is a bit surprising when one learns that the set of noncomputable numbers is much larger than computable ones. Most of the numbers you’ve dealt with are computable. Every noncomoutable is close to a computable number where close means as close as you want. There is also the notion of definable numbers which is different than computable. There are people who study these things and the implications they have in mathematics and computer science. I’m not one of these people so beyond what I’ve said I don’t dare comment.
Re:The Chinese were solving 14th degree polynomials in 1303.... by rntz on Friday August 31, 2018 @03:55PM (#17888239)
The Halting Number. The i'th digit after the decimal point of the Halting Number is 0 if the i'th Turing Machine halts given an empty tape, and 1 otherwise. (The integral part of the Halting Number is 0.)

This number is not computable; if it were, you could solve the halting problem.

Re:The Chinese were solving 14th degree polynomials in 1303.... by wetmore on Friday August 31, 2018 @01:33PM (#17887391)
There are "more" non-computable numbers than computable one. Chaitlin's constant is an example.
Re:The Chinese were solving 14th degree polynomials in 1303.... by gnulinux on Friday August 31, 2018 @08:36PM (#17889445)
Construct a real number by gluing BB(i) where BB is the busy beaver function.
Re:The Chinese were solving 14th degree polynomials in 1303.... by bmc7505 on Friday August 31, 2018 @09:16PM (#17889586)
Qin Shi Huang lifted the sword to the sky, and shouted: “Computer Formation!” Four giant bronze cauldrons at the corners of the platform came to life simultaneously with roaring flames. A group of soldiers standing on the sloping side of the pyramid facing the phalanx chanted in unison: “Computer Formation!”

On the ground below, colors in the phalanx began to shift and move. Complicated and detailed circuit patterns appeared and gradually filled the entire formation. Ten minutes later, the army had made a thirty-six kilometer square computer motherboard…

“This is really interesting,” Qin Shi Huang said, pointing to the spectacular sight. “Each individual’s behavior is so simple, yet together, they can produce such a complex, great whole! Europeans criticize me for my tyrannical rule, claiming that I suppress creativity. But in reality, a large number of men yoked by severe discipline can also produce great wisdom when bound together as one.”

—Cixin Liu, The Three Body Problem (2008)

Re:The Chinese were solving 14th degree polynomials in 1303.... by mr_toad on Friday August 31, 2018 @11:52PM (#17890099)
When I read that, all I could think of was what a nightmare it would be to debug.
Re:The Chinese were solving 14th degree polynomials in 1303.... by Terr_ on Saturday September 01, 2018 @09:20PM (#17894931)
IIRC a little later in the book, debugging involves execution in both senses of the word.
Re:The Chinese were solving 14th degree polynomials in 1303.... by echevil on Friday August 31, 2018 @04:10PM (#17888331)
Zu Chongzhi derived pi should be between 3.1415926 to 3.1415927 back in 5th century. Well, that was pretty good precision at that time
Re:The Chinese were solving 14th degree polynomials in 1303.... by qubax on Friday August 31, 2018 @11:21AM (#17886270)
> One of the things I find interesting about ancient Chinese math is how computational it was (in modern terminology we would say they were only interested in computable numbers);

This isn't just the chinese. The ancient greeks rejected ( or ignored ) irrational numbers too. Also, western math was just as computationally driven. Pretty much all math everywhere developed for practical purposes ( ie to divide land, more accurate calendar, etc ).

> There is a profound difference in philosophy, as evidenced by the title of this entire thread: the Chinese were "solving" 14th degree polynomials

No there isn't. The ancient greeks also "solved" equations, such as for volume of geometrical objects, by approximation. That's why they didn't invent calculus ( though sometimes math historians try to twist the definition and meaning and understanding of calculus to claim ancient greeks did ).

The fundamental difference is that ancient greeks developed explicit axiomatic mathematics while the chinese didn't. But practical computational mathematics is the foundation of all mathematics.

Re:The Chinese were solving 14th degree polynomials in 1303.... by betterunix2 on Friday August 31, 2018 @12:20PM (#17886781)
Except that the Chinese did not reject irrational numbers, but simply did not find the distinction to be important enough to explore. They had a notion of numbers that could not be computed exactly (i.e. they could only get a sequence of better approximations) but they were satisfied as long as an algorithm existed (I imagine they might have rejected the concept of non-computable numbers, had such a concept existed at the time). There was a time when the Greeks firmly believed that all numbers are rational and explicitly rejected (not simply ignored) irrational numbers, and later they had a strong interest in the separation between rationals and irrationals.

The difference between the Chinese and the Greeks was not just explicitly stating axioms (Chinese math was also a system built from basic principles, they just did not organize things as neatly as the Greeks), but their view of what computation is. The Greeks tried to map all computation onto Euclidean geometry, whereas the Chinese generally viewed computation as symbolic manipulation and tried to map all math (including geometry) into computation problems. I see that as a very big difference that had a big impact on how the two traditions developed.

Re:The Chinese were solving 14th degree polynomials in 1303.... by digitalzombie on Friday August 31, 2018 @01:45PM (#17887490)
> The ancient greeks rejected ( or ignored ) irrational numbers too

They didn't rejected it for computational reason. They rejected it because it didn't fit in their framework of how number works.

That's the whole point of the evolution of math that culminated into the subject of real analysis.

If that wasn't the point of why you brought the greek up then it doesn't make sense why you bought it up other than the main topic of the Chinese, computation, etc...

Re:The Chinese were solving 14th degree polynomials in 1303.... by empath75 on Friday August 31, 2018 @12:13PM (#17886728)
I'd say the greeks used techniques (limits, for example) that would later be used in calculus, but the didn't systematize them.
Re:The Chinese were solving 14th degree polynomials in 1303.... by how_to_bake on Friday August 31, 2018 @10:43AM (#17885966)
Hate to be annoying, but I'm a native English speaker and I just skipped over "AFAIUI" because it was too much work to guess what it meant.

"As far as I understand it" ? RIP if you're not a native speaker.

Re:The Chinese were solving 14th degree polynomials in 1303.... by twtw on Friday August 31, 2018 @10:46AM (#17885980)
RIP if you are a native speaker too.
Re:The Chinese were solving 14th degree polynomials in 1303.... by Asooka on Friday August 31, 2018 @10:51AM (#17886028)
IRC-speak is its own language :)
Re:The Chinese were solving 14th degree polynomials in 1303.... by plussed_reader on Friday August 31, 2018 @12:20PM (#17886780)
A predecessor of pager code.
Re:The Chinese were solving 14th degree polynomials in 1303.... by betterunix2 on Friday August 31, 2018 @11:05AM (#17886148)
I think it is a relatively common abbreviation used in informal writing online, similar to "AFAIK" or "AFAICT" (maybe those are not so common?) but admittedly less common than "QED" or "etc." Yes, it means "as far as I understand it."
Re:The Chinese were solving 14th degree polynomials in 1303.... by jerrycruncher on Friday August 31, 2018 @11:16AM (#17886232)
Anecdotally, I'm a native speaker, have been reading text on BBSes and then the internet for well over 30 years, and have never seen that one. AFAIK has been around for decades.

Like some other commenters, I skipped right over it rather than try to parse it.

Re:The Chinese were solving 14th degree polynomials in 1303.... by __sdegutis on Friday August 31, 2018 @11:56AM (#17886582)
I've been online for 20 years, and AFAIK was pretty common, although a few years ago I came across AFAICT which was pretty easy to extrapolate as ending with "can tell". From that I was able to recognize the pattern here and pretty quickly got "understand it" for UI. I think it's pretty neat that we're able to adapt language in this way, though obviously not foolproof or universal.
Re:The Chinese were solving 14th degree polynomials in 1303.... by ams6110 on Friday August 31, 2018 @12:24PM (#17886819)
They are all weasel words and best avoided. It's a way to make a claim that you're not sure of, with an out if you're wrong.
Re:The Chinese were solving 14th degree polynomials in 1303.... by waterphone on Friday August 31, 2018 @11:16AM (#17886229)
"AFAIUI" is nowhere even close to as common as your other examples. I have never encountered it before, and Google Trends doesn't even register it in a comparison between the others.

https://trends.google.com/trends/explore?date=all&geo=US&q=a...

Re:The Chinese were solving 14th degree polynomials in 1303.... by rtkwe on Friday August 31, 2018 @12:17PM (#17886753)
Trends isn't the best for this as it's search results not occurrences so really all this will show is the number of people confused by the term for weird contractions like this. "AFAIUI" could theoretically just be completely understood by the community using it.
Re:The Chinese were solving 14th degree polynomials in 1303.... by waterphone on Friday August 31, 2018 @01:29PM (#17887353)
Number of search results:

AFAIK: 8,600,000 AFAICT: 346,000 AFAIUI: 14,600

Re:The Chinese were solving 14th degree polynomials in 1303.... by rtkwe on Friday August 31, 2018 @07:26PM (#17889212)
Should have made it more clear that I meant that in the general case not in this particular. I've never seen AFAIUI.
Re:The Chinese were solving 14th degree polynomials in 1303.... by waterphone on Saturday September 01, 2018 @11:51AM (#17892363)
Oh, I understood what you meant, I was just providing an additional data point for this particular conversation in response to what you were saying re: search queries vs. results.
Re:The Chinese were solving 14th degree polynomials in 1303.... by idoescompooters on Friday August 31, 2018 @10:51AM (#17886021)
Haha yeah I actually chucked at that one. Amazes me how many acronyms people come up with for that simple kind of statement.
Re:The Chinese were solving 14th degree polynomials in 1303.... by mr_overalls on Friday August 31, 2018 @11:13AM (#17886209)
I think it actually points to a hole in English - the lack of a short word that expresses a bit of uncertainty regarding one's own statement.

Anyone want to coin a word (or point one out that we're all apparently unfamiliar with)?

Re:The Chinese were solving 14th degree polynomials in 1303.... by jacquesm on Friday August 31, 2018 @11:35AM (#17886380)
AFAIUI seems to solve the problem nicely. Not a native speaker and yet I understood it right away.
Re:The Chinese were solving 14th degree polynomials in 1303.... by interfixus on Friday August 31, 2018 @11:35AM (#17886383)
TTBOMK, TANST.
Re:The Chinese were solving 14th degree polynomials in 1303.... by laretluval on Friday August 31, 2018 @11:53AM (#17886558)
Maybe
Re:The Chinese were solving 14th degree polynomials in 1303.... by whatswrongwitu on Friday August 31, 2018 @11:30AM (#17886349)
Covfefe
Re:The Chinese were solving 14th degree polynomials in 1303.... by erikpukinskis on Friday August 31, 2018 @12:38PM (#17886950)
Yes sir, dispatching the operative now.
Re:The Chinese were solving 14th degree polynomials in 1303.... by overcast on Friday August 31, 2018 @11:12AM (#17886204)
Agreed, so sick of these internet acronyms. This isn't text messaging, it's an intelligent discussion forum. Type out what you're saying.
Re:The Chinese were solving 14th degree polynomials in 1303.... by black6 on Friday August 31, 2018 @12:25PM (#17886828)
Ain't like we're limited to 140 characters...
Re:The Chinese were solving 14th degree polynomials in 1303.... by drharby on Friday August 31, 2018 @11:42AM (#17886455)
Ymmv
Re:The Chinese were solving 14th degree polynomials in 1303.... by rasz on Friday August 31, 2018 @01:08PM (#17887189)
chabuduo
Re:The Chinese were solving 14th degree polynomials in 1303.... by wumms on Saturday September 01, 2018 @01:56AM (#17890484)
chabuduo = close enough

"Instead, the prevailing attitude is chabuduo, or ‘close enough’. It’s a phrase you’ll hear with grating regularity, one that speaks to a job 70 per cent done, a plan sketched out but never completed, a gauge unchecked or a socket put in the wrong size. Chabuduo is the corrosive opposite of the impulse towards craftmanship, the desire, as the sociologist Richard Sennett writes in The Craftsman (2008), ‘to reject muddling through, to reject the job just good enough’. Chabuduo implies that to put any more time or effort into a piece of work would be the act of a fool. China is the land of the cut corner, of ‘good enough for government work’."

(https://aeon.co/essays/what-chinese-corner-cutting-reveals-a...)