Show that the function \(z(x,y)=\frac{x+y}{x-y}\) obeys
\begin{equation*}
x\pdiff{z}{x}+ y\pdiff{z}{y}=0
\end{equation*}
Solution.
We simply evaluate the two terms on the left hand side when \(z=z(x,y)=\frac{x+y}{x-y}\text{.}\)
\begin{align*}
x\pdiff{z}{x}\amp= x\pdiff{}{x}\left(\frac{x+y}{x-y}\right)
=x\frac{(1)(x-y)-(x+y)(1)}{(x-y)^2}
=\frac{-2xy}{(x-y)^2} \\
y\pdiff{z}{y}\amp= y\pdiff{}{y}\left(\frac{x+y}{x-y}\right)
=y\frac{(1)(x-y)-(x+y)(-1)}{(x-y)^2}
=\frac{2xy}{(x-y)^2}
\end{align*}
So
\begin{equation*}
x\pdiff{z}{x}+y\pdiff{z}{y}
=\frac{-2xy}{(x-y)^2} +\frac{2xy}{(x-y)^2}
=0
\end{equation*}
and \(z(x,y)=\frac{x+y}{x-y}\) really does solve the PDE \(x\pdiff{z}{x}+ y\pdiff{z}{y}=0
\text{.}\)
Beware however, that while we have found one solution to the given PDE, we have not found all solutions. There are many others. Trivially, if \(z(x,y)=7\text{,}\) or any other constant, then we certainly have \(x\pdiff{z}{x}=0\) and \(y\pdiff{z}{y}=0\) so that \(x\pdiff{z}{x}+ y\pdiff{z}{y}=0\text{.}\) Less trivially, in the next example, we’ll find a ton of solutions.
3
Or, if you prefer, we will find 1.01605 tonnes of solutions. Although the authors of this text believe strongly in the supremacy of the modern metric system over the archaic chaos of imperial units, they are less certain of the appropriateness of revising well established colloquialisms. It is not at all clear that rewriting I have a ton of work to do as I have a tonne of work to do achieves very much except to give the impression that the author is wasting time adding two letters when they are expressing the sheer quantity of tasks that require their attention. Speaking of which, the authors should end this footnote, and get on with the next example.
4
In the previous footnote, the authors, writing from Canada, are using imperial tons rather than U.S. tons. The interested reader is invited to proceed to their favourite search engine to discover just how much time they can waste investigating the history, similarities and differences of these systems.