Here is the graph of $\dfrac{\sin x}{\sin y}=\dfrac{\sin x+\sin y}{\sin(x+y)}$.
Find the area of the region enclosed by the curve and the $x$-axis, from $x=0$ to $x=\pi$.
Where the question came from, and why I think the answer is $\dfrac{\pi^2}{8}$
This question arose when I asked myself: "A triangle's vertices are three uniformly random points on a circle. The side lengths are, in random order, $a,b,c$. The triangle inequality tells us that $P(a+b<c)=0$. But what is $P\left(a+b<\left(\frac{a}{b}\right)c\right)$, given that $\frac{a}{b}>1$ ?"
(These kinds of questions often have rational probabilities, for example $P(ab<c^2)=\frac35$ as shown here; $P(\frac1a+\frac1b<\frac1c)=\frac15$ as shown here; for a unit circle $P(ab<c)=\frac12$ as shown here.)
I assumed that the circle is centred at the origin, and the vertices of the triangle are:
$A\space(\cos(-2y),\sin(-2y))$ where $0\le y<\pi$
$B\space(\cos(2x),\sin(2x))$ where $0\le x<\pi$
$C\space(1,0)$
I let:
$a=BC=2\sin x$
$b=AC=2\sin y$
$c=AB=|2\sin(x+y)|$
By symmetry, we only need to consider the region where $x+y<\pi$, so we can drop the modulus signs.
$P\left(a+b<\left(\frac{a}{b}\right)c\right)=P\left(\color{red}{\dfrac{\sin x}{\sin y}>\dfrac{\sin x+\sin y}{\sin(x+y)}}\right)$
Then I tried to express $y$ in terms of $x$, or $x$ in terms of $y$ (so that I could get an integral), but I failed. Wolfram is not helpful. I rotated the graph $45^\circ$ by letting $x\to x-y$ and $y\to x+y$, which gives $\frac{\tan x}{\tan y}=\frac{\cos x+\cos y}{\cos x-\cos y}$, but I still couldn't isolate $x$ or $y$. Wolfram is still not helpful.
A simulation of $10^7$ random triangles yielded a proportion of $0.49998$ satisfying $a+b<\frac{ac}{b}$ given that $\frac{a}{b}>1$, suggesting that the probability is $\frac12$. If so, then the area of the shaded region should be $\frac12\times\frac{\pi^2}{4}=\color{red}{\frac{\pi^2}{8}}\approx1.2337$.
(Now I am more interested in this area question, than the probability question.)
Update 1
Using the Wolfram link in @Masd's answer, I made a desmos graph of $y$ as a function of $x$. It looks just like the original curve, except it has gaps that I have been unable to bridge.
Here is the link to my desmos graph. If someone can bridge the gaps, then we can use desmos to integrate from $x=0$ to $x=\pi$, and see if the area could be $\frac{\pi^2}{8}$.
Update 2
@Masd's answer now reports a numerical integral of $1.23370055014$, which matches $\frac{\pi^2}{8}$ to $11$ decimal places. Is there a proof that the area is exactly $\frac{\pi^2}{8}$?






