<s>[INST] Ellipse and hyperbola have the same foci I am trying to solve the following problem:

An ellipse and a hyperbola have the same foci, $A$ and $B$, and intersect at four points. The ellipse has major axis $50$, and minor axis $40$. The hyperbola has conjugate axis of length $20$. Let $P$ be a point on both the hyperbola and ellipse. What is $PA \times PB$?

So I say the center of the ellipse is at $(0,0)$ and the equation of the ellipse is $$\frac{x^2}{25^2}+\frac{y^2}{20^2}=1$$
I calculate that the foci of the ellipse are located at $(15,0)$ and $(-15,0)$.
The general equation of a hyperbola is: $$\frac{x^2}{a^2}-\frac{y^2}{b^2}=\pm 1 \quad \cdots \cdots (*)$$ since the length of the conjugate axis is $20$, we can say
$$2a = 20 \implies a = 10$$
Since $a$ is $10$  we search for $b$ with the condition that the hyperbola formed from $(*)$ will have foci at $(15,0)$ and $(-15,0)$.
I get $$b = 5 \sqrt{5}$$
Now plugging into $(*)$ the values I have for $a$ and $b$ and get,
$$\frac{y^2}{125}-\frac{x^2}{100}=-1$$
for the equation of the hyperbola. Now we need one intersection point and for that I used Mathematica and get $$P = \left ( \frac{50}{3}, \frac{20 \sqrt{5}}{3} \right )$$
The whole line of reasoning leads to the following diagram:

With $A$ and $B$ the foci and $P$ one of the points of intersection. I used the distance formula to get the length of $PA$ and $PB$ and got $15$ and $35$ as seen in the diagram. $$15 \times 35 = 525$$
Of course, this is not the answer given, which is $500$. Where did I go wrong?
Thanks to all for their nice solutions.
 [/INST] Here's a geometric solution.
For any point $P$ on the ellipse, the sum of distances $PA+PB$ to the foci $A$ and $B$ is constant and equals the length of the major axis. So $PA+PB=50$.
Also, for an ellipse the distance $f$ from the center of the ellipse to one of the foci satisfies the equation $f^2+b^2=a^2$, where $2a$ and $2b$ are the lengths of the major and minor axes respectively. So $f^2=25^2-20^2=225$ and therefore $f=15$.
For a hyperbola the distance $f_H$ from the center to one of the foci satisfies the equation $f_H^2=a^2+b^2$, where now $2a$ and $2b$ stand for the lengths of the transverse and conjugate axes respectively. Since the ellipse and hyperbola share the same foci, we know $f_H=f=15$. But we are given that $2b=20$, so $a^2=15^2-10^2=125$ and therefore $a=5\sqrt 5$.
Finally, for a hyperbola the difference of distances $PA-PB$ is constant and equals the length of the transverse axis, i.e., $PA-PB=10\sqrt 5$.
We now have two equations in two unknowns: $PA+PB=50$, and $PA-PB=10\sqrt 5$. Solve these and obtain $PA\cdot PB=500$.
</s>