EllipsoidCircumscribedSphere::usage="The major axis of an ellipsoid is the line:ℒ: {h, k, l} + t {A, B, C1}. The family of spheres that has its center on that axis is:x - (h + t A) + y - (k + t B) + z - (l + t C1) = - (h + t A), with A, B ≠ 0 and -- ≤ t ≤ - , because the radius of each element of the family is r = with a > b.The ellipsoid is circumscribed to the family of spheres. That is, the ellipsoid is the envelope of the family of spheres.Reference: Personal. ";
2
}
2
}
2
}
2
b
2
a
2
a
2
)
2
a
2
A
h
A
2
a
2
A
h
A
b-
2
a
2
(h+tA)
a
Example 1:
In[]:=
Showa=4;b=2;h=2;k=0;l=-7;A=1;B=-1;C1=2;t1=-2;Solve++==(-),++-(-)==0,{x,y}x-38+25t-8z-54-25t+8z--38+25t-8z+54-25t+8z+-38+25t-8z-54-25t+8z-+92y+8xy+21+166z-16xz+16yz+90;Reduce[->=0,t]-6≤t≤2;Graphics3DOpacity[0.8],Red,Specularity[White,40],Sphere{h+t1A,k+t1B,l+t1C1},,ParametricPlot3D[{h,k,l}+t2{A,B,C1},{t2,-8,8},PlotStyle{DarkGreen,Thick}],ContourPlot3D[721-192x+21+92y+8xy+21+166z-16xz+16yz+90,{x,-5,5},{y,-5,8},{z,-20,-1},PerformanceGoal->"Quality",PlotPoints->60,MeshFalse,ContourStyle{Opacity[0.2],Green,Specularity[White,40]}],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRange{{-5,5},{-5,8},{-20,-1}},ImageSize700,ViewPoint{4,2.4,2.}
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
b
2
a
2
a
2
(h+tA)
∂
t
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
b
2
a
2
a
2
(h+tA)
1
8
-4388+2700t-425-1312z+400tz-96
,y2
t
2
z
1
8
-4388+2700t-425-1312z+400tz-96
,x2
t
2
z
1
8
-4388+2700t-425-1312z+400tz-96
,y2
t
2
z
1
8
-4388+2700t-425-1312z+400tz-96
;Eliminatex==2
t
2
z
1
8
-4388+2700t-425-1312z+400tz-96
,y==2
t
2
z
1
8
-4388+2700t-425-1312z+400tz-96
,z==z,t721-192x+212
t
2
z
2
x
2
y
2
z
2
a
2
(h+tA)
b-
2
a
2
(h+t1A)
a
2
x
2
y
2
z
Out[]=
Example 2:
In[]:=
Showa=3;b=2;h=2;k=-5;l=3;A=7;B=-1;C1=5;t1=0;Solve++==(-),++-(-)==0,{x,y}x2237+6097t-315z--2441-871t+45z-72237+6097t-315z+-2441-871t+45z+72237+6097t-315z--2441-871t+45z-7+3993y+63xy+431-803z-315xz+45yz+3230;Reduce[->=0,t]-≤t≤;Graphics3DOpacity[0.8],Red,Specularity[White,40],Sphere{h+t1A,k+t1B,l+t1C1},,Graphics3DOpacity[0.8],Red,Specularity[White,40],Sphereh+t1-A,k+t1-B,l+t1-C1,,ParametricPlot3D[{h,k,l}+t2{A,B,C1},{t2,-8,8},PlotStyle{DarkGreen,Thick}],ContourPlot3D[8301+792x+215+3993y+63xy+431-803z-315xz+45yz+3230,{x,-5,5},{y,-7,0},{z,-6,5},PerformanceGoal->"Quality",PlotPoints->60,MeshFalse,ContourStyle{Opacity[0.2],Green,Specularity[White,40]}],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRange{{-5,5},{-7,0},{-6,5}},ImageSize900,ViewPoint{4,5,2.}
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
b
2
a
2
a
2
(h+tA)
∂
t
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
b
2
a
2
a
2
(h+tA)
1
450
-63931-332722t-366691+41490z+78390tz-6075
,y2
t
2
z
1
450
-63931-332722t-366691+41490z+78390tz-6075
,x2
t
2
z
1
450
-63931-332722t-366691+41490z+78390tz-6075
,y2
t
2
z
1
450
-63931-332722t-366691+41490z+78390tz-6075
;Eliminatex==2
t
2
z
1
450
-63931-332722t-366691+41490z+78390tz-6075
,y==2
t
2
z
1
450
-63931-332722t-366691+41490z+78390tz-6075
,z==z,t8301+792x+2152
t
2
z
2
x
2
y
2
z
2
a
2
(h+tA)
5
7
1
7
b-
2
a
2
(h+t1A)
a
4.5
7
4.5
7
4.5
7
b-
2
a
2
h+t1-A
4.5
7
a
2
x
2
y
2
z
Out[]=