Derivation of self-inductance of a long wire
Flux linkage inside of a conductor
So many people asked the same question, yet no satisfactory answers. I tried to develop my own solution to the problem. I seek to know whether my answer is correct, and also to help other people who are also confused by this problem. First, we should remember what is self-inductance and flux linkage:
Here 5 turns (in total) induce a flux of $\phi$ which then again cuts the 5 turns. Each turn induces an EMF of $\phi'$ but since there are 5 turns, each one of them acts like a battery connected in series and sums to EMF = $5\phi'$. Here the concept of flux linkage appears, we use $\lambda=N\phi$ instead of $\phi$ and restate Faraday's law of induction as follows: $\lambda' = (N\phi)' = N(\phi') = \Delta V.$ Hence, the EMF can be directly calculated as the derivative of the flux linkage. I prepared the following (better) illustration:
So to find the internal self-inductance of a conductor, we should calculate the flux linkage. Not flux itself. In all three questions above, OPs calculated flux spinning horizontally inside the conductor. And they did it without a mistake:
$$\phi=\frac{\mu}{8\pi}i$$
But they never did calculate the $\lambda=LI$ to extract the self-inductance. So how shall we do it, as the number of turns is obscure here? First, let's come to the step they are stuck.
$$B_x = \mu I\frac{x}{2 \pi r^2}$$ $$d\phi = \mu I\frac{x}{2 \pi r^2} \times 1 \times dr$$
Here they are stuck. They have to find $d\lambda = Nd\phi$ after this. But how? Simple as that: We will drive a vertical circle for the horizontal flux to flow into, an artificial turn inside the conductor, containing our flux. In practice, these artificial paths of current, correspond to the eddy currents causing the skin effect:
See that $I_w$? It will be our "turn". This turn will start from the outer edge of $B_x$ and then end in the origin. Indeed this is why current condenses on the shell of the conductor. The turn will be a circle taking $\frac{x}{2}$ as the origin.
Here $dr$ is drawn a little bit big for an infinitesimal, and I couldn't either draw the half-bottoms of the circles for a better depiction. As you can see for $x=r$, we have the biggest turn. We will accept that turn as $N=1$ and weigh other turns by their relative areas. The area for $x=r$ is $\pi(\frac{r}{2})^2 = \pi(\frac{r^2}{4})$. This is $N=1$. The area for an arbitrary $x$ will be $\pi(\frac{x^2}{4})$, and we will accept this as $N=\frac{\pi(\frac{x^2}{4})}{\pi(\frac{r^2}{4})} = \frac{x^2}{r^2}$ turns. For example, if we take $x=\frac{r}{2}$, number of turns will be $N=\frac{1}{4}=0.25$.
After all, we can calculate the flux linkage by taking the integral of the following equation:
$$d\lambda = Nd\phi = N(x)[B(x)dr] = \frac{x^2}{r^2}B(x)dr$$
So this is where the $\frac{x^2}{r^2}$ coefficient confusing people come from, and the rest is straightforward. Is my interpretation correct?