I am doing the weak formulation of the equation:
$\nabla ( k \nabla u) = f \ \text{in } \Omega$
I want to find the correct space for k in order to have $\nabla ( k \nabla u)$ well defined. At the moment, I am sure that I have to require $u\in H^2(\Omega)$ during the process to be able to use the Green's formula (or even the Stoke's theorem). Also, I think it is needed that $k\nabla u\in H^1(\Omega)$ in order to have the divergence correctly defined. First of all, I impose $k\in L^\infty(\Omega)$ so $k\nabla u\in L^2(\Omega)$. Does this condition also imply that $k\nabla u\in H^1(\Omega)$?
I was thinking on $k\in W^{1,\infty}(\Omega)$ to have this product well defined, but my professor told me that we can assume that the strong formulation allows us to have well defined the divergence of that product.
I am not sure if I need to impose derivatives of $k$ in $L^\infty (\Omega)$ to have everything well defined, or just think this derivative in the way of distributions and impose $k\in L^\infty(\Omega)$.
Thank you for your time.
I believe you would need $k \nabla u \in H^1$ to have these defined directly. Assuming that $k \in L^\infty$ and $\nabla u \in H^1$ in general isn't enough to make the product in $H^1$ (take $k$ to be very not-differentiable, but still bounded, and take $\nabla u$ to be nonzero where $k$ is badly behaved). However, you could assume the weaker condition that $k \nabla u \in L^2$, and then define $\nabla (k \nabla u)$ weakly by the formula $$ \int_\Omega \phi \nabla(k \nabla u)\, dx = -\int_\Omega \nabla \phi \cdot k \nabla u\, dx $$ for all $\phi$ smooth and compactly supported in $\Omega$ (or all $\phi \in H^1_0(\Omega))$. The condition $k\nabla u \in L^2$, for instance, would follow if $u \in H^1$ and $k \in L^\infty$.
When doing weak formulation of PDE, it is usually this second approach that is used. The unknown $u$ is generally required to be $H^1(\Omega)$ (or $H^1_0(\Omega)$ if we have Dirichlet boundary conditions), and the coefficients $k$ may by $L^\infty$ or whatever we suppose for the problem.