0:00

Suppose I give you a route through five cities.

0:03

You can calculate its total distance in seconds.

0:06

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

0:12

This is the traveling salesperson problem.

0:14

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

0:22

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

0:28

Once a route is given, checking it is straightforward.

0:31

Verify that every city appears exactly once.

0:34

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

0:38

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

0:44

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

0:47

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

0:51

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

0:58

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

1:03

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

1:08

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

1:14

Here's why the problem becomes difficult.

1:17

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

1:21

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

1:26

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

1:34

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.

1:44

These are the problems considered efficiently solvable in complexity theory.

1:50

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

1:58

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

2:01

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

2:08

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

2:14

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

2:20

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

2:25

This question reaches far beyond travel routes.

2:28

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

2:36

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

2:44

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

2:49

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.

End of transcript · 414 words

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.

Transcribed with TranslateMom. Paste any video link to get subtitles and a transcript in your language.

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