Question: is friction a contact force?
Answer: Friction is a contact force when two surfaces interact. The second equation is the kinetic frictional force that is used when two surfaces are sliding against each other.