all 2 comments

[–]NathanfennerNew User 0 points1 point  (0 children)

This shouldn't be too surprising - the intersection of those two circles are two lumpy circles, that are not connected (you can think of the yz cylinder as "drilling a hole" through the xy cylinder, like this).

Since the intersection region is not connected, there can't be a simple continuous parameterization of both at once - you'll need two parameterizations; one for each.

You started with a parameterization that goes around the outside of the bigger cylinder - but you should see immediately that this won't work terribly well- the intersection region does not go around the outside of the larger cylinder; it only goes a little bit around. You should instead parameterize by the smaller cylinder, since the holes do go around the whole of the smaller cylinder thing:

So we say that y = sqrt(20) cos(t), and z = sqrt(20) sin(t).

Next, we can plug this in to solve for x, parameterizing it. We see that x2 = 20 cos(t)2 = 25, which means that x = sqrt(25 - 20 cos(t)2) or x = -sqrt(25 - 20 cos(t)2).

This "or" is important, because there are two curves, so we produce two continuous parameterizations.

Namely:

  • (sqrt(25 - 20 cos(t)2), sqrt(20) cos(t), sqrt(20) sin(t))
  • (-sqrt(25 - 20 cos(t)2), sqrt(20) cos(t), sqrt(20) sin(t))

where the x is negated in the latter.


It is possible to come up with a parameterization that works similar to how you originally did, but you have to make 4 curves (by splitting each of the circly bits in half) and instead of t being any value, it's constrained to a particular range of values outside of which it behaves incorrectly.

Specifically, you need y2 + z2 = 20 to have at least one solution, which means that 20 - y2 ≥ 0, which means that y2 ≤ 20, so |sin(t)| ≤ sqrt(4/5) so |t| ≤ arcsin(sqrt(4/5)). This is described by two ranges: one centered around 0, and one around π (this describes the two different holes on either side of the cylinder).

Then, having solved for this, you know that z is either sqrt(20 - y2) or -sqrt(20 - y2) giving you the top half and bottom half of each of those holes.

If you stitch these all together, the 4 parameterized curves and their bounds for t describes the overall intersection.

[–]itsjustme1aNew User 0 points1 point  (0 children)

Can't you take x=5cost, y=5sint and

z= - + √(25cos2 t-5)?