Some simple PDE’s can be solved by direct integration, here are few examples.
Example 1
Integrating w.r.t. \(x\)., and remembering that now constant of integration will be function of \(y\), hence
Example 2
Integrating once w.r.t. \(x\) gives
Integrating again gives
Example 3
Integrating once w.r.t. \(y\) gives
Integrating again gives
Example 4
Integrating once w.r.t \(x\) gives
Integrating again w.r.t. \(y\) gives
Example 5
Solve \(u_{t}+u_{x}=0\) with \(u\left ( x,1\right ) =\frac {x}{1+x^{2}}\). Let \(u\equiv u\left ( x\left ( t\right ) ,t\right ) \), therefore
Comparing the above with the given PDE, we see that if \(\frac {dx}{dt}=1\) then \(\frac {du}{dt}=0\) or \(u\left ( x\left ( t\right ) ,t\right ) \) is constant. At \(t=1\) we are given that
To find \(x\left ( 1\right ) \), from \(\frac {dx}{dt}=1\) we obtain that \(x\left ( t\right ) =t+c\). At \(t=1\), \(c=x\left ( 1\right ) -1\). Hence \(x\left ( t\right ) =t+x\left ( 1\right ) -1\) or
Hence solution from (1) becomes
Example 6
Solve \(u_{t}+u_{x}+u^{2}=0\).
Let \(u\equiv u\left ( x\left ( t\right ) ,t\right ) \), therefore
Comparing the above with the given PDE, we see that if \(\frac {dx}{dt}=1\) then \(\frac {du}{dt}=-u^{2}\) or \(\frac {-1}{u}=-t+c.\) Hence
At \(t=0\), \(c=\frac {1}{u\left ( x\left ( 0\right ) ,0\right ) }\). Let \(u\left ( x\left ( 0\right ) ,0\right ) =f\left ( x\left ( 0\right ) \right ) \). Therefore
Now we need to find \(x\left ( 0\right ) \). From \(\frac {dx}{dt}=1\), then \(x=t+c\) or \(c=x\left ( 0\right ) \), hence \(x\left ( 0\right ) =x-t\) and the above becomes