Struggling to Find a Systematic Solution for a DEQ: Where Am I Going Wrong?

  • Context: Graduate 
  • Thread starter Thread starter dsr39
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation x^2y'' + xy' = 0. Participants explore various methods for finding solutions, including the Wronskian method, the method of Frobenius, and substitutions. The scope includes theoretical approaches and mathematical reasoning related to differential equations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant identifies two solutions, y_1 = c_1 and y_2 = c_2ln(x), but seeks a more systematic method to derive the natural log solution using the Wronskian.
  • Another participant suggests a substitution u = y' to transform the equation into a separable form, leading to a solution involving natural logarithms.
  • A participant questions the formatting of LaTeX expressions, indicating a potential issue with inline versus block formatting.
  • One participant proposes a modified equation (x^2)*y"[x]+x*y'[x]-y[x] = 0 and asks how the solution would differ.
  • Another participant provides a step-by-step derivation of the solution for the original equation, confirming the natural log solution.
  • Several participants explore the implications of adding a y[x] term to the equation, discussing potential solutions and their forms.
  • Another participant suggests guessing solutions, finding that y = cx works, while y = cx + d does not, leading to a general solution involving terms cx and b/x.
  • One participant presents a transformation method to derive a solution, leading to a form involving constants C1 and C2.
  • There is a follow-up on whether the derived solutions match after correcting an earlier error.

Areas of Agreement / Disagreement

Participants express differing views on the methods and transformations to apply for solving the differential equation. Some solutions are proposed, but no consensus is reached on a single systematic approach, and the discussion remains unresolved regarding the best method to use.

Contextual Notes

Participants mention various methods and transformations, but there are unresolved assumptions regarding the applicability of these methods to modified equations. The discussion includes multiple approaches without clear resolution on their effectiveness.

dsr39
Messages
14
Reaction score
0
I am trying to solve

x^2y'' + xy' = 0

I know that two solutions that work, by inspection are

y_1 = c_1

and

y_2 = c_2ln(x)

where c_1 and c_2 are just arbitrary constants.

However I was hoping I would be able to find a more systematic way to solve it. I can get the constant solution by the method of Frobenius, but when I tried to get the natural log solution using the Wronskian, I wasn't able to get it.

I ended up with the second solution being the integral of a Gaussian or something of that sort. I know the Wronskian method is always supposed to work for DEQ's of this type. Where am I going wrong? Can someone show me how to use the Wronskian and the constant solution to get the natural log solution?

(Also why do my LaTeX expressions look funny)

Thanks for the help
 
Physics news on Phys.org
Since y itself does not appear in that equation, there is a pretty standard method. Let u= y'. Then the equation becomes x2u'+ xu= 0 which is separable:
x2u'= -xu or (1/u)du= -(1/x)dx. Integrating, ln(u)= -ln(x)+ C or dy/dx= u= c/x (where c= eC) dy= (c/x)dx gives y= cln(x)+ D.

This also happens to be an "Euler-type" or "equi-potential" equation- the power of x in each term is equal to the order of the derivative. The change of variable, u= ln(x), so that x= eu, makes that an equation with constant coefficients: dy/dx= (dy/du)(du/dx)= (1/x)dy/du and d2y/dx2= d/dx(dy/dx)= d/dx((1/x)dy/du)= (1/x)d/du((1/x)dy/du)= (1/x)((1/x)d2y/du2)-(1/x2dy/dx.
The equation becomes d2y/dx2- dy/du+ dy/du= d2/du2= 0. Integrating once y'(u)= C. Integrating again y(u)= Cu+ D. Since u= ln(x), y(x)= Cln(x)+ D.
 
dsr39 said:
(Also why do my LaTeX expressions look funny)

Hi dsr39! :smile:

Do you mean in the line "where c_1 and c_2 are just arbitrary constants."?

Because when it's in the middle of a text line, you need to use "itex" (for "inline latex") instead of "tex" …

where c_1 and c_2 are just arbitrary constants. :wink:
 
hmm... What if the equation is (x^2)*y"[x]+x*y'[x]-y[x] = 0?

How different would the solution be?
 
x^2*y''+x*y'=0
x*y''+y'=0
(x*y')'=0
x*y'=C1
y'=C1/x
y=C1*log(x)+C2
 
Not sure if u are replying to my question or the original poster's question.
What if there is an additional y[x] term in the equation? i.e.

(x^2)*y"[x]+x*y'[x]-y[x] = 0
 
We could try guessing solutions.

Try y = x. This works.

Indeed, y = cx works, for all constants c.

Does y = cx + d work? not really, since you have that 'd' left over.

So far, we can be sure that the general solution will contain a "cx" term.

Similarly, one can see that a/x works too; try it out.

So I'm guessing the general solution is

y(x) = ax + b/x

Notice that it has two degrees of freedom, as required for a 2nd order ODE.
 
(x^2)*y"+x*y'-y = 0
[(x^2)*y'-x*y]'=0
let y=u/x
[(x^2)*y'-x*y]'=0->x*u''-u'=0
u'=2x*C2
u=C1+(x^2)*C2
y=u/x=C1/x+x*C2
 
Last edited:
Nice.

Does it come out to be what I got?
 
  • #10
^Now that I fixed my error they match.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K