Let's consider a domain $E \in \mathbb{R}^d$ and a function $f(x,y): E \times E \to \mathbb{R}$. Suppose $f \in C^2(E \times E)$. If we define a function $g$ on $E$ by $g(x):=f(x,x)$, is it true that $g \in C^2(E)$?
Thank you very much!
Let's consider a domain $E \in \mathbb{R}^d$ and a function $f(x,y): E \times E \to \mathbb{R}$. Suppose $f \in C^2(E \times E)$. If we define a function $g$ on $E$ by $g(x):=f(x,x)$, is it true that $g \in C^2(E)$?
Thank you very much!
Yes, it's true. The derivatives of $g$ can be computed by the chain rule.