Plain English first
A number line is a straight line where every point represents a number. Numbers increase as you move right and decrease as you move left. It never ends in either direction.
The number line gives numbers a location in space β which lets you talk about order, distance, and direction.
The layout
β ... -5 -4 -3 -2 -1 0 1 2 3 4 5 ... β
- Zero sits at the center
- Positive numbers extend right, growing larger
- Negative numbers extend left, growing smaller
Standard math notation
a < b a is to the LEFT of b (less than)
a > b a is to the RIGHT of b (greater than)
Distance between a and b: |a - b|
Midpoint of a and b: (a + b) / 2
Verbose Python with descriptive names
def find_position_on_number_line(number):
"""Every number has an exact position β right, left, or at zero."""
if number > 0:
return f"{number} is {number} units to the RIGHT of zero"
elif number < 0:
return f"{number} is {abs(number)} units to the LEFT of zero"
else:
return "0 is AT zero β the center of the number line"
def compute_distance_between_two_points(point_a, point_b):
"""
Distance is always positive β how far apart, regardless of direction.
Subtract to find the gap; absolute value removes the sign.
"""
return abs(point_a - point_b)
def find_midpoint_between_two_numbers(number_a, number_b):
"""The midpoint is exactly halfway β add them and divide by 2."""
return (number_a + number_b) / 2
# Demonstrations
print(compute_distance_between_two_points(2, 5)) # 3
print(compute_distance_between_two_points(-3, 4)) # 7
print(find_midpoint_between_two_numbers(-4, 4)) # 0.0
Arithmetic as movement
3 + 4β start at 3, move 4 steps right β 73 - 4β start at 3, move 4 steps left β -13 + (-4)β same as subtracting 4 β -1
Common mistakes
- Bigger negative β bigger number. -10 is LEFT of -2, so -10 < -2.
- Distance is always positive. Distance from 3 to 7 and from 7 to 3 are both 4.
- The number line includes everything β fractions, decimals, Ο all have exact locations.
Kommentare
Noch keine Kommentare. Sei der Erste!