-
the part, say, due to a spring and the part due to friction.
-
The part due to a spring will integrate to give you this.
-
Then, you'll still have the part due to friction left over.
-
In that case the result will look like
-
Instead of being zero,
-
it will be the work done by friction.
-
We write it symbolically this way
-
but the frictional force is not a function of x alone,
-
but if you knew which path you're taking and which way you're moving,
-
you can do that integral.
-
You want to do this in higher dimensions.
-
In higher dimensions,