I have a rectangle $ABCD$ and $P$ is a point inside the rectangle and the distance from the point $P$ to all the vertices of the rectangle is given. Now I have to figure out the maximum possible area of the rectangle.
For example: If $PA=13$ , $PC=47$ , $PD=43$ , $PB = 23$ , then what can be the maximum area of the rectangle?
I know single-variable calculus , but here the main problem is that I cannot get an equation involving only one variable.
Two variables are coming into question.
I have also tried it using pure geometry by dropping perpendiculars from the point P to the other sides, then applying Pythagoras but doesn't help. Also, angle chasing is not the case here I guess.




We have the Diagram like this:
$ABCD$ is the rectangle, with Point $P$ inside.
The unknown Segments are $w,x,y,z$.
Pythagoras Theorem: We have the following Equations:
$w^2+x^2=13^2 \tag{1}$
$x^2+z^2=23^2 \tag{2}$
$y^2+z^2=47^2 \tag{3}$
$y^2+w^2=43^2 \tag{4}$
Solve the Set of Equations to get the values. The rectangle will have sides $z+w$ and $x+y$. The Area is then Obtained.
We get: $x^2 = 169 - w^2, y^2 = 1849 - w^2, z = w^2 + 360$, all in terms of $w$.
$$x = \sqrt{169 - w^2}, y = \sqrt{1849 - w^2}, z = \sqrt{w^2 + 360}$$
The Area is:
$$(z+w)(x+y)=[\sqrt{w^2 + 360}+w][\sqrt{169 - w^2}+\sqrt{1849 - w^2}]$$
We have a function in 1 variable ($w$), hence we can differentiate & set that to $0$ to get the $w$ value for local Maximum. Plug that value to get the other unknowns and then get the Maximum Area.