I was trying to calculate and find out the area of a sector of an ellipse when the angle of the sector is drawn from one of the focii and one arm is taken as the x-axis.
I found the following question asked a decade ago: How to calculate ellipse sector area from a focus
Top answer got 9 upvotes which uses the values of some of the components of ellipse such as the semi-minor axis, semi-major axis, eccentricity, eccentric anomaly, mean anomaly to derive the formula $$\tfrac12ab\left(E-e\sin E\right)$$ i.e. $$\tfrac12abM$$
But I am more interested in the next answer which got 7 upvotes and somehow derived the formula: $$\int_{\theta_1}^{\theta_2}\frac{1}{2}r^2d\theta,$$ where $r=r(\theta)$ is the equation of the ellipse, with polar origin at the focus.
Can somebody please help me and explain how the formula was derived along with suitable example?
Because I am unable to figure out the derivation myself and when I tried to use both the formula to find sector area in same ellipse, I got some discrepancy like very different values. So, I am confused but I am assuming that both formulas are correct as they got almost equal upvotes.
Thanks in advance and edits are always welcome!
See the answer here: https://math.stackexchange.com/a/388155/1379223