Displacement is the shortest distance between two points. Distance is a measure of the complete path between the two points.
<h3>What is Distance and Displacement ?</h3>
We can define distance as it is the measurement of the total path covered, while displacement is the shortest possible distance between two points. Displacement is a vector quantity while the distance is a scalar quantity. Both distance, as well as displacement, are the measure of a path. Displacement is a measurable quantity that is related to the distance between two points and the direction between these two points.
The force between two parallel wires carrying currents in the same direction is attractive. It is repulsive if the currents are in opposite directions.