In two different books I'm reading the authors start the discussion of instantaneous power delivered to a load in a steady state AC-circuit by assuming
\$i(t) = I_0 \sin(\omega t + 0)\$ and \$u(t) = U_0 \sin(\omega t + \alpha)\$\
Then they derive or simply state the formula \$p(t) = i(t)u(t) = \dfrac{U_0I_0}{2}\left(\cos(\alpha)(1-\cos(2\omega t)) + \sin(\alpha)\sin(2\omega t) \right) \quad (1.) \$
I thought it was strange to assume the phase \$\beta\$ of \$i(t)\$ to be zero, wouldn't we want to be able to calculate the instantaneous power for arbritary \$i(t)\$?
When i set \$i(t) = I_0 \sin(\omega t + \beta)\$ and \$u(t) = U_0 \sin(\omega t + \alpha)\$ I reached the formula
\$ p(t) = \dfrac{U_0I_0}{2}(-cos(2\omega t + \alpha + \beta) + \cos(\alpha - \beta) \quad (2.) \$
When \$\beta = 0\$ \$(2.)\$ is equal to \$(1.)\$ but with other values for \$\beta\$ this is not necessarily so.\
So I wonder, what is the point with deriving a formula for instantaneous power only for the case when the phase of the current is \$0\$?
EDIT in response to the two first answers
About my derivation being wrong, I can't see why it would be wrong. wolframalpha seems to agree that is is correct (I've used \$K\$ instead of \$I_0\$). Here is how I derived my formula:
\$I_0\sin(\omega t + \beta) \cdot U_0 \sin(\omega t + \alpha) \$ =
\$\dfrac{I_0 U_0}{2}(2\sin(\omega t + \beta) \sin(\omega t + \alpha)) = \$
\$\dfrac{I_0 U_0}{2}(2(-\cos(\omega t + \alpha + \omega t + \beta) + \cos(\omega t + \alpha) \cos(\omega t + \beta) ) ) = \$
\$\dfrac{I_0 U_0}{2}(-\cos(\omega t + \alpha + \omega t + \beta) + 2\cos(\omega t + \alpha) \cos(\omega t + \beta) -\cos(\omega t + \alpha + \omega t + \beta) ) = \$
\$\dfrac{I_0 U_0}{2}(-\cos(2\omega t + \alpha + \beta) + \cos(\omega t + \alpha) \cos(\omega t + \beta) +\sin(\omega t + \alpha) \sin(\omega t + \beta) ) = \$
\$\dfrac{I_0 U_0}{2}(-\cos(2\omega t + \alpha + \beta) + \cos(\omega t + \alpha - (\omega t + \beta) ) ) = \$
\$\dfrac{I_0 U_0}{2}(-\cos(2\omega t + \alpha + \beta) + \cos(\omega t + \alpha - (\omega t + \beta) ) ) = \$
\$\dfrac{I_0 U_0}{2}(-\cos(2\omega t + \alpha + \beta) + \cos(\alpha - \beta ) ) = (2.) \$
Regarding that only the difference in phase matters, I can't see how this can be. If we only imagine two sine curves being shifted back and forth along the time axis it seems obvious to me that the product of their values at some time \$t\$ will change, and hence the power will change when we shift them even if we shift both the curves by the same phase.
For example if \$\alpha = \pi/4\$ and \$\beta = 0\$ and the amplitudes are \$1\$ then at \$t=0\$ we have \$\sin(\omega t + \beta)\sin(\omega t + \alpha) = \sin(0 + 0)*\sin(0 + \pi/4) = 0\$
but if \$\beta = \pi/4\$ so that \$\alpha = \pi/2\$ we have at \$t=0\$ that
\$\sin(\omega t + \beta)\sin(\omega t + \alpha) = \sin(0 + \pi/4)*\sin(0 + \pi/2) = \dfrac{1}{\sqrt{2}}1 \neq 0\$