Find the area of a circle part

You have 6 areas

enter image description here

$P_1=\frac{d^2\pi}{4}$

$P_2=\arcsin(\frac{k-a}d)\frac{d^2}{2}$

$P_3=\arcsin(\frac{k-b}d)\frac{d^2}{2}$

$P_4=\cos\arcsin(\frac{k-a}d)\frac{d(k-a)}{2}$

$P_5=\cos\arcsin(\frac{k-b}d)\frac{d(k-b)}{2}$

$P_6=(k-a)(k-b)$


Just a hint, are you sure integrals, for example, get out of hand?

Please look at the sketch below: your area is made up by four regions.

The quarter of a circle of radius $d$ marked with a blue cross, a rectangle (green cross), and two regions (marked by red crosses) under a portion of circular arc, easy and handy to parametrise

enter image description here


Let $p=k-a$ and $q=k-b$ and draw lines from $(a,b)$ to the three corners of the shaded region. Then the region breaks into two triangles and a sector.

The region's upper edge has length $\sqrt{d^2-q^2}+p=r$; the right edge has length $\sqrt{d^2-p^2}+q=s$. The area of the two triangles is then $\frac12(ps+qr)$. The angle subtended at $(a,b)$ by the right and upper edges is $\frac\pi2+\cos^{-1}\frac qd+\cos^{-1}\frac pd$, so the sector's angle is $\frac{3\pi}2-\cos^{-1}\frac qd-\cos^{-1}\frac pd=\theta$.

The sector's area is $\frac{\theta d^2}2=(3\pi/2-\cos^{-1}q/d-\cos^{-1}p/d)d^2/2$. Putting everything together, the total area is $$\frac{p(\sqrt{d^2-p^2}+q)+q(\sqrt{d^2-q^2}+p)+(3\pi/2-\cos^{-1}q/d-\cos^{-1}p/d)d^2}2$$