For ideal gases, in case of an isochoric process it is pretty straight forward:
$\mathrm dU=Q+W$
$\Rightarrow\mathrm dU=C_V\,\mathrm dT+p\,\mathrm dV$
$\Rightarrow\mathrm dU=C_V\,\mathrm dT$
But in case of an isobaric process,
$\mathrm dU=Q+W$
$\Rightarrow\mathrm dU=C_p\,\mathrm dT-p\,\mathrm dV$
I tried deriving it this way but I'm stuck. How do I get $\mathrm dU=C_V\,\mathrm dT$ for an isobaric process?
And I have no clue how to derive it for an adiabatic process either, so how do you get the expression for $\mathrm dU$ for an adiabatic process?
Edit: I have thought of substituting $pdV = RdT$ then plugging in $R=C_p-C_v%$. But I was hesitant. Is $du=C_vdT$ because $R=C_p-C_v$ or the other way around?