First Law of Thermodynamics (ΔU = Q − W) — PhysicsAI
Thermodynamics

The First Law of Thermodynamics: ΔU = Q − W

Complete explanation with interactive piston simulator, real-world solved examples, and energy balance equations.

I still remember the first time I saw a pressure cooker whistle in my kitchen and wondered how simple heat could create so much force. Later in physics class, I realized that the same idea explains car engines, refrigerators, and even how our body uses food. That whole connection between heat, motion, and stored energy comes from one important rule called the First Law of Thermodynamics.

Once you understand this law, a lot of everyday things start making sense. Why air gets warm inside a bicycle pump, why engines need fuel, and why no machine can produce unlimited energy without input. It sounds technical at first, but the idea behind it is actually very simple.

What Is the First Law of Thermodynamics?

The First Law of Thermodynamics is basically the law of conservation of energy applied to physical systems. It says that energy cannot be created or destroyed. It can only change from one form into another. If heat enters a system, that energy either increases internal energy or gets used to do work.

In simple words, whenever a gas, liquid, or object gains heat, something must happen with that energy. It may raise the temperature, expand the system, or produce motion. Nothing disappears randomly, and every bit of energy is accounted for.

ΔU

Internal Energy

Total microscopic energy stored inside a system. Measured in Joules (J).

Q

Heat

Energy transferred due to temperature difference. Measured in Joules (J).

W

Work

Energy transferred through force and motion. Measured in Joules (J).

Understanding Internal Energy, Heat, and Work

Internal energy is the total microscopic energy stored inside a system. Molecules are constantly moving, vibrating, and colliding with each other. All of that motion contributes to internal energy. When temperature increases, internal energy usually increases too.

Heat is energy transferred because of temperature difference. If you touch a hot metal spoon left in tea, heat moves from the spoon into your hand. The important thing is that heat is not stored inside an object as a separate substance. It is simply energy in transfer.

Work Done happens when energy causes movement against a force. For example, when heated gas pushes a piston upward inside an engine, the gas performs work on its surroundings. This connection between heat and mechanical motion is the heart of thermodynamics.

Internal Energy (U)

The energy hidden inside matter — molecular motion, vibrations, and chemical bonds. It rises when you heat a gas or compress it.

Heat (Q)

Energy in transit due to a temperature difference. Not stored — it flows from hotter to colder regions spontaneously.

Work (W)

Energy transferred when a force moves something. In thermodynamics, expanding gas pushing a piston is the classic example.

The First Law Equation Explained

The mathematical form of the First Law of Thermodynamics is:

ΔU = Q − W
Change in Internal Energy = Heat Added − Work Done

Here, ΔU represents the change in internal energy. Q is the heat added to the system, and W is the work done by the system. This equation simply tracks where energy goes during a process.

If heat enters a gas and the gas does not expand, the internal energy increases completely. If the gas expands and pushes something outward, part of the energy is used for work. That is why engines convert thermal energy into mechanical motion.

Sign Convention in Thermodynamics

One thing that confuses many students is the sign convention. In physics, heat added to the system is taken as positive, while work done by the system is positive in the equation.

If heat leaves the system, Q becomes negative. Similarly, if work is done on the system instead of by the system, the work term changes sign. Understanding this carefully prevents mistakes in numerical problems.

How Heat and Work Affect a System

Heat and work are two different ways to transfer energy. Heat transfer happens because of temperature difference, while work transfer happens through force and motion. Both can change the internal energy of a system.

Heating a Sealed Container

Since the volume cannot change, no mechanical work occurs. All the added heat increases the internal energy, making the temperature rise quickly.

Heating a Movable Piston

Some of the energy increases temperature, while some is used to move the piston upward. The same heat input gives different results depending on the system setup.

Interactive Piston Simulator

See the First Law in action. Adjust heat and work to watch how a gas inside a cylinder responds — the piston moves and internal energy changes in real time.

200 J
80 J
Max Min
Q
200 J
W
80 J
ΔU
120 J

Energy Balance

Heat Added (Q): 200 J
Work Done (W): 80 J
ΔU = Q − W: 120 J

System Status

Piston Height: 40%
Gas State: Heated
Energy Flow: Q > W (Expanding)

Thermodynamic Processes in the First Law

Different thermodynamic processes change how heat and work interact. These processes are important because real machines and engines operate under these conditions.

T Isothermal Process

Temperature remains constant. Internal energy of an ideal gas does not change. Any heat added is completely converted into work. Slow expansion of gas at constant temperature is a common example.

ΔU = 0, Q = W

Q Adiabatic Process

No heat enters or leaves the system. Energy change happens only because of work interactions. This can be noticed in air compressors and diesel engines where gas is compressed rapidly.

Q = 0, ΔU = −W

V Isochoric Process

Constant volume. Since volume does not change, the system cannot perform mechanical work. All heat added goes directly into increasing internal energy.

W = 0, ΔU = Q

P Isobaric Process

Pressure remains constant while volume changes. Heat added increases internal energy and also allows expansion. Boiling water in an open pot is a good everyday example.

P constant, Q = ΔU + W

Internal Energy and State Functions

Internal energy is called a state function because it depends only on the current state of the system. It does not matter how the system reached that condition.

For example, if two systems end at the same temperature and pressure, their internal energy change will be identical even if different paths were used. This idea becomes very useful while solving thermodynamics problems.

