Let $A \in S_n^{++}(\mathbf{R})$ and $M \in S_n(\mathbf{R})$. Let the application $f_A$ defined on $\mathbf{R}$ by $$f_A(t) = \operatorname{det}(A + tM).$$ Show that $f_A$ is of class $C^\infty$ on $\mathbf{R}$.
Let $A \in S_n^{++}(\mathbf{R})$ and $M \in S_n(\mathbf{R})$. Let the application $f_A$ defined on $\mathbf{R}$ by
$$f_A(t) = \operatorname{det}(A + tM).$$
Show that $f_A$ is of class $C^\infty$ on $\mathbf{R}$.