My background is in statistics, so physics is rather new to me. But I was reading Reichl's book on Statistical Mechanics and had a question about the first law.
So the basic idea is that the internal energy is:
$$ \mathrm{d} U=\delta Q+\delta W $$ where $Q,W$ are inexact differentials because they are path dependent. So I can see how this language of "inexact" can be confusing, for how can two inexact quantities equal an exact quantity. But it seems that other folks have answered this in part.
But my question is what constraint does this equation put on the possible functions that define $Q, W$. So imagine that Q and W were exact differentials, then the first law would already impose constraints on those two functions because they have to sum to the change in internal energy $U$. So what further constraint is imposed on the form of these two function if they are inexact, as opposed to exact? Hopefully the question make sense. Just trying to tease out the impact of their inexactness.
I might be way off in my intuition, so please correct me if I am off.