Originally posted by garytse86
This is about the system and the surroundings.
I am not sure whether the signs are correct ...
It doesn't matter, as long as you are consistent. We cannot answer your question directly unless you write the first law that you are using (there is only one first law, but I mean, "write the equation so we can see what you're adding and what you're subtracting.") The law refers to a system, so ΔU is the change in internal energy of
the system regardless of convention (you just have to know what you're defining to be the system). Then, to really overstep my bounds and generalize the first law:
ΔU = "the influx of energy"
(This is not a definition of ΔU; this is a statement of a non-trivial physical law.)
There are then four ways to write it as there are four ways to choose the conventions:
1) W is work done
to the system, and
Q is heat tranfered
into the system:
ΔU = W + Q
2) W is work done
to the system, and
Q is heat tranfered
out from the system:
ΔU = W - Q
3) W is work done
by the system, and
Q is heat tranfered
into the system:
ΔU = Q - W
4) W is work done
by the system, and
Q is heat tranfered
out from the system:
ΔU = -W - Q
First, you must choose your preferred convention and corresponding first law equation. Then, the values that you plug in for W and Q are positive if they correspond to the conventional definition, and negative if they correspond to the complementary definition.
For some examples, assume that we have chosen convention 3). This tells us that the first law is to be written:
ΔU = Q - W
Let's say I have a canister with rigid thermally conductinvg walls (like a sealed tin can) that contains a gas at a high temperature. Then, I can use the conventional definitions to set:
W = 0, and Q = negative value (the complement of "into" is "out from").
Then, ΔU is negative over time. Physically, this means that the gas in the can will lose energy over time. This result is
independent of the convention that we use, an important clue.
Let's say I have a perfectly insulated cylinder containing a gas at high temperature with a perfectly insulating massive piston on top that is being forced to compress the gas. Then, I let go of the piston and it flies upwards. The corresponding values are:
W = possitive value, and Q = 0.
Then, ΔU is again negative over time. Again, physically, this means that the gas in the can will lose energy over time, and this result is again
independent of the convention that we use.