7

For a 'closed' curve (I don't know if there is such in mathematics called closed curve, but I mean a curve which is 'closed')
e.g.1)enter image description hereIt is well-known unit circle with equation$$x^2+y^2=1$$
e.g.2)enter image description hereIt is the function $f$ which is in my another post.

I observed that they cannot be a function, since one $x$-value may correspond to several $y$-values, or will there be a 'closed' curve, such that one $x$-value can only correspond to at most one $y$-value, i.e., it is a function?

Tony Ma
  • 2,320

3 Answers3

11

It cannot be the graph of a function $\mathbb{R} \rightarrow \mathbb{R}$ for the reason you stated: functions must have a unique output for a given input, and therefore their graphs must pass a "vertical line test". However, closed curves can be "graphs"$\mathbf{^\dagger}$ of functions $\mathbb{R} \rightarrow \mathbb{R}^2$. These are parametric functions (in two dimensions), which are of the form $f(t) = \langle x(t), \ y(t) \rangle$. For examples, the unit circle is given by $f(t) = \langle \cos(t), \sin(t) \rangle$ for $0 \leq t < 2\pi$ (technically this restriction on $t$ is unnecessary if you don't care about tracing it multiple times), and a line of slope $m$ passing through the origin can be parametrized as $f(t) = \langle t, mt \rangle$ for $-\infty \leq t \leq \infty$.

Notice that there's a fundamental difference in these graphs: the "ordinary" graphs that we're used to for functions $\mathbb{R} \rightarrow \mathbb{R}$ have an axis dedicated to the input variable, whereas the parametric plots have no visual representation for the input ($t$-value); both coordinates encode output information. Because of this, there is little restriction on how "graphs" of functions $\mathbb{R} \rightarrow \mathbb{R}^2$ can look. In particular, they do not have to adhere to the "vertical line test" and can be self-intersecting.

Moreover, as Mark Bennett points out in the comments, we can have closed curves arise as the graphs of polar equations, which have a reference angle, $\theta$ (w.r.t. the positive $x$-axis) as an input and a "distance from the origin" $r$ as an output. Because these graphs encode input data, they are not quite as free as parametric curves and must adhere to an analog of the "vertical line test": any ray with its tail at the origin cannot intersect the graph more than once for any $\theta$ in any given half-open interval of length $2\pi$, such as $[0, 2\pi)$. The need for this "interval addendum" is due to the fact that the inputs $\{ \theta + 2k\pi \ | \ k \in \mathbb{Z} \}$ for a given $\theta$ are "the same", graphically, despite actually being different.

Another common way of defining a curve is to select an appropriate set of conditions $\{P_k\}$ its points should satisfy (logical predicates) and do some set-building: $\{x \ | \ P_k(x) \text{ for all } k \}$. For instance, the unit circle is the collection of points $\{(x, y) \in \mathbb{R}^2 \ | \ x^2 + y^2 = 1\}$ or the collection of points $\{\mathbf{z} \in \mathbb{R}^2 \ | \ \mathbf{z} \text{ is 1 unit from (0,0)} \}$. Personally, I would hesitate to call what I'm looking at in this context a "graph", favoring instead terms like "locus of points" or possibly "algebraic curve", since we've merely given a description of the set of points instead of generating them by plugging inputs into a function. Though I guess you can get clever and take a predicate like $\{y \ | \ f(x) = y, \ x \in \mathbb{R} \}$ so that determining the locus is equivalent to the input/output process.

Enough semantics. The moral of the story here is that we need to specify both the domain and range of the functions to be considered and exactly what the coordinates on our graph paper represent.


$^\dagger$The reason for these quotes is that the term "graph", according to many mathematics texts (e.g. Wikipedia), refers specifically to the Cartesian plot of a set of ordered pairs $\{(x, f(x))\}$, i.e. a set of ordered pairs where each pair includes the function input. So when we plot the set of all outputs from a parametric function, what we get is not "graph" as such; rather, we are seeing a visual representation of the image of the function, and if the function is continuous, "parametric curve" or simply "curve" would probably be my preferred descriptor for the resulting shape, which at least agrees with Wikipedia's usage of that term.

Kaj Hansen
  • 33,511
  • 1
    But why an closed curve cannot be a function?(Why cannot pass vertical line test?) – Tony Ma Feb 18 '18 at 07:56
  • The graph of a function $y=f(x)$ (the normal kind that we're most familiar with) must pass the vertical line test because the graph's coordinates look like (input, output) -- i.e. $(x, f(x))$ -- and each input $x$ can have only $1$ output $f(x)$. – Kaj Hansen Feb 18 '18 at 08:01
  • 2
    Next, given that such graphs must pass the vertical line test, we need to convince ourselves that the graphs cannot be closed curves. I'd claim it's "obvious" pictorially, but perhaps someone can chime in with a most pithy argument? – Kaj Hansen Feb 18 '18 at 08:03
  • Slightly handwavy: For a curve to be closed, it must return to the same point. If there is only one Y value for each X, then it can't "return" at all. – Ross Presser Feb 18 '18 at 09:53
  • "any ray with its tail at the origin cannot intersect the graph more than once." -- I don't see how this is correct. Consider the graph r = θ. This spirals out indefinitely, and any ray from the origin crosses the graph an infinite number of times. – Ross Presser Feb 18 '18 at 09:55
  • 1
    @RossPresser, fair enough, I had in mind a $\theta$ restriction $[0, 2\pi)$. Fixed. – Kaj Hansen Feb 18 '18 at 10:00
  • That "graph" of a function $\mathbb R\to\mathbb R^2$ is known as the image of the function. – celtschk Feb 18 '18 at 10:27
  • Yes @celtschk ! I knew there had to be a good term but couldn't put my finger on it. I'll get around to making an edit. Thanks. – Kaj Hansen Feb 18 '18 at 10:56
2

A simple closed curve can't be the graph of a 1-variable function on $\mathbb{R}$. By the Jordan curve theorem, a closed curve partitions its complement into two parts, a bounded interior and an unbounded exterior. Pick any point in the interior and consider the vertical line through it. Since the interior is bounded both the ray on the line above the point and the ray below the point must leave the interior. The points where they leave correspond to failures of the vertical line test, hence the curve can't be the graph of a function.

Note that in the above proof, the vertical direction is somewhat arbitrary. The same basic argument shows that a simple closed curve can never be the graph of a function even after a rotation of axes. This contrasts with e.g. the case of parabolas. They can fail to be the graph of a function with respect to one choice of coordinate system , but you can always rotate the coordinate system so that the axis of symmetry of the parabola is parallel to the new y-axis (hence is the graph of a function with respect to that coordinate system). The fact that a simple closed curve is not the graph of a function is independent of coordinate system (you can clearly also translate the origin without changing anything essential in the argument).

Question: is the Jordan curve theorem equivalent to the statement that a simple closed curve is not the graph of a function with respect to any choice of coordinate system? If you knew this fact about simple closed curves, could you use it to prove the JCT?

John Coleman
  • 5,517
  • 2
  • 19
  • 28
  • Can you proof this: Since the interior is bounded both the ray on the line above the point and the ray below the point must leave the interior.? – Tony Ma Feb 19 '18 at 01:47
  • This is close to the definition of "bounded". You can't go infinitely far in any direction while staying inside the region. Bounded implies that it is enclosed in some disc centered at that point. The vertical line will intersect the boundary of such a disk in two points, one above the interior point and one below the point. – John Coleman Feb 19 '18 at 01:51
  • Oic, can you edit your answer with a definition of bounded and what you said above? – Tony Ma Feb 19 '18 at 02:05
0

A function transforms an object (number, vector...) in an object which is unique. With parametric functions it is absolutely the same :
For a given value of the parameter, $t$ for example, the image is unique. But between two images a relation may exist like it is the case with $cos t$ and $sin t$. On a graphical point of view the image $f(x)$ is unique is shown by the fact that for each point of the curve the ordinate is the unique image of a given absciss. So if $f$ is a function the curve which represents $f$ can't be closed. If you draw $f(x)=\cos x$ and $g(x)=\sin x$ you get two non closed curves because f and g are two functions of the variable x.
But if you draw the relation between $f$ and $g$ you get a closed curve because $f$ is not a function of the variable $g(x)$

Tony Ma
  • 2,320
  • Sorry, can you give definition of 'closeness' of a curve or add some more detail about how your post answers my question: A function map $\mathbb R\to \mathbb R$ can't be a 'closed' curve. – Tony Ma Feb 18 '18 at 09:32
  • 1
    You do answer the question, but I find your last sentence a bit misleading: it is not clear what it means to "draw the relation" between $f$ and $g$. Moreover, the fact that this is not a function does not imply that you get a closed curve – 57Jimmy Feb 18 '18 at 09:32
  • If I get a closed curve it's not a function. – imotep81 Feb 18 '18 at 09:34
  • That's true, but the other direction is not: if it's not a function, it does not imply that it is a closed curve – 57Jimmy Feb 18 '18 at 09:35
  • $\cos^2x+\sin^2x =1$ is a relation between $\cos x$ and $\sin x$ but this relation is not a function – imotep81 Feb 18 '18 at 09:38
  • When talking about a function one must say what is the variable. If not it has no sense. – imotep81 Feb 18 '18 at 09:57