Question
Question: A curve has equation \[y={{x}^{2}}-4x+4\] and a line has equation\[y=mx\], where \[m\] is a constant...
A curve has equation y=x2−4x+4 and a line has equationy=mx, where m is a constant.
1. For the case where m=1, the curve and the line intersect at the points A and B. Find the coordinates of the midpoint of AB.
2. Find the non-zero value of m for which the line is a tangent to the curve, and find the coordinates of the point where the tangent touches the curve.
Solution
In this type of question we have to use the concept of the midpoint formula as well as the equation of a tangent to the curve.
In the first case we have to put m=1 in the equation of line y=mx. Then we compare the equations of line and curve to obtain the points of intersection A and B, after that by using the midpoint formula we can find the coordinates of the midpoint of AB. We know that the coordinates of the midpoint (xm,ym) of the line joining the points (x1,y1) and (x2,y2)are given by, (xm,ym)=(2x1+x2,2y1+y2).
In the second case, first we find the slope of the line and the curve which we can obtain by finding the derivative dxdy and by comparing both slopes we will get the required result.
Complete step by step answer:
1. We have to find the coordinates of the midpoint of AB. Where A and B are the points of intersection of the curve having equation y=x2−4x+4 and a line whose equation is y=mx, where m is a constant and m=1.
As we have given that m=1 so that the equation of line becomes, y=x.
Now, as A and B are the points of intersection of the line y=x and the curve y=x2−4x+4