The area of a sector of a circle is the area of the triangle plus an additional portion which is $\int_{r cos\theta}^r \sqrt{r^2 - x^2} dx$
In order to integrate this, a trig substitution is used, $x =rsin\theta, dx = rcos\theta$. But by making that substitution the integrating limits would change from $\frac{\pi}{4}$ to $\frac{\pi}{2}$ since $r = rsin\theta$ and $sin^{-1}(1) = \frac{\pi}{2}$ and for the lower limit we would have $cos\theta = sin\theta$, which $\theta = \frac{\pi}{4}$
But that doesn't make it any easier to solve for the area formula. What is the proper derivation of the area of a sector using calculus?