When defining a function, is it more correct to use $f(x)=x^2$ or $y=x^2$

algebra-precalculusnotationsoft-question

In school I had a teacher that would use the following notation (seemingly) interchangeably:

$f(x)$ and $y$ and y$(x)$. What are their differences? From what I put together, $f(x)$ is a function named "f" that takes the argument x. The notation $y$ is by convention used to refer to the dependent variable. The notation $y(x)$ is the same as $y$ except it makes clear $y$ depends on elements from the set $x$. So if you're defining a function, wouldn't it be most correct to use $f(x)=x^2$ instead of $y=x^2$ ? Also of what use is arrow notation if $f(x)=x^2$ is the same as $f: x \mapsto x^2$ ?

I took a calculus course where, as a side comment, the teacher said sometimes mathematicians omit parts and instead of writing $\int f(x) dx$ they just write $\int f$ because the variable can be inferred from context. In a sense notation isn't important, it's always the concept being conveyed that is. Am I looking at it correctly?

Best Answer

In mathematics exists something called 'abuse of notation', where you omit something when you know everyone reading it knows what you are meaning (or it is just impossible to have a crystal clear notation as in many diagramms in homological algebra), or we use the same notation for different objects. Again normally everyone knows what is meant, but it can be inconvenient for students new in the subject.

At the question with the function notation. Basically you see it correctly.

There are different notations which are used. For a function $f:X\to Y$ you can write $x\mapsto f(x)$, or $f(x)=y$ and this would mean exactly the same.

When first introduced to functions one would note it like $y=x$ or $y=x^2$. This notation has it flaws.

First of all the f(x)-notation can contain more information. When we have $f(x)=x^2$ then $f(-1)=1$ and $f(1)=1$. So this notation gives us the point we are talking about (1|1) or (-1|1) while the $y=\dotso$ notation does not remember the point $x$, and only its value. When first learning functions we create these value tables, where we keep track of $x$ and $y$.

The notation $y=\dotso$ should be viewed from a purley didactic point of view. Making clear how to get an y-value and so on. That these value tables are important, and how to scetch a graph. As many problems at this level have to be solved by putting a given point in the equation. Like calculate $m$ and $b$ in $y=mx+b$, when you have points given. From the coordinate names it is clear where to put them.

Later when the student already is familiar with this, we can move on to a more fitting notation, which might be difficult for younger people. When we care about other questions. What is the derivative, how to get extremum and so on. However, students that learn the f(x) notation often do not really understand it. They know what to do, but they would talk about the function f(x) not understanding that this is supposed to note a value on the y-axis.

Also do not treat this equation correctly. One would see calculations like

$$f(x)=2x^2+4x+2 |:2$$

$$f(x)=x^2+2x+1 $$

when correct would be $\frac{f(x)}{2}=x^2+2x+1$, what comes from that most of the time the questions these equations have to answer is when $f(x)=0$, so it does not matter.

Just my two cents.

Related Question