Risultati controintuitivi per gli studenti universitari


14

Sto cercando esempi di risultati che vanno contro l'intuizione della gente per un discorso generale del pubblico. Risultati che se richiesti da non esperti "che cosa ti dice il tuo intuito?", Quasi tutti sbagliano. La dichiarazione dei risultati dovrebbe essere facilmente spiegabile agli studenti universitari in cs / matematica. Sono principalmente alla ricerca di risultati in informatica.

Quali sono i risultati più controintuitivi / inattesi (di interesse generale) nella tua zona?




1
Il secondo link di Sasho è un duplicato, no?
Huck Bennett,

Simile, ma non lo stesso. Sto cercando risultati interessanti e controintuitivi per gli studenti universitari in matematica e non per i ricercatori. Ad esempio IP = PSPACE non sarebbe una buona risposta.
Anonimo

4
Per dimensioni di input sufficientemente grandi, la primalità può sempre essere decisa in meno tempo di il modo più veloce conosciuto per avere una possibilità non trascurabile di fattorizzare un modulo RSA.

Risposte:


25

Per un pubblico generico devi attenersi alle cose che possono vedere . Non appena inizi a teorizzare, avvieranno i loro telefoni cellulari.

Ecco alcune idee che potrebbero essere elaborate per completare esempi:

  1. C'è una superficie che ha solo un lato .
  2. Una curva può riempire un intero quadrato .
  3. Ci sono curve a larghezza costante diverse da un cerchio.
  4. È possibile colorare il piano con tre colori in modo tale che ogni punto di confine sia un triplo bordo .

Se puoi fare affidamento su un po 'di conoscenza matematica, puoi fare di più:

  1. Ci sono tanti numeri dispari quanti sono i numeri naturali.
  2. Esiste una funzione continua e in nessun modo differenziabile .
  3. C'è una funzione f:RR che è discontinua in tutti i numeri razionali e differenziabile in tutti i numeri irrazionali.
  4. Il "paradosso" di Banach-Tarski .

Per i programmatori puoi provare:

  1. Le funzionali impossibili : c'è un programma che prende un predicato p : stream → bool, in cui streamè il tipo di dati di sequenze binarie infinite, e ritorna truese e solo se p αè trueper tutti i corsi d'acqua α(che è numerabile molti), e falsein caso contrario.

  2. È possibile giocare a poker per telefono in un modo affidabile che impedisce di barare.

  3. Un gruppo di persone può calcolare il loro stipendio medio senza che nessuno scopra lo stipendio di un'altra persona.

  4. Esiste un programma che costruisce un albero binario T con le seguenti proprietà:

    • l'albero è infinitoT
    • non esiste un programma che traccia un percorso infinito in T

il paradosso banach-tarski (e i relativi paradossi) hanno a che fare con le nozioni (e le manipolazioni) dell'infinito, qualcosa che persino i matematici professionisti possono sbagliare (o non essere molto d'accordo) :)
Nikos M.

4
D'accordo, ma è il tipo di teorema bizzarro che stimola l'interesse della gente. Dà loro una scossa e li fa dubitare delle proprie intuizioni sull'infinito.
Andrej Bauer,

17

Un'idea è qualcosa di semplice dagli algoritmi di streaming . Probabilmente il miglior candidato è l'algoritmo di maggioranza. Supponi di vedere un flusso di numeri , uno dopo l'altro e sai che un numero compare più della metà delle volte, ma non sai quale. Come puoi trovare il numero di maggioranza se ricordi solo due numeri alla volta ? La risposta è l'algoritmo Misra-Gries.s1,,sn

Ad ogni passaggio si memorizza un numero dal flusso e un contatore di frequenza f . All'inizio imposti x sul primo numero dello stream e inizializzi la frequenza f su 1. Quindi ogni volta che vedi un nuovo numero s i , controlli se x = s i . Se x = s i , aumenta f fino a f + 1 , altrimenti diminuisci f fino a f - 1 . Se f = 0 , imposta x su s ixfxfsix=six=siff+1ff1f=0xsie torna a 1 . Dopo l'ultimo elemento del flusso, se c'era un elemento di maggioranza, sarà uguale a xf1x .

