Can you solve the vampire hunter riddle Dan Finkel

The greatest challenge a vampire hunter
can take on

is to bring sunlight
into a vampire’s lair.

You’ve stealthily descended into the
darkness of a vampire cave,

setting a sequence of mirrors as you go.

When the sun reaches
the right angle in the sky,

a focused beam of light will ricochet
along the mirrors,

strike your diffuser,

and illuminate the great chamber
where the vampires sleep.

You set the final mirror

and sneak through an opening
in the corner of the great chamber.

The diffuser must be wall-mounted,

but the walls are crowded with coffins,

which you don’t dare disturb.

The only open spots are in the other
three corners of the room.

The light will enter through the southwest
corner at a 45 degree angle

and bounce off the perfectly smooth
metallic walls

until it hits one of the
other three corners.

But which corner will it hit?

You know the room is a rectangle 49 meters
wide and 78 meters long.

You could probably find the answer

by drawing a scale model of the room
and tracing the path of the light,

but the sun will be in its
place in just minutes,

and you’ve got no time to spare.

Fortunately, there’s a different way
to solve this puzzle

that’s both simple and elegant.

So in which corner should
you place the diffuser

to flood the vampire lair with sunlight?

Pause the video if you want to figure
it out for yourself.

Answer in 2

Answer in 1

You could tackle this problem
by examining smaller rooms,

and you’d find a lot
of interesting patterns.

But there’s one insight that can unravel
this riddle in almost no time at all.

Let’s draw the chamber
on a coordinate grid,

with the Southwest corner
at the point (0,0).

The light passes through grid points

with coordinates that are either
both even or both odd.

This is true even after it bounces off
one or more walls.

Another way of thinking about it is this:

since the light travels at a
45 degree angle,

it always crosses the diagonal
of a unit square.

Traveling 1 meter horizontally
changes the x coordinate

from even to odd or vice versa.

Traveling 1 meter vertically
changes the y coordinate

from even to odd or vice versa.

Traveling diagonally – as the light
does here – does both at once,

so the x and y coordinates of any points
the light passes through

must be both even, or both odd.

This observation is more
powerful than it seems.

In particular, it means that we have a
way to identify the kinds of points

the light won’t ever go through

If one of the coordinates is even
and the other is odd,

the light will miss them.

That means it’ll miss the top
two corners of the room,

since those points have one even
and one odd coordinate.

The Southeast corner is the
only option for the diffuser.

And indeed, when that precious
beam of sunlight enters the hall,

it bounces between the walls

and strikes the Southeast corner, spot on.

The vampires, sensing the intrusion,

burst from their coffins
and turn to dust in the light.

It was a “high stakes” test,

and you passed with flying colors.

吸血鬼猎人所能承受的最大挑战

是将阳光
带入吸血鬼的巢穴。

你悄悄地潜入了
一个吸血鬼洞穴的黑暗中,边走边

设置了一系列镜子。

当太阳
在天空中达到直角时,

一束聚焦光束将
沿着镜子弹射,

击中您的漫射器,

并照亮
吸血鬼睡觉的大房间。

你设置了最后一面镜子,

然后潜入
大厅角落的一个开口。

扩香器必须挂墙,

但墙上堆满了棺材

,你不敢打扰。

唯一的空位在房间的其他
三个角落。

光线
将以 45 度角

从西南角进入,并在完美光滑的
金属墙壁上反射,

直到照射到
其他三个角落之一。

但它会撞到哪个角落?

你知道房间是一个
长 49 米,长 78 米的长方形。

您可能可以

通过绘制房间的比例模型
并追踪光线的路径来找到答案,

但是太阳将
在几分钟内就位,

而您没有多余的时间。

幸运的是,有一种不同的方法
可以解决这个难题

,既简单又优雅。

那么你应该在哪个角落
放置扩散器

以使吸血鬼巢穴充满阳光?

如果您想自己弄清楚,请暂停视频

回答 2

回答 1

你可以
通过检查较小的房间来解决这个问题

,你会发现
很多有趣的模式。

但有一种洞察力几乎可以立即解开
这个谜团。

让我们
在坐标网格上绘制房间

,西南角
在点 (0,0)。

光线

通过坐标
为偶数或奇数的网格点。

即使它从一堵
或多堵墙上反弹也是如此。

另一种思考方式是:

由于光以
45 度角传播,

它总是穿过
单位正方形的对角线。

水平移动 1 米
会将 x 坐标

从偶数更改为奇数,反之亦然。

垂直移动 1 米
会将 y 坐标

从偶数更改为奇数,反之亦然。

对角线传播——就像这里的光
一样——同时进行,

所以光通过的任何点的 x 和 y 坐标

必须都是偶数,或者都是奇数。

这种观察
比看起来更强大。

特别是,这意味着我们有一种
方法可以识别

光永远不会通过的点的种类

如果一个坐标是偶数
而另一个是奇数,

那么光会错过它们。

这意味着它会错过房间的前
两个角落,

因为这些点有一个偶数
和一个奇数坐标。

东南角
是扩散器的唯一选择。

确实,当那
束珍贵的阳光进入大厅时,

它会在墙壁之间反弹

,并准确地照射在东南角。

吸血鬼们察觉到入侵,

从棺材中爆裂
,在光线中化作尘土。

这是一个“高风险”的测试

,你以优异的成绩通过了。