Partial Differential Equations III & V, Exercise Sheet 2: Solutions
Lecturer: Alpár R. Mészáros

  1. Burger’s equation as a model of traffic flow. We will rewrite the following PDE in the form of Burger’s equation: \[\rho_t + (\rho v_m (1-\rho/\rho_m))_x = 0.\] By expanding the second term on the left-hand side we obtain \[\rho_t + v_m \rho_x \left( 1-\frac{\rho}{\rho_m} \right) - \frac{v_m}{\rho_m} \rho \rho_x = 0 \quad \Longleftrightarrow \quad \rho_t + \left( v_m - \frac{2 v_m}{\rho_m} \rho \right) \rho_x = 0.\] This suggest that we should define \(u(x,t)=v_m - \frac{2 v_m}{\rho_m} \rho(x,t)\). Then \(\rho =\frac{\rho_m}{2 v_m} (v_m - u)\) and \[\begin{aligned} \rho_t + \left( v_m - \frac{2 v_m}{\rho_m} \rho \right) \rho_x = 0 \quad \Longleftrightarrow \quad - \frac{\rho_m}{2 v_m} u_t - \frac{\rho_m}{2 v_m} u u_x = 0 \quad \Longleftrightarrow \quad u_t + u u_x = 0. \end{aligned}\] Therefore \(u\) satisfies Burger’s equation, as required.

  2. Revision of ODEs. \(\quad\)

  3. The method of characteristics for a linear PDE. Solve the linear first-order PDE \[\begin{aligned} u_x + u_y + u = 1 & \quad \textrm{for } (x,y) \in \mathbb{R}^2, \\ u = x^2 & \quad \textrm{for } (x,y) \in \mathbb{R} \times \{0 \}. \end{aligned}\] The PDE has the form \[a_1(x,y,u(x,y)) u_x(x,y) + a_2(x,y,u(x,y)) u_y(x,y) = b(x,y,u(x,y))\] with \[a_1(x,y,z)=1, \quad a_2(x,y,z)=1, \quad b(x,y,z)=1-z.\] The value of \(u\) is prescribed on the line \(\Gamma = \mathbb{R} \times \{ 0 \}\), which we can parametrise by \(\gamma(s)=(x_0(s),y_0(s))=(s,0)\), \(s \in \mathbb{R}\). Define \[z_0(s)=x_0^2(s) = s^2.\]

    Step 1: We need to solve \[\begin{align} \label{2_1} \tilde{x}_{\tau} & = a_1(\tilde{x},\tilde{y},\tilde{z}) = 1, \\ \label{2_2} \tilde{y}_{\tau} & = a_2(\tilde{x},\tilde{y},\tilde{z}) =1, \\ \label{2_3} \tilde{z}_{\tau} & = b(\tilde{x},\tilde{y},\tilde{z}) =1-\tilde{z}, \end{align}\] subject to the initial conditions \[\begin{align} \label{2_4} \tilde{x}(0,s) & = x_0(s) = s, \\ \label{2_5} \tilde{y}(0,s) & = y_0(s) = 0, \\ \label{2_6} \tilde{z}(0,s) & = z_0(s) = s^2. \end{align}\] Equations \(\eqref{2_1}\), \(\eqref{2_4}\) imply that \[\tilde{x}(\tau,s) = \tau + s.\] Equations \(\eqref{2_2}\), \(\eqref{2_5}\) imply that \[\tilde{y}(\tau,s) = \tau.\] Multiply equation \(\eqref{2_3}\) by the integrating factor \[\exp \left\{ \int 1 \, d \tau \right\} = e^\tau\] to obtain \[e^\tau \tilde{z}_\tau + e^\tau \tilde{z} = e^{\tau} \quad \Longleftrightarrow \quad \frac{\partial}{\partial \tau} (e^\tau \tilde{z}) = e^\tau.\] Integrating from \(0\) to \(\tau\) gives \[e^\tau \tilde{z}(\tau,s) - e^0 \tilde{z}(0,s) = \int_0^\tau e^t \, dt \quad \Longleftrightarrow \quad e^\tau \tilde{z}(\tau,s) - s^2 = e^\tau - 1 \quad \Longleftrightarrow \quad \tilde{z}(\tau,s) = 1 + e^{-\tau}(s^2-1).\]

    Step 2: We need to invert the map \((\tau,s) \mapsto (\tilde{x}(\tau,s),\tilde{y}(\tau,s))=(\tau + s, \tau)\). Setting \((x,y)=(\tau + s, \tau)\) and solving for \(\tau\) and \(s\) in terms of \(x\) and \(y\) gives \(\tau=y\), \(s=x - \tau = x-y\). Therefore \[\tilde{\tau}(x,y) = y, \quad \tilde{s}(x,y) = x-y.\]

    Step 3: Finally, \[u(x,y) = \tilde{z}(\tilde{\tau}(x,y),\tilde{s}(x,y)) = \boxed{1 + e^{-y}((x-y)^2 - 1)}\] It is easy to check that \(u\) satisfies the Cauchy problem.

    Plotting the characteristics: The characteristics are the curves \[\tau \mapsto (\tilde{x}(\tau,s),\tilde{y}(\tau,s))=(\tau+s,\tau)=(s,0)+\tau(1,1),\] which are in fact straight lines. We can write these lines in nonparametric form as \(y=x-s\). Some representative characteristics are plotted below.

  4. The method of characteristics for a linear PDE. We solve the linear first-order PDE \[\begin{aligned} y u_x - x u_y = 0 & \quad \textrm{for } x^2 + y^2 < a^2, \\ u(0,y) = \sqrt{a^2-y^2} & \quad \textrm{for } y \in (-a,a), \end{aligned}\] where \(a >0\) is a constant.

    The PDE has the form \[a_1(x,y,u) u_x + a_2(x,y,u) u_y = b(x,y,u)\] with \[a_1(x,y,z)=y, \quad a_2(x,y,z)=-x, \quad b(x,y,z)=0.\] The value of \(u\) is prescribed on the line \(\Gamma = \{ 0 \} \times (-a,a)\), which we can parametrise by \(\gamma(s)=(x_0(s),y_0(s))=(0,s)\), \(s \in (-a,a)\). Define \[z_0(s)=u(0,y_0(s))=\sqrt{a^2-s^2}.\]

    Step 1: We need to solve \[\begin{align} \label{3_1} \tilde{x}_{\tau} & = \tilde{y}, \\ \label{3_2} \tilde{y}_{\tau} & = -\tilde{x}, \\ \label{3_3} \tilde{z}_{\tau} & = 0, \end{align}\] subject to the initial conditions \[\begin{align} \label{3_4} \tilde{x}(0,s) & = x_0(s) = 0, \\ \label{3_5} \tilde{y}(0,s) & = y_0(s) = s, \\ \label{3_6} \tilde{z}(0,s) & = z_0(s) = \sqrt{a^2 - s^2}. \end{align}\] The system of ODEs for \(\tilde{x}\) and \(\tilde{y}\) decouples from the ODE for \(\tilde{z}\). Let \(\tilde{\boldsymbol{x}}=(\tilde{x},\tilde{y})\). Multiply equation \(\eqref{3_1}\) by \(\tilde{x}\), equation \(\eqref{3_2}\) by \(\tilde{y}\), and add the resulting equations together to get \[\tilde{x} \tilde{x}_\tau + \tilde{y} \tilde{y}_\tau = 0 \quad \Longleftrightarrow \quad \frac{\partial}{\partial \tau} (\tilde{x}^2 + \tilde{y}^2) = 0.\] Therefore \(| \tilde{\boldsymbol{x}} |\) is independent of \(\tau\) and \(| \tilde{\boldsymbol{x}}(\tau,s) | = | \tilde{\boldsymbol{x}}(0,s) | = |(\tilde{x}_0(s),\tilde{y}_0(s))| = s\). Since \(|\tilde{\boldsymbol{x}}| = s\) is constant in \(\tau\), we seek a solution of the form \[\tilde{x}(\tau,s) = s \cos \theta (\tau,s), \quad \tilde{y}(\tau,s) = s \sin \theta(\tau,s),\] where \(\theta(\tau,s)\) is to be determined. Substituting these expressions into equations \(\eqref{3_1}\) and \(\eqref{3_2}\) gives \[\begin{aligned} - s \theta_\tau \sin \theta = s \sin \theta, \\ s \theta_\tau \cos \theta =- s \cos \theta. \end{aligned}\] It follows that \(\theta_\tau = -1\) and \(\theta(\tau,s) = -\tau + \theta_0(s)\). The initial conditions \(\tilde{x}(0,s)=0\), \(\tilde{y}_0(s)=s\) imply that \(\theta_0= \pi /2\). Therefore \[\begin{aligned} \tilde{x}(\tau,s) & = s \cos \left( \frac{\pi}{2} - \tau \right), \\ \tilde{y}(\tau,s) & = s \sin \left( \frac{\pi}{2} - \tau \right). \end{aligned}\] Remark: An alternative way of finding \(\tilde{x}\) and \(\tilde{y}\) is to differentiate equation \(\eqref{3_1}\) with respect to \(\tau\) to get \(\tilde{x}_{\tau \tau} = \tilde{y}_\tau = - \tilde{x}\). Now solve this second-order ODE for \(\tilde{x}\).

    Equations \(\eqref{3_3}\) and \(\eqref{3_6}\) imply that \[\tilde{z}(\tau,s) = \sqrt{a^2 - s^2}.\] Step 2: If \((\tilde{x},\tilde{y}) = ( s \cos( \pi/2 - \tau), s \sin (\pi/2 - \tau))\), then \(\tilde{x}^2 + \tilde{y}^2 = s^2\). It follows that \[\tilde{s}(x,y)^2 = x^2 + y^2.\] Since \(\tilde{z}\) is independent of \(\tau\), we do not need to know \(\tilde{\tau}\) in order to find \(u\).

    Step 3: Define \[u(x,y) = \tilde{z}(\tilde{\tau}(x,y),\tilde{s}(x,y)) = \sqrt{a^2 - \tilde{s}(x,y)^2} = \boxed{\sqrt{a^2 - x^2 - y^2}}\] It is easy to check that \(u\) satisfies the initial value problem.

  5. The method of characteristics for a semilinear PDE. We solve the semilinear first-order PDE \[\begin{aligned} x^2 u_y - u_x = x^2 u^2 \cos y %& \quad \textrm{for } (x,y) \in \mathbb{R}^2, \\ %u(0,y) = y^2 & \quad \textrm{for } y \in \mathbb{R}. \end{aligned}\] subject to the condition \(u(0,y) = y^2\) for all \(y \in \mathbb{R}\). The PDE has the form \[a_1(x,y,u) u_x + a_2(x,y,u) u_y = b(x,y,u)\] with \[a_1(x,y,z)=-1, \quad a_2(x,y,z)=x^2, \quad b(x,y,z)=x^2 z^2 \cos y.\] % The value of \(u\) is prescribed on the line \(\Gamma = \{ 0 \} \times \mathbb{R}\), which we can parametrise by \(\gamma(s)=(x_0(s),y_0(s))=(0,s)\), \(s \in \mathbb{R}\). Define \[z_0(s)=u(x_0(s),y_0(s))=u(0,s)=s^2.\] Now we use the Method of Characteristics:

    Step 1: We need to solve \[\begin{align} \label{4_1} \tilde{x}_{\tau} & = -1, \\ \label{4_2} \tilde{y}_{\tau} & = \tilde{x}^2, \\ \label{4_3} \tilde{z}_{\tau} & = \tilde{x}^2 \tilde{z}^2 \cos \tilde{y}, \end{align}\] subject to the initial conditions \[\begin{align} \label{4_4} \tilde{x}(0,s) & = 0, \\ \label{4_5} \tilde{y}(0,s) & = s, \\ \label{4_6} \tilde{z}(0,s) & = s^2. \end{align}\] Equations \(\eqref{4_1}\), \(\eqref{4_4}\) imply that \[\tilde{x}(\tau,s) = - \tau.\] Substituting this into equation \(\eqref{4_2}\) gives \[\begin{equation} \label{4_7} \tilde{y}_\tau = \tau^2. \end{equation}\] Equations \(\eqref{4_7}\), \(\eqref{4_5}\) imply that \[\tilde{y}(\tau,s) = \tfrac13 \tau^3 + s.\] Substituting this into equation \(\eqref{4_6}\) gives \[\tilde{z}_\tau = \tau^2 \cos \left( \tfrac13 \tau^3 + s \right) \tilde{z}^2.\] We solve this using the method of separation: \[\begin{aligned} \tilde{z}_\tau = \tau^2 \cos \left( \tfrac13 \tau^3 + s \right) \tilde{z}^2 \quad & \Longleftrightarrow \quad \int_0^\tau \frac{1}{\tilde{z}^2(t,s)} \tilde{z}_\tau(t,s) \, dt = \int_0^\tau t^2 \cos \left( \tfrac13 t^3 + s \right) \, dt \\ & \Longleftrightarrow \quad \int_{\tilde{z}(0,s)}^{\tilde{z}(\tau,s)} \frac{1}{Z^2} \, dZ = \left. \phantom{\Big|} \sin \left( \tfrac13 t^3 + s \right) \right|_{0}^{\tau} \\ & \Longleftrightarrow \quad \frac{1}{\tilde{z}(0,s)} - \frac{1}{\tilde{z}(\tau,s)} = \sin \left( \tfrac13 \tau^3 + s \right) - \sin s \\ & \Longleftrightarrow \quad \tilde{z}(\tau,s) = \frac{1}{\frac{1}{s^2} - \sin \left( \tfrac13 \tau^3 + s \right) + \sin s}\\ & \Longleftrightarrow \quad \tilde{z}(\tau,s) = \frac{s^2}{1-{s^2}\left[\sin \left( \tfrac13 \tau^3 + s \right) - \sin s\right]} \end{aligned}\] since \(\tilde{z}(0,s)=s^2\).

    Let us underline that the definition of \(\tilde z\) is meaningful, one for such values of \(\tau,s\) for which \[1-{s^2}\left[\sin \left( \tfrac13 \tau^3 + s \right) - \sin s\right]\neq 0.\]

    Let us discuss for which values of \(\tau, s\) can we have \[\sin(\tau^3/6)\cos(s+\tau^3/6)=\frac{1}{2s^2}.\] Let us set \(\tau:=-(6s)^{\frac13}\), then the previous equality reduces to

    \[\sin(s)=-\frac{1}{2s^2},\] which clearly has infinitely many solutions, since \(-\frac{1}{2s^2}\in[-1/2,0)\) as \(|s|\ge 1\). So for these values of \(\tau,s\) for instance, \(\tilde z\) is not well-defined.

    Step 2: We need to invert the map \((\tau,s) \mapsto (-\tau,\tfrac13 \tau^3 + s)\). Setting \((x,y)=(-\tau,\tfrac13 \tau^3 + s)\) and solving for \(\tau\) and \(s\) in terms of \(x\) and \(y\) gives \(\tau=-x\), \(s = y - \tfrac13 \tau^3 = y + \tfrac13 x^3\). Therefore \[\begin{aligned} \tilde{\tau}(x,y) & =-x, \\ \tilde{s}(x,y) & = y + \tfrac 13 x^3. \end{aligned}\]

    Step 3: Finally, \[u(x,y) = \tilde{z}(\tilde{\tau}(x,y),\tilde{s}(x,y)) = \boxed{\frac{(y + \tfrac 13 x^3)^2}{1 + (y + \tfrac 13 x^3)^2\left[ \sin (y + \tfrac 13 x^3) - \sin y \right]}}\] By the same arguments as at the end of Step 1, this definition of \(u\) is meaningful only for points, where the denominator is nonzero. As we have seen there, there are infinitely many points, where this is not the case.

  6. The method of characteristics for a quasilinear PDE. Solve the quasilinear first-order PDE \[\begin{aligned} (t+u)u_x + tu_t = x-t & \quad \textrm{for } (x,t) \in \mathbb{R} \times (0,\infty), \\ u(x,1) = 1+x & \quad \textrm{for } x \in \mathbb{R}. \end{aligned}\] The PDE has the form \[a_1(x,t,u) u_x + a_2(x,t,u) u_t = b(x,t,u)\] with \[a_1(x,t,z)=t+z, \quad a_2(x,t,z)=t, \quad b(x,t,z)=x-t.\] The value of \(u\) is prescribed on the line \(\Gamma = \mathbb{R} \times \{ 1 \}\), which we can parametrise by \(\gamma(s)=(x_0(s),t_0(s))=(s,1)\), \(s \in \mathbb{R}\). Define \[z_0(s)=u(x_0(s),t_0(s))=1+t_0(s)=1+s.\] Now we use the Method of Characteristics:

    Step 1: We need to solve \[\begin{align} \label{5_1} \tilde{x}_{\tau} & = \tilde{t}+\tilde{z}, \\ \label{5_2} \tilde{t}_{\tau} & = \tilde{t}, \\ \label{5_3} \tilde{z}_{\tau} & = \tilde{x}-\tilde{t}, \end{align}\] subject to the initial conditions \[\begin{align} \label{5_4} \tilde{x}(0,s) & = s, \\ \label{5_5} \tilde{t}(0,s) & = 1, \\ \label{5_6} \tilde{z}(0,s) & = 1+s. \end{align}\] Equations \(\eqref{5_2}\) and \(\eqref{5_5}\) imply that \[\tilde{t}(\tau,s)=e^\tau.\] Differentiating equation \(\eqref{5_1}\) with respect to \(\tau\) gives \[\tilde{x}_{\tau \tau} = \tilde{t}_\tau + \tilde{z}_ \tau = \tilde{t} + \tilde{x} - \tilde{t} = \tilde{x}\] by equations \(\eqref{5_2}\) and \(\eqref{5_3}\). The linear second-order ODE \(\tilde{x}_{\tau \tau} = \tilde{x}\) has solution \[\tilde{x}(\tau,s) = A e^\tau + B e^{-\tau},\] where \(A\) and \(B\) are constants determined by the initial conditions \(\tilde{x}(0,s)=s\) and \[\tilde{x}_\tau(0,s) \stackrel{\eqref{5_1}}{=} \tilde{t}(0,s)+\tilde{z}(0,s)=2+s.\] The initial conditions give \[\begin{aligned} A + B & = s, \\ A - B & = 2 +s. \end{aligned}\] Therefore \(A = 1+s\) and \(B=-1\) and \[\tilde{x}(\tau,s) = (1+s)e^\tau - e^{-\tau}.\] Substituting this into equation \(\eqref{5_3}\) yields \[\tilde{z}_\tau = (1+s)e^\tau - e^{-\tau} - e^\tau = s e^\tau - e^{-\tau}.\]

    By integrating we find that \[\tilde{z}(\tau,s) = \tilde{z}(0,s) + \int_0^\tau \tilde{z}_\tau(t,s) \, dt = \tilde{z}(0,s) + \int_0^\tau (s e^t - e^{-t}) \, dt = 1 + s + s(e^{\tau}-1) +(e^{-\tau}-1) = s e^\tau + e^{-\tau}.\]

    Step 2: We need to invert the map \((\tau,s) \mapsto (\tilde{x}(\tau,s),\tilde{t}(\tau,s))=((1+s)e^\tau - e^{-\tau},e^\tau)\). Setting \((x,t)=((1+s)e^\tau - e^{-\tau},e^\tau)\) and solving for \(\tau\) and \(s\) in terms of \(x\) and \(t\) gives \[\tau = \log t, \qquad s = e^{-\tau}(x+e^{-\tau}) -1 = \frac{1}{t} \left( x + \frac{1}{t}\right) - 1.\] Therefore \[\tilde{\tau}(x,t) = \log t, \qquad \tilde{s}(x,t) = \frac{1}{t} \left( x + \frac{1}{t}\right) - 1.\] Step 3: We have discovered that \[\begin{aligned} u(x,t) & = \tilde{z}(\tilde{\tau}(x,t),\tilde{s}(x,t)) = \tilde{s}(x,t) e^{\tilde{\tau}(x,t)} + e^{-\tilde{\tau}(x,t)} \\ & = \left( \frac{1}{t} \left( x + \frac{1}{t}\right) - 1 \right) t + \frac{1}{t} = \boxed{x + \frac{2}{t} - t} %(1+\hat{s}(x,t))e^{\hat{\tau}(x,t)} - 2 \hat{\tau}(x,t) %\\ %& = %\left( \frac{x+2}{t} -1 \right) t - 2 \log t %= \boxed{ x-t +2(1- \log t)} \end{aligned}\] Let’s verify that \(u\) satisfies the Cauchy problem: \[\begin{gathered} (t+u)u_x + t u_t = \left( x + \frac{2}{t} \right) + t \left( - \frac{2}{t^2} -1 \right) = x-t \quad \checkmark \\ u(x,1) = x+1 \quad \checkmark \end{gathered}\]

  7. The method of characteristics for a quasilinear PDE. Find \(u(x_1,x_2)\) satisfying the quasilinear PDE \[\begin{aligned} u u_{x_1} + u_{x_2} = 1 \end{aligned}\] and the Cauchy condition \(u(x_1,x_1) = \tfrac12 x_1\). The PDE has the form \[a_1(x_1,x_2,u) u_{x_1} + a_2(x_1,x_2,u) u_{x_2} = b(x_1,x_2,u)\] with \[a_1(x_1,x_2,z)=z, \quad a_2(x_1,x_2,z)=1, \quad b(x,t,z)=1.\] The value of \(u\) is prescribed on the line \(\Gamma = \{ (x_1,x_1): x_1 \in \mathbb{R} \}\), which we can parametrise by \(\gamma(s)=({x_1}_0(s),{x_2}_0(s))=(s,s)\), \(s \in \mathbb{R}\). Define \[z_0(s)=u({x_1}_0(s),{x_2}_0(s))=u(s,s)=\frac12 s.\] Now we use the Method of Characteristics:

    Step 1: We need to solve \[\begin{align} \label{6_1} \frac{\partial \tilde{x}_1}{\partial \tau} & = \tilde{z}, \phantom{\Bigg|} \\ \label{6_2} \frac{\partial \tilde{x}_2}{\partial \tau} & = 1, \\ \label{6_3} \frac{\partial \tilde{z}}{\partial \tau} & = 1, \phantom{\Bigg|} \end{align}\] subject to the initial conditions \[\begin{align} \label{6_4} \tilde{x}_1(0,s) & = s, \\ \label{6_5} \tilde{x}_2(0,s) & = s, \\ \label{6_6} \tilde{z}(0,s) & = \frac12 s. \end{align}\] Equations \(\eqref{6_2}\), \(\eqref{6_5}\) imply that \[\tilde{x}_2(\tau,s) = \tau + s,\] and equations \(\eqref{6_3}\), \(\eqref{6_6}\) imply that \[\tilde{z}(\tau,s)= \tau + \frac12 s.\] Substituting this into equation \(\eqref{6_1}\) yields \[\frac{\partial \tilde{x}_1}{\partial \tau} = \tau + \frac12 s.\] Integrating gives \[\tilde{x}_1(\tau,s) = \tilde{x}_1(0,s) + \int_{0}^{\tau} \left( t + \tfrac12 s \right) \, dt = s + \frac{1}{2} \tau^2 + \frac12 s \tau = s + \frac12 \tau(\tau + s).\]

    Step 2: We need to invert the map \((\tau,s) \mapsto (\tilde{x}_1(\tau,s),\tilde{x}_2(\tau,s)) = (s + \frac12 \tau(\tau + s),\tau + s)\). Let us notice that this is not possible in neighborhoods of points \((\tau,s)\) for which \(\tau+s=2\).

    We set \((x_1,x_2) = (s + \frac12 \tau(\tau + s),\tau + s)\) and try to solve for \(\tau\) and \(s\) in terms of \(x_1\) and \(x_2\). We get \(\tau = x_2 -s\) and \[x_1 = s + \frac12 \tau(\tau + s) = s + \frac12 (x_2-s)x_2 \quad \Longleftrightarrow \quad s = \frac{ x_1 - \tfrac12 x_2^2 }{1-\tfrac 12 x_2} = \frac{ 2 x_1 - x_2^2 }{2-x_2}.\] Therefore \[\tau = x_2 - \frac{ 2 x_1 - x_2^2 }{2-x_2} = \frac{2(x_2-x_1)}{2- x_2}\] and \[\tilde{\tau}(x_1,x_2) = \frac{2(x_2-x_1)}{2- x_2} \qquad \tilde{s}(x_1,x_2) = \frac{ 2 x_1 - x_2^2 }{2-x_2}.\] We notice that these terms are not meaningful for \(x_2=2\). This is corresponding exactly to the case where \(\tau+s=2\) (since \(x_2=\tau+s\)).

    Step 3: Finally \[\begin{aligned} u(x_1,x_2) & = \tilde{z}(\tilde{\tau}(x_1,x_2), \tilde{s}(x_1,x_2)) = \tilde{\tau}(x_1,x_2) + \frac12 \tilde{s}(x_1,x_2) \\ & = \frac{2(x_2-x_1)}{2- x_2} + \frac{ 2 x_1 - x_2^2 }{2(2-x_2)} \\ & = \boxed{\frac{4x_2-2x_1-x_2^2}{2(2-x_2)}} \end{aligned}\] This expression is meaningful only when \(x_2\neq 0\). If \((x_1,x_2)=(2,2)\), then the value of the solution is given by the value of the Cauchy data, for any other point \((x_1,2)\) the solution is not defined.

  8. The method of characteristics is independent of the parametrisation of \(\Gamma\). Consider the transport equation \[\begin{aligned} u_t + c u_x = 0 \quad & \textrm{ for } (x,t) \in \mathbb{R} \times (0,\infty), \\ u(x,0) = g(x) \quad & \textrm{ for } x \in \mathbb{R}. \end{aligned}\] This equation has the form \(a_1 u_x + a_2 u_t = b\) with \[a_1(x,t,z) = c, \qquad a_2(x,t,z) = 1, \qquad b(x,t,z) = 0.\] The value of \(u\) is prescribed on the line \(\Gamma = \mathbb{R} \times \{ 0 \}\). We can parametrise \(\Gamma\) by \(\gamma:\mathbb{R} \to \Gamma\), \(\gamma(s)=(x_0(s),y_0(s))=(\lambda s,0)\), \(\lambda > 0\). Define \[z_0(s) = u_0(x_0(s),t_0(s)) = g(x_0(s)) = g(\lambda s).\] Now we use the Method of Characteristics:

    Step 1: We need to solve \[\begin{align} \label{eq:Ex1charODEs1} \tilde{x}_{\tau} & = c, \\ \label{eq:Ex1charODEs2} \tilde{t}_{\tau} & = 1, \\ \label{eq:Ex1charODEs3} \tilde{z}_{\tau} & = 0, \end{align}\] subject to the initial conditions \[\begin{align} \label{eq:Ex1IC1} \tilde{x}(0,s) & = \lambda s, \\ \label{eq:Ex1IC2} \tilde{t}(0,s) & = 0, \\ \label{eq:Ex1IC3} \tilde{z}(0,s) & = g(\lambda s). \end{align}\] Equation \(\eqref{eq:Ex1charODEs1}\) implies that \[\tilde{x}(\tau,s)=c \tau + A(s),\] where \(A\) is to be determined. Equation \(\eqref{eq:Ex1IC1}\) implies that \(A(s)=\lambda s\). Therefore \[\begin{equation} %\label{eq:Ex1x} \tilde{x}(\tau,s) = c \tau + \lambda s. \end{equation}\] Similarly, equations \(\eqref{eq:Ex1charODEs2}\) and \(\eqref{eq:Ex1IC2}\) imply that \[\begin{equation} %\label{eq:Ex1t} \tilde{t}(\tau,s)=\tau, \end{equation}\] and equations \(\eqref{eq:Ex1charODEs3}\) and \(\eqref{eq:Ex1IC3}\) imply that \[\begin{equation} %\label{eq:Ex1z} \tilde{z}(\tau,s)=g(\lambda s). \end{equation}\] Step 2: Now we need to invert the function \((\tilde{x}(\tau,s),\tilde{t}(\tau,s))=(c \tau + \lambda s, \tau)\). Setting \((x,t)=(c \tau + \lambda s, \tau)\) and solving for \(\tau\) and \(s\) in terms of \(x\) and \(t\) gives \(\tau=t\) and \(s = (x-c \tau)/\lambda = (x-ct)/\lambda\). Therefore \[\tilde{\tau}(x,t)=t, \qquad \tilde{s}(x,t)=\frac{x-ct}{\lambda}.\] Step 3: Finally, \[u(x,t):=\tilde{z}(\tilde{\tau}(x,t),\tilde{s}(x,t)) = g(\lambda \tilde{s}(x,t)) = g(x-ct)\] as required.

  9. Nonexistence due to a characteristic point.

  10. Nonuniqueness or nonexistence due to a characteristic Cauchy curve. Consider the PDE \[\label{ExSheet2:Q8} \begin{align} u_x(x,y) + u_y(x,y) = 1 & \quad \textrm{for } (x,y) \in \mathbb{R}^2, \\ u(x,x) = x & \quad \textrm{for } x \in \mathbb{R}. \end{align}\]

  11. Obstacles to global existence.

  12. Geometric interpretation of the method of characteristics. Let \(\boldsymbol{n}=\nabla F\). Then \(\boldsymbol{n}\) is normal to the solution surface and \[\begin{aligned} \boldsymbol{n}\cdot \boldsymbol{f}& = \nabla F \cdot (a_1,a_2,b) \\ & = (u_x,u_y,-1) \cdot (a_1,a_2,b) \\ & = a_1 u_x + a_2 u_y - b \\ & = 0. \end{aligned}\] Therefore \(\boldsymbol{f}\) is orthogonal to \(\boldsymbol{n}\) at every point of the solution surface. Hence \(\boldsymbol{f}\) is tangent to the solution surface, as required.

  13. The method of characteristics for PDEs in \(n\) independent variables. The transport equation in \(n\) spatial variables is \[\begin{aligned} u_t + \boldsymbol{c}\cdot \nabla u = 0 \quad & \textrm{for } (\boldsymbol{x},t) \in \mathbb{R}^n \times (0,\infty), \\ u(\boldsymbol{x},0) = g(\boldsymbol{x}) \quad & \textrm{for } x \in \mathbb{R}, \end{aligned}\] where \(\boldsymbol{c}\in \mathbb{R}^n\) is a constant vector and \(u:\mathbb{R}^n \times [0,\infty) \to \mathbb{R}\). The PDE has the form \[\boldsymbol{a}(x,t,u(\boldsymbol{x},t)) \cdot \nabla_{(\boldsymbol{x},t)} u(\boldsymbol{x},t) = b(\boldsymbol{x},t,u(\boldsymbol{x},t)),\] where \(\nabla_{(\boldsymbol{x},t)}\) is the gradient with respect to \((\boldsymbol{x},t)\), i.e., \(\nabla_{(\boldsymbol{x},t)} = (\nabla,\partial_t)\), and \[\boldsymbol{a}(\boldsymbol{x},t,z) = \begin{bmatrix} \boldsymbol{c}\\ 1 \end{bmatrix}, \quad b(\boldsymbol{x},t,z)=0.\] The value of \(u\) is prescribed on the \(n\)–dimensional hypersurface \(\Gamma = \mathbb{R}^n \times \{0\}\), which we can parametrise by \(\gamma(\boldsymbol{s}) = (\boldsymbol{x}_0(\boldsymbol{s}),t_0(\boldsymbol{s}))=(\boldsymbol{s},0)\), \(\boldsymbol{s}\in \mathbb{R}^n\). Define \[z_0(\boldsymbol{s}) = u(\gamma(\boldsymbol{s})) = u(\boldsymbol{s},0) = g(\boldsymbol{s}).\] Now we apply the Method of Characteristics:

    Step 1. We need to solve \[\begin{aligned} \tilde{\boldsymbol{x}}_\tau & = \boldsymbol{c}, \\ \tilde{t}_\tau & = 1, \\ \tilde{z}_\tau & = 0, \end{aligned}\] subject to the initial conditions \[\begin{aligned} \tilde{\boldsymbol{x}}(0,\boldsymbol{s}) & = \boldsymbol{s}, \\ \tilde{t}(0,\boldsymbol{s}) & = 0, \\ \tilde{z}(0,\boldsymbol{s}) & = g(\boldsymbol{s}). \end{aligned}\] The solution is \[\begin{aligned} \tilde{\boldsymbol{x}}(\tau,\boldsymbol{s}) & = \boldsymbol{c}\tau + \boldsymbol{s}, \\ \tilde{t}(\tau,\boldsymbol{s}) & = \tau, \\ \tilde{z}(\tau,\boldsymbol{s}) & = g(\boldsymbol{s}). \end{aligned}\]

    Step 2. We need to invert the map \((\tau,\boldsymbol{s}) \mapsto (\tilde{\boldsymbol{x}}(\tau,\boldsymbol{s}),\tilde{t}(\tau,\boldsymbol{s}))=(\boldsymbol{c}\tau + \boldsymbol{s},\tau)\). Setting \((\boldsymbol{x},t) = (\boldsymbol{c}\tau + \boldsymbol{s},\tau)\) and solving for \(\tau\) and \(\boldsymbol{s}\) in terms of \(\boldsymbol{x}\) and \(t\) gives \(\tau=t\), \(\boldsymbol{s}= \boldsymbol{x}- \boldsymbol{c}\tau = \boldsymbol{x}- \boldsymbol{c}t\). Therefore \[\begin{aligned} \tilde{\tau}(\boldsymbol{x},t) & =t, \\ \tilde{\boldsymbol{s}}(\boldsymbol{x},t) & = \boldsymbol{x}- \boldsymbol{c}t. \end{aligned}\]

    Step 3. Finally, \[u(\boldsymbol{x},t) := \tilde{z}(\tilde{\tau}(\boldsymbol{x},t),\tilde{\boldsymbol{s}}(\boldsymbol{x},t)) = g(\boldsymbol{x}- \boldsymbol{c}t),\] as required.

  14. Uniqueness theorem for ODEs.

  15. Nonuniqueness for ODEs. Consider the separable ODE \[\begin{aligned} \dot{x}(\tau) & = |x(\tau)|^{1/2}, \\ x(0) & =-1. \end{aligned}\] Exactly the same method we used in Example 2.3 leads to the solution \(x:(-\infty,2) \to \mathbb{R}\), \[x(\tau) = - \frac14 (2 - \tau)^2.\] At \(\tau=2\), \(x=0\), where \(f(x)=|x|^{1/2}\) is not continuously differentiable. Let \(T>2\). For any \(c \in (0,T-2)\), \(x_c:(-\infty,T) \to \mathbb{R}\) is a solution, where \[x_c(\tau) = \left\{ \begin{array}{cl} - \frac14 (2 - \tau)^2 & \textrm{if } \tau \in (-\infty,2], \\ 0 & \textrm{if } \tau \in [2,2+c], \\ \frac{1}{4} (\tau-2-c)^2 & \textrm{if } \tau \in [2+c,T). \end{array} \right.\]

  16. The Eikonal equation.