Equation of parabola which touches $y=x$ line at $(1,1)$ and touches $x$ axis at $(1,0)$
Try: let focus of parabola be $S(p,q)$ and equation of directrix be $y=mx+c$ and a point $P(x,y)$ on parabola.
The definition of parabola $$(x-p)^2+(y-q)^2=\displaystyle \frac{mx-y+c}{\sqrt{1+m^2}}$$
Parabola passes through $(1,0)$ and $(1,1)$
So $$(1-p)^2+q^2=\frac{m-c}{\sqrt{1+m^2}}$$
and $$(1-p)^2+(1-q)^2=\frac{m-1+c}{\sqrt{1+m^2}}$$
Could some help me how to solve it with shorter way. Thanks
From the two tangents you can find the parabola’s axis direction. It’s the diagonal of the paralellogram formed by the tangents and their intersection point. These two tangents intersect at the origin, so the axis direction is $\mathbf v = (1,1)+(1,0)=(2,1)$.
You can now use the reflective property of the parabola to find its focus. The direction vector $\mathbf v$ is reflected to $(-2,1)$ at the point $(1,0)$ and to $(1,2)$ at the point $(1,1)$, so the parabola’s focus is the intersection of the lines $(1,0)+\lambda(-2,1)$ and $(1,1)+\mu(1,2)$, which can be found via cross products of homogeneous coordinates: $$((1,0,1)\times(-2,1,0))\times((1,1,1)\times(1,2,0))=(-3,-1,-5),$$ or $F=\left(\frac35,\frac15\right)$ in inhomogeneous Cartesian coordinates.
The feet of perpendiculars dropped from the focus to tangent lines lie on the tangent to the parabola’s vertex. The point $\left(\frac35,0\right)$ on this line is easily found by inspection. Knowing also that this line is perpendicular to the parabola’s axis, we can form its point-normal equation: $(2,1)\cdot(x,y)-(2,1)\cdot\left(\frac35,0\right)=0$ or $$2x+y-\frac65=0.$$ This line is halfway between the focus and directrix, so we offset the left-hand side by $(2,1)\cdot F-\frac65 = \frac15$ resulting in the equation $$2x+y=1$$ for the directrix. You now have the necessary information to use the form of the equation of a parabola in your question.
Alternatively, once you have the axis direction, you know that the equation will be of the form $$(x-2y)^2+ax+by+c=0.\tag{*}$$ The normals to this curve can be found by differentiation: $(a+2x-4y,b-4x+8y)$. If the tangent at a point has direction $(\lambda,\mu)$ the condition that the normal is orthogonal to the tangent can be expressed as $$(\lambda,\mu)\cdot(a+2x-4y,b-4x+8y)=0.$$ Plugging in the known points and tangents will give you a system of linear equations in $a$ and $b$. Once you’ve solved for those, you can plug one of the points into equation (*) to find $c$.