Today I wrote an answer to a question in regards to the topic of shortest distance between a point and a curve, more precisely an ellipse, check here. Turns out the answer was incorrect, yet it was a close approximation, so it sparked an interesting discussion in the comments.
TLDR
My logic for finding a shortest distance from a specific point to an ellipse was to find tangent lines from that point to an ellipse and from there to find a line of symmetry of those two lines. That line of symmetry would intersect the ellipse and would be perpendicular to it, meaning that it should have given me the correct distance. Instead I got an estimate that was accurate up to the third decimal (might be because of rounding up because later when I checked with more decimal points it was incorrect at the second decimal).
For some backstory, I'm not sure how I got this idea. I've seen it used a few times with a circle (couldn't give you any examples right now) so I thought, using similar logic, that the same could be applied to an ellipse, but I guess I should of proved it beforehand.
Let's take a look at the logic I used. I will visualize things for easier understanding.
In the following text, I'll bold possibly incorrect statements. As you can see in the drawn out image, from point $O$ there are two tangent lines, let's denote them as $t_1, t_2$, to an ellipse that touch it at points $B$ and $C$, respectively. Then there is a line of symmetry between the lines $t_1$ and $t_2$, we'll call it $s$. Similarly to the circle the, we can say that $\pmb{\overline{OB}=\overline{OC}}$, meaning $\pmb{\triangle{OBC}}$ is isosceles. Now let's draw a line parallel to the one passing through $B$ and $C$ such that it passes through point $A$ and it is tangent of an ellipse (this is the most questionable statement). Now since all the lines of a triangle $\triangle OEF$ and $\triangle OBC$ are parallel it means they are similar, as such $\pmb{\triangle OEF}$ is isosceles. Because $s$ is a line of symmetry between two lines defined by two sides of $\triangle OEF$, it means that $s$ is line of symmetry of $\angle OEF$, from the fact that it is isosceles triangle, we can conclude that $\pmb{\overline{OA}}$ is the height of $\pmb{\triangle OEF}$. As such, we can say that it is perpendicular to the tangent of an ellipse passing through $\pmb A$.
You can see that all of the bolded points were directly related to one of two:
$1.$ $\overline{OB}=\overline{OC}$,
$2.$ Line parallel to the one passing through $B$ and $C$ such that it passes through point $A$ is tangent of an ellipse.
My question is if you could prove or disprove both or any of these two statements (for example prove the correct one and disprove the incorrect one) which most likely led me to a mistake.
Note
I know it is very likely that at least one of those statements is incorrect, so if you were to disprove them could you do like a general case, because I've already seen it on a specific example, I'm of course talking about the one in the original post I've answered to.
Another thing I'd like to ask, in the comments user Ennar raised a good concern, basically asking about the error estimate of doing the calculation of the question the way I did it. Is there any general formula for that estimate that could be found?
Another Note
I know this specific example used an ellipse, but it could of course be applied to any curve with the exception of circle because we know that shortest distance from point to a circle could be found with the mentioned method.
Edit
Based on one of my comments here, user mathlove has given an answer. Essentially finding the angle $\angle AOA_1$, where $O$ and $A$ are like in the picture I've posted and $A_1$ is the point that is the real closest point on the curve (in this case an ellipse) to $O$. My idea was that function of error of my estimation can be represented as a function of that angle $\angle AOA_1$. After we find the angle how to do the rest of the job, how to relate it to the precentage error from the correct answer? After writing the comment about this idea for finding function for error I thought maybe it wasn't the best idea. Especially considering how you would already need to know the correct answer to find the error, but then there is no need in finding one if you already have the correct solution.
That's just me thinking out loud. Any ideas and suggestions will be appreciated.