online advertising
Loading [MathJax]/jax/output/HTML-CSS/jax.js

Sunday, April 19, 2015

Differential Geometry - rational parameterization of the Cissoid of Diocles (1)

Question:

Find a rational parameterization of the Cissoid of Diocles.

The curve is defined as follow.

Draw a circle of radius 0.5 centered at (0, 0.5).
Draw a line y = 1
Shoot a ray from the origin, measure the distance between the intersection point with the circle and the intersection point with the line.
Compute the point with that length from the origin lying of the same ray.
The locus is the Cissoid of Diocles.

Solution:

We know a rational parameterization of the circle through the t-substitution.

tan2θ=sin2θcos2θ1+tan2θ=1+sin2θcos2θ=cos2θcos2θ+sin2θcos2θ=1cos2θcos2θ=11+tan2θ2cos2θ1=211+tan2θ1cos2θ=211+tan2θ1+tan2θ1+tan2θ=1tan2θ1+tan2θ1cos22θ=1(1tan2θ1+tan2θ)2sin2θ=(1+tan2θ1+tan2θ)2(1tan2θ1+tan2θ)2=(2tanθ1+tan2θ)2=2tanθ1+tan2θ

The key above is that we have a square root of a perfect square above, so we can get to the rational parameterization of the circle. With careful scaling and shifting, we have cx and cy in the below code represents the circle. To compute the intersection of the ray with the line, we compute the slope m of the ray, and then since the line has y coordinate 1, it must have x coordinate lx=1m. Finally we construct dx=lxcx, that will create the x coordinate of the point on the Cissoid of Diocles, dy is simply mdx.

Last but not least, the key is to simplify it not manually, but automatically using MATLAB, here is the code for the purpose.

syms t;
cx = 0.5*(1 - t*t)/(1 + t*t);
cy = t/(1 + t*t) + 0.5;
m  = cy/cx;
lx = 1/m;
dx = lx - cx;
dy = m * dx;

Now it gives our answer: x=(1t)32(1+t2)(1+t) and y=(1t)22(1+t2)

No comments:

Post a Comment