SEEING REFLECTIONS
Finding reflections in the real world is an interesting exercise. They might not seem obvious right away, but once you start looking for them, you can find them in many places. I'm going to find a type of reflection that's of interest to me, and offer three different ways to measure or quantify the reflection using mathematical terminology.
Where I looked for reflections? The video game "PONG". It was created in 1972, and is famous as one of the most basic video games. It's a simple game, still entertaining to play today -- although it's not quite as exciting as current video game releases. But it relies on the basic geometry of reflections, as you move your 'paddle' to bounce a ball back and forth. Only by understanding reflections can you play the game effectively.
The first way to measure the reflections in Pong is using the angle. In the screenshot below, you can see the ball approaching the paddle. The player needs to move the paddle to hit the ball; when that occurs, the ball will reflect off the paddle in the opposite direction. To understand this reflection, we can look at the angle of the ball coming in and going out. They are equal! That is an important property of geometric reflections.
A second way to measure reflections in Pong is using slope. In the figure below, we can see a ball in Pong bouncing off the bottom wall between the paddles. Instead of measuring the angles of the lines, we can find the coordinates of the points on the ball's path, and calculate the slope of each line.
Using the slope formula, we find:
SLOPE of ED: (0-1.6)/(4-0) = -1.6/4 = -0.4
SLOPE of DC: (2.6-0)/(10.3-4) = 2.6/6.3 = 0.41
Although it's off by a decimal of 0.01, we can see that the slopes of the two lines are about the same, but negative. So we can see how reflected lines have NEGATIVE slopes.
The final way to look at reflections using Pong is by finding the actual equation of a line. Looking at a final screenshot of the Pong game, we can detect two different lines representing the path of the ball as it reflects across the wall. The reflection occurs at the point (7,8), so that means the ball is reflected across the line x = 7, which is indicated in the red dotted line.
Now, we can use the point-slope formula to find the equations of the two lines representing the ball.
Slope CD = (4-8)/(10-7) = -4/3
Slope ED = (4-8)/(4-7) = -4/-3 = 4/3
The slopes are negative, like we noticed before! Now, using the point-slope equation:
Line CD = y-8 = -4/3(x-7) --> y = -4/3x + 52/3
Line ED = y-8 = 4/3(x-7) ---> y = 4/3x + -4/3
You can see the lines have very different intercepts, but the slopes are related.
Having a line is useful since it allows me to predict where the ball will travel across the board. Although when I'm playing the game I don't make these calculations, it does prove the value of understanding reflections and having effective ways to measure them, using mathematics.
Comments
Post a Comment