CylindersIntersections::usage=" Be the cylinders σ[u, v] = { 4 Cos[u], 4 Sin[u], v} and the right circular cylinder whose axis passes through the origin and is parallel to the generatrix ℒ: {0, 4, 0} + t {1, 1, 1}. Find the parametric equations of your intersection curve.Reference: Personal "
Development:
Equation of the second cylinder:
Equation of the second cylinder:
In[]:=
r=
Norm[{0,4,0}{1,1,1}]
Norm[{1,1,1}]
Out[]=
4
2
3
In[]:=
4==
2
3
Norm[{x,y,z}{1,1,1}]
Norm[{1,1,1}]
Out[]=
4++
2
3
2
Abs[x-y]
2
Abs[y-z]
2
Abs[-x+z]
3
In[]:=
Expand==
2
++
2
(x-y)
2
(y-z)
2
(-x+z)
2
4
2
2-2xy+2-2xz-2yz+232;++-xy-xz-yz-16==0;
2
x
2
y
2
z
2
x
2
y
2
z
Cartesian equation of the first cylinder:
In[]:=
Eliminate[{x==4Cos[u],y==4Sin[u],z==v},{u,v}]
16-;
2
y
2
x
Parametric equations of the intersection curves:
In[]:=
Solve[{++-xy-xz-yz-16==0,16-},{x,y}]
2
x
2
y
2
z
2
y
2
x
In[]:=
Simplifyx--,y----2-2++,x--,y----2+2--,x-+,y-+++2-2-+,x-+,y-+++2+2+-
z
2
1
2
16+3
-2
z
8-2--
2
z
16z
16+3
2
z
3
3
z
16+3
2
z
2
1
2
2
z
3
z
4
2
z
16+3
2
z
3
4
z
4
16+3
2
z
16+3
-2
z
9
8
2
z
16+3
+2
z
1
8
3/2
(16+3)
2
z
2
8-2--
+2
z
16z
16+3
2
z
3
3
z
16+3
2
z
3
2
z
8-2--
2
z
16z
16+3
2
z
3
3
z
16+3
2
z
2
z
16+3
2
z
8-2--
2
z
16z
16+3
2
z
3
3
z
16+3
2
z
2
2
3/2
8-2--
2
z
16z
16+3
2
z
3
3
z
16+3
2
z
2
2
z
2
1
2
16+3
+2
z
8-2--
2
z
16z
16+3
2
z
3
3
z
16+3
2
z
2
1
2
2
z
3
z
4
2
z
16+3
2
z
3
4
z
4
16+3
2
z
16+3
-2
z
9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+3
-2
z
2
8-2+z
,y-2
z
16+3
2
z
z
2
8
16+3
2
z
3
2
z
2
16+3
2
z
4-+z
,x2
z
1
2
16+3
2
z
1
2
16+3
+2
z
2
8-2+z
,y-2
z
16+3
2
z
z
2
8
16+3
2
z
3
2
z
2
16+3
2
z
4-+z
2
z
1
2
16+3
2
z
ζ[t_]:=-t±±±±
1
2
16+3
±2
t
2
8-2±t
,-2
t
16+3
2
t
t
2
8
16+3
2
t
3
2
t
2
16+3
2
t
4-±t
,t;2
t
1
2
16+3
2
t
In[]:=
Reduce4--t
2
t
1
2
16+3
>=0,t2
t
Out[]=
2(-2-
2
)≤t≤2(2-2
)In[]:=
Reduce4-+t
2
t
1
2
16+3
>=0,t2
t
Out[]=
2(-2+
2
)≤t≤2(2+2
)Animation:
In[]:=
Manipulateζ[t_]:=-t---+[t_]:=-t----[t_]:=-t++++[t_]:=-t+++-,22-,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.08,rest],ParametricPlot3D[t],t,2-2-,22-,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.08,rest],ParametricPlot3D[t],t,2-2+,22+,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.08,rest],ParametricPlot3D[t],t,2-2+,22+,PlotStyle->Yellow/.Line[pts_,rest___]:>Tube[pts,0.08,rest],ParametricPlot3D[σ[u,v],{u,0,θ1},{v,-8,8},MeshNone,PerformanceGoal"Quality",ColorFunction"BlueGreenYellow",PlotPoints->40,PlotStyle->Opacity[0.4],MeshFalse,BoundaryStyleDirective[Black,Thick]],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRangeAll,ViewPoint{-3,3,1},ImageSize900,Style["Intersection curves between cylinders :",Bold,Large],{{θ1,0.00002,"Value (θ)"},0.00001,2π,0.00001},ControlPlacementTop
1
2
16+3
-2
t
2
8-2-t
,-2
t
16+3
2
t
t
2
8
16+3
2
t
3
2
t
2
16+3
2
t
4--t
,t;2
t
1
2
16+3
2
t
ζ
1
1
2
16+3
+2
t
2
8-2-t
,-2
t
16+3
2
t
t
2
8
16+3
2
t
3
2
t
2
16+3
2
t
4--t
,t;2
t
1
2
16+3
2
t
ζ
2
1
2
16+3
-2
t
2
8-2+t
,-2
t
16+3
2
t
t
2
8
16+3
2
t
3
2
t
2
16+3
2
t
4-+t
,t;2
t
1
2
16+3
2
t
ζ
3
1
2
16+3
+2
t
2
8-2+t
,-2
t
16+3
2
t
t
2
8
16+3
2
t
3
2
t
2
16+3
2
t
4-+t
,t;σ[u_,v_]:={4Cos[u],4Sin[u],v};ShowRevolutionPlot3D[{t,4+t,t},{t,-8,8},{θ,0,θ1},RevolutionAxis{1,1,1},PlotStyle->Opacity[0.4],MeshFalse,BoundaryStyleDirective[Black,Thick],PerformanceGoal"Quality",ColorFunction"BlueGreenYellow",PlotPoints->40],ParametricPlot3D[t{1,1,1},{t,-8,12},ColorFunction->"DeepSeaColors"]/.Line[pts_,rest___]:>Tube[pts,0.07,rest],Graphics3D[{Black,Ball[{0,0,0},0.16]}],ParametricPlot3Dζ[t],t,2-2-2
t
1
2
16+3
2
t
2
θ1
2π
2
θ1
2π
ζ
1
2
θ1
2π
2
θ1
2π
ζ
2
2
θ1
2π
2
θ1
2π
ζ
3
2
θ1
2π
2
θ1
2π
View from different angles (below):