Let , Q, R and S be four points on the ellipse . Let PQ and RS be mutually perpendicular and pass through the origin. If , where and are coprime, then is equal to
The ellipse can be written as so that with semi-major axis along the y-axis and semi-minor axis along the x-axis. In this setting, PQ and RS denote two diameters passing through the origin that are perpendicular to each other.
First, one may parametrize the points on the ellipse by considering a line through the origin that makes an angle with the x-axis and has the equation . Substituting this into the ellipse equation leads to .
Then if represents the distance from the origin to the intersection point, one has and , which transforms the preceding relation into .
Next, since PQ and RS are diameters, their lengths are given by and , where and are the corresponding radial distances for the directions and . Therefore, one finds
Moreover, in the direction the relationship holds, while for the perpendicular direction it becomes . By adding these two expressions one obtains
which is independent of . Consequently,
Since this result is of the form with and coprime, their sum is , giving the final answer as \boxed{157}.
Tagged Chords, position of a point and locus on ellipse. Machine-assigned, so read it as a strong shortlist rather than a verdict.