Sphere equation from endpoints.

  • Thread starter graycolor
  • Start date
  • Tags
    Sphere
In summary, the conversation discusses finding the equation of a sphere given one of its diameters. The participants suggest calculating the midpoint and radius to find the equation, but there may have been an error in the calculation of the radius.
  • #1
graycolor
34
0
Find the equation of a sphere if one of its diameters has endpoints: (-19, -15, -3) and (1, 5, 17).



Thought it would be this, but the program web-work says its wrong.

Lets assume my first coordinate is a (-19, -15, -3) and b is (1, 5, 17)

I found the midpoint since I assumed that would be the center, then I found the length from my midpoint to b ,but my equation is wrong.

(x+9)^2+(y+5)^2+(z-7)^2-640=0
 
Physics news on Phys.org
  • #2
hey graycolor, method sounds right... showing your working will help finding the problem easier...

that said, I would check your radius
 
  • #3
I think you calculated the radius wrong.

[tex]radius=diameter/2[/tex]

[tex]diameter=\sqrt{(-19-1)^2+(-15-5)^2+(-3-17)^2}=\sqrt{3*20^2}=20\sqrt{3}[/tex]

Now find the radius and then r2. :smile:
 
  • #4
Thanks guys
 

FAQ: Sphere equation from endpoints.

What is the equation for a sphere given the endpoints of its diameter?

The equation for a sphere given the endpoints of its diameter is:
(x - h)^2 + (y - k)^2 + (z - l)^2 = r^2
where (h, k, l) is the center of the sphere and r is the radius.

How do you find the center of a sphere using the endpoints of its diameter?

To find the center of a sphere using the endpoints of its diameter, you can use the midpoint formula:
h = (x1 + x2)/2, k = (y1 + y2)/2, l = (z1 + z2)/2
where (x1, y1, z1) and (x2, y2, z2) are the endpoints of the diameter.

What if I only have one endpoint of the diameter, can I still find the equation for the sphere?

Yes, you can still find the equation for the sphere if you have one endpoint of the diameter.
In this case, the center of the sphere will be the given endpoint and the radius can be found by calculating the distance between the given endpoint and any other point on the sphere.

Can the sphere equation be used for any size of sphere?

Yes, the sphere equation can be used for any size of sphere, as long as the diameter endpoints are known.
The equation will give the same result regardless of the size of the sphere.

Is there a way to verify that the equation I found is correct for a given sphere?

Yes, there are a few ways to verify that the equation is correct for a given sphere.
One way is to plug in the coordinates of several points on the sphere into the equation to see if they satisfy it. Another way is to graph the equation and see if it forms a perfect sphere on a 3D coordinate plane.

Back
Top