Equation of a sphere in XYZ coordinates

In summary, the equation of a sphere in XYZ coordinates is x^2 + y^2 + z^2 = r^2. The center of the sphere can be found at (0,0,0) and the radius can be determined by taking the square root of the constant term on the right side of the equation. This equation only describes a solid sphere with a specific radius and cannot be used for a hollow sphere. To graph the equation, points that satisfy the equation can be plotted or input into a graphing calculator or software. The equation of a sphere in polar coordinates, r = a, is different from the equation in XYZ coordinates.
  • #1
ReidMerrill
66
2

Homework Statement


Show that the equation represents a sphere, and find its center and radius.

3x2+3y2+3z2 = 10+ 6y+12z

Homework Equations

The Attempt at a Solution


3x2+3y2-6y +3z2 -12z =10

My equation is how the constants in-front of the squared terms affect the sphere formula? Besides that I should be completing the square for the Y and Z terms right?
 
Physics news on Phys.org
  • #2
ReidMerrill said:

Homework Statement


Show that the equation represents a sphere, and find its center and radius.

3x2+3y2+3z2 = 10+ 6y+12z

Homework Equations

The Attempt at a Solution


3x2+3y2-6y +3z2 -12z =10

My equation is how the constants in-front of the squared terms affect the sphere formula?
What is the formula for the equation of a sphere? That would have been good to put in the Relevant equations section.
ReidMerrill said:
Besides that I should be completing the square for the Y and Z terms right?
Yes.
 
  • #3
The formula of a sphere is
R2=(X-X0)2 +(Y-Y0)2 +(Z-Z0)2

So I tried working further and eventually got to
3Y2-6y=10
(Y-1)2 =13/3

3Z2-12Z =13/3
(Z-6)2=37.44
3X2 +(Y-1)2+(Z-6)2= 37.44
so R2=37.44 and R=6.12
 
  • #4
ReidMerrill said:
The formula of a sphere is
R2=(X-X0)2 +(Y-Y0)2 +(Z-Z0)2

So I tried working further and eventually got to
3Y2-6y=10
(Y-1)2 =13/3

3Z2-12Z =13/3
(Z-6)2=37.44
3X2 +(Y-1)2+(Z-6)2= 37.44
so R2=37.44 and R=6.12

Your "equations" ##3Y^2-6y=10##, ##(Y-1)^2 = 13/3##, etc., are meaningless in this problem. You are trying to find constants ##a, b, r## so that the equation
$$3 x^2+3 y^2 + 3 z^2 -6y - 12z - 10 = 0$$
becomes
$$3 x^2 + 3 (y-a)^2 + 3 (z-b)^2 - r^2 = 0$$
The second equation must hold for ALL values of ##x,y,z## that satisfy the first equation, and vice-versa.
 
  • #5
ReidMerrill said:
The formula of a sphere is
R2=(X-X0)2 +(Y-Y0)2 +(Z-Z0)2

So I tried working further and eventually got to
3Y2-6y=10
(Y-1)2 =13/3
You shouldn't drag the constant term from the original equation along. Instead, you can say
\begin{align*}
3y^2 - 6y &= 3(y^2-2y)\\
&= 3[(y^2-2y+1)-1]\\
&= 3(y-1)^2 - 3.
\end{align*} Note that ##3y^2-6y=3(y-1)^2-3## holds for all y whereas the equation you started with, ##3y^2-6y=10##, doesn't. (Also, don't use y and Y interchangeably. It's sloppy and incorrect.)

The original equation can then be rewritten as
\begin{align*}
3x^2 + (3y^2 - 6y) + (3z^2-12z) &= 10 \\
3x^2 + [3(y-1)^2 - 3] + (3z^2-12z) &= 10 \\
3x^2 + 3(y-1)^2 + (3z^2-12z) &= 13
\end{align*}

3Z2-12Z =13/3
(Z-6)2=37.44
3X2 +(Y-1)2+(Z-6)2= 37.44
so R2=37.44 and R=6.12
You should check your work in completing the square. I don't get (z-6)^2.
 

Related to Equation of a sphere in XYZ coordinates

What is the equation of a sphere in XYZ coordinates?

The equation of a sphere in XYZ coordinates is x^2 + y^2 + z^2 = r^2, where (x,y,z) represent the coordinates of any point on the sphere and r represents the radius of the sphere.

How do you find the center and radius of a sphere using the equation in XYZ coordinates?

The center of the sphere can be found by setting x, y, and z to 0 in the equation. This will result in the equation r^2 = 0, which means the center of the sphere is at (0,0,0). The radius of the sphere can be found by taking the square root of the constant term on the right side of the equation.

Can the equation of a sphere in XYZ coordinates be used to describe a hollow sphere?

No, the equation x^2 + y^2 + z^2 = r^2 only describes a solid sphere with a specific radius. To describe a hollow sphere, a separate equation would be needed to represent the inner and outer radii.

How can the equation of a sphere in XYZ coordinates be graphed?

The equation can be graphed by plotting points with coordinates (x,y,z) that satisfy the equation. This will result in a three-dimensional representation of a sphere. Alternatively, the equation can be input into a graphing calculator or software to generate a visual graph.

Is the equation of a sphere in XYZ coordinates the same as the equation of a sphere in polar coordinates?

No, the equation of a sphere in polar coordinates is r = a, where r represents the distance from the origin and a represents the radius of the sphere. This equation is different from the equation in XYZ coordinates, which uses the coordinates x, y, and z instead of r.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
728
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
19
Views
5K
  • Calculus and Beyond Homework Help
Replies
9
Views
8K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
7K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
Back
Top