There is a cat at point that wants to return home at point But the cat must drink water from the river before returning home. What is the minimum distance the cat needs to walk from point to point
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.
Let's call x the horizontal distance from the cat to the water. Using the Pythagorean Theorem, we can write the distance walked by the cat as d ( x ) = 3 0 0 2 + x 2 + 3 0 0 2 + ( 8 0 0 − x ) 2 .
By symmetry we know that distance function hits an extremum for x = 4 0 0 with d ( 4 0 0 ) = 3 0 0 2 + 4 0 0 2 + 3 0 0 2 + ( 8 0 0 − 4 0 0 ) 2 = 5 0 0 + 5 0 0 = 1 0 0 0 .
Additionnally, we know that extremum is a minimum because if the cat were to walk straight up to the water and then to his home, it would walk 3 0 0 + 8 0 0 = 1 1 0 0 which is longer.