Say we have a function $F(\lambda) = ||f(\lambda)||_{H^{-1}}$ where $\lambda \in \mathbb{R}$ and $H^{-1}(\mathbb{R}^n)$ is the usual dual of the Sobolev space $H^{1}_{0}(\mathbb{R}^n)$. Suppose we are interested in minimizing the function $F$, then is the following justified: $$\partial_{\lambda} F = ||\partial_{\lambda} f||_{H^{-1}}$$ assuming $f$ smoothly depends on the parameter $\lambda?$
Or do we need to use some form of min-max principle since $$\min_{\lambda \in \mathbb{R}}||f(\lambda)||_{H^{-1}} = \min_{\lambda \in \mathbb{R}}\max_{||\nabla g||_{L^2}\leq 1}\int f(\lambda) g = \max_{||\nabla g||_{L^2}\leq 1} \min_{\lambda \in \mathbb{R}}\int f(\lambda) g?$$