PencilOfQuadrics3::usage="All the steps will be followed to create a pencil of quadrics.Reference: Personal.";
Development:
1) Base quadrics:
Q
1
2
x
2
y
2
z
Q
2
2
z
Q
1
x | y | z | 1 |
1 | 0 | 0 | -5 |
0 | 1 | 0 | 0 |
0 | 0 | 1 | 0 |
-5 | 0 | 0 | 0 |
x |
y |
z |
1 |
Q
2
x | y | z | 1 |
0 | 0 | 0 | -1 |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 |
-1 | 0 | 0 | 0 |
x |
y |
z |
1 |
2) Linear combination:
In[]:=
λ
+μ
1 | 0 | 0 | -5 |
0 | 1 | 0 | 0 |
0 | 0 | 1 | 0 |
-5 | 0 | 0 | 0 |
0 | 0 | 0 | -1 |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 |
-1 | 0 | 0 | 0 |
{{λ,0,0,-5λ-μ},{0,λ,0,0},{0,0,λ+μ,0},{-5λ-μ,0,0,0}};
Quadric’s equation in the pencil is:
(
)
=0
x | y | z | 1 |
λ | 0 | 0 | -5λ-μ |
0 | λ | 0 | 0 |
0 | 0 | λ+μ | 0 |
-5λ-μ | 0 | 0 | 0 |
x |
y |
z |
1 |
3) Base curve (Intersection, all the quadrics within the pencil pass through this curve, in this case Viviani’s curve):
In[]:=
Solve[{++-10x==0,-2x==0},{x,y}]
2
x
2
y
2
z
2
z
x,y-,y
2
z
2
1
2
16-
,x2
z
4
z
2
z
2
1
2
16-
;2
z
4
z
In[]:=
[z_]:=,-[z_]:=,>=0,z]
ζ
1
2
z
2
1
2
16-
,z;2
z
4
z
ζ
2
2
z
2
1
2
16-
,z;Reduce[16-2
z
4
z
2
z
-4≤z≤4;
4) Identify singular quadrics (the values of λ and μ for which result cones or cylinders ):
In[]:=
Det[{{λ,0,0,-5λ-μ},{0,λ,0,0},{0,0,λ+μ,0},{-5λ-μ,0,0,0}}]==0
In[]:=
-25-35μ-11-λ0;Solve[-25-35μ-11-λ0,λ]
4
λ
3
λ
2
λ
2
μ
3
μ
4
λ
3
λ
2
λ
2
μ
3
μ
{λ0},{λ-μ},λ-,λ-;
μ
5
μ
5
Animation:
In[]:=
SwatchLegend[{Yellow,Green,Orange},{"Base curve","Original quadrics","Quadrics of pencil"}]Manipulate[z_]:=,-[z_]:=,++-18x)+μ(9+9-29)==0,{x,-10,10},{y,-10,10},{z,-5,4},ContourStyle{Orange,Opacity[0.2],Specularity[White,40]},MeshFalse,MaxRecursion->3],{μ,-5,t1,0.1}],TableContourPlot3D-(++-18x)+μ(9+9-29)==0,{x,-10,10},{y,-10,10},{z,-5,4},ContourStyle{Orange,Opacity[0.2],Specularity[White,40]},MeshFalse,MaxRecursion->3,{μ,-5,t1,0.1},ParametricPlot3D[[t],{t,-4,4},PlotStyle->Yellow]/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3D[[t],{t,-4,4},PlotStyle->Yellow]/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3D[{5Cos[u]Sin[v]+5,5Sin[u]Sin[v],5Cos[v]},{u,0,2π},{v,0,π},PlotStyle->Directive[Opacity[0.7],Specularity[White,30]],MeshFalse,ColorFunction->"BlueGreenYellow",PerformanceGoal->"Quality",PlotPoints->40],ContourPlot3D[-2x==0,{x,-10,10},{y,-10,10},{z,-5,5},ContourStyle->Directive[Opacity[0.7],Specularity[White,30]],MeshFalse,ColorFunction->"BlueGreenYellow",PerformanceGoal->"Quality",PlotPoints->40],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRangeAll,ViewPoint{1.3,-2.4,1.},ImageSize700,Style["Pencil of quadrics 3:",Bold,Large],{{t1,-5+0.00002,"Value (t1)"},-5+0.00001,5,0.1},SaveDefinitionsTrue,ControlPlacementTop
ζ
1
2
z
2
1
2
16-
,z;2
z
4
z
ζ
2
2
z
2
1
2
16-
,z;ShowTable[ContourPlot3D[-μ(2
z
4
z
2
x
2
y
2
z
2
x
2
y
2
z
μ
5
2
x
2
y
2
z
2
x
2
y
2
z
ζ
1
ζ
2
2
z
Out[]=
Out[]=
The pencil consists of cones and hyperboloids of one-leaf all coincide in the same positions.

