Does every curve have a function?

In summary, the conversation discusses methods for calculating and representing instantaneous speeds during a trip. There may not be a unique formula to represent the curve of the speed data, but techniques such as constructing a piecewise function or using Fourier analysis can be used to approximate the curve. It is also mentioned that the set of curves is uncountable and not all curves can be represented by a formula. The question of whether any curve can be represented by a formula is also brought up and it is concluded that this may not always be possible.
  • #1
thetexan
266
11
Let's say I want to calculate some instantaneous speeds during a trip from city a to city b.

I start down the highway from an initial speed of zero then increased to 55. After 15 minutes I increase to 70. Down to 60 for 2 minutes. Then up to 80 for 15. Back down to 70. Then a slow decrease to 0 for the last 5 minutes.

I keep all of the data points along the way and can take these data and plot a curve.

Is there a formula that represents this curve? How can I discover the formula? In other words how can a curve be reverse engineered to find the formula?

Which brings up the big question...does any simple curve I can draw on the blackboard have a formula and is there a way to find it?

Tex
 
Mathematics news on Phys.org
  • #2
thetexan said:
Let's say I want to calculate some instantaneous speeds during a trip from city a to city b.

I start down the highway from an initial speed of zero then increased to 55. After 15 minutes I increase to 70. Down to 60 for 2 minutes. Then up to 80 for 15. Back down to 70. Then a slow decrease to 0 for the last 5 minutes.

I keep all of the data points along the way and can take these data and plot a curve.

Is there a formula that represents this curve? How can I discover the formula? In other words how can a curve be reverse engineered to find the formula?

Which brings up the big question...does any simple curve I can draw on the blackboard have a formula and is there a way to find it?

Tex
Your description of how the speed changes is pretty vague, mathematically speaking. For example, "I start ... from an initial speed of zero then increased to 55 ..."

First of all, a speed of 55 what? Mph, kmh, furlongs / fortnight?
Second, how is the speed increasing? Over what time period is it increasing?

If you have speed-time data, there are several techniques you can use to construct a curve containing these points. There may not be a unique curve which fits, but the more data you have, the easier it will be to construct a curve.
 
  • #3
SteamKing said:
If you have speed-time data, there are several techniques you can use to construct a curve containing these points. There may not be a unique curve which fits, but the more data you have, the easier it will be to construct a curve.

It is interesting to note, however, that given any finite set of n + 1 data points, there exists exactly one polynomial of degree n which goes through them all.

In the OP's case, it seems to be something that's best done with a little more information and a piecewise function.
 
  • #4
thetexan said:
Which brings up the big question...does any simple curve I can draw on the blackboard have a formula and is there a way to find it?
Probably not what you are after but...

A curve that you draw on the blackboard, assuming an infinitely thin line drawn by ideal chalk, passes through an infinite set of points. The cardinality of this set of points (roughly speaking, the number of points on the curve) is the cardinality of the continuum. It is the same as the cardinality of the set of real numbers. This cardinality is denoted by ##|\mathbb{R}|##. Naively, the number of curves that could be drawn is ##|\mathbb{R}|^{|\mathbb{R}|}## where the exponentiation is cardinal exponentiation.

However, any curve that you can draw on the blackboard without lifting the chalk must be continuous. A continuous function can be characterized completely by its value for all inputs that are rational numbers. The cardinality of the set of rational numbers turns out to be the same as the cardinality of the set of natural numbers, ##|\mathbb{N}|##. So the number of continuous curves is given by ##|\mathbb{R}|^{|\mathbb{N}|}##. Under the rules of cardinal exponentiation this turns out to be equal to ##|\mathbb{R}|## -- the cardinality of the set of real numbers.

The set of real numbers is "uncountable". That means that there is no way to make a list of the real numbers -- no way to put them in one to one correspondence with the set of natural numbers so that there is a first real number in the list, a second real number, a third and so on that covers all of the real numbers.

The set of formulas that you can define is "countable". There is a way to make a complete list of all possible formulas. For instance, sort them by length shortest to longest and within each formula length, sort them in alphabetical order.

