Net magnetic field in various cases and if they're same Recently I've begun to study magnetism and I'm familiar with the fact that all wires (however ideal they may be) will have a magnetic field around them when they have current passing through them and hence all wires have inductance.
Now let's suppose we have a very long wire carrying some steady DC current. 
We want to calculate the net magnetic field around a length $x$ along the wire(just a bit of imagination). 
If at a point on the wire(starting point), we add all the magnetic fields (on the imaginary disk perpendicular to the wire at that point) from radius $0$ to $R$ where $R$ is the maximum radius after which the field is too weak to be noticed. Now this field will be constant for any nearby point if the wire is sufficiently long enough. 
It will be 
$$\frac{\mu_0I}{2\pi}\int_0^R\frac1 r dr$$
Let's now find the net field for the whole length $x$. (I'm not sure how to do that)
Now if we make a bit of that wire into a circle of perimeter $x$ the magnetic field around that loop will be like this.

What I want to know is whether the net magnetic field around the (previously straight) $x$ m of wire is the same as the net field around the loop of $x$ m, and similarly,
if that same $x$ m of wire is made into an inductor whether the net magnetic field will also be the same ( I mean sum of the fields both inside and outside the inductor).
Also, a certain amount of energy is used up in creating the fields so if the magnitude of fields around in the three cases are the same, the energy required to create them should also be same though energy densities will vary in the three cases.
But it is generally told that the magnetic field around a wire is negligibly small hence it doesn't take up noticeable energy to create it but how does that energy suddenly become big enough to be able to notice when the same length of wire is made into a loop and an inductor?
P.S. I might have misconceptions...Please clear them as I'll be blessed. I know a healthy bit of calculus so feel free to use it though I'm not well acquainted with vector calculus.
It will be very helpful for me to have an answer...Thanks!
 A: 
I'm familiar with the fact that all wires (however ideal they may be) will have a magnetic field around them when they have current passing through them and hence all wires have inductance.

Let me add that even without any current, the wire will respond to an external magnetic field and for some materials a magnetic field will remain after taking away the (relative strong) magnet, which remaining field one may measure by the help of a compass. Simply, the magnetic dipoles of the involved electrons and protons are responsible for the induced field. 

We have a very long wire carrying some steady DC current. Let's now find the net field for the whole length .
   Now we make a bit of that wire into a circle of perimeter  
  What I want to know is whether the net magnetic field around the (previously straight)  m of wire is the same as the net field around the loop of  m.

The self-induction of the loop led to a stronger magnetic field than with a straight wire. Just because the involved electrons are more strongly aligned with their magnetic dipoles. This is a self-reinforcing process.

if that same  m of wire is made into an inductor whether the net magnetic field will also be the same ( I mean sum of the fields both inside and outside the inductor).

Inside the added inductor the subatomic particles will be aligned under the influence of the external field and this they add their magnetic fields in addition to the previous field.

Also, a certain amount of energy is used up in creating the fields so if the magnitude of fields around in the three cases are the same, the energy required to create them should also be same though energy densities will vary in the three cases.

The energy for the magnetic induction comes from the current. But there is a side effect. The electrons during their drift through the wire are bouncing fourth and bag and get accelerated many times. As we know, accelerated particles emit electromagnetic radiation. So the resistance of the wire depends form its inner structure (Ohmic resistance). In addition for a wire in a loop the radius of the loop accelerate the electrons additional and this we have additional energy losses. I’m not able to divide thee needed energy between these two phenomena.

the magnetic field around a wire is negligibly small hence it doesn't take up noticeable energy to create it but how does that energy suddenly become big enough to be able to notice when the same length of wire is made into a loop and an inductor?

Due to the self-inductance of the involved electrons with their magnetic dipole moments.