Enthalpy and Constant Pressure Processes

In many real situations, processes happen at constant pressure. To simplify calculations, scientists use another quantity called enthalpy.

H = U + PV
Enthalpy = Internal Energy + Pressure × Volume

Enthalpy combines internal energy with pressure and volume terms. It becomes extremely useful in chemistry, steam systems, and industrial engineering.

First Law of Thermodynamics in Heat Engines

Car engines, jet engines, and steam turbines all depend on the First Law of Thermodynamics. Fuel burns to release heat energy, which is converted into useful mechanical work.

Not all heat becomes useful output because some energy always escapes into the surroundings. That is where the Second Law becomes important. It explains why no engine can ever be perfectly efficient.

Solved Example

Solved: Finding Change in Internal Energy

Suppose 500 J of heat is added to a gas, and the gas does 200 J of work on the surroundings. Find the change in internal energy.

Using the first law equation:

ΔU = 500 − 200

ΔU = 300 J

This means the internal energy of the system increases by 300 joules. The remaining 200 J left the system as mechanical work.

Practice Questions

1. A gas absorbs 700 J of heat and performs 250 J of work. Find the change in internal energy.
2. Why does temperature increase during rapid gas compression?
3. Explain the difference between heat and internal energy in simple words.
4. What happens to work done in an isochoric process?
5. Why is internal energy called a state function?

Interactive Multiple Choice Questions (MCQs)

Test your conceptual understanding in real time. Click on your answer choice:

1. What does the First Law of Thermodynamics represent?
View Explanation
Correct Answer: B. The First Law is basically conservation of energy applied to thermodynamic systems involving heat and work.
2. In an adiabatic process:
View Explanation
Correct Answer: C. In an adiabatic process, Q = 0 — no heat enters or leaves the system.
3. Which quantity is a state function?
View Explanation
Correct Answer: C. Internal energy depends only on the current state, not the path taken. Heat and work are path functions.
4. In an isochoric process, the work done is:
View Explanation
Correct Answer: B. In an isochoric process, volume stays constant, so no mechanical work is done (W = 0).

Thermodynamics Solver Calculator

Select what you want to calculate, set the inputs, and get immediate results with the correct sign convention.

ΔU = Q − W
200 J
80 J
Change in Internal Energy (ΔU) 120 J

Real Life Uses of the First Law of Thermodynamics

Car Engines

Fuel combustion releases heat, which expands gases and moves pistons.

Refrigerators

Electricity does work to transfer heat from inside to outside, keeping food cold.

Human Body

Metabolism converts food energy into heat, movement, and biological work.

Power Plants

Steam turbines convert thermal energy from fuel into electrical power.

The First Law of Thermodynamics is used almost everywhere in modern life. Car engines convert fuel energy into motion using this law. Refrigerators transfer heat from one place to another using energy supplied by electricity.

Human metabolism also follows the same principle. Food stores chemical energy, and the body converts it into heat, movement, and biological work. Even gym calorie calculations are connected to energy balance.

Automobile Engines
Power Generation
HVAC Systems
Rocket Propulsion

Difference Between Heat, Work, and Internal Energy

Many beginners mix these three concepts together, but they are different things. Heat is energy transfer caused by temperature difference. Work is energy transfer caused by force and motion.

Internal energy is the energy already stored inside the system. Heat and work can change internal energy, but they are not stored properties themselves.

Aspect Heat (Q) Work (W) Internal Energy (U)
What is it? Energy in transfer due to ΔT Energy in transfer via force × displacement Energy stored inside the system
Path or State? Path function Path function State function
Depends on Temperature difference Force and distance Temperature and state
Can be stored? No No Yes

Limitations of the First Law of Thermodynamics

The first law explains energy conservation, but it does not explain the direction of natural processes. It cannot tell why heat naturally flows from hot objects to cold objects.

It also cannot explain why no engine is perfectly efficient. That limitation is solved by the Second Law of Thermodynamics, which introduces entropy and efficiency restrictions.

Why the First Law of Thermodynamics Matters

This law is important because it connects heat, energy transfer, and mechanical systems in one clear idea. Engineers use it while designing engines, turbines, refrigerators, and industrial plants.

Students often think thermodynamics is only theory, but once you observe engines, pressure cookers, pumps, or cooling systems, the concepts become very practical and real.

Learning this law properly also builds a strong base for advanced physics, chemistry, and engineering topics later on.

Frequently Asked Questions

Is the First Law of Thermodynamics the same as conservation of energy?

Yes, it is basically the conservation of energy applied to thermodynamic systems involving heat and work.

Can energy ever disappear?

No. According to the first law, energy can only change form. It cannot be created or destroyed.

What is an example of the first law in daily life?

A car engine is a common example where fuel energy converts into heat and mechanical motion.

Why is an adiabatic process important?

It helps explain systems where heat transfer is negligible, such as rapid compression and expansion in engines.

Does the first law explain engine efficiency?

Not completely. The first law explains energy balance, while the Second Law explains why efficiency has limits.

Explore Related Topics

Conclusion

The First Law of Thermodynamics may look like a physics equation at first, but it is really a simple idea about how energy behaves in the real world. Every machine, engine, and heating system follows this rule whether we notice it or not.

Once I started connecting the law to everyday examples like pumps, engines, and cooking systems, the topic became much easier to understand. Instead of memorizing formulas, it started feeling like a practical explanation of how the world actually works.