Equation of the circle passing through intersecting point of line and circle is given by S+λL=0
where, Sx2+y2+y−1=0
and Lx−y+1=0 ∴ Equation of the circle is (x2+y2+y−1)+λ(x−y+1)=0 ⇒x2+y2+λx+(1−λ)y+λ−1=0
Centre of above circle =(2−λ,2λ−1)
Since, centre lies on x−y+1=0. ∴2−λ−(2λ−1)+1=0⇒λ=23
Hence, required equation of circle is x2+y2+y−1+23(x−y+1)=0 ⇒2(x2+y2)+3x−y+1=0