Question: what is the difference between a function and an equation?
Answer: A function is an expression, a formula. An equation is two expressions with an equal sign in between. So 2x + 1 is an expression that could be named f(x).