 You should know by now what Pythagoras theorem is and how to use it, but if you'd like to refresh your memory watch this video So we know that if we have a right angle triangle with the sides a b and C Where side C is opposite the right or 90 degree angle then C squared equals a squared plus b squared But what's it used for? One useful thing you can use Pythagoras theorem for is to find the distance between two points using their coordinates If you don't know how to work with coordinate plane watch this video But if you know what it is, let's try to find the distance between two arbitrary points Assuming that we have two points a with coordinates five two and b with coordinates nine five What's the distance between them or in other words? What is the length of the line segment a b? The problem is that we don't know how to count distance diagonally yet only using axis But Pythagoras theorem can fix that First let's find horizontal and vertical distances between the two points We need two additional lines for that. Let's name the intersection point C The angle a c b is the right angle or 90 degree angle So bc equals five minus two which equals three and a c equals nine minus five Which is equal to four? Does it remind you of something? Yes, we've got two sides for Pythagoras theorem So now we can use it to find the third one So the length of a b is the square root of 25 which equals five Let's summarize. How can we find the distance between two points? Well, it's pretty easy First find the horizontal distance between the points then find the vertical distance between the points and Finally used by Pythagoras theorem to find the length of the hypotenuse, which is the distance we are looking for For those of you who like formulas Here's what it is. If we have two points a and b Then we can always use the following formula to find the distance between these points This looks scary, doesn't it? But let's gather our courage and look closer This is just another representation of Pythagoras theorem So why did we do all these strange things? Because now we can find the distance between objects even without drawing them You may say but we like drawing graphs. It's fun Well, not everyone likes pictures For example, computers hate pictures because they don't even understand what they're looking at But they like numbers and they can count really fast Computers know the position of the object because they know its coordinates and that makes our lives easier Because we can explain to our computers what the distance is using this scary formula So let's use it Imagine that we are playing a very easy computer game. There are two objects on the screen a boy and a zombie The boy is trying to run away from the zombie If at any point in time the distance between the boy and the zombie becomes less than 20 points It catches the boy and forces him to do maths exercises But if the boy runs away increasing the distance to more than 100 points from the monster He escapes and wins Our computer only knows the coordinates of the boy and the zombie But we now know that this is the only data it needs to find the distance So our command to the computer will look like this If the value of this expression is less than 20 go and study maths And if the value of this expression is more than 100 then the player wins Let's play help the computer find the result of the game if the zombies coordinates are 1928 And the boys coordinates are 31 and 37 You aren't a computer so feel free to use any method you like And that's how Pythagoras helped us create computer games Don't forget to thank him next time you play one If you liked the video give it a thumbs up and don't forget to subscribe Comment below if you have any questions. Why not check out our fu school app as well until next time