General Method of Characteristics
From biophysics wiki
In the general discussion about PDEs we have seen the second order equation
\begin{align} au_{xx}+2bu_{xy}+cu_{yy}+du_{x}+eu_y+fu=g \label{pde} \end{align}
which can be written in compact form as
\begin{align} \sum_{i,j=1}^n a_{ij} u_{x_ix_j} + \sum_{i=1}^n b_iu_{xi} + cu = d \end{align}
We already introduced the concept of characteristics at the example of the first order transport equation. Now we generalize the concept for second order equation. The idea behind the method is to reduce the complexity of the equation by the right coordinate transformation. \begin{align} A:(x,y) & \rightarrow B:( \xi(x,y), \eta(x,y))\\ u(x,y) & \rightarrow u(\xi, \eta) \end{align}

The result will be, that we get rid of the mixed derivatives and simplify the priciple part of the PDE. The determinant of the Jacobian \begin{align} \Delta L=det \begin{pmatrix} \xi_x & \xi_y \\ \eta_x & \eta_y \end{pmatrix} \not = 0 \end{align} at each point $(x_0,y_0) \in U$. We can use the chain rule, to determine how $u$ changes with $x,y$ in the coordinate system $B$. \begin{align} \frac{\partial u(\xi,\eta)}{\partial x}=\frac{\partial u(\xi,\eta)}{\partial \xi}\frac{\partial \xi}{\partial x}+\frac{\partial u(\xi,\eta)}{\partial \eta}\frac{\partial \eta}{\partial y} \end{align}

In short notation this is \begin{align} u_x=u_{\xi}\xi_x+u_{\eta} \eta_x \end{align} and similarly \begin{align} u_y=u_{\xi}\xi_y+u_{\eta} \eta_y \end{align} Now, derive the following second derivatives on your own, be watchful, this is a good thinking task \begin{align} \frac{\partial^2 u(\xi,\eta)}{\partial x^2}&=\frac{\partial }{\partial x} \left( \frac{\partial u(\xi,\eta)}{\partial \xi}\frac{\partial \xi}{\partial x}+\frac{\partial u(\xi,\eta)}{\partial \eta}\frac{\partial \eta}{\partial x} \right)\\ u_{xx}&=u_{\xi \xi} \xi_{x}^2+u_{\xi \eta} \eta_x \xi_{x}+u_{\xi} \xi_{xx}+u_{\eta \xi} \xi_x \eta_x+u_{\eta \eta} \eta_{x}^2+u_{\eta} \eta_{yy}\\ &=u_{\xi \xi} \xi_{x}^2+ 2 \eta_x \xi_{x} u_{\xi \eta} +u_{\eta \eta} \eta_{x}^2+u_{\xi} \xi_{xx}+u_{\eta} \eta_{yy}\\ u_{yy}&=u_{\xi \xi} \xi_{y}^2+ 2 \eta_y \xi_{y} u_{\xi \eta} +u_{\eta \eta} \eta_{y}^2+u_{\xi} \xi_{xx}+u_{\eta} \eta_{yy}\\ \end{align} \begin{align} \frac{\partial^2 u(\xi,\eta)}{\partial x \partial y}&=\frac{\partial }{\partial y} \left( \frac{\partial u(\xi,\eta)}{\partial \xi}\frac{\partial \xi}{\partial x}+\frac{\partial u(\xi,\eta)}{\partial \eta}\frac{\partial \eta}{\partial x} \right)\\ u_{xy}&=u_{\xi \xi} \xi_x \xi_y + u_{\xi \eta} \eta_y \xi_x + u_{\xi} \xi_{xy} + u_{\eta \eta} \eta_y^2 + u_{\eta \xi} \xi_y \eta_{x} +u_{\eta} \eta_{yy} \end{align} If we plug this results into \ref{pde} we get the equation \begin{align} au_{\xi \xi} \xi_{x}^2+ 2 \eta_x \xi_{x} u_{\xi \eta} +u_{\eta \eta} \eta_{x}^2+u_{\xi} \xi_{xx}+u_{\eta} \eta_{yy}+2bu_{\xi \xi} \xi_x \xi_y + u_{\xi \eta} \eta_y \xi_x + u_{\xi} \xi_{xy} + u_{\eta \eta} \eta_y^2 + u_{\eta \xi} \xi_y \eta_{x} +u_{\eta} \eta_{yy}+cu_{\xi \xi} \xi_{y}^2+ 2 \eta_y \xi_{y} u_{\xi \eta} +u_{\eta \eta} \eta_{y}^2+u_{\xi} \xi_{xx}+u_{\eta} \eta_{yy}+du_{x}+eu_y+fu=g \end{align}