I've the following Poisson's equation:
$$\frac{\partial^2u(x, y)}{ \partial x^2} + \frac{\partial^2 u(x, y)}{ \partial y^2} = 6xy - 6xy^2 - 2x^3 = f(x, y) $$
what I'm trying to find are the original $u(x, y)$ function. So, what I'm trying to do right now is integrating the function $f(x, y)$, but I've never integrated a partial derivative.
I've seen here and here that integrating a partial derivative is similar to derivate a "normal function".
If I start integrating this as I know and if I don't do mistakes
$$\int 6xy - 6xy^2 - 2x^3 dx = \int 6xy dx - \int 6xy^2 dx - \int 2x^3 dx $$
Now, I didn't understand if I also need to consider $y$ here as a constant, but if yes, this would proceed as:
$$\int 6xy dx - \int 6xy^2 dx - \int2 x^3 dx$$
$$ 3x^2 y + C_1 - 3x^2 y^2 + C_2 - \frac{x^4}{2} + C_3 $$
I should integrate again, since we had initially a second order partial derivative... Also I integrated only with respect to $x$, so I should do the same for $y$..
Now this is not that useful but I've the following boundary conditions for the Poisson's equation:
$$u(0,y) = u(x,0) = u(x,1) = 0$$
$$u(1,y) = y(1−y)$$
Can I use this somehow to retrieve $u(x, y)$?