Answer:
- By placing the legs paralllel to respective x-axis and y-axis, you find the length of each leg by subtracting the coordinates of the end points. To make sure that you get a positive value, you use the absolute value of the difference. When you use the Pythagorean theorem, the lenghts are squared, which always yields a positive value, thus, it does not matter whether the subtraction of the coordinates of the end points is positive or negative.
Step-by-step explanation:
Lengths are always positive.
Each leg is a one dimensional figure. The legs are perpendicular. You can draw one leg horizontally and the other leg vertically.
The length of the horizontal leg is just the difference of the x-coordinates of the end points. In order to not worry about the order of the coordinates you can subtract in any order but you have to take the absolute value to make sure the difference is positve.
The same is true for the vertical leg: find the difference of the y coordinates of the end points, and take the absolute value to make sure the result is positive.
When, you use the Pythagorean theorem, the lengths are squared. Thus, the value will aways be positive, regardless the order of the coordinates in your subtraction.