- #1

Apashanka

- 429

- 15

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

In summary, the conversation discusses the determination of a function's value at any given point using a set of known values at specific points. It is not possible to determine a unique function with only a finite set of points, and the process of finding a function that fits the given data is known as interpolation or curve fitting. Different methods, such as Lagrange interpolation, can be used to find the best fitting function.

- #1

Apashanka

- 429

- 15

Physics news on Phys.org

- #2

pasmith

Science Advisor

Homework Helper

- 3,207

- 1,778

Either you are trying to fit a function to given values at the grid points, in which case you to get values elsewhere you must interpolate using, for example, lagrange polynomials (MATLAB solution here), or your function is defined by an expression in closed form in which case you already know its value everywhere.

- #3

Apashanka

- 429

- 15

(10) points in totalpasmith said:

Either you are trying to fit a function to given values at the grid points, in which case you to get values elsewhere you must interpolate using, for example, lagrange polynomials (MATLAB solution here), or your function is defined by an expression in closed form in which case you already know its value everywhere.

- #4

Vanadium 50

Staff Emeritus

Science Advisor

Education Advisor

2023 Award

- 34,794

- 21,482

It was the second paragraph of pasmith's that was most important.

- #5

Apashanka

- 429

- 15

- #6

Stephen Tashi

Science Advisor

- 7,861

- 1,600

Apashanka said:

The value of ##f## at 10 points does not determine a unique value of ##f## at other points. You can invent many different functions that agree with ##f## on the 10 points but disagree with each other elsewhere. The general topic of inventing a function that has specified values on a finite number of points can be studied under the topics of "fitting a function to data" or "interpolation".

In your example, a straightforward method is to use multidimensional Lagrange interpolation. I think Answer 1 to https://math.stackexchange.com/ques...omial-in-3-d-variable-of-interest-is-a-vector describes this method.

The wikipedia gives a list of multivariate interpolation methods suited to different applications. https://en.wikipedia.org/wiki/Multivariate_interpolation

- #7

DaveE

Science Advisor

Gold Member

- 4,005

- 3,631

More info here: https://en.wikipedia.org/wiki/Curve_fitting

- #8

PeterDonis

Mentor

- 47,220

- 23,563

DaveE said:How many points does it take to determine a quadratic function ( f(x) = ax2 +bx +c )? Would those points define a unique cubic equation?

The OP just said "function", not "quadratic function" or "cubic function". With no information about what kind of function it is, no finite set of points can tell you the function.

- #9

DaveE

Science Advisor

Gold Member

- 4,005

- 3,631

Yes, I saw that. That's why my first sentence was "No."PeterDonis said:The OP just said "function", not "quadratic function" or "cubic function". With no information about what kind of function it is, no finite set of points can tell you the function.

I was suggesting he look at a simpler problem to highlight the limitations of curve fitting. If you can't do it for simple polynomials (even the 11th order ones), it won't work in the more general case.

A function value at a specific point is the output or result of a mathematical function when a given input or value is substituted into the function. It represents the y-coordinate on a graph when the x-coordinate is a specific value.

To find the function value at a certain point, simply substitute the given value into the function and solve for the output. For example, if the function is f(x) = 2x + 3 and the point is (2, 7), the function value at that point would be 2(2) + 3 = 7.

Knowing the function value at different points allows us to plot the points on a graph and create a visual representation of the function. This can help us understand the behavior of the function and make predictions about its values at other points.

Yes, it is possible for a function to have the same value at different points. For example, the function f(x) = 2x will have the same value of 4 at both x = 2 and x = 4.

The function value can represent a variety of things depending on the context of the function. For example, if the function represents the distance traveled over time, the function value at a certain point could represent the distance traveled at a specific time. In general, the function value represents the output or result of a mathematical relationship between two variables.

- Replies
- 12

- Views
- 1K

- Replies
- 3

- Views
- 908

- Replies
- 15

- Views
- 2K

- Replies
- 11

- Views
- 1K

- Replies
- 9

- Views
- 2K

- Replies
- 6

- Views
- 2K

- Replies
- 6

- Views
- 1K

- Replies
- 32

- Views
- 3K

- Replies
- 3

- Views
- 2K

- Replies
- 1

- Views
- 2K

Share: