Can we construct this figure in more elementary steps?

The problem is given in image below. We're given a semicircle whose diameter is $AB$ and center $O$ and we want to construct the rectangle triangle $\triangle PCD$ with $CD \parallel AB$, $C$ and $D$ on the circle.

enter image description here

I've managed to find one solution with the help of some calculation.

Let $$AB := 2R \text{ and } \angle BOD := d $$

then, my (long) calculations led to $$\cos (2d) = \frac{OP^2}{R^2}$$

which allowed me to find the following solution ($PQ \perp OP, PX \perp OQ, OX=OY, YZ \perp OP$ and $DZ=DB$)

enter image description here

I want to know if there is a simpler construction of the triangle and if there is an easy way to see that $\cos (2d) = \frac{OP^2}{R^2}$ without too many calculations


Solution 1:

Here's a simpler construction. On line $PQ$ construct point $H$ such that $PH=\displaystyle{PQ\over\sqrt2}$. Line $CD$ is then the parallel to $AB$ through $H$. This works because: $$ \begin{align} PQ^2&=OQ^2-OP^2\\ &=OC^2-OP^2\\ &=ON^2+CN^2-OP^2\\ &=ON^2+PN^2-OP^2\\ &=2ON^2, \end{align} $$ where $N$ is the midpoint of $CD$.

enter image description here

Solution 2:

enter image description here

We draw $OM \perp CD$ so $OM$ must intersect $CD$ at its midpoint (say point $G$) and if $PQ \parallel OM$ intersects $CD$ at $H$,

$PH^2 = CH \cdot DH = (DG - OP) \cdot (DG + OP) $

$\implies OP^2 = DG^2 - PH^2 = OJ^2 - DJ^2$ $ = R^2 \cos^2 d - R^2 \sin^2 d = R^2 \cos (2d)$.

So, $ \displaystyle \cos (2d) = \frac{OP^2}{R^2}$

Where $\angle BOD = d$. Once we know angle $\angle BOD$, it fixes point $D$ and we draw a line at point $D$ parallel to $AB$ and obtain point $C$.