Un'altra idea è il noto gioco per illustrare prove di conoscenza zero . Penso che sia dovuto a Oded Goldreich ed è simile alla prova della conoscenza zero per l'isomorfismo grafico.

Per rendere la risposta autonoma, ecco il gioco. Supponiamo che tu voglia convincere il tuo amico daltonico a distinguere il rosso dal verde. Il tuo amico ha due mazzi di carte e sa che una pila è verde e l'altra rossa. Fa quanto segue senza che tu lo veda: con probabilità 1/2 pesca una carta da ogni mazzo, con probabilità 1/4 pesca due carte dal mazzo sinistro e con probabilità 1/4 pesca due carte dal mazzo destro . Quindi ti mostra le carte e ti chiede se sono dello stesso colore. Se non sei daltonico, puoi ovviamente rispondere correttamente ogni volta. Se sei daltonico, fallirai con probabilità 1/2. Quindi ora se il gioco viene giocato 10 volte, la probabilità che tu possa vincere ogni volta pur essendo daltonico è estremamente bassa.

Il kicker è che se il tuo amico sapeva che i due mazzi di carte sono di due colori diversi, ma non sapeva quale fosse rosso e quale verde, alla fine non lo saprebbe ancora! Quindi in sintesi:

  1. C'è spazio per la casualità nelle prove.
  2. Puoi convincere qualcuno che conosci qualcosa senza dargli alcuna informazione al riguardo.

3
Oltre a Misra-Gries, penso anche che il campionamento del serbatoio sia semplice ma piacevole.
Juho,

1
@Juho sono d'accordo. Una popolare domanda di intervista per l'avvio :).
Sasho Nikolov,

13

Il volume di una sfera unitaria di dimensione prima cresce man mano che n cresce ( 2 , π , 4 π / 3 , ... ) ma inizia a diminuire per n = 6 e alla fine converge a 0 come n .nn2,π,4π/3,n=60n


1
E la ragione di ciò è la decisione arbitraria di considerare le sfere del raggio unitario, al contrario di un altro parametro di lunghezza. In particolare, i volumi di sfere di diametro 1 stanno diminuendo dall'inizio.
Emil Jeřábek 3.0

Ci sono molti fatti correlati e controintuitivi relativi alla geometria in dimensioni elevate. Ad esempio, prendi l'ipercubo dell'unità e iscrivi una sfera che tocca tutti i lati. Quanto dista un angolo dell'ipercubo dalla sfera? (Risposta: diverge a con l' aumentare della dimensione. Il raggio della sfera è 0,5 , ma la distanza dal centro all'angolo del cubo è 0,5 0.50.5n
usul

10

A counter intuitive result from complexity theory is the PCP theorem:

NPA, there is an efficient randomized Turing machine that can verify proof correctness (proof of membership in A) using logarithmic number of random bits and reading only constant number of bits from the proof. The constant can be reduced to 3 bits. Therefore, the randomized verifier needs to read only three bits from the proclaimed proof.


What is the reference for "can be reduced to 3 bits"?
Ryan

2
That is known as Håstad's 3 bit (or 3 query) PCP theorem, and it requires sacrificing perfect completeness
Joe Bebel

1
Here you find further information and the reference to Håstad's paper: people.csail.mit.edu/madhu/papers/1998/glst.pdf
Mohammad Al-Turkistany

6
@JoeBebel Actually there are 3-bit verifiers with perfect completeness. Hastad's verifier is "linear": it samples three bits and takes their XOR. For such a verifier you do need to sacrifice perfect completeness. BTW, there are PCP proofs that read only two bits (again necessarily without perfect completeness). For example see my answer here cstheory.stackexchange.com/a/20549/4896
Sasho Nikolov

9

One thing that proves to be counterintuitive for CS undergraduates, is the fact that one can select the i-th order statistics from an unsorted array of n elements in O(n) time. All of the students think they must first necessarily sort the array (in O(n lg n) time).


7

