10.1 First-Order Equations and the Method of Characteristics
Linear, semilinear and quasilinear first-order equations $Pp+Qq=R$; characteristic curves, Lagrange's auxiliary equations and the general integral $\varphi(u,v)=0$; the Cauchy problem, the transversality condition, and how characteristics of Burgers' equation cross and break a smooth solution.
A first-order partial differential equation links an unknown function $z(x,y)$ of two variables to its two slopes $p=z_x$ and $q=z_y$. Such equations describe anything that is carried: a pollutant drifting down a river, a density of cars moving along a road, a wavefront advancing through a medium, the level sets of a quantity being rotated by a flow. The single idea that solves them is the method of characteristics. Along certain curves in the plane — the characteristics — the PDE collapses to an ordinary differential equation, so the solution can be computed by solving ODEs and then gluing the answers together. For a linear equation the characteristics are fixed in advance by the coefficients; for a quasilinear equation they depend on the solution itself, and they may cross, which is how a perfectly smooth initial profile can steepen into a shock in finite time.
GATE MA asks about this material in all three formats. MCQs and NATs ask for the solution of a linear equation through given data, its value at a point, the general solution of $a\,z_x+b\,z_y=c\,z$, the characteristics of an equation, or the time at which a solution of Burgers' equation breaks. MSQs ask which data curves give a unique solution (the transversality condition), which functions are solutions, and which statements about general integrals and characteristic curves are true. This section develops all of it with proofs of the key results; the long proofs and the nonlinear theory (Charpit's method) are in the CSIR course linked in the 📚 Go deeper box.
First-Order Equations and Their Solutions
Let $D\subseteq\mathbb{R}^2$ be open. A first-order partial differential equation in two independent variables is a relation
$$F(x,y,z,p,q)=0,\qquad p=\frac{\partial z}{\partial x},\quad q=\frac{\partial z}{\partial y},$$where $F$ genuinely depends on $(p,q)$. A solution on $D$ is a function $z\in C^1(D)$ with $F\big(x,y,z(x,y),z_x(x,y),z_y(x,y)\big)=0$ for every $(x,y)\in D$. Its graph $\{(x,y,z(x,y))\}$ is called an integral surface.
The equation is
- linear if it has the form $a(x,y)\,p+b(x,y)\,q=c(x,y)\,z+d(x,y)$;
- semilinear if it has the form $a(x,y)\,p+b(x,y)\,q=c(x,y,z)$: the coefficients of $p,q$ depend on $(x,y)$ only;
- quasilinear if it has the form $P(x,y,z)\,p+Q(x,y,z)\,q=R(x,y,z)$: it is linear in $p$ and $q$, but the coefficients may depend on $z$;
- nonlinear (fully nonlinear) otherwise, e.g. $p^2+q^2=1$ or $pq=z$.
Every linear equation is semilinear and every semilinear equation is quasilinear. Throughout this section the coefficients are $C^1$ on an open set, and $(a,b)\ne(0,0)$, respectively $(P,Q)\ne(0,0)$, wherever we use them.
The quasilinear equation has a geometric meaning that drives everything below. Since $(p,q,-1)$ is a normal vector to the surface $z=z(x,y)$, the equation $Pp+Qq=R$ says
$$(P,Q,R)\cdot(p,q,-1)=0 ,$$that is: at each point of an integral surface the vector $V=(P,Q,R)$ is tangent to the surface. A surface to which a given vector field is everywhere tangent should be made of curves that follow the field. Those curves are the characteristics, introduced in the next two subsections. First, a converse view: equations of this type arise when an arbitrary function is eliminated.
Let $u(x,y,z)$ and $v(x,y,z)$ be $C^1$, let $\varphi$ be a $C^1$ function of two variables with $(\varphi_u,\varphi_v)\ne(0,0)$, and let $z\in C^1(D)$ satisfy $\varphi\big(u(x,y,z),v(x,y,z)\big)=0$ identically on $D$. Then $z$ is a solution of $Pp+Qq=R$ with
$$P=\frac{\partial(u,v)}{\partial(y,z)},\qquad Q=\frac{\partial(u,v)}{\partial(z,x)},\qquad R=\frac{\partial(u,v)}{\partial(x,y)},$$where $\dfrac{\partial(u,v)}{\partial(y,z)}=u_yv_z-u_zv_y$, and so on. Equivalently $(P,Q,R)=\nabla u\times\nabla v$.
Proof. Differentiate $\varphi(u,v)=0$ with respect to $x$ and to $y$, remembering that $z$ depends on $(x,y)$:
$$\varphi_u\,(u_x+u_zp)+\varphi_v\,(v_x+v_zp)=0,$$ $$\varphi_u\,(u_y+u_zq)+\varphi_v\,(v_y+v_zq)=0 .$$This is a homogeneous linear system for the nonzero vector $(\varphi_u,\varphi_v)$, so its determinant vanishes:
$$(u_x+u_zp)(v_y+v_zq)-(u_y+u_zq)(v_x+v_zp)=0 .$$On expanding, the terms in $pq$ cancel and what remains is
$$-p\,(u_yv_z-u_zv_y)-q\,(u_zv_x-u_xv_z)$$ $$+\,(u_xv_y-u_yv_x)=0,$$which is $Pp+Qq=R$. ∎
By contrast, eliminating two arbitrary constants generally produces a nonlinear equation: the spheres $z^2=1-(x-a)^2-(y-b)^2$ give $z^2(p^2+q^2+1)=1$. GATE's syllabus concentrates on the linear and quasilinear cases; nonlinear equations need Charpit's method (see Go deeper).
Linear Equations: Characteristics Turn the PDE into ODEs
Consider the linear equation
$$a(x,y)\,z_x+b(x,y)\,z_y=c(x,y)\,z+d(x,y)\qquad\text{on an open set }D .$$The left side is the derivative of $z$ in the direction of the vector field $(a,b)$, multiplied by its length. So along a curve whose velocity is $(a,b)$ the left side is just $\frac{d}{dt}z$ — an ordinary derivative.
Because $a,b\in C^1$, the Picard–Lindelöf theorem (§6.1, in its form for systems) gives exactly one characteristic through each point of $D$; in particular two characteristics of a linear equation never cross.
Let $z\in C^1(D)$ solve the linear equation and let $(x(t),y(t))$ be a characteristic in $D$. Then $Z(t)=z\big(x(t),y(t)\big)$ satisfies the linear ODE
$$\frac{dZ}{dt}=c\big(x(t),y(t)\big)\,Z+d\big(x(t),y(t)\big).$$In particular, solutions of the homogeneous equation $a\,z_x+b\,z_y=0$ are constant along characteristics, and if $\xi$ is a first integral then $z=f(\xi(x,y))$ is a solution for every $C^1$ function $f$.
Proof. By the chain rule, $Z'(t)=z_x\,x'(t)+z_y\,y'(t)$, which is $a\,z_x+b\,z_y=cZ+d$, all evaluated at $(x(t),y(t))$. For $z=f(\xi)$: $a\,z_x+b\,z_y=f'(\xi)\,(a\,\xi_x+b\,\xi_y)=0$. ∎
The cleanest way to use this is to take the characteristics as one family of coordinate lines.
(1) Suppose $a\ne0$ on $D$ and $\xi(x,y)$ is a first integral with $\xi_y\ne0$ on $D$. In the coordinates $\xi=\xi(x,y)$, $\eta=x$ the linear equation becomes, for $z(x,y)=w(\xi,\eta)$,
$$a\,w_\eta=c\,w+d\qquad(\text{coefficients expressed in }\xi,\eta),$$a linear first-order ODE in $\eta$ in which $\xi$ is only a parameter. Its general solution contains an arbitrary function of $\xi$.
(2) For constants $a\ne0$, $b$, $c$, the general solution of $a\,z_x+b\,z_y=c\,z$ is $$z=e^{cx/a}\,f(bx-ay),\qquad f\in C^1\text{ arbitrary.}$$ In particular $a\,z_x+b\,z_y=0$ has general solution $f(bx-ay)$, and the transport equation $z_t+c\,z_x=0$ has general solution $z=f(x-ct)$: the initial profile moves to the right with speed $c$ without changing shape.
Proof. (1) The Jacobian of $(x,y)\mapsto(\xi,\eta)$ is $\xi_x\cdot0-\xi_y\cdot1=-\xi_y\ne0$, so this is a local change of variables (inverse function theorem, §1.1). By the chain rule $z_x=w_\xi\,\xi_x+w_\eta$ and $z_y=w_\xi\,\xi_y$, hence
$$a\,z_x+b\,z_y=w_\xi\,(a\,\xi_x+b\,\xi_y)+a\,w_\eta=a\,w_\eta ,$$because $\xi$ is a first integral. (2) Here $dy/dx=b/a$ and $\xi=bx-ay$ is a first integral with $\xi_y=-a\ne0$. The equation becomes $a\,w_\eta=c\,w$, whose solutions are $w=e^{c\eta/a}f(\xi)$ with $f$ depending on $\xi$ only (the "constant" of integration may depend on the parameter $\xi$). Returning to $x,y$ gives the formula. Conversely, every function of this form is a solution, by direct substitution. ∎
Quasilinear Equations: Lagrange's Method
For $Pp+Qq=R$ with coefficients depending on $z$ we cannot draw the characteristics in the plane before knowing $z$. Instead we draw them in $(x,y,z)$-space, where the vector field $V=(P,Q,R)$ is known.
Let $P,Q,R$ be $C^1$ on an open set $\Omega\subseteq\mathbb{R}^3$, not all zero. The characteristic curves of $Pp+Qq=R$ are the solutions of
$$\frac{dx}{dt}=P(x,y,z),\qquad\frac{dy}{dt}=Q(x,y,z),\qquad\frac{dz}{dt}=R(x,y,z),$$written without the parameter as Lagrange's auxiliary (subsidiary) equations
$$\frac{dx}{P}=\frac{dy}{Q}=\frac{dz}{R}.$$Their projections onto the $xy$-plane are the base (projected) characteristics. A $C^1$ function $u(x,y,z)$ with $\nabla u\ne0$ that is constant along every characteristic is a first integral; equivalently $Pu_x+Qu_y+Ru_z=0$ on $\Omega$. Two first integrals $u,v$ are independent if $\nabla u\times\nabla v\ne0$.
- If $z$ solves $Pp+Qq=R$, then the characteristic through any point of $S$ stays in $S$ (for as long as its projection stays in $D$).
- Conversely, if through every point of $S$ there passes a characteristic lying in $S$, then $z$ solves $Pp+Qq=R$.
Proof. (1) Let $(x_0,y_0,z_0)\in S$. The functions $\tilde P(x,y)=P(x,y,z(x,y))$ and $\tilde Q(x,y)=Q(x,y,z(x,y))$ are continuous (and $C^1$ if $z$ is $C^2$). Solve $x'=\tilde P$, $y'=\tilde Q$ with $(x(0),y(0))=(x_0,y_0)$ — a solution exists by Peano's theorem (§6.1), and by Picard–Lindelöf if $z\in C^2$ — and put $Z(t)=z(x(t),y(t))$. Then
$$Z'=z_x\,x'+z_y\,y'=pP+qQ=R\big(x(t),y(t),Z(t)\big),$$so $(x(t),y(t),Z(t))$ solves the characteristic system with the initial point $(x_0,y_0,z_0)$. Since $P,Q,R\in C^1$ that system has only one such solution (Picard–Lindelöf), so this curve is the characteristic, and it lies on $S$ by construction. (2) If the characteristic $\gamma$ through a point lies in $S$, its velocity $(P,Q,R)$ is tangent to $S$, hence orthogonal to the normal $(p,q,-1)$: $Pp+Qq-R=0$ at that point. ∎
Let $u=c_1$ and $v=c_2$ be two independent first integrals of $\dfrac{dx}{P}=\dfrac{dy}{Q}=\dfrac{dz}{R}$ on $\Omega$. If $\varphi$ is $C^1$ with $(\varphi_u,\varphi_v)\ne(0,0)$ and $z\in C^1(D)$ satisfies $\varphi\big(u,v\big)=0$ (with $u,v$ evaluated at $(x,y,z(x,y))$), then $z$ solves $Pp+Qq=R$.
Conversely, near each point of an open dense subset of its domain, every $C^1$ solution satisfies such a relation (in fact $v=g(u)$ or $u=g(v)$). The relation $\varphi(u,v)=0$ with $\varphi$ arbitrary is the general integral (general solution).
Proof of the first part. Since $u$ and $v$ are first integrals, the vector $(P,Q,R)$ is orthogonal to both $\nabla u$ and $\nabla v$. These two gradients are independent, so the vectors orthogonal to both form the line spanned by $\nabla u\times\nabla v\ne0$; hence $(P,Q,R)=\mu\,\nabla u\times\nabla v$ for some function $\mu\ne0$. By Theorem 10.1, $z$ satisfies $(\nabla u\times\nabla v)\cdot(p,q,-1)=0$; multiplying by $\mu$ gives $Pp+Qq-R=0$. Converse (idea). Along a solution, $U(x,y)=u(x,y,z(x,y))$ and $W(x,y)=v(x,y,z(x,y))$ satisfy $\frac{\partial(U,W)}{\partial(x,y)}=-\mu^{-1}(Pp+Qq-R)=0$ by the same computation; two functions with vanishing Jacobian are locally functionally dependent where one of them has a nonzero gradient. ∎
- Separate a pair. If one of the three ratios, say $\frac{dx}{P}=\frac{dy}{Q}$, involves only two variables after cancelling, integrate it as an ODE.
- Use the first integral to eliminate. Substitute $u=c_1$ into another pair to reduce it to an ODE in two variables; integrate; then put $c_1=u$ back.
- Multipliers. For functions $l,m,n$, every ratio equals $\dfrac{l\,dx+m\,dy+n\,dz}{lP+mQ+nR}$. If $lP+mQ+nR=0$, then $l\,dx+m\,dy+n\,dz=0$ along characteristics; when this is an exact differential $du$, $u$ is a first integral. Try $(1,1,1)$, $(x,y,z)$, $\left(\frac1x,\frac1y,\frac1z\right)$ and combinations suggested by the coefficients.
- Write $\varphi(u,v)=0$, or $v=g(u)$, and check that $u$ and $v$ are independent.
The Cauchy Problem and Transversality
The general integral contains an arbitrary function; a single solution is picked out by prescribing $z$ along a curve. Which curves are allowed?
Let $\Gamma:\ s\mapsto\big(x_0(s),y_0(s),z_0(s)\big)$, $s\in I$, be a $C^1$ curve whose projection $\Gamma_0:\ s\mapsto(x_0(s),y_0(s))$ has $(x_0',y_0')\ne(0,0)$. The Cauchy problem for $Pp+Qq=R$ asks for a solution $z(x,y)$ near $\Gamma_0$ with
$$z\big(x_0(s),y_0(s)\big)=z_0(s)\qquad(s\in I).$$The transversality condition at $s$ is
$$J(s)=x_0'(s)\,Q\big(\Gamma(s)\big)-y_0'(s)\,P\big(\Gamma(s)\big)\ne0 ,$$i.e. the data curve $\Gamma_0$ is not tangent to the base characteristic direction $(P,Q)$ at that point. If $J\ne0$ on $I$, $\Gamma$ is non-characteristic.
Proof. Step 1 — emit characteristics from the data. For each $s$ let $t\mapsto\big(x(s,t),y(s,t),z(s,t)\big)$ solve $x_t=P$, $y_t=Q$, $z_t=R$ with value $\Gamma(s)$ at $t=0$. By the existence–uniqueness theorem and the differentiable dependence of solutions on initial values, these functions are $C^1$ near $(s^*,0)$.
Step 2 — invert. At $t=0$ we have $x_s=x_0'$, $y_s=y_0'$, $x_t=P$, $y_t=Q$, so
$$\frac{\partial(x,y)}{\partial(s,t)}\Big|_{(s^*,0)}=x_0'Q-y_0'P=J(s^*)\ne0 .$$By the inverse function theorem (§1.1) the map $(s,t)\mapsto(x,y)$ is a $C^1$ diffeomorphism from a neighbourhood $U$ of $(s^*,0)$ onto a neighbourhood $N$; call its inverse $(S(x,y),T(x,y))$ and set $Z(x,y)=z\big(S(x,y),T(x,y)\big)$.
Step 3 — it is a solution. On $U$, $z(s,t)=Z(x(s,t),y(s,t))$. Differentiating in $t$ gives $R=z_t=Z_x\,P+Z_y\,Q$ at every point of the graph, and at $t=0$ the data are reproduced.
Step 4 — uniqueness. Another solution $\tilde Z$ with the same data contains, by Theorem 10.4(1), the characteristic through each data point $\Gamma(s)$ for small $|t|$. These are exactly the curves that make up the graph of $Z$, and their projections fill $N$; so $\tilde Z=Z$ near the point. ∎
- If the Cauchy problem has a $C^1$ solution near $\Gamma_0$, then $\Gamma$ itself is a characteristic curve.
- If $\Gamma$ is a characteristic curve, the Cauchy problem has infinitely many solutions near each point of $\Gamma_0$.
Proof. (1) $J=0$ means $(x_0',y_0')=\lambda(s)(P,Q)$ with $\lambda\ne0$. Differentiating $z(x_0(s),y_0(s))=z_0(s)$ gives $z_0'=p\,x_0'+q\,y_0'=\lambda(pP+qQ)=\lambda R$. So $(x_0',y_0',z_0')=\lambda(P,Q,R)$: the curve $\Gamma$ is everywhere tangent to the characteristic field, hence (by ODE uniqueness) a reparametrised characteristic. (2) Through a point of $\Gamma$ draw a short curve $\tilde\Gamma$ whose projection is transversal to $(P,Q)$, carrying arbitrary data that agree with $\Gamma$ at the common point. Theorem 10.6 gives a solution containing $\tilde\Gamma$; by Theorem 10.4 it contains the characteristic through the common point, which is $\Gamma$. Different data on $\tilde\Gamma$ give different solutions. ∎
- Parametrise the data: $x=x_0(s)$, $y=y_0(s)$, $z=z_0(s)$, and compute $J(s)=x_0'Q-y_0'P$. Where $J=0$ expect trouble.
- Solve $x_t=P$, $y_t=Q$, $z_t=R$ with these values at $t=0$ to get $x(s,t)$, $y(s,t)$, $z(s,t)$.
- Solve $x=x(s,t)$, $y=y(s,t)$ for $(s,t)$ — often $t$ is $y$ or $\log$ of something — and substitute into $z(s,t)$.
- Check the PDE and the data, and find where the inversion is valid: the solution lives where $\partial(x,y)/\partial(s,t)\ne0$. Where this Jacobian vanishes, base characteristics touch or cross and the solution can break down.
- Shortcut for linear equations: find the general solution by Theorem 10.3, then fit the arbitrary function to the data.
The breakdown in Example 5 is typical of quasilinear equations: the base characteristics depend on the solution and can collide. The model case is Burgers' equation, in which $y$ plays the role of time.
Let $g\in C^1(\mathbb{R})$ with $g$ and $g'$ bounded, and consider $z_y+z\,z_x=0$, $z(x,0)=g(x)$, for $y\ge0$.
- The characteristics are the straight lines $x=s+g(s)\,y$, on which $z=g(s)$ is constant; a classical solution satisfies the implicit equation $z=g(x-z\,y)$.
- If $g'\ge0$ everywhere, there is a unique $C^1$ solution for all $y\ge0$.
- If $g'$ takes negative values, the $C^1$ solution exists exactly for $0\le y\lt y_b$, where the breaking time is $$y_b=-\frac{1}{\inf_{s}g'(s)} ,$$ and $z_x$ becomes unbounded as $y\to y_b^-$.
More generally, for $z_y+c(z)\,z_x=0$ the lines are $x=s+c(g(s))\,y$ and $y_b=-1/\inf_s\frac{d}{ds}c(g(s))$.
Proof. (1) Here $P=z$, $Q=1$, $R=0$, so $z_t=0$, $y=t$ and $x=s+g(s)\,t$: $z$ keeps its initial value $g(s)$ and the base characteristic is a straight line of slope $1/g(s)$ in the $(x,y)$-plane. Since $s=x-zy$ on that line, $z=g(x-zy)$. (2), (3) Fix $y\ge0$ and consider $X(s)=s+g(s)y$. Then $X'(s)=1+g'(s)y$. If $y\lt y_b$ (with $y_b=+\infty$ when $g'\ge0$), then $X'(s)\ge1+y\inf g'=1-\frac{y}{y_b}\gt0$ for all $s$, so $X$ is strictly increasing with derivative bounded below by a positive constant; hence it is a $C^1$ bijection of $\mathbb{R}$ onto $\mathbb{R}$ with $C^1$ inverse. So each point $(x,y)$ lies on exactly one characteristic, $z(x,y)=g\big(X^{-1}(x)\big)$ is $C^1$, and $z_x=\dfrac{g'(s)}{1+g'(s)y}$. It is a solution by Theorem 10.4(2), and it is the only one, because by Theorem 10.4(1) every $C^1$ solution contains these lines. If $y_b\lt\infty$, choose $s_k$ with $g'(s_k)\to\inf g'$; then $1+g'(s_k)y\to1-\frac{y}{y_b}$, which tends to $0$ as $y\to y_b$, so $z_x$ is unbounded near $y_b$. For $y\gt y_b$ some $X'(s)\lt0$, so $X$ is not injective: two characteristics carrying different values of $z$ reach the same point, and no continuous solution exists. ∎
- Quasilinear is not linear. $zz_x+z_y=0$ has the solution $z=\frac{x}{1+y}$, but $2z$ is not a solution: superposition holds only for linear homogeneous equations.
- Semilinear is not linear either. $z_x+z_y=z^2$ has base characteristics fixed in advance (lines $x-y=c$), yet its solutions $z=\frac{1}{h(x-y)-y}$ can blow up along a characteristic.
- "$dx/P=dy/Q$" first, always? Only if that pair involves just $x$ and $y$; for $zp+q=1$ the pair $\frac{dx}{z}=\frac{dy}1$ contains $z$, and one must first find $z-y=c_1$ from $\frac{dy}{1}=\frac{dz}{1}$.
- Two first integrals must be independent. $u=\frac yx$ and $u^2$ are both first integrals of $xp+yq=z$, but $\varphi\big(\frac yx,\frac{y^2}{x^2}\big)=0$ says nothing about $z$.
- Data on a characteristic. For $z_x+z_y=0$ the data $z(x,x)=x$ admit no solution and $z(x,x)=5$ admit infinitely many (Example 7). Check $J=x_0'Q-y_0'P$ first.
- Transversality is local. For $yz_x-xz_y=0$ the $x$-axis is transversal at every point except the origin, yet there is no global solution with $z(x,0)=x$: each circle meets the axis twice (Example 3).
- A solution through every point of a curve need not extend. In Example 5 the solution exists only on $y\gt-1$, although the data and the coefficients are smooth everywhere.
- Smooth data can break. Burgers' equation with $g=\frac{1}{1+x^2}$ breaks at $y=\frac{8}{3\sqrt3}$; with $g=\tan^{-1}x$ (increasing) it never breaks.
- Only negative slopes cause breaking. $g=\tan^{-1}x$ has slope $1$ at the origin and never breaks; $g=-\tan^{-1}x$ has the same steepness but breaks at $y_b=-1/\min g'=1$. For a bump such as $e^{-x^2}$ only the front side, where $g'\lt0$, steepens.
- Sign of the transversality determinant. $J=x_0'Q-y_0'P$ compares the data direction with $(P,Q)$, not with $(P,Q,R)$: for $z_x+z_y=z$ the line $y=x$ is characteristic whatever $R$ is.
- CSIR Unit 3 · §3.1 Lagrange's Method for Quasi-Linear Equations — forming PDEs by eliminating constants and functions, the complete proof of Lagrange's theorem including the converse, the method of multipliers, integral surfaces through a given curve, and surfaces orthogonal to a family.
- CSIR Unit 3 · §3.2 Charpit's Method and the Cauchy Problem — nonlinear equations $F(x,y,z,p,q)=0$: complete, general and singular integrals, compatible systems, Charpit's and Jacobi's methods, the standard forms, and the Cauchy problem with characteristic strips.
Two Labs
Exercises
- 1 Classify as linear, semilinear, quasilinear or nonlinear: (a) $e^xp+xyq=z+\cos y$; (b) $p+q=\sin z$; (c) $(x+z)p+yq=0$; (d) $pq=x$.
- 2 Eliminate $f$ from $z=f(x+y^2)$.
- 3 Eliminate the constants $a,b$ from $z=(x-a)^2+(y-b)^2$. Is the resulting equation quasilinear?
- 4 Eliminate $f$ from $z=e^{2y}f(x-3y)$.
- 5 Use Theorem 10.1 to find the equation whose general integral is $\varphi\big(x^2+y^2+z^2,\ x+y\big)=0$.
- 6 Show that eliminating $f$ from $z=f(xy)$ gives $xp-yq=0$, and check that $z=\sin(xy)+(xy)^3$ satisfies it.
- 7 Prove that the solutions of a linear homogeneous equation $ap+bq=cz$ form a vector space, and show by an example that the solutions of $zp+q=0$ do not.
- 1 Find the general solution of $4z_x-3z_y=0$ and the solution with $z(x,0)=x^2$.
- 2 Solve $z_x+z_y=2z$ with $z(x,0)=\cos x$.
- 3 Solve $z_t+3z_x=0$ with $z(x,0)=e^{-x^2}$. When is the peak at $x=12$? Find $z(10,3)$.
- 4 Find the general solution of $xz_x+yz_y=3z$ on $x\gt0$, and the solution with $z(1,y)=1+y^2$.
- 5 Find the characteristics of $yz_x+xz_y=0$ and the solution in the region $|y|\lt x$ with $z(x,0)=e^x$ for $x\gt0$.
- 6 Find the general solution of $z_x+2x\,z_y=y$.
- 7 Modelling. A dissolved pollutant in a river moves with the water at $0.5$ m/s and decays at rate $0.01$ per second: $c_t+0.5\,c_x=-0.01\,c$. A slug with peak concentration $10$ mg/L is released at $x=0$, $t=0$. How far downstream is the peak when it has dropped to $5$ mg/L?
- 8 Let $a,b$ be constants, not both $0$. Prove that $az_x+bz_y=0$ with $z$ given on the line $bx-ay=0$ has no solution unless the data are constant, and infinitely many if they are.
- 1 Find the general integral of $x^2p+y^2q=z^2$.
- 2 Find the general integral of $yz\,p+xz\,q=xy$.
- 3 Solve $xz\,p+yz\,q+x^2+y^2=0$.
- 4 Solve $x(y-z)p+y(z-x)q=z(x-y)$ by multipliers, and compare with Example 1(c).
- 5 Find the integral surface of $xp+yq=z$ through the curve $x+y=1$, $z=1+x^2$.
- 6 Find the general integral of $p+q=z^2$, and write the solutions explicitly.
- 7 Show that the characteristics of $yp-xq=0$ in $(x,y,z)$-space are horizontal circles centred on the $z$-axis, and deduce from Theorem 10.4 that every integral surface is a surface of revolution about the $z$-axis.
- 8 Prove: if $u$ is a first integral of the characteristic system of $Pp+Qq=R$ with $u_z\ne0$, then the function $z(x,y)$ defined implicitly by $u(x,y,z)=c$ is a solution.
- 1 For $z_x+2z_y=0$ compute $J$ for data on (a) $y=0$; (b) $y=2x$; (c) $y=x^2$. Where does transversality fail?
- 2 Solve $xz_x+yz_y=z$ with $z=1$ on the circle $x^2+y^2=1$, and check transversality.
- 3 Solve $z_y+zz_x=0$ with $z(x,0)=3-2x$, and find the breaking time.
- 4 Find the breaking time of $z_y+zz_x=0$ for $z(x,0)=\sin x$, and for $z(x,0)=\tan^{-1}x$.
- 5 Solve $z_y+zz_x=0$, $z(x,0)=x$, and find $z(4,1)$.
- 6 Solve the Cauchy problem $z_x+z_y=z^2$, $z(x,0)=1$, and find where the solution exists.
- 7 Prove that two base characteristics of a linear equation cannot cross, and show that two base characteristics of $z_y+zz_x=0$ can.
- 8 Modelling: a traffic ramp. For $z_y+zz_x=0$ let $z(x,0)=1$ for $x\lt0$, $1-x$ for $0\le x\le1$ and $0$ for $x\gt1$. Show that all characteristics from $[0,1]$ pass through one point, and find it.
E1. GATE MA · MCQ Let $z(x,y)$ solve $x\,z_x+y\,z_y=2z$ for $y\gt0$ with $z(x,1)=1+x$. Then $z(2,3)$ equals (A) $5$; (B) $15$; (C) $45$; (D) $\tfrac53$.
E2. GATE MA · MCQ The solution of $z_y+z\,z_x=0$, $z(x,0)=e^{-x^2}$, remains $C^1$ exactly for $0\le y\lt y_b$, where $y_b$ equals (A) $\sqrt{e/2}$; (B) $\sqrt{2/e}$; (C) $\tfrac12$; (D) $\sqrt e$.
E3. GATE MA · MSQ CSIR Part C Consider $z_x+z_y=z$ with the data $z=1$ prescribed on a curve $\Gamma_0$. For which of the following choices does the Cauchy problem have a unique $C^1$ solution in some neighbourhood of the indicated point? (One or more options may be correct.) (A) $\Gamma_0$: $y=0$, near $(0,0)$. (B) $\Gamma_0$: $y=x$, near $(0,0)$. (C) $\Gamma_0$: $x+y=0$, near $(0,0)$. (D) $\Gamma_0$: $y=x^2$, near $\left(\tfrac12,\tfrac14\right)$.
E4. GATE MA · MSQ For $z_y+z\,z_x=0$ with $z(x,0)=g(x)$, which of the following statements is/are true? (One or more options may be correct.) (A) If $g(x)=x$, then $z=\dfrac{x}{1+y}$ for all $y\ge0$. (B) If $g(x)=-x$, the classical solution exists for $0\le y\lt1$ and not beyond. (C) If $g(x)=\sin x$, the solution is $C^1$ for all $y\ge0$. (D) The solution is constant along each line $x=s+g(s)\,y$, as long as it is $C^1$.
E5. GATE MA · NAT Let $z(x,y)$ solve $z_x+x\,z_y=z$ with $z(0,y)=\cos y$. The value of $z(1,1)$ is ______ (correct to two decimal places).
E6. GATE MA · NAT Let $z(x,y)$ solve $z_x+z_y=z^2$ with $z(x,0)=\dfrac{1}{1+x^2}$. The value of $z\left(1,\tfrac12\right)$ is ______ (correct to two decimal places).
Suggested plan — 2 lectures × 60 min.
- Linear equations and Lagrange's method. Definitions 10.1–10.2 with Example 1(a); the dot-product picture $(P,Q,R)\cdot(p,q,-1)=0$; Theorem 10.1 and Example 1(c). Then Definition 10.3 and Theorems 10.2–10.3 with Examples 2 and 3; project Interactive 1 in "transport" and "stretching" modes. Finish with Definition 10.4, Theorems 10.4–10.5, the strategy box, and Example 4 on the board.
- The Cauchy problem. Definition 10.5, Theorem 10.6 (do Steps 1–3 carefully; the Jacobian $J$ is the whole point), Theorem 10.7 with Example 7(a)(b). Project Interactive 2: rotate $\alpha$ for the parabola and ask the class to predict where the amber point will appear before releasing the slider; then choose the line and find the angle at which every line is characteristic. Example 5, Theorem 10.8, Example 6, and Interactive 1 in Burgers mode. GATE corner E3 and E4 live.
Discussion questions. (1) Why does the general solution of a first-order PDE contain an arbitrary function, whereas that of a first-order ODE contains an arbitrary constant? (2) In Example 5 the solution dies on $y=-1$ although nothing is singular there in the equation or the data. What exactly happens to the characteristics? (3) In Burgers' equation the bump breaks on its front side. Could a different equation $z_y+c(z)z_x=0$ make it break on the back side?
Misconceptions to watch for. Calling $zp+q=0$ linear; using $\frac{dx}P=\frac{dy}Q$ when $P,Q$ contain $z$; taking two dependent first integrals; forgetting to check $J$ before solving a Cauchy problem; believing that smooth data give a global solution; computing a breaking time from the maximum of $|g'|$ instead of the most negative $g'$.
Suggested homework. I(2, 4, 5, 7), II(1, 2, 4, 6, 8), III(1, 3, 5, 6, 8), IV(1, 2, 4, 6, 7, 8); GATE corner E1, E3, E5.
Research question. On a motorway, a smooth patch of dense traffic can turn into a sharp "stop wave" with no accident and no bottleneck. Can a first-order PDE predict when and where such a jam front forms?
Why it matters. The Lighthill–Whitham–Richards model treats traffic as a fluid with density $\rho(x,t)$ (cars per km) and speed $v(\rho)=v_{\max}\left(1-\frac{\rho}{\rho_{\max}}\right)$. Conservation of cars gives $\rho_t+\big(\rho v(\rho)\big)_x=0$, i.e. $\rho_t+c(\rho)\rho_x=0$ with $c(\rho)=v_{\max}\left(1-\frac{2\rho}{\rho_{\max}}\right)$ — a quasilinear equation of exactly the Burgers type. Variants of this model are used by traffic engineers in Europe, the US and Asia to design ramp metering and variable speed limits.
What to do.
- Derive $c(\rho)$ from the flux $\rho v(\rho)$ and explain why information travels backwards ($c\lt0$) when $\rho\gt\rho_{\max}/2$, although every car drives forwards.
- Take $\rho(x,0)=\rho_{\max}\left(\tfrac14+\tfrac12e^{-x^2}\right)$ ($x$ in km) and $v_{\max}=100$ km/h. Using the general form of Theorem 10.8, find the time (in seconds) and the place at which the density profile first becomes vertical.
- Draw the characteristics $x=s+c(\rho_0(s))\,t$ for $s\in[-3,3]$ on graph paper or with a short script, and mark where they first cross.
- Compare with Interactive 1 (Burgers mode): which side of the bump breaks here, and why is it the opposite side to Burgers?
Tools: pencil and paper for 1–2; Python, a spreadsheet or graph paper for 3.
Hand in: the derivation of step 1, the breaking time and position with working, a plot of characteristics, and a paragraph answering the research question.
Going further. After breaking, the model needs a shock: a moving discontinuity whose speed is fixed by conservation (the Rankine–Hugoniot condition $\dot x_s=\frac{[\rho v]}{[\rho]}$). Look it up and compute the speed of a jam front between $\rho=0.2\rho_{\max}$ and $\rho=0.8\rho_{\max}$.
🧪 Self-check quiz
Q1. The general solution of $3z_x-2z_y=0$ is
Q2. Lagrange's auxiliary equations for $x^2p+y^2q=z^2$ are
Q3. For $z_x+2z_y=0$, the Cauchy problem with data on which line has no unique solution?
Q4. The equation $z\,z_x+z_y=0$ is
Q5. For $z_y+zz_x=0$ with $z(x,0)=2\sin x$, the breaking time is