Problem: A force acts on a particle which is constrained to move on the x-axis from x = 4 to x = 7. Find the work done by the force if it is given by:

Solution: The work done is

Comment: The dot product of two unit vectors which are perpendicular is zero, so the second force term has no effect.