A force is conservative if
Step 1: Conservative force
Step 2: Condition for the conservative force
Hence, a force is conservative if the work done over a closed path is zero, as it depends only on the initial and final positions.