Answer:
For two points (x,a) and (x,b), the distance would be |a-b| or |b-a| both would be the same.
Step-by-step explanation:
What is the rule without an absolute value? basically we are looking for the difference (which is the answer to a subtraction problem) between the two.
Say the two points are (x,a) and (x,b) So they have the same x value but different y values. Now, when you want to take the difference you usually want to subtract the smaller number from the larger, but hat happens if you don't? So instead subtract the larger number from the smaller number? I'm gonna show a few examples.
7-5 = 2
5 - 7 = -2
7 - 3 = 4
3 - 7 = -4
As you can see, no matter which order you subtract you will always get the same number, just either positive of negative. We are going to use that. Basically, we can have the two in either order, as long as we have them inside of an absolute value, we will always get the same answer.
so, for our two y values, a and b, it doesn't matter which is larger |a-b| = |b-a| and this is the distance.