Question About Non-Linear Second Order Differential Equation

In summary, the conversation discusses a bonus question on a nonlinear second order differential equation that the student attempted to solve using an educated guess. They also compare their solution to the solution provided by Wolfram Alpha and discuss the concept of linearly independent solutions and the construction of a general solution. The conversation also touches on the concepts of order and linearity in differential equations.
  • #1
mmmboh
407
0
Hi, I just had my ordinary differential equation final exam today (summer class), the exam was fine. We had a bonus question though, it was a nonlinear second order differential equation, we didn't learn anything about those except for one existence and uniqueness theorem. I am curious if I got it right. The question was, solve:

x2y''-4(y')2=0

Clearly C (constant) is a solution, for the other solution I made an educated guess that y is x2, that didn't quite work, but I figured out it was x2/8...so I put
y=x2/8 + C

I know this solution works because I've plugged it in, the thing I am wondering is when I solve it on wolframalpha.com it gives
y[x] = -4 ln(C1x-4)/(C12)-x/C1+C2.

I have noticed that these two solutions (mine and wolframs) are linearly independent, but since the equation is nonlinear I don't think combining the two would also be a solution...so I am just wondering if I got the answer right? Also, why doesn't wolfram also give my answer. I mean is it not a completely right answer? I guess the same rules don't apply to nonlinear and linear equations, could there be other answers as well?

Thanks!
 
Physics news on Phys.org
  • #2
The equation does not contain y explicitly, so you can reduce its order by introducing a new unknown:

[tex]
\begin{array}{l}
y' = z \\

y'' = z'
[/tex]

The first order equation that you will get is with separable variables and can be integrated.
 
  • #3
Hm yes that worked and I got the answer I got, but what about the answer wolframalpha gives?
 
  • #4
I'm assuming you're talking about the wolfram alpha solution...well, as C1 approaches zero the equation approaches infinity...I'm not sure..
 
  • #5
If you reduce your equation to the first order equation:

[tex]
x^{2} z' = 4 z^{2}
[/tex]
and you integrate this equation by separating variables:
[tex]
\frac{z'}{z^{2}} = \frac{4}{x^{2}}
[/tex]

[tex]
\frac{dz}{z^{2}} = \frac{4 \, dx}{x^{2}}
[/tex]

[tex]
-\frac{1}{z} = -\frac{4}{x} + C_{1}
[/tex]

[tex]
z = \frac{x}{4 - C_{1} \, x}
[/tex]

you can see that your solution corresponds to the value [itex]C_{1} = 0[/itex]. The reason why this is inconvenient in the general solution is because [itex]C_{1}[/itex] is in the denominator and taking this limit requires that we use the absolute value in the logarithm (remember [itex]\int{dx/x} = \ln|x|[/itex]) and adjust the value of [itex]C_{2}[/itex] so that we have an indeterminate form [itex]0/0[/itex] and then take L'Hospital's Rule. The way I am suggesting is more straightforward. So, you get:

[tex]
z = y' = \frac{x}{4}
[/tex]

which is precisely what you have found.
 
  • #6
It doesn't seem like that is really the real answer then? You wouldn't know that C1=0. Sorry I am not familiar with non-linear equations, maybe I am applying first order logic that doesn't apply here or something, but does the equation have two linearly independent solutions that you can't combine to make one total solution? If you plug in different values for x in my solutions and in wolframs, you don't get the same answer.
 
  • #7
mmmboh said:
It doesn't seem like that is really the real answer then? You wouldn't know that C1=0. Sorry I am not familiar with non-linear equations, maybe I am applying first order logic that doesn't apply here or something, but does the equation have two linearly independent solutions that you can't combine to make one total solution? If you plug in different values for x in my solutions and in wolframs, you don't get the same answer.

The red highlighted text addresses two different things: the order of a DE and (non)linearity. Also, the thing you are talking about the two linearly-independent solutions and constructing a general solution by making a linear combination of them is true only for second-order linear DE. As your equation is not linear, this is not the case.

The blue highlighted text also concerns different concepts. When the integrating constants in the general solution attain a particular value, we obtain a particular solution. This is still a function of x. You are not required to take a particular value for the argument of the function x.

As a side note, one particular solution that is "hidden" from the form of the general solution is
[tex]
x = 0
[/tex]

To see this, treat y as an argument and x as a dependent variable. The derivatives become:
[tex]
y' = \frac{1}{x'}
[/tex]

[tex]
y'' = \frac{dy'}{dy} \, \frac{dy}{dx} = \frac{1}{x'} \, \frac{d}{dy}(\frac{1}{x'}) = -\frac{x''}{(x')^{3}}
[/tex]

Substituting these, we get:
[tex]
x^{2} \left(-\frac{x''}{(x')^{3}}\right) - 4 \left(\frac{1}{x'}\right)^{2} = 0
[/tex]

[tex]
x^{2} \, x'' + 4 x' = 0
[/tex]

Then, [itex]x = 0[/itex] ([itex] x' = x'' = 0[/itex]) is an obvious solution.
 

1. What is a non-linear second order differential equation?

A non-linear second order differential equation is a mathematical equation that involves a second derivative (rate of change) of a dependent variable, and the function is not proportional to the variable itself. In other words, the rate of change is not constant and the equation cannot be solved using standard methods.

2. How is a non-linear second order differential equation different from a linear second order differential equation?

A linear second order differential equation has a constant rate of change, meaning the second derivative is proportional to the variable itself. This allows for the equation to be solved using standard methods, such as separation of variables or using an integrating factor. Non-linear equations, on the other hand, do not have a constant rate of change and require more advanced methods to solve.

3. What are some real-world applications of non-linear second order differential equations?

Non-linear second order differential equations are used to model many natural phenomena, such as population growth, fluid mechanics, and chemical reactions. They are also used in engineering to model the behavior of physical systems, such as electrical circuits and mechanical systems.

4. How do you solve a non-linear second order differential equation?

There is no one standard method for solving non-linear second order differential equations. Depending on the specific equation, different techniques may be used, such as substitution, series solutions, or numerical methods. In some cases, the equation may not have an analytical solution and can only be solved using numerical methods.

5. What are some challenges in solving non-linear second order differential equations?

Since non-linear second order differential equations do not have a constant rate of change, they can be much more difficult to solve than linear equations. They often require more advanced mathematical techniques and can be computationally intensive to solve. In addition, non-linear equations may have multiple solutions or no solutions at all, making it challenging to determine the most accurate solution.

Similar threads

  • Calculus and Beyond Homework Help
Replies
21
Views
840
  • Calculus and Beyond Homework Help
Replies
33
Views
3K
  • Calculus and Beyond Homework Help
Replies
14
Views
393
  • Calculus and Beyond Homework Help
Replies
2
Views
278
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
290
  • Calculus and Beyond Homework Help
Replies
2
Views
325
  • Calculus and Beyond Homework Help
Replies
1
Views
284
  • Calculus and Beyond Homework Help
Replies
5
Views
914
  • Calculus and Beyond Homework Help
Replies
2
Views
192
Back
Top