-
that was given by integral of F times dx
-
and the integral of F times dx from x1 to x2.
-
If F is a function only of x,
-
from the rules of calculus,
-
the integral can be written as
-
a difference of a function at this limit minus that limit,
-
and that was U(x1) - U(x2),
-
where U is that function whose derivative with a minus sign is F.
-
That's what we did.
-
Then, it's very simple now to take the U1 to the left-hand side.
-
Let me see, K1 to the right-hand side and U2 to the left-hand side,
-
to get K2 + U2 = K1 + U1 and that's the conservation of energy.