Hi,

I have four X Points(x0,x1,x2,x3) and corresponding Y Points(y0,y1,y2,y3), A Curve can be connected using these points, I want to find tangent of this curve. How do I get this or what is method I suppose to use.

Thanks in Advance,

Pandi K

Printable View

- Dec 13th 2012, 03:47 AMPandiTangent of Curve CalculatonHi,

I have four X Points(x0,x1,x2,x3) and corresponding Y Points(y0,y1,y2,y3), A Curve can be connected using these points, I want to find tangent of this curve. How do I get this or what is method I suppose to use.

Thanks in Advance,

Pandi K - Dec 13th 2012, 04:14 AMTutuRe: Tangent of Curve Calculaton
What do you mean by find the tangent?

I'll assume you mean gradient and start with finding the gradient of the tangent.

The gradient of the tangent can be found with , where y2 is the biggest y-coordinate you have ( which is 3 in your case ) and y1 is the smallest y coordinate you have. Same thing applies for X2 and X1. So sub all values in, you should end up with and therefore the gradient of the tangent is 1. - Dec 13th 2012, 06:03 AMHallsofIvyRe: Tangent of Curve Calculaton
THE "tangent to a curve" makes no sense. A curve may have a different tangent at any point. And, of course, because there are an infinite number of functions, even "differentiable" functions or even polynomials, that pass through four given points, there is no way of knowing which is meant or at which point you want the tangent. That's why Tutu gives you the slope of the

**secant**line through the two endpoints. However, he makes the error of assuming that by " " and " " you mean that x=0 and y= 0; x= 1, y= 1; x= 2, y= 2; x=3, y= 3 so that your points all lie on the straight line y= x.

Given four distinct points, , , , and , the**simplest**thing to do, although not the only answer, is to find the unique cubic function that passes through those points: that is, find so that , , , and . Solve those four equations for a, b, c, and d. Then the slope of the tangent line at any point at x is given by . That allows you to find the tangent line at that particular point to that particular curve.