Are all functions also equations? How do you know if a fucntion is also an equation or vice versa?
What is the difference between a function and an equation?
Videos
Say we have the function f(x) = 1/(x^2-4). Why do we refer to it as a function when we could also see it as an equation y = 1/(x^2-4)? We say that a function maps x-values to y-values, but doesn't any function that we rewrite as an equation do this as well? One strategy to mark the difference would be, that an equation asks for specific values of x and y that satisfy the equation, while a function is the set of all the points, that satisfy the equation that corresponds to our function definition. In this case, functions and equations would be very closely related. However, if we let f(x) = c, where c is a constant, we can't really say that the function f is the set of all points that satisfy the corresponding equation y = c. If you could shed some light on this issue I would very much appreciate your help!
A function is a transformation or mapping of one thing into another thing. It might be written as a rule (e.g. "Take the input and square it"), as a formula ("e.g. $f(x) = x^2$ or $x \mapsto x^2$), as a set of ordered pairs (e.g. $\left\{(1, 1), (2, 4), (3, 9), \ldots\right\}$, or any other way of showing how the output relates to the input. The function doesn't have to use numbers, either - a function could take two words and return their letters interlaced (so f(cat, dog) = cdaotg) or it could tell you what day of the week a given date falls on, or the post code/zip code of a given geographical location.
[In very formal terms, a function is a set of input-output pairs that follows a few particular rules.]
An equation is a declaration that two things are equal to each other. For example, $2^2 = 4$ is an equation stating that the square of 2 is 4. An equation may include variables of unknown value, and it may be true for all, some or none of the possible values of those variables. For example, $x^2 = 4$ is an equation that is true when $x = \pm 2$, and false for other values of $x$, while $x^2 = -4$ is an equation that is false for all real values of $x$.
What may be confusing you is that we often use equations to declare a relationship between two variables, often in the form of a function or formula. For example, $y = x^2$ is an equation stating that the value of $y$ is determined by the value of $x$ via the function $x^2$.
It might be useful to introduce the term formula at this point.
Functions have arguments, i.e., values to be input into a formula. Equations do not have arguments to be input into a formula.



![{\displaystyle f(x+y)+f(x-y)=2[f(x)+f(y)]}](https://imgs.search.brave.com/UXPw7sZo20kWPCEkfkBGut_596MSn3n8jYapcaWXOJI/rs:fit:500:0:0:0/g:ce/aHR0cHM6Ly93aWtp/bWVkaWEub3JnL2Fw/aS9yZXN0X3YxL21l/ZGlhL21hdGgvcmVu/ZGVyL3N2Zy9jYzJi/NmMxYzBmNmM4M2Fl/YWM0YWRjMjIwMjYx/ZDFlODliZDY5MzIx.jpeg)
