Suppose the line is tangent to the curve at P(h,h2).
Then its slope is the derivative of at P(h,h2).
The derivative is , so the slope at P(h,h2) is 2h.
Since it goes through (h,h2), its equation is:
Its x-intercept P is the x-value when y=0, so
Divide through by h
So the coordinates of Q are .
Now let's switch the letter h to x. [It would have been too confusing
if we had started out with x because the equation of a line uses x).
We want to know how fast Q is moving. Since Q is on the x-axis, Q moves the
same speed as its own x-coordinate . So let the variable
q = the x-coordinate of Q. . We want to know at P(2,4) which is when x=2.
The point P moves up the curve at the rate of 2 units per second, so
Evaluating that when x=2,
units per second.
Edwin