How to find the minimum value of the function $f=\sin\theta_1 +$ $\sin\theta_2$, where $\theta_1 + \theta_2 + \phi = π,$ where $\phi$ is a variable such that $0 < \phi < π$
we can easily do the substitution $\theta_1 =π - \theta_2 - \phi$, and take the derivative of the $f$ and find the critical value of $f$, but when we are doing that, we have to also need to know that $\dfrac {\mathrm d \phi}{\mathrm d \theta_1}$, so how can we solve this problem ?
Edit:Basically $\theta_1$, $\theta_2$ and $\phi$ are the inner angle of a triangle which is created by connecting a point on an ellipse to the focus of that ellipse, and $\phi$ is the angle that sees the major axis of the ellipse, and I want to find the minimum value of $sin\theta_1 + sin\theta_2$.
$$ f=\sin(\theta_1) + \sin(\theta_2) $$
Constrained to $\theta_1 + \theta_2 + \phi = \pi$ which also implies that $\theta_2=\pi-\phi-\theta_1$
$$ f(\theta_1)=\sin(\theta_1)+\sin(\pi-\phi-\theta_1)$$
$$ f(\theta_1)=\sin(\theta_1)+\sin(\pi-(\phi+\theta_1))$$
$$ f(\theta_1)=\sin(\theta_1)+\ \sin(\pi)\cos(\phi+\theta_1)-\cos(\pi)\sin(\phi+\theta_1)$$
$$ f(\theta_1)= \sin(\theta_1)+\sin(\phi+\theta_1)$$
$$ \frac{df}{d(\theta_1)} = \cos(\theta_1)+\cos(\phi+\theta_1)$$
For maxima/minima $ \frac{df}{d(\theta_1)}=0$
$$ \cos(\theta_1)+\cos(\phi+\theta_1) =0 $$
$$ 2\cos\left(\frac{2\theta_1+\phi}{2}\right)\cos\left(\frac{\phi}{2} \right)=0$$
Clearly $ 2\cos\left(\frac{\phi}{2}\right)$ is a constant so
$$\cos\left(\frac{2\theta_1+\phi}{2}\right)=0$$
$$\left(\frac{2\theta_1+\phi}{2}\right) = \pm \frac{\pi}{2} + 2\pi k $$
$$ 2\theta_1 +\phi = \pm \pi + 4\pi k $$
$$ \theta_1 = \frac{1}{2}\left(\pm \pi + 4\pi k - \phi \right)$$
Let $k=0$ then $\theta_1= \frac{1}{2}(\pi - \phi)$
Subbing this back into $f$
$$ f(\theta_1) = \sin(\theta_1)+\sin(\phi+\theta_1)$$
$$ f(\theta_1)= \sin\left( \frac{1}{2}(\pi - \phi)\right) + \sin \left( \frac{1}{2}(\pi - \phi)+\phi \right) $$
$$ f(\theta_1)= \sin \left( \frac{\pi}{2} - \frac{\phi}{2}\right) + \sin \left(\frac{\pi}{2}+\frac{\phi}{2} \right) $$
$$ f(\theta_1)= 2\sin\left(\frac{\pi}{2} \right) \cos \left(\frac{-\phi}{2} \right) $$
$$ f(\theta_1)_{\text{max}} = 2\cos\left(\frac{\phi}{2}\right) $$
Note that you do not need to know $\dfrac {\mathrm d \phi}{\mathrm d \theta_1}$ to solve the problem since $\phi$ is a constant and not a function.