The force between two wires per unit length is: F = μ₀/(2πd)I₁I₂
Where:
The equation shows that the force F is directly proportional to the product I₁I₂. If I₁ and I₂ have the same sign (both positive or both negative, meaning currents flow in the same direction), the force F is positive (repulsion). If I₁ and I₂ have opposite signs (one positive, one negative, meaning currents flow in opposite directions), the force F is negative (attraction). Therefore, the graph of F versus I₁I₂ will be a straight line passing through the origin with a positive slope.