we know that
the equation of the sphere is equal to
![(x-h)^(2) +(y-k)^(2)+(z-l)^(2)=r^(2)](https://img.qammunity.org/2019/formulas/mathematics/college/a64lxeyrvn25e7pfygn7ktp78jhy1w9hpe.png)
where
(h,k,l) is the center of the sphere
r is the radius of the sphere
Step 1
Find the center of the sphere (h,k,l)
Let
A(8,7,6) B(9,9,9)
we know that
the midpoint of the diameter is the center point
Find the midpoint AB
in the x-coordinate
=(8+9)/2------> 8.5
in the y-coordinate
=(7+9)/2------> 8
in the z-coordinate
=(6+9)/2------> 7.5
the center is (8.5,8,7.5)
Step 2
Find the length of the diameter (distance AB)
A(8,7,6) B(9,9,9)
![d=\sqrt{(x-x1)^(2)+(y-y1)^(2)+(z-z1)^(2)}](https://img.qammunity.org/2019/formulas/mathematics/college/9qh4f4y1thtnr19dhxzc8t7lj9u8bnnee5.png)
![dAB=\sqrt{(9-8)^(2)+(9-7)^(2)+(9-6)^(2)}](https://img.qammunity.org/2019/formulas/mathematics/college/um2k3iou73gvybwc9g6cq879ewjuxfp888.png)
![dAB=\sqrt{(1)^(2)+(2)^(2)+(3)^(2)}](https://img.qammunity.org/2019/formulas/mathematics/college/1rpny9iwuhlupvimr6qy4rhcp06x4z034e.png)
![dAB=√(14)\ units](https://img.qammunity.org/2019/formulas/mathematics/college/jk6nxyv7ephjm7oxc17mxbirqe7xe8bko2.png)
the diameter is
![√(14)\ units](https://img.qammunity.org/2019/formulas/mathematics/college/18kfhyhsdtxe2k30hnpzl3xlb3jkbikhix.png)
the radius is
![r=(√(14) )/2\ units](https://img.qammunity.org/2019/formulas/mathematics/college/nxlnr2dqefd0o6cnvvklv0hw616uwwrykh.png)
Step 3
Find the equation of the sphere
![(x-h)^(2) +(y-k)^(2)+(z-l)^(2)=r^(2)](https://img.qammunity.org/2019/formulas/mathematics/college/a64lxeyrvn25e7pfygn7ktp78jhy1w9hpe.png)
![r=(√(14) )/2\ units](https://img.qammunity.org/2019/formulas/mathematics/college/nxlnr2dqefd0o6cnvvklv0hw616uwwrykh.png)
the center is (8.5,8,7.5)
Substitute
![(x-8.5)^(2) +(y-8)^(2)+(z-7.5)^(2)=(√(14) )/2)^(2)](https://img.qammunity.org/2019/formulas/mathematics/college/p5yzqm99546adgdvanehpvwgksi3ukfdf2.png)
![(x-8.5)^(2) +(y-8)^(2)+(z-7.5)^(2)=(14/4)](https://img.qammunity.org/2019/formulas/mathematics/college/5cprbe4nqe6mpq4vec9ryac5eg1rlrddxk.png)
![(x-8.5)^(2) +(y-8)^(2)+(z-7.5)^(2)=(3.5)](https://img.qammunity.org/2019/formulas/mathematics/college/awd05l2c8qmen6ztkv31newoyuxdr0q4qu.png)
therefore
the answer is
The equation of the sphere is
![(x-8.5)^(2) +(y-8)^(2)+(z-7.5)^(2)=(3.5)](https://img.qammunity.org/2019/formulas/mathematics/college/awd05l2c8qmen6ztkv31newoyuxdr0q4qu.png)