4 Dogs Problem: The Inefficient Solution (3b1b SoME#2 Entry)

Mathing
15 Aug 202211:59

Summary

TLDR在这段视频中,作者分享了一个有趣的数学谜题:四只狗从正方形的顶点出发,以恒定速度相互追逐,最终在中心相遇。尽管作者花了几周时间才找到自己的解法,但发现网上的解答更简洁。通过实验和图表,作者解释了狗的螺旋运动路径,并证明了它们所走的曲线总长与原正方形的边长相等。视频强调了解决问题过程的重要性,并鼓励观众用不同的方法解决一个问题,而不是单一方法解决多个问题。

Takeaways

  • 🧩 一道花费了很长时间才解决的有趣谜题,但最终发现更简单的解决方案。
  • 🕵️‍♂️ 四只狗分别位于边长为一单位的正方形的顶点,并以每秒一单位的速度分别朝向下一只狗移动。
  • 🔄 狗的路径不是圆形,而是向中心慢慢螺旋状移动。
  • 🧠 假设狗的反应速度有滞后时间 t 秒,以观察它们的路径变化。
  • 📉 建立图表,将每一步的距离变化和中间正方形的边长绘制在坐标轴上。
  • 🔬 通过图表可以发现路径长度和中间正方形边长之间的关系。
  • 📏 即使没有螺旋方程,仍可以通过图表找到狗移动的总距离。
  • 📈 证明在 t 接近零时,图表曲线是直线,且斜率为常数。
  • 🧮 计算得出总路径长度等于初始正方形的边长。
  • ✨ 强调解决问题的过程和思维方法的重要性,比单纯找到答案更有意义。

Q & A

  • 视频开头提到的谜题是什么?

    -视频开头提到的谜题是关于四只狗坐在边长为1个单位的正方形顶点上,且每只狗都以1单位/秒的速度朝向下一只狗移动的问题。

  • 谜题中四只狗的移动速度是多少?

    -四只狗的移动速度是1单位/秒。

  • 四只狗的移动方向是怎样的?

    -第一只狗总是朝向第二只狗移动,第二只狗总是朝向第三只狗移动,第三只狗总是朝向第四只狗移动,第四只狗总是朝向第一只狗移动。

  • 四只狗最终会在什么地方相遇?

    -四只狗最终会在正方形的中心相遇。

  • 四只狗的路径会是什么形状?

    -四只狗的路径是螺旋状逐渐向中心靠拢。

  • 如何通过实验模拟狗的路径?

    -通过设定狗有一个t秒的延迟时间,每隔t秒调整一次方向,可以模拟出螺旋状的路径。随着t值减小,路径逐渐逼近实际情况。

  • 如何测量狗的螺旋路径的长度?

    -通过建立一个图表,在x轴上标记每一步的距离,在y轴上标记每一步形成的中间正方形的边长,可以找到狗走到中心的总距离。

  • 如何证明原始情况下的路径是一条直线?

    -通过计算延迟情况下的路径斜率,发现其斜率趋于负一,证明了原始路径是一条直线。

  • 图表中y轴为0时对应的x轴值是什么意义?

    -y轴为0时对应的x轴值是狗走到中心的总距离,在本例中等于1单位。

  • 视频的核心主题是什么?

    -视频的核心主题是解谜的过程本身,而非结果。通过不同方法解决一个问题比单一方法解决多个问题更有价值。

Outlines

00:00

😀 解决数学谜题的个人旅程

作者分享了一个自己花了很长时间才解决的谜题的经历,并描述了在找到更短的解决方案后感到沮丧。然而,作者意识到最短的解决方案并不总是最美的,强调了欣赏解决问题过程的重要性。接着,作者提出了一个关于四只狗沿着正方形顶点移动的谜题,并鼓励观众暂停视频自行尝试解决。

05:00

🤔 狗的螺旋路径和距离计算

作者详细描述了狗在正方形顶点移动的路径,并通过一个思维实验来理解它们的运动方式。假设狗的方向每隔t秒才会调整一次,作者演示了随着t值减小到零,狗的路径逐渐变成螺旋形。然后,作者提出了计算曲线距离的问题,并指出通过图形来解决这个问题的方法。

10:02

🌀 通过图表理解狗的运动路径

作者继续使用思维实验,通过绘制图表来分析狗的运动路径。每一步在x轴上标记一个t距离,在y轴上标记对应的中间正方形的边长。通过这种方法,作者展示了如何利用图表来计算狗移动的总距离,并最终发现,当t趋近于零时,图表实际上是一条直线。这表明狗移动的总距离与正方形的边长相等。

Mindmap

Keywords

💡数学难题

数学难题是指具有挑战性且需要复杂思考和分析才能解决的问题。视频开头提到作者花了数周时间才解决了一个数学难题,显示出这种问题的复杂性和需要的耐心。

💡狗的运动路径

视频中的四只狗在正方形的顶点上,它们每只狗的移动方向总是朝向下一只狗。这个概念展示了一种复杂的运动路径分析,最终它们会在某个点相遇。这种路径的分析是视频的核心问题之一。

💡螺旋

螺旋是一种曲线,在视频中用于描述狗的运动路径。尽管这些狗不会沿着圆形路径移动,但它们会沿着类似螺旋的路径逐渐靠近中心。

💡时间间隔

时间间隔指狗在每个固定的时间段后改变方向。视频中用这个概念来简化和分析狗的运动路径,从而更好地理解它们的最终路径。

💡图形

视频中提到通过绘制图形来帮助理解狗的运动路径。这个图形显示在每一步中狗所形成的中间正方形的边长,并将其与步数关联。

💡极限

极限在数学中是指一个变量逐渐逼近某个值。在视频中,通过减少时间间隔,分析了当时间间隔趋近于零时狗的运动路径,得出它们的路径实际上是一条直线。

💡直线

尽管狗的运动路径看起来复杂,但通过分析发现,当时间间隔趋近于零时,它们的路径实际上形成了一条直线。这是视频中一个重要的数学结论。

💡毕达哥拉斯定理

毕达哥拉斯定理用于计算直角三角形的边长。在视频中,用于解释两次狗形成的正方形之间的关系,帮助理解狗的运动路径。

💡函数

视频中提到绘制图形时不需要知道螺旋路径的函数,这意味着即使在没有明确方程的情况下,仍然可以通过分析运动路径来得到有用的结论。

💡数学美

作者强调即使解决问题的路径较长,过程中的探索和发现仍然充满了美感。视频传达了数学不仅仅是求解问题,更重要的是欣赏解决问题的过程。

Highlights

接下来,我将为你们分享一个非常有趣的谜题,这是一个让我花了很长时间才解决的难题。

我在网上找到了一个非常简短的解决方案,这让我感觉自己很愚蠢,因为我没有想到更简单的方法。

我意识到,最短的解决方案不一定是最美的。我们走的路可能有点长,但只要我们欣赏旅程,它本身就是美丽的。

现在想象你有四只狗,它们坐在边长为一单位的正方形的顶点上。这些狗的速度总是每秒一单位。

第一只狗总是朝着第二只狗移动,第二只狗总是朝着第三只狗移动,第三只狗朝着第四只狗移动,第四只狗又朝着第一只狗移动。

所有狗同时开始移动,它们应该在某个时刻相遇。问题是它们的路径是什么样的,一只狗为了到达相遇点走了多远。

狗不会沿圆周运动,它们会慢慢螺旋向中心移动。

狗的大脑很慢,它们只能在每t秒后改变方向。在每一步之后,它们形成一个比前一步小的中间正方形。

原始的狗应该没有任何滞后时间,它们应该立即朝着正确的方向移动。

狗在x轴上移动t单位的距离,在y轴上移动中间正方形的边长。

这个图表非常有用,知道任何一步的边长,我们可以找到狗到达那一步所走的距离。

中心处的中间正方形的边长为零,这意味着答案是图表在x轴上为零的点。

对于滞后情况的图表,斜率是负一,这是一个常数。

知道斜率和第一个正方形的点,我们可以轻松找到直线方程。

狗走的曲线长度与正方形的边长相等,结果是惊人的美丽。

解决一个问题的五种方法要比解决五个问题的一种方法更好。

Transcripts

play00:05

in a moment i'll be sharing with you a

play00:07

very nice puzzle one which i spent my

play00:09

head on for a long time in fact it took

play00:12

me weeks to solve it but i felt really

play00:15

good about myself that i finally did it

play00:18

but then i decided to look up solutions

play00:20

online

play00:22

and guess what

play00:23

i was devastated the solution i found

play00:26

online was so short that i felt like a

play00:29

complete idiot that i couldn't think of

play00:31

a more easier way

play00:33

my solution definitely had to be the

play00:35

most inefficient one

play00:37

but now when i look back i realized that

play00:39

the shortest solution is not exclusively

play00:42

the most beautiful one

play00:44

the path that we take might be somewhat

play00:46

long but as long as we appreciate the

play00:49

journey it surely is beautiful in itself

play00:53

after all it is mathematics and all math

play00:56

is clever and beautiful

play00:59

so yes here's the puzzle

play01:02

imagine you have four dogs and

play01:04

they just happen to sit on the vertices

play01:06

of a square whose side lengths are one

play01:09

units

play01:10

the dogs however as you can guess aren't

play01:13

normal they are mathematically bred in

play01:16

such a way that their speed is always

play01:19

one units per second

play01:20

and that the first dog always moves

play01:23

towards the second dog the second one

play01:25

always moves towards the third the third

play01:28

towards the fourth and the fourth again

play01:30

always moves towards the first one so

play01:33

given all these wrong information if

play01:35

they all began moving at once they

play01:38

should meet each other at some point in

play01:40

time so the question is what would their

play01:43

paths look like and also what is the

play01:46

distance covered by one of the dogs to

play01:49

get there

play01:50

now before proceeding i want you to

play01:52

press pause and give this a try yourself

play01:55

trust me the problem is quite rewarding

play01:58

itself

play01:59

so back to the puzzle

play02:01

how do you even figure out the path of

play02:04

such weird motion

play02:05

will they run in circles spirals or

play02:09

something else

play02:10

for one thing they won't run in circles

play02:12

no if their directions were always

play02:15

oriented perpendicularly from the center

play02:17

then they would have always run around

play02:19

in circles but this isn't the case here

play02:22

so they should slowly spiral in towards

play02:25

the center right

play02:27

but how do we show of it

play02:30

well let's design a thought experiment

play02:32

imagine that the dogs well their brains

play02:35

are slow so they can only change their

play02:38

directions after every t seconds

play02:41

so at first the dogs will start moving

play02:43

in their initial direction and only

play02:45

after t seconds their slow brains will

play02:48

suddenly discover that they are not

play02:50

running in the right directions

play02:52

so they'll fix their directions

play02:54

instantly and start moving towards the

play02:56

new directions again

play02:58

and they keep on running in this manner

play03:01

fixing their directions after every two

play03:03

seconds

play03:05

so running in this way gives us a sort

play03:08

of spiral-like path for our dogs

play03:11

but this is not the original path

play03:14

because our original dogs should not

play03:17

have any lag time at all they should not

play03:20

fix their directions after a lag time of

play03:23

t

play03:24

they should fix it after a lag time of

play03:27

zero that is they should move towards

play03:29

the right directions instantly but in

play03:32

this example where we chose a lag time

play03:34

of t equals 0.2 seconds let's see what

play03:38

happens to the path here when we keep on

play03:40

decreasing the value of t so that it

play03:43

almost reaches zero

play03:48

i hope now this starts to make some

play03:50

sense

play03:51

yes the path that you see here is the

play03:54

path our dogs take while moving in their

play03:57

weird way but

play03:59

hey this just became a whole lot

play04:01

difficult how do we even measure the

play04:04

length of this curved shape

play04:06

is this even possible

play04:08

well let's move back to our thought

play04:11

experiment and explore it a little bit

play04:13

further

play04:14

here the dogs had a slow brain with t

play04:17

seconds of lag time which meant they

play04:20

could sense any changes only after t

play04:23

seconds

play04:25

now notice that a t seconds lag is the

play04:29

same as calling it a t distant flag

play04:32

because the dogs having a speed of one

play04:34

units per second covers the same units

play04:36

of distance in equally the same units of

play04:39

time this means instead of saying the

play04:42

dog sends any changes after t seconds we

play04:45

can equally say that the dogs sense any

play04:48

changes just after crossing t units of

play04:51

distance

play04:52

here we can see that after each step the

play04:55

dogs form an intermediate square which

play04:58

by the way is always smaller than the

play05:00

previous one

play05:01

let's name the sides of these squares

play05:03

the initial one let's call it s1 and

play05:06

then the next ones as s2 s3 and so on

play05:11

ok enough notations let's talk business

play05:14

how do we measure this curve distance

play05:17

well that's where we start to use some

play05:19

magic

play05:20

no not literally we are not chanting

play05:22

some spells to find out the answer but

play05:25

what we're about to do at first might

play05:28

seem a bit weird but the way things work

play05:30

out at the end

play05:32

it almost feels like magic

play05:34

let's start building a graph

play05:37

but hey we don't know any functions here

play05:40

i mean it might have helped if we knew

play05:42

the equation of the spirals at least we

play05:45

don't even know that what graph are we

play05:47

gonna make

play05:48

well let's do a crazy thing we'll start

play05:51

building a new one

play05:53

which won't require knowing about the

play05:54

equation of the spirals at all

play05:57

again we start with the lag case

play06:00

here after each step our dogs take we

play06:04

put one t distance in the x axis which

play06:07

is the distance covered in that step

play06:10

and then let's put the side length of

play06:12

the intermediate square formed after

play06:14

that step on the y axis

play06:17

and we keep on doing this for all the

play06:19

steps

play06:28

the graph that we see here is amazingly

play06:30

useful for instance if you know the side

play06:33

length of an intermediate square at

play06:36

let's say this step

play06:38

matching the side length here you'll

play06:40

know that it took the dogs one two three

play06:43

steps to reach this point so the

play06:45

distance caused by them to reach this

play06:48

step is this length in the x-axis

play06:52

and this is true for any step if we just

play06:55

know the side length at any step we can

play06:58

find out the distance traveled by the

play07:01

dogs to get to that step just by looking

play07:04

at the x-coordinate

play07:06

now this is actually a key discovery

play07:09

take a moment to realize how this is

play07:11

true

play07:13

but how does this help to find the

play07:16

distance travel to get to the center

play07:18

well we already know the side length of

play07:20

the intermediate square in the center

play07:23

since it's the center the side length

play07:25

has to be zero

play07:27

but wait this means our answer is the x

play07:30

coordinate for which that graph is equal

play07:33

to zero

play07:34

but how do we find where this graph is

play07:37

equal to zero we don't even know the

play07:39

function yet

play07:40

okay but before that the graph you see

play07:43

here is for the t distance lag case

play07:46

where the dogs had a slow rain what

play07:48

would the graph look like for the

play07:50

original case when t approaches zero

play07:57

this made me question the first time

play07:59

could it really be that simple is this

play08:02

graph in the original case actually a

play08:05

straight line

play08:07

well it certainly looks like one but how

play08:10

to prove that it is one

play08:13

this is the last clever thing we'll need

play08:15

to solve this once and for all

play08:18

in fact we don't even need to do much to

play08:21

prove that it is indeed a straight line

play08:24

if we can somehow show that the slope is

play08:27

always the same that will easily prove

play08:30

our claim because straight lines well

play08:32

are straight so they don't change their

play08:35

slopes at all

play08:37

and finding the slope is relatively

play08:39

simple for the lag case the slope for

play08:42

any two consecutive steps would appear

play08:44

to be the vertical change divided by the

play08:47

horizontal change

play08:49

here the horizontal change would be t of

play08:52

course because we chose the length of

play08:54

each step in x-axis to be t itself

play09:00

in case of the vertical chain it will be

play09:03

the difference of these lengths

play09:05

let's call this s sub n so the other one

play09:08

will be s sub n plus one

play09:11

so the vertical distance becomes s sub n

play09:14

plus one minus s sub n and the slope

play09:17

should look like this

play09:19

now observing our figure we can actually

play09:21

find a relation between the two

play09:23

consecutive squares so here if this

play09:26

square side length is s sub n the next

play09:29

one should be s sub n plus one

play09:32

and we can spot a right angle triangle

play09:35

here and in fact we can easily figure

play09:38

out the length of the sides of this

play09:40

triangle with what we already know

play09:45

now using the pythagorean theorem we can

play09:47

find the following relation

play09:50

and since we didn't choose any two

play09:53

particular squares this formula is

play09:55

actually applicable for any two

play09:58

consecutive squares in this figure

play10:01

now remember our slope we'll use the

play10:04

value of s sub n plus 1 here and the

play10:07

slope now looks this way but this is the

play10:10

slope for the lag case for the original

play10:14

case the slope will be the limit of this

play10:16

value when t approaches zero

play10:20

i am not showing the calculations here

play10:22

but it turns out this limit is

play10:25

exactly equal to negative one which is a

play10:29

constant

play10:30

so the slope whichever squares you

play10:33

consider is always a constant

play10:38

so

play10:38

there we have it this has got to be a

play10:40

straight line

play10:42

and since now we know the value of the

play10:44

slope and we also know that this line

play10:46

passes through the point 0 1 which

play10:49

represents the very first square the dog

play10:51

started with using these two information

play10:54

we can figure out the equation of the

play10:56

straight line quite easily

play10:59

it turns out when this graph is zero the

play11:02

x-coordinate is one which means the

play11:05

length of the curved lines to which our

play11:07

dogs traveled must also be one

play11:11

this to me is amazingly beautiful that

play11:14

the square we started with had the same

play11:17

length that these curved paths have they

play11:20

somehow happen to be equal this almost

play11:23

feels paradoxical

play11:25

so there we have it now we know our

play11:27

answer

play11:28

but this video was never about the

play11:31

answer it was about the steps we took

play11:34

that let us hear

play11:36

and you might disagree but here's a

play11:38

profound statement to conclude this

play11:40

video it is better to solve one problem

play11:43

five different ways than to solve five

play11:46

problems one way

play11:48

thanks for watching

play11:50

and keep matting

play11:58

you

Rate This

5.0 / 5 (0 votes)

Related Tags
数学谜题复杂路径数学之美智力挑战狗的运动追逐问题路径计算数学思维解决方法趣味数学
Do you need a summary in English?