Boundary value problem with substitution

Click For Summary
The discussion revolves around solving a boundary value problem represented by the differential equation (xy')' + λx^(-1)y = 0 with boundary conditions y(1) = 0 and y(e) = 0. The substitution x = e^t is utilized to simplify the equation, leading to the Euler equation form. The general solution is derived as y = Bsin(nln(x)), where n is determined by the boundary conditions, resulting in λ = n^2π^2. There is a debate about the necessity of substitutions and the nature of the solutions, with some participants arriving at complex roots and periodic solutions, ultimately converging on a series representation of the solutions. The conversation highlights the intricacies of boundary value problems and the methods used to approach them.
TheFerruccio
Messages
216
Reaction score
0

Homework Statement



Find the general solution to the boundary value problem.

Homework Equations


<br /> (xy&#039;)&#039; + \lambda x^{-1}y = 0<br />
y(1) = 0
y(e) = 0
use x = e^t

The Attempt at a Solution



x = e^t so \frac{dx}{dt} = e^t

using chain rule:
y&#039; = e^{-t}\frac{dy}{dt}

Substituting this in:

\frac{d}{dx}(e^t(e^{-t}\frac{dy}{dt})) + \lambda e^{-t}y = 0
\frac{d}{dx}(\frac{dy}{dt}) = \lambda e^{-t}y = 0
\frac{d}{dx}(y&#039;e^t) + \lambda e^{-t}y = 0

From this point, I feel like I am going in circles. I want to get everything in equal powers of e, so I can cancel it out, get a general solution in terms of t, and plug in the boundary values to find my constants.
 
Physics news on Phys.org
Expand out the ODE fully:
<br /> \frac{dy}{dx}+x\frac{d^{2}y}{dx^{2}}+\frac{\lambda}{x}y\Rightarrow x^{2}\frac{d^{2}y}{dx^{2}}+x\frac{dy}{dx}+\lambda y=0<br />
This is called the Euler equation, look for solutions of the form x^{n}.
 
hunt_mat said:
Expand out the ODE fully:
<br /> \frac{dy}{dx}+x\frac{d^{2}y}{dx^{2}}+\frac{\lambda}{x}y\Rightarrow x^{2}\frac{d^{2}y}{dx^{2}}+x\frac{dy}{dx}+\lambda y=0<br />
This is called the Euler equation, look for solutions of the form x^{n}.

How did you arrive at that?

Here is my attempt at expanding it out fully:

\frac{d}{dx}(x\frac{dy}{dx}) + \frac{\lambda}{x}y = 0
\frac{dy}{dx} + x\frac{d^2y}{dx^2} + \frac{\lambda}{x}y = 0
x^2y&#039;&#039; + y&#039;x + \lambda y = 0

... Ah, I see what you did, ok. Thanks for the tip. Do I even need a substitution with this?
 
I continued the problem, using the method you suggested, and I ended up with the following differential equation, in terms of t:

\ddot{y} + \lambda y = 0

The general solution to this, in terms of t, is:

y = A\cos{\sqrt{\lambda}t} + B\sin{\sqrt{\lambda}t}

Boundary conditions holding true, I get:

A = 0
B is arbitrary

y(x) = Bsin(n\ln{x}) where n = 1, 2, 3, \ldots

If you want, I can be more thorough as to how I got this answer, especially if it's wrong!
 
As I said sibstitute in y=x^{n} to obtain the following:
<br /> \left[ n(n-1)+n+\lambda\right] x^{n}=0<br />
We require an equation for n, just like the constant coefficient case, can you say what this equation is?

I think that in general you're over thinking it. You don't need a substitution for this equation.
 
Using the substitution method, when solving using the second boundary condition, I am ending up with a discrepancy when attempting a solution with both methods, and it's minor.

For the method of substituting like what the problem suggests, I get:

0 = B\sin{\sqrt{\lambda}}

So...

\lambda = n^2\pi^2

Using the euler format, I am getting...

0 = B\sin{n\sqrt{\lambda}}

So...

\lambda = \frac{m^2pi^2}{n^2}

where m, in this case, is n in the first method.

I checked my algebra, and I don't see how these can be so different. Is it because n and m are arbitrary, and can combine to equal a single n?
 
The two solutions are:
<br /> n=\pm\sqrt{\lambda}<br />
So the solution becomes:
<br /> y=Ax^{\sqrt{\lambda}}+Bx^{-\sqrt{\lambda}}<br />
Then just use the boundary conditions to find A and B.
 
hunt_mat said:
The two solutions are:
<br /> n=\pm\sqrt{\lambda}<br />
So the solution becomes:
<br /> y=Ax^{\sqrt{\lambda}}+Bx^{-\sqrt{\lambda}}<br />
Then just use the boundary conditions to find A and B.

Really? So, the solution is not periodic at all? That's strange. I kept getting imaginary roots, which, by doing it two different methods, resulted in getting a sine and cosine. I will post my work in a little bit.
 
I made a mistake in my algebra, my solutions should have been
<br /> n=\pm i\sqrt{\lambda}<br />
Then my solution reduces to yours... The solution my method becomes:
<br /> y=\sum_{n=0}^{\infty}A_{n}\left( x^{n\pi i}-x^{-n\pi i}\right)<br />
 
  • #10
hunt_mat said:
I made a mistake in my algebra, my solutions should have been
<br /> n=\pm i\sqrt{\lambda}<br />
Then my solution reduces to yours... The solution my method becomes:
<br /> y=\sum_{n=0}^{\infty}A_{n}\left( x^{n\pi i}-x^{-n\pi i}\right)<br />

That's actually an interesting notation. It seems to be more properly descriptive of what all the solutions are.
 
  • #11
By writing
<br /> x^{k}=e^{k\log x}<br />
My solutions become
<br /> y=\sum_{n=0}^{\infty}B_{n}\sin (n\pi\log x)<br />
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
2K