If you could find a formula for each curve, that would mean that the set of curves would be countable. Since the set of curves is uncountable, it follows that you cannot find a formula for every curve. Some curves must have no corresponding formula.
 
  • #6
Second @axmls 's answer. I would add that you could make a spline from all the data points if all you're after is a curve. The hard part about "reverse-engineering" the formula is that the math has to make some sort of physical sense. If you knew something about the system you're taking data points from, you'll be able to get a better idea of what that curve actually means.
 
  • #7
Well the point of my question is really this...can any curve (and let's just stick with a winding curve that doesn't cross itself) be represented by a formula?

I reading that it cannot.

Let's say I meticulously observe some phenomena and collect enough data to fairly represent the phenomena with a graphic curve. Can I also, in any and all cases, determine or create a formula that gives me that same curve, thus describing the phenomena, whatever it is, mathematically by that formula?

Tex
 
  • #8
thetexan said:
Well the point of my question is really this...can any curve (and let's just stick with a winding curve that doesn't cross itself) be represented by a formula?

I reading that it cannot.
My argument for that point was based on an implicit assumption that the curve in question was arbitrary rather than one selected by a physical phenomenon and on an assumption that we were going for an exact match rather than an approximate match.

Let's say I meticulously observe some phenomena and collect enough data to fairly represent the phenomena with a graphic curve. Can I also, in any and all cases, determine or create a formula that gives me that same curve, thus describing the phenomena, whatever it is, mathematically by that formula?
If one is after an exact match, and is restricting attention to curves resulting from physical phenomena rather than completely arbitrary continuous curves then the answer is "we do not know". We do not (and as far as we know, can not) know how tightly the physical universe restricts the set of available curves. It is not even clear that there is such a thing as an ideal curve in the real world.

If one is willing to accept an approximate match and if one accepts that all physical phenomena are continuous then I believe that the answer is "yes" -- one can come up with a function that matches any real curve within any desired non-zero error bound over any desired finite interval. Unless I am mistaken, this follows trivially because every continuous function on a compact domain is uniformly continuous. Worst case one can simply define the function piece-wise as a table of values and achieve any desired accuracy over any given closed interval.
 
  • #9
My original example of a road trip was an example.

I make the trip and collect all data recording speeds, times between changes, etc. so that I can draw a graph representing the trip.

Now to be able to find speeds at any given instant during his trip I need to differentiate a formula that represents that data. But first I need a formula so I can find a derivative.

That's why I'm asking.

Tex
 
  • #10
I think that, before a meaningful answer can be given, we need to know what you mean by "function". What definition of "function" are you using?
 
  • #11
Nope you can't. Sorry for that, math is not omnipotent.
 

1. What is a curve?

A curve is a continuous line that changes direction or shape. It can be represented mathematically as a graph or a function.

2. What is a function?

A function is a mathematical relationship between two quantities, where each input (x-value) has only one corresponding output (y-value). In other words, a function maps each x-value to exactly one y-value.

3. Does every curve have a function?

No, not every curve can be represented by a function. In order for a curve to be a function, it must pass the vertical line test, meaning that no vertical line can intersect the curve at more than one point. Curves that fail the vertical line test do not have a unique y-value for every x-value and therefore cannot be represented as a function.

4. Can a curve have more than one function?

No, a curve can only have one function. By definition, a function must have a unique output for every input. If a curve has more than one function, it would mean that there are multiple y-values for the same x-value, which goes against the definition of a function.

5. Are all curves represented by the same type of function?

No, there are various types of functions that can represent different types of curves. Some common types of functions include linear, quadratic, exponential, and trigonometric functions. The type of function that represents a curve depends on the shape and behavior of the curve.

Similar threads

Replies
20
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
1K
Replies
1
Views
781
  • Introductory Physics Homework Help
Replies
8
Views
1K
Replies
22
Views
2K
Replies
4
Views
2K
Replies
8
Views
2K
  • Mechanical Engineering
Replies
5
Views
1K
Replies
1
Views
3K
Replies
9
Views
2K
Back
Top