Derivation (inductance of thin wires)
The magnetic flux through wire $i$ due to wire $j$ is $$ \begin{align*} \mathcal{F}_{ij} ={}& \int_{C_i} \v A_j(\v x_i) \cdot \d \v x_i \\ ={}& \frac{μ_0 I_j}{4π} \int_{C_i} \int_{C_j} \frac{\d \v x_j}{|\v x_i - \v x_j|} \cdot \d \v x_i \end{align*} $$ using the Biot-Savart law.