Boundary value problem with substitution

Click For Summary

Homework Help Overview

The discussion revolves around finding the general solution to a boundary value problem described by a differential equation involving a parameter λ. The equation is presented in a form that suggests a substitution involving x = e^t, and boundary conditions are specified at y(1) = 0 and y(e) = 0.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore various methods to solve the differential equation, including substitutions and expansions. Some express confusion about the necessity of substitutions, while others suggest looking for solutions of a specific form. Questions arise regarding the relationship between different parameters and the implications of boundary conditions.

Discussion Status

The discussion is active, with participants sharing their attempts and insights. Some have provided guidance on methods to approach the problem, while others are questioning the validity of their algebraic manipulations and the implications of their findings. There is an ongoing exploration of different interpretations of the solutions.

Contextual Notes

Participants note discrepancies in their results when applying different methods, leading to discussions about the nature of the solutions and the implications of boundary conditions. There is an acknowledgment of potential errors in algebra that may affect the conclusions drawn.

TheFerruccio
Messages
216
Reaction score
0

Homework Statement



Find the general solution to the boundary value problem.

Homework Equations


[tex] (xy')' + \lambda x^{-1}y = 0[/tex]
[tex]y(1) = 0[/tex]
[tex]y(e) = 0[/tex]
use [tex]x = e^t[/tex]

The Attempt at a Solution



[tex]x = e^t[/tex] so [tex]\frac{dx}{dt} = e^t[/tex]

using chain rule:
[tex]y' = e^{-t}\frac{dy}{dt}[/tex]

Substituting this in:

[tex]\frac{d}{dx}(e^t(e^{-t}\frac{dy}{dt})) + \lambda e^{-t}y = 0[/tex]
[tex]\frac{d}{dx}(\frac{dy}{dt}) = \lambda e^{-t}y = 0[/tex]
[tex]\frac{d}{dx}(y'e^t) + \lambda e^{-t}y = 0[/tex]

From this point, I feel like I am going in circles. I want to get everything in equal powers of [tex]e[/tex], so I can cancel it out, get a general solution in terms of [tex]t[/tex], and plug in the boundary values to find my constants.
 
Physics news on Phys.org
Expand out the ODE fully:
[tex] \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[/tex]
This is called the Euler equation, look for solutions of the form x^{n}.
 
hunt_mat said:
Expand out the ODE fully:
[tex] \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[/tex]
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:

[tex]\frac{d}{dx}(x\frac{dy}{dx}) + \frac{\lambda}{x}y = 0[/tex]
[tex]\frac{dy}{dx} + x\frac{d^2y}{dx^2} + \frac{\lambda}{x}y = 0[/tex]
[tex]x^2y'' + y'x + \lambda y = 0[/tex]

... 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:

[tex]\ddot{y} + \lambda y = 0[/tex]

The general solution to this, in terms of [tex]t[/tex], is:

[tex]y = A\cos{\sqrt{\lambda}t} + B\sin{\sqrt{\lambda}t}[/tex]

Boundary conditions holding true, I get:

[tex]A = 0[/tex]
[tex]B[/tex] is arbitrary

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

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:
[tex] \left[ n(n-1)+n+\lambda\right] x^{n}=0[/tex]
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:

[tex]0 = B\sin{\sqrt{\lambda}}[/tex]

So...

[tex]\lambda = n^2\pi^2[/tex]

Using the euler format, I am getting...

[tex]0 = B\sin{n\sqrt{\lambda}}[/tex]

So...

[tex]\lambda = \frac{m^2pi^2}{n^2}[/tex]

where [tex]m[/tex], in this case, is [tex]n[/tex] in the first method.

I checked my algebra, and I don't see how these can be so different. Is it because [tex]n[/tex] and [tex]m[/tex] are arbitrary, and can combine to equal a single [tex]n[/tex]?
 
The two solutions are:
[tex] n=\pm\sqrt{\lambda}[/tex]
So the solution becomes:
[tex] y=Ax^{\sqrt{\lambda}}+Bx^{-\sqrt{\lambda}}[/tex]
Then just use the boundary conditions to find A and B.
 
hunt_mat said:
The two solutions are:
[tex] n=\pm\sqrt{\lambda}[/tex]
So the solution becomes:
[tex] y=Ax^{\sqrt{\lambda}}+Bx^{-\sqrt{\lambda}}[/tex]
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
[tex] n=\pm i\sqrt{\lambda}[/tex]
Then my solution reduces to yours... The solution my method becomes:
[tex] y=\sum_{n=0}^{\infty}A_{n}\left( x^{n\pi i}-x^{-n\pi i}\right)[/tex]
 
  • #10
hunt_mat said:
I made a mistake in my algebra, my solutions should have been
[tex] n=\pm i\sqrt{\lambda}[/tex]
Then my solution reduces to yours... The solution my method becomes:
[tex] y=\sum_{n=0}^{\infty}A_{n}\left( x^{n\pi i}-x^{-n\pi i}\right)[/tex]

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

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
3K
  • · 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