Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11610

Re: DSolve for a real function

From Andreas Talmon l'Armée
Newsgroups comp.soft-sys.math.mathematica
Subject Re: DSolve for a real function
Date 2012-09-04 09:52 +0000
Message-ID <k24j07$1ro$1@smc.vnet.net> (permalink)
References <k1k8np$90f$1@smc.vnet.net> <20120901062746.B3D7F687B@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Hi,

My initial conditions are the following and I am pretty sure that my 
solution consists only of a real part.
The Solution has four eigenvalues and they are complex conjugated. With 
all variables and all parameters real numbers I must be able to retrieve 
a real solution. But being a mathematica newbie,  I do not understand 
how to do it with mathematca.

y''[-c] == ic0, y''[c] == ic0, y'''[-c] == ic1, y'''[c] == -ic1

My Notebook is also ready for download at dropbox.com:
http://dl.dropbox.com/u/4920002/DGL_4th_Order.nb

Clear[sol]

$Assumptions = {a \[Element] Reals, ic0 \[Element] Reals,
    ic1 \[Element] Reals, c \[Element] Reals};

sol[a_, x_] =
  y[x] /. DSolve[{y''''[x] + a y[x] == 0, y''[-c] == ic0,
       y''[c] == ic0, y'''[-c] == ic1, y'''[c] == -ic1}, y[x],
      x][[1]] // FullSimplify

Reduce[Element[sol[a, x], Reals], a, Reals]



Thanks for your help,

Andreas






On 09/01/2012 08:27 AM, Bob Hanlon wrote:
> What are your initial conditions?
>
> Clear[sol]
>
> sol[a_, x_] = y[x] /. DSolve[
>       {y''''[x] + a y[x] == 0,
>        y[0] == ic0, y'[0] == ic1,
>        y''[0] == ic2, y'''[0] == ic3},
>       y[x], x][[1]] // FullSimplify
>
> (1/(2*a^(3/4)))*
>     (Cosh[(a^(1/4)*x)/Sqrt[2]]*
>          (2*a^(3/4)*ic0*Cos[(a^(1/4)*x)/
>                   Sqrt[2]] + Sqrt[2]*
>               (Sqrt[a]*ic1 + ic3)*
>               Sin[(a^(1/4)*x)/Sqrt[2]]) +
>        (Sqrt[2]*(Sqrt[a]*ic1 - ic3)*
>               Cos[(a^(1/4)*x)/Sqrt[2]] +
>             2*a^(1/4)*ic2*Sin[(a^(1/4)*x)/
>                   Sqrt[2]])*
>          Sinh[(a^(1/4)*x)/Sqrt[2]])
>
> Reduce[Element[sol[a, x], Reals], a, Reals]
>
> a > 0
>
>
> Bob Hanlon
>
>
> On Fri, Aug 31, 2012 at 3:59 AM,  <"Andreas Talmon l'Arm=E9e"@smc.vnet.net> wrote:
>> Hi All
>>
>> Is there a way to tell mathematica to solve only for real solutions. My
>> differential equation is of the kind
>>
>> y''''[x]+a y[x]==0
>>
>> a= constant coefficient
>>
>> I know that I get 4 komplex eigenvalues which are complex conjungated.
>> But y[x] is a real function.
>> Solving this equation with DSolve always gets a complex function y[x].
>>
>> Any Ideas.
>>
>> Thanks, Andreas
>>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

reduction/simplification of hypergeometric-function-related formula Paul Slater <slater@kitp.ucsb.edu> - 2012-08-29 05:18 +0000
  Re: reduction/simplification of hypergeometric-function-related formula "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-08-30 08:12 +0000
  DSolve for a real function Andreas Talmon l'Armée - 2012-08-31 08:01 +0000
  Re: DSolve for a real function Bob Hanlon <hanlonr357@gmail.com> - 2012-09-01 06:27 +0000
  Re: DSolve for a real function Andreas Talmon l'Armée - 2012-09-04 09:46 +0000
  Re:  Re: DSolve for a real function Bob Hanlon <hanlonr357@gmail.com> - 2012-09-04 09:47 +0000
  Re:  Re: DSolve for a real function Andreas Talmon l'Armée - 2012-09-04 09:47 +0000
  Re: DSolve for a real function Andreas Talmon l'Armée - 2012-09-04 09:52 +0000
  Re: DSolve for a real function Bob Hanlon <hanlonr357@gmail.com> - 2012-09-04 09:52 +0000
  Re: DSolve for a real function Bob Hanlon <hanlonr357@gmail.com> - 2012-09-07 08:58 +0000
  Re: DSolve for a real function Andreas Talmon l'Armée - 2012-09-07 09:01 +0000

csiph-web