PencilOfQuadrics5::usage="All the steps will be followed to create a pencil of quadrics.Reference: Personal.";
Development:
1) Base quadrics:
Q
1
2
x
Q
2
2
x
2
y
2
z
Q
1
x | y | z | 1 |
1 | 0 | 0 | 0 |
0 | 0 | 1 | -1 |
0 | 1 | 0 | 0 |
0 | -1 | 0 | 0 |
x |
y |
z |
1 |
Q
2
x | y | z | 1 |
8 | -2 | 4 | 0 |
-2 | 11 | 2 | 0 |
4 | 2 | 8 | 0 |
0 | 0 | 0 | -12 |
x |
y |
z |
1 |
2) Linear combination:
In[]:=
λ
+μ
1 | 0 | 0 | 0 |
0 | 0 | 1 | -1 |
0 | 1 | 0 | 0 |
0 | -1 | 0 | 0 |
8 | -2 | 4 | 0 |
-2 | 11 | 2 | 0 |
4 | 2 | 8 | 0 |
0 | 0 | 0 | -12 |
{{λ+8μ,-2μ,4μ,0},{-2μ,11μ,λ+2μ,-λ},{4μ,λ+2μ,8μ,0},{0,-λ,0,-12μ}};
Quadric’s equation in the pencil is:
(
)
=0
x | y | z | 1 |
λ+8μ | -2μ | 4μ | 0 |
-2μ | 11μ | λ+2μ | -λ |
4μ | λ+2μ | 8μ | 0 |
0 | -λ | 0 | -12μ |
x |
y |
z |
1 |
3) Base curve (Intersection, all the quadrics within the pencil pass through this curve.):
In[]:=
Solve[{+2yz-2y==0,8+11+8-4xy+8xz+4yz-12==0},{x,z}]
2
x
2
x
2
y
2
z
xy-+,xy++,xy--,xy+-;
1
2
8y-3-2
,z2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
+y2
y
2
y
8y-3-2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
1
2
8y-3-2
,z2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
-y2
y
2
y
8y-3-2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
1
2
8y-3+2
,z2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
+y2
y
2
y
8y-3+2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
1
2
8y-3+2
,z2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
-y2
y
2
y
8y-3+2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
In[]:=
Reduce8y-3-2(-4+4y+3)>=0,y]
2
y
6
4-4-3
>=0,yReduce[-2
y
3
y
4
y
2
y
2
y
y0||-8+4;
1
27
22
≤y≤2
3
-2≤y≤;
2
3
Domain (possible values of y for 1 and 2):
-8+4;
1
27
22
≤y≤2
3
In[]:=
Reduce8y-3+2
2
y
6
4-4-3
>=0,y2
y
3
y
4
y
1
27
22
≤y≤2
3
Domain (possible values of y for 3 and 4):
1
27
22
≤y≤2
3
4) Identity singular quadrics (the values of λ and μ for which result cones or cylinders ):
In[]:=
NSolve[Det[{{λ+8μ,-2μ,4μ,0},{-2μ,11μ,λ+2μ,-λ},{4μ,λ+2μ,8μ,0},{0,-λ,0,-12μ}}]==0,λ]
{{λ-6.`μ},{λ8.233687939614086`μ},{λ-26.233687939614086`μ}};
Animation:
In[]:=
ManipulateClearAll;[y_]:=y-+;[y_]:=y++;[y_]:=y--;[y_]:=y+-;λ1=-6.`μ;λ2=8.233687939614086`μ;λ3=-26.233687939614086`μ;ShowTable[ContourPlot3D[λ1(+2yz-2y)+μ(8+11+8-4xy+8xz+4yz-12)==0,{x,-10,10},{y,-10,10},{z,-10,10},ContourStyle{Orange,Opacity[0.2],Specularity[White,40]},MeshFalse,MaxRecursion->3],{μ,-5,t1,1}],Table[ContourPlot3D[λ2(+2yz-2y)+μ(8+11+8-4xy+8xz+4yz-12)==0,{x,-10,10},{y,-10,10},{z,-10,10},ContourStyle{Orange,Opacity[0.2],Specularity[White,40]},MeshFalse,MaxRecursion->3],{μ,-5,t1,1}],Table[ContourPlot3D[λ3(+2yz-2y)+μ(8+11+8-4xy+8xz+4yz-12)==0,{x,-10,10},{y,-10,10},{z,-10,10},ContourStyle{Orange,Opacity[0.2],Specularity[White,40]},MeshFalse,MaxRecursion->3],{μ,-5,t1,1}],ParametricPlot3D[t],t,-8+4,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3D[t],t,-8+4,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3D[t],t,-8-4[t],t,-8-4[t],t,0.00001,,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3D[t],t,0.00001,,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ContourPlot3D[+2yz-2y==0,{x,-10,10},{y,-10,10},{z,-10,10},ContourStyle->Directive[Green,Opacity[0.3],Specularity[White,30]],MeshFalse,PerformanceGoal->"Quality",PlotPoints->60],ContourPlot3D[8+11+8-4xy+8xz+4yz-12==0,{x,-10,10},{y,-10,10},{z,-10,10},ContourStyle->Directive[Green,Opacity[0.3],Specularity[White,30]],MeshFalse,PerformanceGoal->"Quality",PlotPoints->60],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRangeAll,ViewPoint{1.3,2.4,2},ImageSize900,Style["Pencil of quadrics 5:",Bold,Large],{{t1,-5+0.00002,"Value (t1)"},-5+0.00001,5,1},SaveDefinitionsTrue,ControlPlacementTop
ζ
1
1
2
8y-3-2
,y,2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
+y2
y
2
y
8y-3-2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
ζ
2
1
2
8y-3-2
,y,2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
-y2
y
2
y
8y-3-2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
ζ
3
1
2
8y-3+2
,y,2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
+y2
y
2
y
8y-3+2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
ζ
4
1
2
8y-3+2
,y,2
y
6
4-4-3
2
y
3
y
4
y
2
y
6
-(-4+4y+3)
-y2
y
2
y
8y-3+2
2
y
6
-(-4+4y+3)
2
y
2
y
4y
2
x
2
x
2
y
2
z
2
x
2
x
2
y
2
z
2
x
2
x
2
y
2
z
ζ
1
1
27
22
,2
3
ζ
2
1
27
22
,2
3
ζ
3
1
27
22
,-0.00001,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3Dζ
4
1
27
22
,-0.00001,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.1,rest],ParametricPlot3Dζ
3
2
3
ζ
4
2
3
2
x
2
x
2
y
2
z
Out[]=

