2.4 Transformation of Nonlinear Equations into Separable Equations

In Section 2.1 we found that the solutions of a linear nonhomogeneous equation

\[ y'+p(x)y=f(x) \]

are of the form \(y=uy_1\), where \(y_1\) is a nontrivial solution of the complementary equation

\begin{equation} y'+p(x)y=0 \tag{2.4.1}\end{equation}

and \(u\) is a solution of

\[ u'y_1(x)=f(x). \]

Note that this last equation is separable, since it can be rewritten as

\[ u'={f(x)\over y_1(x)}. \]

In this section we’ll consider nonlinear differential equations that are not separable to begin with, but can be solved in a similar fashion by writing their solutions in the form \(y=uy_1\), where \(y_1\) is a suitably chosen known function and \(u\) satisfies a separable equation. We’llsay in this case that we transformed the given equation into a separable equation.

Bernoulli Equations

A Bernoulli equation is an equation of the form

\begin{equation} y'+p(x)y=f(x)y^r, \tag{2.4.2}\end{equation}

where \(r\) can be any real number other than \(0\) or \(1\). (Note that (2.4.2) is linear if and only if \(r=0\) or \(r=1\).) We can transform (2.4.2) into a separable equation by variation of parameters: if \(y_1\) is a nontrivial solution of (2.4.1), substituting \(y=uy_1\) into (2.4.2) yields

\[ u'y_1+u(y_1'+p(x)y_1)=f(x)(uy_1)^r, \]

which is equivalent to the separable equation

\[ u'y_1(x)=f(x)\left(y_1(x)\right)^ru^r\mbox{\quad or \quad} {u'\over u^r}=f(x)\left(y_1(x)\right)^{r-1}, \]

since \(y_1'+p(x)y_1=0\).

Example 2.4.1

Solve the Bernoulli equation

\begin{equation} y'-y=xy^2. \tag{2.4.3}\end{equation}

Solution Since \(y_1=e^x\) is a solution of \(y'-y=0\), we look for solutions of (2.4.3) in the form \(y=ue^x\), where

\[ u'e^x=xu^2e^{2x}\mbox{\quad or, equivalently, \quad} u'=xu^2e^x. \]

Separating variables yields

\[ {u'\over u^2}=xe^x, \]

and integrating yields

\[ -{1\over u}=(x-1)e^x+c. \]

Hence,

\[ u=-{1\over(x-1)e^x+c} \]

and

\[ y=-{1\over x-1+ce^{-x}}. \]

Figure 2.4.1 shows direction field and some integral curves of (2.4.3).

A direction field and integral curves for y'-y=xy^2
Figure 2.4.1. A direction field and integral curves for \(y'-y=xy^{2}\)

Other Nonlinear Equations That Can be Transformed Into Separable Equations

We’ve seen that the nonlinear Bernoulli equation can be transformed into a separable equation by the substitution \(y=uy_1\) if \(y_1\) is suitably chosen. Now let’s discover a sufficient condition for a nonlinear first order differential equation

\begin{equation} y'=f(x,y) \tag{2.4.4}\end{equation}

to be transformable into a separable equation in the same way. Substituting \(y=uy_1\) into (2.4.4) yields

\[ u'y_1(x)+uy_1'(x)=f(x,uy_1(x)), \]

which is equivalent to

\begin{equation} u'y_1(x)=f(x,uy_1(x))-uy_1'(x). \tag{2.4.5}\end{equation}

If

\[ f(x,uy_1(x))=q(u)y_1'(x) \]

for some function \(q\), then (2.4.5) becomes

\begin{equation} u'y_1(x)=(q(u)-u)y_1'(x), \tag{2.4.6}\end{equation}

which is separable. After checking for constant solutions \(u\equiv u_0\) such that \(q(u_0)=u_0\), we can separate variables to obtain

\[ {u'\over q(u)-u}={y_1'(x)\over y_1(x)}. \]

Homogeneous Nonlinear Equations

In the text we’ll consider only the most widely studied class of equations for which the method of the preceding paragraph works. Other types of equations appear in Exercises 4451.

The differential equation (2.4.4) is said to be homogeneous if \(x\) and \(y\) occur in \(f\) in such a way that \(f(x,y)\) depends only on the ratio \(y/x\); that is, (2.4.4) can be written as

\begin{equation} y'=q(y/x), \tag{2.4.7}\end{equation}

where \(q=q(u)\) is a function of a single variable. For example,

\[ y'={y+xe^{-y/x}\over x}={y\over x}+e^{-y/x} \]

and

\[ y'={y^2+xy-x^2\over x^2}=\left(y\over x\right)^2+{y\over x} -1 \]

are of the form (2.4.7), with

\[ q(u)=u+e^{-u}\mbox{\quad and \quad} q(u)=u^2+u-1, \]

respectively. The general method discussed above can be applied to (2.4.7) with \(y_1=x\) (and therefore \(y_1'=1)\). Thus, substituting \(y=ux\) in (2.4.7) yields

\[ u'x+u=q(u), \]

and separation of variables (after checking for constant solutions \(u\equiv u_0\) such that \(q(u_0)=u_0\)) yields

\[ {u'\over q(u)-u}={1\over x}. \]

Before turning to examples, we point out something that you may’ve have already noticed: the definition of homogeneous equation given here isn’t the same as the definition given in Section 2.1, where we said that a linear equation of the form

\[ y'+p(x)y=0 \]

is homogeneous. We make no apology for this inconsistency, since we didn’t create it historically, homogeneous has been used in these two inconsistent ways. The one having to do with linear equations is the most important. This is the only section of the book where the meaning defined here will apply.

Since \(y/x\) is in general undefined if \(x=0\), we’ll consider solutions of nonhomogeneous equations only on open intervals that do not contain the point \(x=0\).

Example 2.4.2

Solve

\begin{equation} y'={y+xe^{-y/x}\over x}. \tag{2.4.8}\end{equation}

Solution Substituting \(y=ux\) into (2.4.8) yields

\[ u'x+u = {ux+xe^{-ux/x}\over x} = u+e^{-u}. \]

Simplifying and separating variables yields

\[ e^uu'={1\over x}. \]

Integrating yields \(e^u=\ln |x|+c\). Therefore \(u=\ln(\ln|x|+c)\) and \(y=ux=x \ln (\ln |x|+c)\).

Figure 2.4.2 shows a direction field and integral curves for (2.4.8).

A direction field and some integral curves for y'=y+xe^-y/xx
Figure 2.4.2. A direction field and some integral curves for \(y'=\dst{\frac{y+xe^{-y/x}}{x}}\)

Example 2.4.3

  1. Solve

    \begin{equation} x^2y'=y^2+xy-x^2. \tag{2.4.9}\end{equation}
  2. Solve the initial value problem

    \begin{equation} x^2y'=y^2+xy-x^2, \quad y(1)=2. \tag{2.4.10}\end{equation}

Solution (a) We first find solutions of (2.4.9) on open intervals that don’t contain \(x=0\). We can rewrite (2.4.9) as

\[ y'={y^2+xy-x^2\over x^2} \]

for \(x\) in any such interval. Substituting \(y=ux\) yields

\[ u'x+u ={ (ux)^2+x(ux)-x^2 \over x^2} = u^2+u-1, \]

so

\begin{equation} u'x=u^2-1. \tag{2.4.11}\end{equation}

By inspection this equation has the constant solutions \(u\equiv1\) and \(u\equiv-1\). Therefore \(y=x\) and \(y=-x\) are solutions of (2.4.9). If \(u\) is a solution of (2.4.11) that doesn’t assume the values \(\pm 1\) on some interval, separating variables yields

\[ {u'\over u^2-1}={1\over x}, \]

or, after a partial fraction expansion,

\[ {1\over 2}\left[{1\over u-1}-{1\over u+1}\right]u'= {1\over x}. \]

Multiplying by 2 and integrating yields

\[ \ln\left|u-1\over u+1\right| =2 \ln |x|+k, \]

or

\[ \left|{u-1\over u+1}\right|=e^kx^2, \]

which holds if

\begin{equation} {u-1\over u+1}=cx^2 \tag{2.4.12}\end{equation}

where \(c\) is an arbitrary constant. Solving for \(u\) yields

\[ u ={1+cx^2\over 1-cx^2}. \]
A direction field and integral curves for x^2y'=y^2+xy-x^2
Figure 2.4.3. A direction field and integral curves for \(x^{2}y'=y^{2}+xy-x^{2}\)
Solutions of x^2y'=y^2+xy-x^2,\; y(1)=2
Figure 2.4.4. Solutions of \(x^{2}y'=y^{2}+xy-x^{2}\),  \(y(1)=2\)

Therefore

\begin{equation} y=ux={x(1+cx^2)\over 1-cx^2} \tag{2.4.13}\end{equation}

is a solution of (2.4.10) for any choice of the constant \(c\). Setting \(c=0\) in (2.4.13) yields the solution \(y=x\). However, the solution \(y=-x\) can’t be obtained from (2.4.13). Thus, the solutions of (2.4.9) on intervals that don’t contain \(x=0\) are \(y=-x\) and functions of the form (2.4.13).

The situation is more complicated if \(x=0\) is the open interval. First, note that \(y=-x\) satisfies (2.4.9) on \((-\infty,\infty)\). If \(c_1\) and \(c_2\) are arbitrary constants, the function

\begin{equation} y=\left\{\begin{array}{ll} \dst{x(1+c_1x^2)\over 1-c_1x^2},&a<x<0,\\ [6pt]\dst{x(1+c_2x^2)\over 1-c_2x^2},&0\le x<b, \end{array}\right. \tag{2.4.14}\end{equation}

is a solution of (2.4.9) on \((a,b)\), where

\[ a=\left\{\begin{array}{cl}-\dst{1\over\sqrt{c_1}}&\mbox{ if }c_1>0,\\ -\infty&\mbox{ if }c_1\le 0, \end{array}\right. \mbox{\quad and \quad} b=\left\{\begin{array}{cl}\dst{1\over\sqrt{c_2}}&\mbox{ if }c_2>0,\\ \infty&\mbox{ if }c_2\le 0. \end{array}\right. \]

We leave it to you to verify this. To do so, note that if \(y\) is any function of the form (2.4.13) then \(y(0)=0\) and \(y'(0)=1\).

Figure 2.4.3 shows a direction field and some integral curves for (2.4.9).

Solution (b) We could obtain \(c\) by imposing the initial condition \(y(1)=2\) in (2.4.13), and then solving for \(c\). However, it’s easier to use (2.4.12). Since \(u=y/x\), the initial condition \(y(1)=2\) implies that \(u(1)=2\). Substituting this into (2.4.12) yields \(c=1/3\). Hence, the solution of (2.4.10) is

\[ y={x(1+x^2/3)\over 1-x^2/3}. \]

The interval of validity of this solution is \((-\sqrt3,\sqrt3)\). However, the largest interval on which (2.4.10) has a unique solution is \((0,\sqrt3)\). To see this, note from (2.4.14) that any function of the form

\begin{equation} y=\left\{\begin{array}{ll} \dst{x(1+cx^2)\over 1-cx^2},&a<x\le0,\\[6pt] \dst{x(1+x^2/3)\over 1-x^2/3},&0\le x<\sqrt3, \end{array}\right. \tag{2.4.15}\end{equation}

is a solution of (2.4.10) on \((a,\sqrt3)\), where \(a=-1/\sqrt c\) if \(c>0\) or \(a=-\infty\) if \(c\le0\). (Why doesn’t this contradict Theorem 2.3.1?)

Figure 2.4.4 shows several solutions of the initial value problem (2.4.10). Note that these solutions coincide on \((0,\sqrt{3})\).

In the last two examples we were able to solve the given equations explicitly. However, this isn’t always possible, as you’ll see in the exercises.

2.4 Exercises

In Exercises 14 solve the given Bernoulli equation.

  1. \(y'+y=y^2\)

    Show answer

    \(y=\dst{1\over 1-ce^x}\)

  2. \(\dst {7xy'-2y=-{x^2 \over y^6}}\)

    Show answer

    \(y=x^{2/7}(c-\ln|x|)^{1/7}\)

  3. \(x^2y'+2y=2e^{1/x}y^{1/2}\)

    Show answer

    \(y=e^{2/x}(c-1/x)^2\)

  4. \(\dst {(1+x^2)y'+2xy ={1 \over (1+x^2)y}}\)

    Show answer

    \(y=\pm\dst{{\sqrt{2x+c}\over1+x^2}}\)

In Exercises 5 and 6 find all solutions. Also, plot a direction field and some integral curves on the indicated rectangular region.

  1. C/G \(y'-xy=x^3y^3; \quad \{-3\le x\le 3,\-2\le y\ge 2\}\)

    Show answer

    \(y=\pm(1-x^2+ce^{-x^2})^{-1/2}\)

  2. C/G \(\dst {y'-{1+x\over 3x}y=y^4}; \quad \{-2\le x\le2,-2\le y \le2\}\)

    Show answer

    \(y=\dst{\left[x\over3(1-x)+ce^{-x}\right]^{1/3}}\)

In Exercises 711 solve the initial value problem.

  1. \(y'-2y=xy^3,\quad y(0)=2\sqrt2\)

    Show answer

    \(y=\dst{2\sqrt2\over\sqrt{1-4x}}\)

  2. \(y'-xy=xy^{3/2},\quad y(1)=4\)

    Show answer

    \(y=\dst{\left[1-{3\over2}e^{-(x^2-1)/4}\right]^{-2}}\)

  3. \(xy'+y=x^4y^4,\quad y(1)=1/2\)

    Show answer

    \(y=\dst{1\over x(11-3x)^{1/3}}\)

  4. \(y'-2y=2y^{1/2},\quad y(0)=1\)

    Show answer

    \(y=(2e^x-1)^2\)

  5. \(\dst{y'-4y={48x\over y^2},\quad y(0)=1}\)

    Show answer

    \(y=(2e^{12x}-1-12x)^{1/3}\)

In Exercises 12 and 13 solve the initial value problem and graph the solution.

  1. C/G \(x^2y'+2xy=y^3,\quad y(1)=1/\sqrt2\)

    Show answer

    \(y=\dst{\left[5x\over2(1+4x^5)\right]^{1/2}}\)

  2. C/G \(y'-y=xy^{1/2},\quad y(0)=4\)

    Show answer

    \(y=(4e^{x/2}-x-2)^2\)

  3. You may have noticed that the logistic equation

    \[ P'=aP(1-\alpha P) \]

    from Verhulst’s model for population growth can be written in Bernoulli form as

    \[ P'-aP=-a\alpha P^2. \]

    This isn’t particularly interesting, since the logistic equation is separable, and therefore solvable by the method studied in Section 2.2. So let’s consider a more complicated model, where \(a\) is a positive constant and \(\alpha\) is a positive continuous function of \(t\) on \([0,\infty)\). The equation for this model is

    \[ P'-aP=-a\alpha(t) P^2, \]

    a non-separable Bernoulli equation.

    1. Assuming that \(P(0)=P_0>0\), find \(P\) for \(t>0\). Hint: Express your result in terms of the integral \(\int_0^t\alpha(\tau)e^{a\tau}\,d\tau\).

    2. Verify that your result reduces to the known results for the Malthusian model where \(\alpha=0\), and the Verhulst model where \(\alpha\) is a nonzero constant.

    3. Assuming that

      \[ \lim_{t\to\infty}e^{-at}\int_0^t\alpha(\tau)e^{a\tau}\,d\tau=L \]

      exists (finite or infinite), find \(\lim_{t\to\infty}P(t)\).

    Show answer

    \(P=\dst{P_0e^{at}\over1+aP_0\int_0^t\alpha(\tau)e^{a\tau}\,d\tau}\);  \(\lim_{t\to\infty}P(t)= \dst{\left\{\begin{array}{rl}\infty&\mbox{ if }L=0,\\0&\mbox{ if }L=\infty,\\ 1/aL&\mbox{ if } 0<L<\infty.\end{array}\right.}\)

In Exercises 1518 solve the equation explicitly.

  1. \(y'=\dst{y+x\over x}\)

    Show answer

    \(y=x(\ln|x|+c)\)

  2. \(y'=\dst{y^2+2xy \over x^2}\)

    Show answer

    \(y=\dst{cx^2 \over 1-cx} \quad y=-x\)

  3. \(xy^3y'=y^4+x^4\)

    Show answer

    \(y=\pm x(4\ln|x|+c)^{1/4}\)

  4. \(y'=\dst{y\over x}+\sec{y\over x}\)

    Show answer

    \(y=x\sin^{-1} (\ln |x|+c)\)

In Exercises 19-21 solve the equation explicitly. Also, plot a direction field and some integral curves on the indicated rectangular region.

  1. C/G \(x^2y'=xy+x^2+y^2; \quad \{-8\le x\le 8,-8\le y\le 8\}\)

    Show answer

    \(y=x \tan(\ln |x|+c)\)

  2. C/G \(xyy'=x^2+2y^2; \quad \{-4\le x\le 4,-4\le y\le 4\}\)

    Show answer

    \(y=\pm x\sqrt{cx^2-1}\)

  3. C/G \(y'=\dst{2y^2+x^2e^{-(y/x)^2}\over 2xy}; \quad \{-8\le x\le 8,-8\le y\le 8\}\)

    Show answer

    \(y=\pm x\ln(\ln|x|+c)\)

In Exercises 2227 solve the initial value problem.

  1. \(y'=\dst{xy+y^2\over x^2}, \quad y(-1)=2\)

    Show answer

    \(y=-\dst{2x\over 2 \ln |x|+1}\)

  2. \(y'=\dst{x^3+y^3\over xy^2}, \quad y(1)=3\)

    Show answer

    \(y=x(3 \ln x+27)^{1/3}\)

  3. \(xyy'+x^2+y^2=0, \quad y(1)=2\)

    Show answer

    \(y=\dst{{1\over x}\left({9-x^4 \over 2}\right)^{1/2}}\)

  4. \(y'=\dst{y^2-3xy-5x^2 \over x^2}, \quad y(1)=-1\)

    Show answer

    \(y=-x\)

  5. \(x^2y'=2x^2+y^2+4xy, \quad y(1)=1\)

    Show answer

    \(y=-\dst{x(4x-3)\over(2x-3)}\)

  6. \(xyy'=3x^2+4y^2, \quad y(1)=\sqrt{3}\)

    Show answer

    \(y=x\sqrt{4x^6-1}\)

In Exercises 2834 solve the given homogeneous equation implicitly.

  1. \(y'=\dst{x+y \over x-y}\)

    Show answer

    \(\dst{\tan^{-1} {y \over x} -{1\over 2} \ln (x^2+y^2)=c}\)

  2. \((y'x-y)(\ln |y|-\ln |x|)=x\)

    Show answer

    \((x+y)\ln |x|+y(1-\ln |y|)+cx=0\)

  3. \(y'=\dst{y^3+2xy^2+x^2y+x^3\over x(y+x)^2}\)

    Show answer

    \((y+x)^3=3x^3(\ln|x|+c)\)

  4. \(y'=\dst{x+2y \over 2x+y}\)

    Show answer

    \((y+x)=c(y-x)^3; \quad y =x;\quad y=-x\)

  5. \(y'=\dst{y \over y-2x}\)

    Show answer

    \(y^2(y-3x)=c;\quad y\equiv0;\; y=3x\)

  6. \(y'=\dst{xy^2+2y^3\over x^3+x^2y+xy^2}\)

    Show answer

    \((x-y)^3(x+y)=cy^2x^4; \quad y=0;\; y=x;\; y=-x\)

  7. \(y'=\dst{x^3+x^2y+3y^3 \over x^3+3xy^2}\)

    Show answer

    \(\dst{{y\over x}+{y^3\over x^3}}=\ln |x|+c\)

  8. L

    1. Find a solution of the initial value problem

      \[ x^2y'=y^2+xy-4x^2, \quad y(-1)=0 \tag*{\rm(A)} \]

      on the interval \((-\infty,0)\). Verify that this solution is actually valid on \((-\infty,\infty)\).

    2. Use Theorem 2.3.1 to show that (A) has a unique solution on \((-\infty,0)\).

    3. Plot a direction field for the differential equation in (A) on a square

      \[ \{-r\le x\le r, -r\le y\le r\}, \]

      where \(r\) is any positive number. Graph the solution you obtained in (a) on this field.

    4. Graph other solutions of (A) that are defined on \((-\infty,\infty)\).

    5. Graph other solutions of (A) that are defined only on intervals of the form \((-\infty,a)\), where is a finite positive number.

  9. L

    1. Solve the equation

      \[ xyy'=x^2-xy+y^2 \tag*{\rm(A)} \]

      implicitly.

    2. Plot a direction field for (A) on a square

      \[ \{0\le x\le r,0\le y\le r\} \]

      where \(r\) is any positive number.

    3. Let \(K\) be a positive integer. (You may have to try several choices for \(K\).) Graph solutions of the initial value problems

      \[ xyy'=x^2-xy+y^2,\quad y(r/2)={kr\over K}, \]

      for \(k=1\), \(2\), …, \(K\). Based on your observations, find conditions on the positive numbers \(x_0\) and \(y_0\) such that the initial value problem

      \[ xyy'=x^2-xy+y^2,\quad y(x_0)=y_0, \tag*{\rm(B)} \]

      has a unique solution (i) on \((0,\infty)\) or (ii) only on an interval \((a,\infty)\), where \(a>0\)?

    4. What can you say about the graph of the solution of (B) as \(x\to\infty\)? (Again, assume that \(x_0>0\) and \(y_0>0\).)

  10. L

    1. Solve the equation

      \[ y'={2y^2-xy+2x^2 \over xy+2x^2} \tag*{\rm(A)} \]

      implicitly.

    2. Plot a direction field for (A) on a square

      \[ \{-r\le x\le r,-r\le y\le r\} \]

      where \(r\) is any positive number. By graphing solutions of (A), determine necessary and sufficient conditions on \((x_0,y_0)\) such that (A) has a solution on (i) \((-\infty,0)\) or (ii) \((0,\infty)\) such that \(y(x_0)=y_0\).

  11. L Follow the instructions of Exercise 37 for the equation

    \[ y'={xy+x^2+y^2 \over xy}. \]
  12. L Pick any nonlinear homogeneous equation \(y'=q(y/x)\) you like, and plot direction fields on the square \(\{-r\le x\le r,\ -r\le y\le r\}\), where \(r>0\). What happens to the direction field as you vary \(r\)? Why?

  13. Prove: If \(ad-bc\ne 0\), the equation

    \[ y'={ax+by+\alpha \over cx+dy+\beta} \]

    can be transformed into the homogeneous nonlinear equation

    \[ {dY \over dX}={aX+bY \over cX+dY} \]

    by the substitution \(x=X-X_0,\ y=Y-Y_0\), where \(X_0\) and \(Y_0\) are suitably chosen constants.

    Show answer

    Choose \(X_0\) and \(Y_0\) so that

    \[ \begin{array}[t]{@{}r@{\,}l} a X_0+b Y_0 =\alpha \\ c X_0+d Y_0 =\beta. \end{array} \]

In Exercises 41-43 use a method suggested by Exercise 40 to solve the given equation implicitly.

  1. \(y'=\dst{-6x+y-3 \over 2x-y-1}\)

    Show answer

    \((y+2x+1)^4(2y-6x-3)=c; \quad y=3x+3/2; \quad y=-2x-1\)

  2. \(y'=\dst{2x+y+1 \over x+2y-4}\)

    Show answer

    \((y+x-1)(y-x-5)^3=c; \quad y=x+5; \quad y=-x+1\)

  3. \(y'=\dst{-x+3y-14 \over x+y-2}\)

    Show answer

    \(\ln|y-x-6|-\dst{2(x+2)\over y-x-6}=c; \quad y=x+6\)

In Exercises 4451 find a function \(y_1\) such that the substitution \(y=uy_1\) transforms the given equation into a separable equation of the form (2.4.6). Then solve the given equation explicitly.

  1. \(3xy^2y'=y^3+x\)

    Show answer

    \((y_1=x^{1/3})\) \(y=x^{1/3}(\ln|x|+c)^{1/3}\)

  2. \(xyy'=3x^6+6y^2\)

    Show answer

    \(y_1=x^3\); \(y=\pm x^3\sqrt{cx^6-1}\)

  3. \(x^3y'=2(y^2+x^2y-x^4)\)

    Show answer

    \(y_1=x^2\); \(y=\dst{x^2(1+cx^4)\over1-cx^4}\; y=-x^2\)

  4. \(y'=y^2e^{-x}+4y+2e^x\)

    Show answer

    \(y_1=e^x\); \(y=-\dst{e^x(1-2ce^x)\over1-ce^x};\quad y=-2e^x\)

  5. \(y'=\dst{y^2+y\tan x+\tan^2 x\over\sin^2x}\)

    Show answer

    \(y_1=\tan x\); \(y=\tan x\; \tan(\ln|\tan x|+c)\)

  6. \(x(\ln x)^2y'=-4(\ln x)^2+y\ln x+y^2\)

    Show answer

    \(y_1=\ln x\); \(y=\dst{2\ln x\; \left(1+c(\ln x)^4\right)\over1-c(\ln x)^4};\quad y=-2\ln x\)

  7. \(2x(y+2\sqrt x)y'=(y+\sqrt x)^2\)

    Show answer

    \(y_1=x^{1/2}\); \(y=x^{1/2}(-2\pm\sqrt{\ln|x|+c})\)

  8. \((y+e^{x^2})y'=2x(y^2+ye^{x^2}+e^{2x^2})\)

    Show answer

    \(y_1=e^{x^2}\); \(y=e^{x^2}(-1\pm\sqrt{2x^2+c})\)

  9. Solve the initial value problem

    \[ y'+{2\over x}y={3x^2y^2+6xy+2\over x^2(2xy+3)},\quad y(2)=2. \]
    Show answer

    \(y=\dst{-3+\sqrt{1+60x}\over2x}\)

  10. Solve the initial value problem

    \[ y'+{3\over x}y={3x^4y^2+10x^2y+6\over x^3(2x^2y+5)},\quad y(1)=1. \]
    Show answer

    \(y=\dst{-5+\sqrt{1+48x}\over2x^2}\)

  11. Prove: If \(y\) is a solution of a homogeneous nonlinear equation \(y'=q(y/x)\), so is \(y_1=y(ax)/a\), where \(a\) is any nonzero constant.

  12. A generalized Riccati equation is of the form

    \[ y'=P(x)+Q(x)y+R(x)y^2. \tag*{\rm (A)} \]

    (If \(R\equiv-1\), (A) is a Riccati equation.) Let \(y_1\) be a known solution and \(y\) an arbitrary solution of (A). Let \(z=y-y_1\). Show that \(z\) is a solution of a Bernoulli equation with \(n=2\).

In Exercises 5659, given that \(y_1\) is a solution of the given equation, use the method suggested by Exercise 55 to find other solutions.

  1. \(y'=1+x - (1+2x)y+xy^2\);   \(y_1=1\)

    Show answer

    \(y=1+\dst{1\over x+1+ce^x}\)

  2. \(y'=e^{2x}+(1-2e^x)y+y^2\);   \(y_1=e^x\)

    Show answer

    \(y=e^x-\dst{1\over1+ce^{-x}}\)

  3. \(xy'=2-x+(2x-2)y-xy^2\);   \(y_1=1\)

    Show answer

    \(y=1-\dst{1\over x(1-cx)}\)

  4. \(xy'=x^3+(1-2x^2)y+xy^2\);   \(y_1=x\)

    Show answer

    \(y=x-\dst{2x\over x^2+c}\)