I have been solving a thermodynamics problem where I have two representations:
$(\dfrac{∂v}{∂p})_{θ}$ = $vg(p)e^{-θ}$; $(\dfrac{∂v}{∂θ})_{p}$ = $vp^{2}e^{-θ}$
I want to find $v(p,θ)$, so I am using the fact that $dv$ is an exact differential:
$dv = (\dfrac{∂v}{∂p})_{θ} dp + (\dfrac{∂v}{∂θ})_{p} dθ$;
So $(\dfrac{∂M}{∂θ})_{p} = (\dfrac{∂N}{∂p})_{θ}$, where $M = (\dfrac{∂v}{∂p})_{θ}$ and $N = (\dfrac{∂v}{∂θ})_{p}$
$-vg(p)e^{-θ} = 2vpe^{-θ}$
So for this equality I found $g(p) = -2p$
Substituting I get this expression
$dv(p,θ) = -2vpe^{-θ}dp + vp^{2}e^{-θ}dθ$
But now I'm stuck on this part, cause I dont know how to solve an exact differential equation with two independent variables.