How to solve eigenvalue problems with mixed boundary condition?

Click For Summary

Discussion Overview

The discussion revolves around solving an eigenvalue problem defined by a second-order differential equation with mixed boundary conditions. The specific equation is f'' + E f = 0, with boundary conditions f'(0) + f(0) = 0 and f(1) = 0. Participants explore both analytical and numerical approaches to find solutions, particularly in light of potential modifications to the equation.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning, Experimental/applied

Main Points Raised

  • One participant presents the eigenvalue equation and mixed boundary conditions, expressing difficulty in finding a numerical solution.
  • Another participant suggests a general solution form f(x) = a sin(kx) + b cos(kx) and notes that the boundary conditions lead to a trivial solution unless further conditions are applied.
  • A similar viewpoint is reiterated, emphasizing the need to find non-zero solutions for the eigenvalue E.
  • One participant expresses a preference for numerical solutions, mentioning future modifications to the eigenvalue equation involving an arbitrary potential function V(x).
  • Another participant proposes a shooting method as a numerical approach, detailing how to set initial conditions and advance the solution to approximate eigenvalues.
  • There is a suggestion to look into resources related to the time-independent Schrödinger equation as a potential guide for numerical methods.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the solutions, with some suggesting that the trivial solution is the only one under certain conditions, while others focus on the numerical methods to find non-trivial solutions. The discussion remains unresolved regarding the best approach to take, particularly in light of the modifications to the equation.

Contextual Notes

Participants note that the eigenvalue E is unknown and that the boundary conditions may lead to a trivial solution unless additional constraints are applied. The discussion highlights the complexity introduced by the mixed boundary conditions and the arbitrary potential function V(x) in future modifications.

wdlang
Messages
306
Reaction score
0
suppose function f is define on the interval [0,1]

it satisfies the eigenvalue equation f'' + E f=0, and it satisfies the boundary conditions

f'(0)+ f(0)=0, f(1)=0.

How to solve this eigenvalue problem numerically?

the mixed boundary condition at x=0 really makes it difficult
 
Physics news on Phys.org
Have you found the general solution? It is f(x) = a sin(kx) + b cos(kx) for a known constant k and constants a and b to be determined.

The two equations f'(0) + f(0) = 0 and f(1) = 0 will give you two equations in the two unknowns a and b.

However, I would double check the question if I were you, because as you posted it a = b = 0 is the only solution, leading to f(x) = 0.
 
CompuChip said:
Have you found the general solution? It is f(x) = a sin(kx) + b cos(kx) for a known constant k and constants a and b to be determined.

The two equations f'(0) + f(0) = 0 and f(1) = 0 will give you two equations in the two unknowns a and b.

However, I would double check the question if I were you, because as you posted it a = b = 0 is the only solution, leading to f(x) = 0.

The point of eigenvalue problems is that E - which determines your k - is unknown; the object is to find those values of E for which non-zero solutions f are possible.

Here, we have the general solution [itex]A \cos (kx) + B \sin (kx)[/itex], where k is also unknown. Substituting this into the boundary conditions gives two equations for the three unknowns; we have to add the condition that at least one of A and B is non-zero to determine the permissible values of k.
 
CompuChip said:
Have you found the general solution? It is f(x) = a sin(kx) + b cos(kx) for a known constant k and constants a and b to be determined.

The two equations f'(0) + f(0) = 0 and f(1) = 0 will give you two equations in the two unknowns a and b.

However, I would double check the question if I were you, because as you posted it a = b = 0 is the only solution, leading to f(x) = 0.

actually i am more interested in the numerical solution

because my eigenvalue equation will be modified in future as

f'' + V(x) f + E f =0,

where V(x) is an arbitrary real function.

so the problem is to device a numerical scheme to do it
 
wdlang said:
actually i am more interested in the numerical solution

because my eigenvalue equation will be modified in future as

f'' + V(x) f + E f =0,

where V(x) is an arbitrary real function.

so the problem is to device a numerical scheme to do it

That looks similar to the one-dimensional time-independent Schrödinger equation; looking at resources for numerical solution of that might be useful.
 
The simplest way is to build a shooting code.

First let's note that if

g(x) is an solution of your equation then ag(x) is also a solution.

This allows us to pick f(0) = 1 which also gives us f'(0) =-1. We will use this for all the following calculations.

Next treat x as a time coordinate and using standard techniques for advancing in time we advance the ode in x from 0 to 1. You do a range of assumed values for E and note the value f(1) for each E.

The values of E where f(1) is close to 0 are approximate eigenvalues.

This is the basic idea. Typically people use root finding algorithms and interpolation to improve accuracy and performance.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K