building on MdBs answer/ angle, a classic result of something counterintuitive at the time of discovery in TCS at its foundations is the existence of (un)decidability itself. at the turn of the 20th century Hilbert, mirroring the thinking of other leading mathematicians of the time, thought that mathematics could be systematized (somewhat in the form of what we now recognize as algorithmic) & somewhat via the concept of "finitism" (which has rough parallels to the idea of an algorithm as a finite sequence of steps). he proposed famous open problems along these lines. his (and others) intuition turned out to be wrong in a sort of spectacular way. the counterproof is Godels theorem and Turings Halting problem. both were initially extremely abstract concepts/ results and long, highly technical papers/ arguments only understandable to leading mathematicians of the time, but now are refined to simpler conceptual structures and taught to undergraduates. these were not initially seen as two aspects/face of the same phenomenon but now they are.

also it took close to ~¾ of a century to prove that integer Diophantine equations are undecidable, Hilberts 10th problem. this is counterintuitive in the sense that it was always known that number theory was extremely difficult but the concept that some specific/ identifiable problems in it may actually be "impossible to resolve" was nearly shocking at the time to some. undecidability continues to be a deep challenge in math/ TCS even as we have decades of exponential increases in hardware due to Moores law and yet massive supercomputers that are in a sense still "powerless against it". some aspects of the surprise of undecidability can be found in the book Mathematics, Loss of Certainty by Klein.


2
Turing's paper was not extremely abstract/technical. It's actually quite straightforward and accessible.
Jeffε

1
fine, maybe for you, now, but how many undergraduates do you know who can follow the entire paper? did you follow it as an undergraduate? why are the full actual contents not covered in undergrad classes? why has an entire book been written analyzing that single paper? what about parts that anticipate concepts not discovered until decades later such as curry-howard correspondence, high level programming languages, etc?
vzn

3
Still, "long, highly technical papers/ arguments only understandable to leading mathematicians of the time" is not accurate wrt Turing's paper, which is orders of magnitude more accessible than Godel's papers. This answer is full of non-sequitirs. I cannot see what finitism has to do with Hilbert's program (I am certain he would not have been a finitist). What Moore's law has to do with undecidability is also a puzzle to me. Would you really expect exponentially faster hardware would solve undecidable problems?
Sasho Nikolov

3
why are the full actual contents not covered in undergrad classes? — Not enough time.
Jeffε

1
Fair enough, I did not know about Hilbert's finitism. I was only familiar with modern and much stricter notions of finitism. It would be better if you wrote a good answer rather than refer people to chat, but I somehow doubt you'd follow this advice.
Sasho Nikolov

6

It seems obvious, but from personal experience, the idea that you can estimate the median of a collection of items using a constant number of operations is a little shocking. And if that seems a little too technical, you can always convert it into a statement about polls an elections (you need 1300 people to get a sample with 3% error, regardless of the population size).

Related to this is the birthday paradox of course.


5

Perhaps a good example (not directly related to computational complexity) is the Turing universality of simple computational models.

For example the rule 110 is efficiently (weakly) universal:

Given an (infinite) array of 0-1 (white-black) cells properly initialized and the simple substitution rules:

enter image description here

we have a "working computer"! :-)

For the definition of "weakly" and "efficient", and for other examples of simple universal Turing machines look at: Turlough Neary, Damien Woods; The complexity of small universal Turing machines: a survey.

Another puzzling example is the Turing completeness of the FRACTRAN "programming language":

  • the "program" is a list of fractions: (p1/q1,p2/q2,...,pn/qn);
  • given an input n find the first qi that divides n and replace nnpiqi;
  • repeat the previous step until no qi divides n.

With a suitable encoding of the input n, FRACTRAN can simulate any Turing machine.

You can also use other models, like cyclic tag systems, ant-automata, ....
The not-so-intuitive idea is that "computation" is hidden almost everywhere ... Wolfram wrote 1192 pages filled with figures and text to better express that idea in his A New Kind of Science (yes... yes... despite some critical reviews I finally bought a hard-copy of it :-)


3

A few good candidates off the top of my head:

  • Every NFA has an equivalent DFA

  • There exists a finite field of size p or pi where iN and i>0.

  • Public key cryptography

    • Calling to a function with encrypted arguments and receiving the desired result without revealing information about your inputs

    • RSA encrpytion

  • Reed-Solomon codes

  • Countability

    • |N|=|Z|=|N×N|=|Q|

    • The set of elements in the language {0,1} is countable, but R is uncountable (Cantor's diagonalization)

    • Cantor's Theorem: |S|<|P(S)|

  • On a more philosophical level, it astonished me that Turing machines accurately define computation

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.