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


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

Re: DSolve for a real function

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: DSolve for a real function
Date 2012-09-01 06:27 +0000
Message-ID <k1s9sr$og4$1@smc.vnet.net> (permalink)
References <k1k8np$90f$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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