How to find derivative of a 2D curve that goes through ensemble of points?

55 Views Asked by At

If we are given a 2D function/curve, then we can get the derivate of that function/curve using central difference or forward difference or backward difference formula at a certain point.

However, if we are given an ensemble of points like for the 2D curve (A) like (-2.5,-3.1),(-2.67,-3.15),(-2.79,-3.21) and so on where each point is (Xi,Yi). Then how can we find the derivatives with respect to X and Y that is dA/dX and dA/dY ?

For 1D curve/function, we could find the derivatives by finding the differences.