Can We Determine a Function from Known X and Y Values?

  • Context: Undergrad 
  • Thread starter Thread starter albertrichardf
  • Start date Start date
  • Tags Tags
    Function
Click For Summary
SUMMARY

Determining a function from known X and Y values is fundamentally limited by the number of data points available. A finite number of data points alone is insufficient to uniquely identify a function without additional constraints. For instance, if the function is known to be linear, only two unique points are necessary to define it, while three points are required for a quadratic function. Polynomial functions, which are a significant subset of all functions, can be uniquely determined with n+1 input-output pairs for a polynomial of degree n.

PREREQUISITES
  • Understanding of polynomial functions and their properties
  • Knowledge of linear and quadratic equations
  • Familiarity with the concept of function constraints
  • Basic principles of Taylor expansion
NEXT STEPS
  • Study polynomial function identification techniques
  • Learn about linear regression methods for function approximation
  • Explore the Taylor expansion and its applications in function approximation
  • Investigate the limitations of finite data sets in function determination
USEFUL FOR

Mathematicians, data scientists, and anyone involved in function approximation or mathematical modeling will benefit from this discussion.

albertrichardf
Messages
165
Reaction score
11
Hi all,
Suppose y is related to x by some function, or:

y = ƒ(x).

Now, supposing that we know some values for y and the corresponding values for x, would it be possible to find what the function actually is?
And if so, how would it be done, without any computer programs. (i.e, what process should be followed to do it)

Thanks for any answers
 
Physics news on Phys.org
In general, any finite number of data points is not enough to specify the function. After all, the function, without any restriction, could simply be defined like ##f(x_1)=y_1, f(x_2)=y_2,..., f(x_n)=y_n,\quad f(x_i)=0\forall i\notin 1,...,n##

For the n inputs you gave, this function gives you your n expected outputs, but is 0 everywhere else.

However, if you know some additional information about f(x), then some progress can be made. For example, if you know f(x) is linear, then any 2 (unique) points is enough to specify f(x) (after all 2 points define a line). If you know f(x) is quadratic, then any 3 points is enough, etc. For any polynomial equation of degree n, you need, in general, n+1 input and output pairs to obtain the unique polynomial satisfying those n+1 constraints. But the polynomial equations form a countably infinite subset of the uncountably infinite set of all functions. So almost all functions are not polynomial functions.

Thankfully, however, polynomial functions are still pretty interesting and of a lot of use in many areas of math and physics. Also, at anyone point, a large class of functions (the smooth functions) can be expressed as a polynomial expansion (called a Taylor expansion).
 
Last edited:
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 17 ·
Replies
17
Views
4K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K