If the line y = mx + 1 is tangent to the parabola y2 = 4x then find the value of m.
If the line y = mx + 1 is tangent to the parabola y2 = 4x then find the value of m.

equations are,

y = mx + 1 & y2 = 4x

By solving given equations we get

(mx + 1)2 = 4x

Expanding the above equation we get

    \[{{m}^{2}}{{x}^{2}}~+\text{ }2mx\text{ }+\text{ }1\text{ }=\text{ }4x\]

On rearranging we get

    \[\begin{array}{*{35}{l}} {{m}^{2}}{{x}^{2}}~+\text{ }2mx\text{ }-\text{ }4x\text{ }+\text{ }1\text{ }=\text{ }0  \\ m+{{x}^{2}}~+\text{ }x\text{ }\left( 2m\text{ }-\text{ }4 \right)\text{ }+\text{ }1\text{ }=\text{ }0  \\ \end{array}\]

As the line touches the parabola, above equation must have equal roots,

Discriminant (D) = 0

    \[\begin{array}{*{35}{l}} {{\left( 2m\text{ }-\text{ }4 \right)}^{2}}~\text{ }-4\text{ }\left( {{m}^{2}} \right)\text{ }\left( 1 \right)\text{ }=\text{ }0  \\ 4{{m}^{2}}~\text{ }-16m\text{ }+\text{ }16\text{ }\text{ }-4{{m}^{2}}~=\text{ }0  \\ -16\text{ }-m\text{ }+\text{ }16\text{ }=\text{ }0  \\ \text{ }m\text{ }+\text{ }1\text{ }=\text{ }0  \\ -m\text{ }=\text{ }1  \\ \end{array}\]

Hence, the required value of m is 1.