# Question Video: Finding the Equation of a Sphere Given the Coordinates of Two Points on Its Diameter

Find the equation of the sphere with π΄ = (9, β6, 1) and π΅ = (β16, β12, 2) as endpoints of a diameter.

04:47

### Video Transcript

Find the equation of the sphere with π΄ equal to the point nine, negative six, one and π΅ equal to the point negative 16, negative 12, two as endpoints of a diameter.

In this question, we are asked to find the equation of a sphere. And to help us do this, weβre given two points which, weβre told, lie as endpoints of one of the diameters of the sphere. To answer this question, letβs start by recalling the equation of a sphere. We know that a sphere centered at the point π, π, π with a radius π which is positive will have the equation π₯ minus π all squared plus π¦ minus π all squared plus π§ minus π all squared is equal to π squared. This is called the standard form of the equation of a sphere.

And to find this equation for our sphere, all we need to know is its center point and its radius. We need to find both of these pieces of information from the two points which weβre told lie as endpoints of the diameter of our sphere. We can find these by recalling the diameter of a sphere passing through the points π΄ and π΅ on the surface of our sphere is a line segment passing through the center of our sphere. Letβs call this center πΆ. Then the line segment πΆπ΄ and the line segment πΆπ΅ will both be radii of our sphere. So they will be equal in length.

This means the center of our sphere will always be the midpoint of the two endpoints of our diameter. Therefore, we can find the center of our sphere by finding the midpoint of the line segment π΄π΅. And we can find the radius of the sphere by finding the length of the line segment πΆπ΄ or the length of the line segment πΆπ΅.

Letβs start by finding the coordinates of the center of our sphere. To do this, we need to recall to find the midpoint of two points in space, we need to take the average of their coordinates. In other words, the midpoint between the two points π₯ sub one, π¦ sub one, π§ sub one and the point π₯ sub two, π¦ sub two, π§ sub two is given by the point π₯ sub one plus π₯ sub two all over two, π¦ sub one plus π¦ sub two all over two, π§ sub one plus π§ sub two all over two. This just means to find the coordinates of the center of our sphere πΆ, we need to take the average of the coordinates of π΄ and π΅.

πΆ will be the point nine plus negative 16 all over two, negative six plus negative 12 all over two, one plus two all over two. And if we evaluate each of the expressions we have for each coordinate, we get that πΆ is the point negative seven over two, negative nine, three over two. This means we found the coordinates of the center of our sphere. All we need to find now is the radius of this sphere to find its equation in standard form.

There are many different ways of finding this radius. Weβre going to find one-half the distance between the two points π΄ and π΅. Weβll start by just finding length of our diameter. Thatβs the distance between the two points π΄ and π΅. To do this, we recall the distance between the two points π₯ sub one, π¦ sub one, π§ sub one and π₯ sub two, π¦ sub two, π§ sub two is given by the square root of π₯ sub one minus π₯ sub two all squared plus π¦ sub one minus π¦ sub two all squared plus π§ sub one minus π§ sub two all squared.

Substituting the coordinates of the points π΄ and π΅ into this formula will give us the length of the diameter of our sphere. Weβll call this π. Itβs equal to the square root of nine minus negative 16 all squared plus negative six minus negative 12 all squared plus one minus two all squared. And of course, remember π will be equal to two multiplied by π. Itβs twice the radius.

Evaluating the expression inside of our square root symbol gives us that two π will be equal to the square root of 662. We can then find the exact value of the radius by dividing both sides of this equation by two. We get π is equal to one-half root 662. Therefore, we found the radius of our sphere. And we already know the center of our sphere. This means we can find an equation for our sphere in standard form. We can also see in this equation for our sphere in standard form we need an expression for π squared. We can find an expression for π squared by squaring our equation for π.

Squaring both sides of this equation gives us that π squared will be equal to one-half root 662 all squared. We can evaluate this by distributing the square over our product. This will be equal to one-half squared multiplied by root 662 squared, which is, of course, equal to one-quarter multiplied by 662.

Finally, we can simplify this expression for π squared to 331 over two. All we need to do now is substitute the coordinates of the center of our sphere and our expression for π squared into the standard form of the equation of a sphere. Doing this gives us our final answer. The equation of a sphere with the point π΄ nine, negative six, one and π΅ negative 16, negative 12, two as endpoints of a diameter of the sphere is given by π₯ plus seven over two all squared plus π¦ plus nine all squared plus π§ minus three over two all squared is equal to 331 over two.