I give up. I can't solve the problem given, I think more information is needed beyond what is in the problem statement, and I wouldn't be saying that if I had not hacked away at it and wound up at this point. To begin with, the problem is as follows.
We have voltage generator \$E=2\sqrt{7} \mbox{ } V\$ with angular frequency \$\omega=10^6 \mbox{ } s^{-1}\$ and internal resistance \$R_g=0.5\sqrt{3} \mbox{ } k\Omega\$ connected to parallel connection of impedance \$Z\$ and coil \$L\$. Current is \$I=I_1=I_2=4 \mbox{ } mA\$. Calculate complex value of \$\underline{Z}\$ and inductivity of \$L\$.
My claim is that this is unsolvable. I owe a little explanation for for my claim before I change the problem and solve something different. Basically, the fact that \$\underline{Z}\$ and \$L\$ are unknown gives 3 unknowns. Combined with the power factor of the circuit, this gives 4 real unknowns. You can do mesh analysis or node analysis and find that you will have 2 complex equations, minus one reference. You're one short.
Here is what I would add:
Assume that the magnitude of \$I_1\$ and \$I_2\$ are equal.
The only way I know to do this is to use the answer given in the problem, so now that I have that out of the way I'll hack away at this. I'll introduce only \$Z_{e}\$, which is the combined impedance of the 2 parallel components. I might also forget some of the vector bars, forgive me please. Start at the voltage source and note the following, using the general \$|V|=|I| |Z|\$ property.
$$|E| = |I| |Z_g+Z_e|$$
$$|Z_g+Z_e| = \frac{ |E| }{|I|} = 500 \sqrt{7}$$
Now I'll define my reference and follow through the voltage a bit. The notation I use is \$U_1\$ for that obvious voltage point after the resistor. I'm using \$-\psi\$ for the current angle because I already know it's a net inductive circuit, which is just from knowledge of the solution.
$$ E = 2 \sqrt{7} \angle 0 $$
$$ I = \frac{1}{250} \angle -\psi$$
$$ U_1 = E - R I = 2 \sqrt{7} - 2 \sqrt{3} \angle -\psi$$
I need to write the equation for the equivalent inductance.
$$ Z_e = \frac{1}{ \frac{1}{Z} + \frac{1}{j \omega L} } $$
Anyway, I'll just skip some steps and write the values. I hope to come back and put more in later. Sorry about the lack of actual circuit analysis in this answer.
$$ \psi = arctan( \frac{1}{3 \sqrt{3} } )$$
$$ Z = 250 \angle -\frac{\pi}{3} $$
$$ Z_e = 250 \angle \frac{\pi}{3} $$
$$ I_1 = \frac{1}{250} \angle arctan( \frac{2}{\sqrt{3}} )$$
$$ I_1 = \frac{1}{250} \angle -arctan( \frac{5 \sqrt{7}}{\sqrt{21}} )$$
It's already redundant to say this, but these numbers give the \$Z=250(\sqrt{3}-j)\$ and \$L=0.5 mH\$. It would also work to say that Z is a resistor of \$250 \sqrt{3} \Omega \$ in series with a \$ 4 nF\$ capacitor.
I think this was a bad question, and I hope I've given enough breadcrumbs of a consistent answer for your to prove this to someone else. Maybe I'm wrong, but if my current analysis is right, I would hate to have for anyone to be given this on a test.
Phasor analysis allows us to analyze a circuit's response to a sinusoidal steady-state response at a given single frequency. We represent a time-domain voltage \$V(t) = V_{0}cos(\omega t + \phi)\$ in phasor form by transforming it into a complex exponential via Euler's formula...
$$A\cos(\omega t + \phi) = Re\{Ae^{j( \omega t~+~\phi)}\} = Re\{Ae^{j\phi}e^{j\omega t}\}$$
...and then ignoring the frequency/time dependence (since we assume everything in the circuit is excited by a steady sinusoid of the same frequency). Thus,
$$V= Ae^{j\phi}$$
This \$V\$ is what we call a phasor. We can represent any current or voltage as a phasor. In order to recover a time-domain representation from a phasor, you can multiply it by \$e^{j\omega t}\$ and then take the real part. Note that sometimes for the sake of brevity/familiarity in calculating power, we also convert the amplitude of the phasor into RMS values (divide magnitude by \$\sqrt{2}\$ for a sinusoid). Phasors allow us to use analogous DC analysis techniques to recover transfer functions of linear circuits (by using impedances). Using superposition, we can use Fourier analysis to analyze a circuit's complete steady-state response as a sum of its steady-state response due to different frequency components.
It's useful to note the relation of phasors to the Laplace representation of a circuit. The Laplace representation of a circuit uses the variable \$s = \sigma + j\omega\$. Note that for \$\sigma = 0\$, the transfer function of the Laplace representation of a circuit reduces down to the phasor representation. This is a good indication that the real part of \$s\$ represents a transient response (and this can be easily observed by noting that \$e^{at}\$ for any real \$a\$ will result in a real value that either exponentially grows or decays). Note that the Laplace representation is a more general representation of a circuit that includes both transient and steady-state responses. Likewise, it's good to note that the Fourier transform is just a special case of the more general Laplace transform (the case where \$\sigma = 0\$ in \$s = j\omega\$).
Best Answer
I also saw the first definition in my education:
$$v(t) = \mathcal{R}\left\{\underline{V}\cdot e^{j\omega t}\right\} = \mathcal{R}\left\{(V\cdot e^{j\phi})\cdot e^{j\omega t}\right\} = V\cdot\cos(\omega t+\phi)$$
But as long as you are consistent with your formulation, both will lead to the same results when analyzing problems. The phasor amplitude will now represent the RMS value of the sinusoidal signal, and the phase will be relative to a sine wave (90 degrees shifted compared to the cosine).
[EDIT] If you're also interested in how exactly they're linked:
Both definitions are still strongly linked. Using the second definition is basically identical to
$$\begin{align} v(t) &= \mathcal{I}\left\{\underline{V}'\cdot \sqrt{2} e^{j\omega t}\right\}\\ &= \mathcal{I}\left\{(V'\cdot e^{j\phi'})\cdot \sqrt{2} e^{j\omega t}\right\}\\ &=\sqrt{2}V'\cdot \sin(\omega t + \phi')\\ &= (\sqrt{2}V')\cdot \cos\left(\omega t + \left(\phi' - \frac{\pi}{2}\right)\right) \end{align}$$
And you can find that
$$\begin{align} V &= \sqrt{2}V'\\ \phi &= \phi' - \frac{\pi}{2}\\ \underline{V} &= Ve^{j\phi} = (\sqrt{2}V')e^{j(\phi'-\frac{\pi}{2})} = -j\sqrt{2}\cdot \underline{V'} \end{align}$$