(English is not my native language; kindly ignore certain grammatical errors.)
Reference: Problems in General Physics - IE Irodov Q 3.241 A very long straight solenoid carries a current I . The cross-sectional area of the solenoid is equal to S, the number of turns per unit length is equal to n.
Find the flux of the vector B through the end plane of the solenoid.
Doubt:
As far as I can remember, when we make simplifying assumptions about a solenoid we say that it should have tight winding, no resistance, and be very long (relative to the radius). In such a case the field lines are almost parallel, and uniform. There is no magnetic field leakage outside the solenoid, and hence the field strength is 0 outside and $N(\mu_0)I$ inside.
If that is the case, then why exactly does the field strength become half at the edge?
If I take a surface deep within the solenoid or at the surface, it should not make much of a difference, since there is no leakage of the lines.
There is one reasoning I have heard: "You add two semi-infinite solenoids to make an infinite one, hence the field strength of each should be half."
But my problem is that the "loss" of half of the strength at the edges makes the assumptions dubious, as the results we get do not match. Those field lines must escape through the solenoid itself. Therefore, the above assumptions become pointless.
Kindly correct me if I am wrong. Thank You.