I am familiar with the following equations
$$S_1 + \lambda S_2=0$$ for two circles
$$L_1 + \lambda L_2=0$$ for two lines $$L_1 + \lambda S_1=0$$ for circle and line
But I never really understood how they worked. Now this is a sample questions
A circles touches the parabola $y^2=2x$ at P $(\frac 12, 1)$ and cuts parabola at vertex V. If centre of circle is a Q, find the radius of circle
The formula used here was
$$(x-\frac 12)^2 + (y-1)^2 +\lambda (2x-2y+1)=0$$
Now it’s easy to see that equation is basically hinting at a curve passing through $(1/2, 1)$ and tangent to $(2x-2y+1)$, but how exactly was the form mat determined? How can we tell if this will us gives a circle? Why was the distance formula used in the first part of the equation? Basically I want to know the process of writing such equations .

