0:00

Supón que te doy una ruta que pasa por cinco ciudades.

0:03

Puedes calcular su distancia total en segundos.

0:06

Pero ¿y si te pidiera encontrar la ruta más corta posible entre todas las combinaciones?

0:12

Este es el problema del viajante. Visita cada ciudad exactamente una vez, regresa al punto de partida y haz que el recorrido total sea lo más corto posible.

0:22

Esta es una ruta posible. Mide unos 16,61 unidades.

0:28

Una vez que se propone una ruta, verificarla es sencillo.

0:31

Comprueba que cada ciudad aparezca exactamente una vez.

0:34

Suma las distancias y luego compara el total con un límite elegido.

0:38

Esta ruta mide menos de 17 unidades, y podemos confirmarlo rápidamente.

0:44

Pero ¿podemos mejorarla? Sí, aquí hay otra ruta.

0:47

Mide exactamente 14 unidades. Es más corta que nuestra primera ruta.

0:51

Fue posible encontrar una ruta mejor, Pero ¿cómo sabemos si 14 es el mínimo absoluto?

0:58

Para demostrar que una ruta es la más corta, debemos descartar todas las alternativas más cortas.

1:03

Con solo cinco ciudades, podemos comprobar los 12 recorridos de ida y vuelta distintos.

1:08

Pero a medida que aumenta el número de ciudades, esa sencilla estrategia se vuelve enormemente costosa.

1:14

He aquí por qué el problema se vuelve difícil.

1:17

Con cinco ciudades, solo hay 12 recorridos de ida y vuelta distintos.

1:21

Con 10, más de 180.000. Con 15, más de 43.000 millones.

1:26

Y con 20, más de 60 cuatrillones. El número de posibilidades crece de forma explosiva.

1:34

Los informáticos usan la letra P para los problemas de decisión que pueden resolverse mediante algoritmos cuyo tiempo de ejecución crece, como máximo, de forma polinómica con el tamaño de la entrada.

1:44

En teoría de la complejidad, se considera que estos problemas pueden resolverse de forma eficiente.

1:50

NP describe problemas de decisión cuya respuesta afirmativa puede respaldarse con un certificado que se comprueba en tiempo polinómico.

1:58

Para nuestro problema de rutas, el certificado es el recorrido propuesto.

2:01

Podemos comprobar su orden, calcular su longitud y verificar si se mantiene dentro del límite requerido.

2:08

Todo problema de P también está en NP. Pero ¿son realmente iguales ambas clases?

2:14

¿Podría encontrarse también con un algoritmo eficiente toda respuesta afirmativa que pueda verificarse eficientemente?

2:20

Nadie lo sabe. Ese es el problema P versus NP.

2:25

Esta cuestión va mucho más allá de las rutas.

2:28

Surgen preguntas de complejidad relacionadas en la programación de horarios, la logística, la optimización y la resolución de problemas matemáticos.

2:36

Un descubrimiento sobre P versus NP cambiaría nuestra comprensión de lo que las computadoras pueden calcular eficientemente.

2:44

Comprobar una respuesta propuesta y descubrir una son tareas fundamentalmente distintas.

2:49

P versus NP pregunta si esa aparente diferencia refleja un límite real de la computación eficiente, y la respuesta sigue siendo una de las grandes preguntas abiertas de las matemáticas.

End of transcript · 456 words · machine translated

Original transcript (English)

Suppose I give you a route through five cities.

You can calculate its total distance in seconds.

But what if I ask you to find the shortest possible route among every arrangement?

This is the traveling salesperson problem.

Visit every city exactly once, return to where you started, and make the total journey as short as possible.

Here's one possible route. Its length is about 16.61 units.

Once a route is given, checking it is straightforward.

Verify that every city appears exactly once.

Add the distances, then compare the total with a chosen limit.

This route is shorter than 17 units, and we can confirm that quickly.

But can we do better? Yes, here is another route.

Its length is exactly 14 units. That's shorter than our first route.

Finding a better route was possible, but how do we know whether 14 is the absolute minimum?

To prove that a route is shortest, we must rule out every shorter alternative.

With only five cities, we can check all 12 distinct round trips.

But as the number of cities grows, that simple strategy becomes enormously expensive.

Here's why the problem becomes difficult.

With five cities, there are just 12 distinct round trips.

With 10, more than 180,000. With 15, over 43 billion.

And with 20, more than 60 quadrillion. The number of possibilities grows explosively.

Computer scientists use the letter P for decision problems that can be solved by algorithms whose running time grows at most polynomially with the input size.

These are the problems considered efficiently solvable in complexity theory.

NP describes decision problems where a yes answer can be supported by a certificate that is checked in polynomial time.

For our route problem, the certificate is the proposed tour.

We can check its order, calculate its length, and verify whether it stays within the required limit.

Every problem in P is also in NP. But are the two classes actually equal?

Could every efficiently verifiable yes answer also be found by an efficient algorithm?

Nobody knows. That's the P versus NP problem.

This question reaches far beyond travel routes.

Related complexity questions appear in scheduling, logistics, optimization, and mathematical problem-solving.

A discovery about P versus NP would change our understanding of what computers can efficiently calculate.

Checking a proposed answer and discovering one are fundamentally different tasks.

P versus NP asks whether that apparent difference reflects a genuine limit of efficient computation, and the answer remains one of mathematics' great open questions.

iPhone app Translate videos on your iPhone Paste a TikTok, Instagram or X link, add subtitles in your language and save the video to Photos.

Made with TranslateMom

TranslateMom transcribes and translates videos from X, TikTok, YouTube and Instagram. Paste a link and you get a page like this one, in your language.

Transcrito y traducido con TranslateMom. Pega el enlace de cualquier video para obtener subtítulos y una transcripción en tu idioma.

© 2026 TranslateMom · AI video translation and subtitles Transcripts Sources Pricing Legal