Question
Question: How do you find the equation for a curve between two points?...
How do you find the equation for a curve between two points?
Solution
Since in the above question, we are given that the curve passes through two points, we need to take the example of a curve which includes two parameters. So we can choose the curve to be a straight line, whose general equation is given by y=mx+c. By taking the coordinates of the two points as (x1,y1) and (x2,y2) and substituting them into the equation y=mx+c, we will get the values of the parameters m and c, and hence the equation for the curve.
Complete step by step answer:
An equation for a curve is determined by the parameters that it includes. The parameters for a curve are basically the independent constants which can uniquely determine a curve passing between two points. Therefore, for finding out the equation for a curve between two points, we need to substitute the coordinates of the two points into the general equation of the curve. For instance, let us take the curve to be a straight line. We know that the general equation for a straight line is given by
⇒y=mx+c.......(i)
Let the two points between which the assumed curve, the straight line passes have the coordinates (x1,y1) and (x2,y2). On substituting x=x1 and y=y1 in the above equation (i) we get
⇒y1=mx1+c.......(ii)
Similarly, we substitute x=x2 and y=y2 in the equation (i) to get
⇒y2=mx2+c.......(iii)
Subtracting the equation (ii) from the equation (iii) we get
⇒y2−y1=m(x2−x1)
On dividing the above equation by (x2−x1), we get
⇒m=(x2−x1)(y2−y1)
Substituting the above equation into the equation (ii) we get
⇒y1=(x2−x1)(y2−y1)x1+c
Subtracting (x2−x1)(y2−y1)x1 from both the sides, we get