Displacement is the vector equivalent of distance and is measured from the starting point to the ending point in one straight line, with direction. So if you walk 20m North, then walk 18m South, your displacement will be 2m North. Therefore to calculate the overall displacement in a trip with many legs, you use vector summation to add all the vectors representing each of the legs.