Let the equation of sphere x2+y2+z2+2ux+2vy+2wz+d=0.....(1)
Sphere passes through the points (1,0,0),(0,1,0) and (0,0,1)
∴12+02+02+2u.1+2v.0+2w.0+d=0
∴2u+d=1=0.....(2)
∴2v+d+1=0.....(3)
and 2w+d+1=0.....(4)
∵ Centre of sphere (−u,−v,−w)
lies on plane 3x−y+z=3
∴−3u+v−w=3....(5)
solve the equation (2),(3),(4) and (5)
We get u=−2/3,v=−2/3,w=−2/3,d=1/3
putting these values in equation (1) we get the equation of sphere
3(x2+y2+z2)−4(x+y+z)+1=0