Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.5K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Solving differential equation with limit boundary condition

Posted 5 years ago

I have a problem when trying to solve this differential equation numerically which I thought would not be very difficult:

$e_z''(x)$+$e_z (\text{x}) $=$-e^{i x}\alpha (\text{x})$

where

$\alpha (\text{x})=\frac{-x+i}{x^2+1}$

So I know that $\alpha$ will go to zero as x goes to infinity or negative infinity so the solution for my $e_z$ should be of the form $e^{i x}$ in those limits. How can I tell mathematica this when trying to use ndsolve because I have no other boundary conditions?

POSTED BY: Felix Lang

What about

DSolve[f''[x] + f[x] == -((I - x)/(1 + x^2)) Exp[I x], f, x]    

?

POSTED BY: Hans Dolhaine
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard