Given the equation of circle $x^{2} + y^{2} = a^{2}$ and the equation of the plane $z=0$
Why is the general equation of sphere through them written as $x^{2} + y^{2} + z^{2} - a^{2} + \lambda(z) = 0$
From where does the term $z^{2}$ comes in the picture ?
However in other cases, if equation of circle is $C$ and plane be $P$, we write sphere's equation as $ C + \lambda(P) = 0$