Why is this not a general solution to this nonlinear DE?

Click For Summary
SUMMARY

The discussion centers on the nonlinear differential equation represented by $$p' + p^2 = 0$$, where $$p = y'$$. The participants analyze why the expression $$c_1 + c_2 \log{x}$$ cannot be considered a general solution. They conclude that the solutions $$y_1(x) = \ln{(1+x)}$$ and $$y_2(x) = \ln{(e(1+x))}$$ demonstrate that linear combinations of independent solutions do not yield valid solutions for the original equation. The key takeaway is that nonlinear equations do not adhere to the same principles as linear ones regarding superposition of solutions.

PREREQUISITES
  • Understanding of nonlinear differential equations
  • Familiarity with reduction of order technique
  • Knowledge of logarithmic functions and their properties
  • Basic concepts of linear independence in function spaces
NEXT STEPS
  • Study the method of reduction of order in differential equations
  • Explore the properties of nonlinear differential equations and their solutions
  • Investigate the concept of linear independence in the context of function spaces
  • Learn about specific solution techniques for nonlinear differential equations
USEFUL FOR

Mathematicians, students of differential equations, and researchers interested in nonlinear dynamics will benefit from this discussion. It provides insights into the limitations of solution forms in nonlinear contexts.

zenterix
Messages
774
Reaction score
84
Homework Statement
Consider the differential equation

$$y''+y'^2=0$$
Relevant Equations
a) Find all solutions.

b) Verify that ##1## and ##\log{x}## are linearly independent solutions on any interval to the right of the origin. Is ##c_1+c_2\log{x}## the general solution. If not, why not?
a) We can use reduction of order

$$p=y'\tag{1}$$

$$p'=y''\tag{2}$$

The DE becomes

$$p'+p^2=0\tag{3}$$

$$\frac{1}{p^2}p'=-1\tag{4}$$

This last step contains the assumption that ##p^2=y'^2\neq 0##.

$$-\left (\frac{1}{p(x)}-\frac{1}{p(x_i)}\right )=-(x-x_i)\tag{5}$$

$$p(x)=\frac{p(x_i)}{1+p(x_i)(x-x_i)}=y'(x)\tag{6}$$

$$y'(x)=\frac{y'(x_i)}{1+y'(x_i)(x-x_i)}\tag{7}$$

$$=\frac{1}{\frac{1}{y'(x_i)}+x-x_i}\tag{8}$$

$$y(x)=\ln{\left ( \frac{1}{y'(x_i)}+x-x_i \right )} + C\tag{9}$$

b) We can easily verify that ##1## and ##\log{x}## are solutions and that they are linearly independent (their ratio is not constant).

My question is about why ##c_1+c_2\log{x}## is not the general solution.

A few initial observations and mini-questions.

First of all, when we say "general solution" are we implicitly saying "general solution on interval ##[a,b]##"?

That is, can there be a general solution on ##[a_1,b_1]## and different general solution on ##[a_2,b_2]##?

From (9) we can see that there are solutions that are defined for certain intervals with ##x<0##.

Here is one argument I came up with to show that ##c_1+c_2\log{x}## is not a general solution.

Suppose we have two solutions ##y_1## and ##y_2##.

Is ##y_1+y_2## a solution?

$$(y_1''+y_2'')+(y_1'+y_2')^2=(y_1''+y_1'^2)+(y_2''+y_2'^2)+2y_1'y_2'\tag{10}$$

$$=2y_1'y_2'\tag{11}$$

Thus, ##y_1+y_2## is a solution only if ##y_1'y_2'=0##.

This is not always the case. For example, ##y_1(x)=\ln{(1+x)}## and ##y_2(x)=\ln{(e(1+x))}## are both solutions but ##y_1'y_2'=\frac{1}{x(1+x)}\neq 0##.

If ##c_1+c_2\ln{x}## were a general solution then we'd have

$$y_1=a_1+a_2\ln{x}\tag{12}$$

$$y_2=b_1+b_2\ln{x}\tag{13}$$

and

$$y_1+y_2=(a_1+b_1)+(a_2+b_2)\ln{x}\tag{14}$$

would be another solution. But our example shows that this isn't true for ##y_1=\ln{(1+x)}## and ##y_2(x)=\ln{(e(1+x))}##.
 
Last edited:
Physics news on Phys.org
zenterix said:
My question is about why ##c_1+c_2\log{x}## is not the general solution.
Your differential equation is nonlinear. Why should we expect it to be solved by an arbitrary linear combination of two independent solutions? According to your general solution (9) (slightly rewritten), only the specific linear combination ##C_{1}+\log\left(x+C_{2}\right)## solves it.
 
renormalize said:
Your differential equation is nonlinear. Why should we expect it to be solved by an arbitrary linear combination of two independent solutions? According to your general solution (9) (slightly rewritten), only the specific linear combination ##C_{1}+\log\left(x+C_{2}\right)## solves it.
I don't know what to expect from nonlinear equations at this point. That's why I needed to construct an argument to show this.

renormalize said:
According to your general solution (9) (slightly rewritten), only the specific linear combination C1+log⁡(x+C2) solves it.
Indeed. Just noticed that (9) expresses all solutions as a linear combination of ##1## and ##\log{(x+C_2)}## with coefficients ##C_1## and ##1##, for each given choice of ##C_2##.

Thus, we have linear combinations of different solutions (one pair of solutions for each choice of ##C_2##).
 
Can you write the solution subject to y(0) = A, y&#039;(0) = B as a linear combination Ay_1+ By_2 where y_1 is the solution subject to y_1(0) = 1, y_1&#039;(0) = 0 and y_2 is the solution subject to y_2(0) = 0, y_2&#039;(0) = 1? If not, the general solution cannot be said to be a "linear combination" of solutions.
 
The solution with ##y_1(0)=1## and ##y_1'(0)=0## is the constant function ##y_1(x)=1##.

The solution with ##y_2(0)=0## and ##y_2'(0)=1## is the function ##y_2(x)=\ln{(1+x)}##.

The way you are posing the question is essentially the same as the original question, which used a slightly different ##y_2(x)=\ln{x}##.

The issue is how to show that one cannot write a solution ##y## as a linear combination of ##y_1## and ##y_2##.

My argument purports to show this with a counterexample to the assertion that one can.
 
zenterix said:
The solution with ##y_1(0)=1## and ##y_1'(0)=0## is the constant function ##y_1(x)=1##.

The solution with ##y_2(0)=0## and ##y_2'(0)=1## is the function ##y_2(x)=\ln{(1+x)}##.
@zenterix You are indeed correct that the functions ##y_{1}\left(x\right)=1,## ##y_{2}\left(x\right)=\log\left(x+1\right),## ##y\left(x\right)=A+B\log\left(x+1\right)## satisfy all of the criteria of @pasmith in post #4. But ##y\left(x\right)## doesn't solve the original differential equation:$$y''\left(x\right)+\left(y'\left(x\right)\right)^{2}=\frac{B\left(B-1\right)}{\left(x+1\right)^{2}}\neq0$$for an arbitrary choice of ##B##. Thus the general solution cannot be written in the form ##A+B\log\left(x+1\right)##. That's the point of post #4.
 
  • Like
Likes   Reactions: zenterix and pasmith

Similar threads

Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K