3

Is it necessary that functions are written as $f(x) = \cdots$? In other words, is $y = x^2$ a function.

I understand that there are different function notations, I'd be curious to know if $y = x^2$ is one of them.

Note: I know that $x^2 + y^2 = x$ is not a function

bru1987
  • 2,147
  • 5
  • 25
  • 50

3 Answers3

2

A function is a rule of assignment: for each possible input in the domain, the function yields an output in the codomain (subject to certain requirements, like yielding a unique output for any input, and so on). Some times you use algebraic expressions to describe this assignment, like $f(x)=x^2$. Other times you can use words, like "let $f$ be the squaring function". There isn't any significant difference between these two.

On the other hand, $y=x^2$ is an equation. It's a relation between the two variables $x$ and $y$, describing a certain set of pairs $x,y$. It describes a certain subset of the plane. This subset happens to be the graph of the function $f$ described above, but I don't think about it as a function first and foremost.

That being said, you know that classic illusion with a drawing that looks like a duck and a rabbit at the same time? That's can often be a good way to look at many mathematical things.

For instance, $y=x^2$ can simultaneously be an equation, a relation, a curve in the plane, and a function (and maybe more), all depending on context. And it can change from one sentence to the next. Or some times it's very important that the interpretation stays the same all the way through a text. Most of the time it is what you need it to be, and trying to categorize it as only one thing ahead of time will only make life as a mathematician harder in my opinion.

Arthur
  • 199,419
  • I suggest, if you would, to stress the fact that for each member of the domain, the function yields 1 and only unique output value in the range. – NoChance Jul 31 '19 at 23:07
  • @NoChance I thought about that when I wrote my answer and decided against it. The formal definition of a function isn't the point of my post, and at any rate the OP seems to have a decent understanding of it from what I can see in the question post. As such I didn't think it necessary to recite all the requirements. – Arthur Jul 31 '19 at 23:15
  • Thanks for your reply. – NoChance Jul 31 '19 at 23:29
1

Nothing is a function until you write explicitly what variable(s) corresponds to the input, what set it varies in (the domain), what the output is, and what set the output lives in (the codomain).

Therefore the equality $y=x^2$ can be used to define a whole lot of functions, depending on what set $x$ lives in (you probably meant $\Bbb R$, but it could be any subset of it, or it could be a subset of $\Bbb C$, or a set of matrices, etc. and depending on that the codomain is going to be different as well.

0

Yes, $y = x^2$ is a function, and $y$ is a function of $x$. We write $f(x)$ to indicate that $f$ is a function of $x$.

Amy Ngo
  • 880