Distance and displacement in one dimension

Distance is a scalar quantity, requiring only its magnitude to be specified. Displacement, a vector quantity, requires both magnitude and direction to be specified. In one dimensional motion, the direction may be indicated by use of directed numbers.
Select and drag the blue dot to vary the position of the car, and note how direction and displacement vary.