Questions: Find the distance between the pair of integers. -5 and 5
Transcript text: Find the distance between the pair of integers. -5 and 5
Solution
Solution Steps
To find the distance between two integers, we can use the absolute difference between them. The distance between -5 and 5 is the absolute value of their difference.
Step 1: Define the integers
We are given two integers: \( a = -5 \) and \( b = 5 \).
Step 2: Calculate the absolute difference
The distance between two integers is given by the absolute value of their difference:
\[
\text{distance} = |a - b|
\]
Step 3: Substitute the values and compute
Substituting the given values:
\[
\text{distance} = |-5 - 5| = |-10| = 10
\]