Luigi is in Bowser's Castle and he's in triangular room with sides 6, 8 and 10. The princess is at point P inside the triangle (not on the border) such that the distance between P and each side is an integer number. How many position can the princess occupies?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Consider the triangle in the cartesian plane with A ( 0 ; 0 ) , B ( 8 ; 0 ) and C ( 0 ; 6 ) .
The equation of the the line which pass throught B and C is 3 x + 4 y − 2 4 = 0
Call P ( x 0 ; y 0 ) a point inside the triangle with x 0 and y 0 integer so that the distance from AB and AC satisfy the problem.
The distance between P and the line BC is d = 3 2 + 4 2 ∣ 3 x 0 + 4 y 0 − 2 4 ∣ .
At this point we have to find all the points P ( x 0 ; y 0 ) so that also d = 5 ∣ 3 x 0 + 4 y 0 − 2 4 ∣ is an integer.
There are only 3 solutions (after having tried all the few points inside the triangle) which are X ( 5 ; 1 ) , Y ( 2 ; 2 ) and Z ( 1 ; 4 ) .