Solution:
With reference to the figure on the left, let us denote by θ the measure of the angle ∠BCD.

The solution of the problem can be broken down into the following six steps.
- The points B,O,E,D lie on a common circle if and only if D is the midpoint of the arc AB on which it lies.
Indeed, it suffices to observe that the four points lie on a common circle if and only if ∠DOB=∠DEB. Moreover, ∠DEB=90∘ by construction, so the four points lie on a common circle if and only if ∠DOB=90∘. This last equality holds if and only if the radius OD is perpendicular to the diameter AB, which is true if and only if D is the midpoint of the arc AB.
- The point D is the midpoint of the arc AB on which it lies if and only if θ=45∘.
Indeed, it suffices to observe that the two angles ∠ACD and ∠DCB both have measure θ, since they subtend the arcs AD and DB which have the same length, and the sum of the two angles equals ∠ACB, which is a right angle because AB is a diameter.
- The point E belongs to the semicircle with diameter CB lying on the same side of the line BC as A.
Indeed, it suffices to observe that the point E, by construction, sees the segment CB under an angle of 90∘ (and lies on the same side of the line BC as A).
- Maximizing the product CE⋅ED is equivalent to minimizing the distance from E to O.
Indeed, we claim that the product CE⋅ED equals R2−OE2, where R is the length OA of the radius of the circle circumscribed about the triangle ABC. This can be deduced by applying the intersecting chords theorem to the chord CD and the chord passing through O and E, divided by E into segments of length R+OE and R−OE. In other words, the product CE⋅ED is by definition the power of the point E with respect to the initial circle, and the power of any point E interior to a circle of radius R and centre O equals R2−OE2.
- Let us denote by O′ the midpoint of the segment BC, which as already seen is also the centre of a semicircle on which E lies. The point of this semicircle closest to O is obtained by intersecting the semicircle with the line OO′.
Indeed, with reference to the figure on the right, let us denote by E this intersection, and by E′ any other point of the semicircle. Then from the triangle inequality (in every triangle one side is less than the sum of the other two) we deduce that
O′O+OE=O′E=O′E′<O′O+OE′
from which, simplifying O′O, we conclude that OE<OE′, as required.
- The point E coincides with the point previously defined, and hence maximizes the product CE⋅ED, if and only if θ=45∘.
Indeed, from the previous construction it follows that the triangle EO′C is a right isosceles triangle with the right angle at O′.
Alternative solution
As in the first two points of the previous solution, we obtain that the points B,O,E,D lie on a common circle if and only if θ=45∘.
Now we show in an alternative way that E maximizes the product CE⋅ED if and only if θ=45∘.
First, we observe that in the right triangle BEC the relation CE=CB⋅cosθ holds. Next, we observe that ∠CDB=∠CAB, since they subtend the same chord CB. Consequently, denoting by α the common measure of these angles, in the right triangle BDE the relation ED=BD⋅cosα holds. Finally, from the law of sines we know that DB=2R⋅sinθ, where R is the radius of the initial circle.
Combining these three equalities, and applying the double-angle formula for the sine, we deduce that
CE⋅ED=(CB⋅cosθ)⋅(2R⋅sinθ⋅cosα)=CB⋅R⋅cosα⋅sin(2θ).
Since CB,R and α are fixed, it is clear that the product is maximal when 2θ=90∘, that is, θ=45∘.