ODE with various initial conditions












0












$begingroup$


I encountered the following ODE:



$$frac{dx}{dt} = x(1-x)$$



Of course, this can easily be solved with separation of variables:



$$implies int frac{dx}{x(1-x)} = int dt implies ln bigg|frac{x}{1-x} bigg| = t+C$$



This solution is valid on $Bbb R backslash {0,1}$, so there would be no problem with imposing initial condition $x(0) = x_0$ as long as $x_0 neq 0,1$.



But, my question is how would we solve this ODE if the initial condition was indeed $x_0=0$ or $x_0=1$?



Intuitively, I see that these are fixed points so that $x equiv 0$ or $x equiv 1$ in these cases. But I guess I would like to know whether there is a way to express the solution of the ODE given general initial condition?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
    $endgroup$
    – Calvin Khor
    Jan 22 at 14:28
















0












$begingroup$


I encountered the following ODE:



$$frac{dx}{dt} = x(1-x)$$



Of course, this can easily be solved with separation of variables:



$$implies int frac{dx}{x(1-x)} = int dt implies ln bigg|frac{x}{1-x} bigg| = t+C$$



This solution is valid on $Bbb R backslash {0,1}$, so there would be no problem with imposing initial condition $x(0) = x_0$ as long as $x_0 neq 0,1$.



But, my question is how would we solve this ODE if the initial condition was indeed $x_0=0$ or $x_0=1$?



Intuitively, I see that these are fixed points so that $x equiv 0$ or $x equiv 1$ in these cases. But I guess I would like to know whether there is a way to express the solution of the ODE given general initial condition?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
    $endgroup$
    – Calvin Khor
    Jan 22 at 14:28














0












0








0


1



$begingroup$


I encountered the following ODE:



$$frac{dx}{dt} = x(1-x)$$



Of course, this can easily be solved with separation of variables:



$$implies int frac{dx}{x(1-x)} = int dt implies ln bigg|frac{x}{1-x} bigg| = t+C$$



This solution is valid on $Bbb R backslash {0,1}$, so there would be no problem with imposing initial condition $x(0) = x_0$ as long as $x_0 neq 0,1$.



But, my question is how would we solve this ODE if the initial condition was indeed $x_0=0$ or $x_0=1$?



Intuitively, I see that these are fixed points so that $x equiv 0$ or $x equiv 1$ in these cases. But I guess I would like to know whether there is a way to express the solution of the ODE given general initial condition?










share|cite|improve this question









$endgroup$




I encountered the following ODE:



$$frac{dx}{dt} = x(1-x)$$



Of course, this can easily be solved with separation of variables:



$$implies int frac{dx}{x(1-x)} = int dt implies ln bigg|frac{x}{1-x} bigg| = t+C$$



This solution is valid on $Bbb R backslash {0,1}$, so there would be no problem with imposing initial condition $x(0) = x_0$ as long as $x_0 neq 0,1$.



But, my question is how would we solve this ODE if the initial condition was indeed $x_0=0$ or $x_0=1$?



Intuitively, I see that these are fixed points so that $x equiv 0$ or $x equiv 1$ in these cases. But I guess I would like to know whether there is a way to express the solution of the ODE given general initial condition?







ordinary-differential-equations initial-value-problems






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 22 at 14:00









glowstonetreesglowstonetrees

2,368418




2,368418












  • $begingroup$
    Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
    $endgroup$
    – Calvin Khor
    Jan 22 at 14:28


















  • $begingroup$
    Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
    $endgroup$
    – Calvin Khor
    Jan 22 at 14:28
















$begingroup$
Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
$endgroup$
– Calvin Khor
Jan 22 at 14:28




$begingroup$
Its perhaps important to note that this equation satisfies the hypothesis of Picard-Lindelof so the solution is unique.
$endgroup$
– Calvin Khor
Jan 22 at 14:28










6 Answers
6






active

oldest

votes


















1












$begingroup$

Think about the initial condition as a parameter. Since
$$
ln left| frac{x}{1-x}right| = e^t + C
$$

we know
$$
frac{x}{1-x} = A e^t
$$

where $A = e^C$. Evaluating at $t=0$ gives
$$
A = frac{x(0)}{1-x(0)}
$$

and so
$$
x(t) = frac{frac{x(0)}{1-x(0)} e^t}{1 + frac{x(0)}{1-x(0)} e^t}
= frac{x(0) e^t}{1+x(0)(e^t-1)}
$$

So now think about the function $gamma(s,t)$, where for each $s$, $t mapsto gamma(s,t)$ is the solution to $x' = x(1-x)$, $x(0) = s$. Using the above, we see that
$$
gamma(s,t) = frac{se^t}{1+s(e^t-1)}
$$

Notice $lim_{sto 0} gamma(s,t) = 0$ and $lim_{sto 1} gamma(s,t) = 1$ for all $t$. So the two equilibrium cases are the limits of the non-equilibrium cases as the initial conditions tend toward the critical points.






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    If you intially start with $x_0 = 0$ or $x_0 = 1$, then there won't be a change in $x$ over time because in both cases you have:
    $$frac{dx}{dt} = 0$$



    So your $x$ won't change and will remain the same value so in this case you have $x = 0$ and $x=1$. You can't solve the ODE generally and analysing $x_0 = 0$ or $x_0 = 1$ at the end with your general solution. You need to consider them seperately. There isn't also a way to write the solution of the ODE in one form including $x = 0$ and $x=1$. You need to write the solution depending on which begin condition you use:
    $$x = 0 hspace{3mm} text{if} hspace{3mm} x_0 = 0\ lnleft|frac{x}{1-x} right| = t+C hspace{3mm} text{if} hspace{3mm} x_0 = mathbb{R}backslash{0,1}\x = 1 hspace{3mm} text{if} hspace{3mm} x_0 = 1\$$






    share|cite|improve this answer









    $endgroup$





















      1












      $begingroup$

      Solving for $x$ gives



      $$ x(t) = frac{Ae^t}{1+Ae^t} $$



      where $A = e^C$



      Note that $x(0) = dfrac{A}{1+A}$



      The initial condition $x(0)=0$ occurs when $A=0$. This gives the constant solution, as predicted.



      The initial condition $x(0)=1$ occurs in the limit $Atoinfty$. This also gives the constant solution.






      share|cite|improve this answer









      $endgroup$





















        0












        $begingroup$

        I got $$x(t)=frac{e^t}{e^t+e^{C}}$$ then we get $$x(0)=frac{e^{0}}{e^{0}+e^{C}}$$






        share|cite|improve this answer









        $endgroup$





















          0












          $begingroup$

          If $x_0 = 0$, then the function $x(t)=0$ satisfies both the initial condition and the differential equation.



          Similarly, if $x_0=1$, the function $x(t)=1$ does the same.






          share|cite|improve this answer









          $endgroup$





















            0












            $begingroup$

            First of all, solve for $x$ in the cases $x_0 neq -1, 0$:



            $ln left| frac{x(t)}{1-x(t)} right| = t + C$,
            hence
            $x(t) = frac{e^{t+C}}{1+e^{t+C}}$.
            As $C = ln left| frac{x_0}{1-x_0} right|$ we have
            $$x(t)
            = frac{e^{t+ln left| frac{x_0}{1-x_0} right|}}{1+e^{t+ln left| frac{x_0}{1-x_0} right|}}
            = frac{left| frac{x_0}{1-x_0} right|e^t}{1+left| frac{x_0}{1-x_0} right|e^t}
            = frac{|x_0|e^t}{|1-x_0|+|x_0| e^t}.$$



            You asked for a closed formula for all $x_0$. Well, this formula is also valid for $x_0 = 0$ or $x_0=1$.






            share|cite|improve this answer









            $endgroup$













              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "69"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3083195%2fode-with-various-initial-conditions%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              6 Answers
              6






              active

              oldest

              votes








              6 Answers
              6






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1












              $begingroup$

              Think about the initial condition as a parameter. Since
              $$
              ln left| frac{x}{1-x}right| = e^t + C
              $$

              we know
              $$
              frac{x}{1-x} = A e^t
              $$

              where $A = e^C$. Evaluating at $t=0$ gives
              $$
              A = frac{x(0)}{1-x(0)}
              $$

              and so
              $$
              x(t) = frac{frac{x(0)}{1-x(0)} e^t}{1 + frac{x(0)}{1-x(0)} e^t}
              = frac{x(0) e^t}{1+x(0)(e^t-1)}
              $$

              So now think about the function $gamma(s,t)$, where for each $s$, $t mapsto gamma(s,t)$ is the solution to $x' = x(1-x)$, $x(0) = s$. Using the above, we see that
              $$
              gamma(s,t) = frac{se^t}{1+s(e^t-1)}
              $$

              Notice $lim_{sto 0} gamma(s,t) = 0$ and $lim_{sto 1} gamma(s,t) = 1$ for all $t$. So the two equilibrium cases are the limits of the non-equilibrium cases as the initial conditions tend toward the critical points.






              share|cite|improve this answer









              $endgroup$


















                1












                $begingroup$

                Think about the initial condition as a parameter. Since
                $$
                ln left| frac{x}{1-x}right| = e^t + C
                $$

                we know
                $$
                frac{x}{1-x} = A e^t
                $$

                where $A = e^C$. Evaluating at $t=0$ gives
                $$
                A = frac{x(0)}{1-x(0)}
                $$

                and so
                $$
                x(t) = frac{frac{x(0)}{1-x(0)} e^t}{1 + frac{x(0)}{1-x(0)} e^t}
                = frac{x(0) e^t}{1+x(0)(e^t-1)}
                $$

                So now think about the function $gamma(s,t)$, where for each $s$, $t mapsto gamma(s,t)$ is the solution to $x' = x(1-x)$, $x(0) = s$. Using the above, we see that
                $$
                gamma(s,t) = frac{se^t}{1+s(e^t-1)}
                $$

                Notice $lim_{sto 0} gamma(s,t) = 0$ and $lim_{sto 1} gamma(s,t) = 1$ for all $t$. So the two equilibrium cases are the limits of the non-equilibrium cases as the initial conditions tend toward the critical points.






                share|cite|improve this answer









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  Think about the initial condition as a parameter. Since
                  $$
                  ln left| frac{x}{1-x}right| = e^t + C
                  $$

                  we know
                  $$
                  frac{x}{1-x} = A e^t
                  $$

                  where $A = e^C$. Evaluating at $t=0$ gives
                  $$
                  A = frac{x(0)}{1-x(0)}
                  $$

                  and so
                  $$
                  x(t) = frac{frac{x(0)}{1-x(0)} e^t}{1 + frac{x(0)}{1-x(0)} e^t}
                  = frac{x(0) e^t}{1+x(0)(e^t-1)}
                  $$

                  So now think about the function $gamma(s,t)$, where for each $s$, $t mapsto gamma(s,t)$ is the solution to $x' = x(1-x)$, $x(0) = s$. Using the above, we see that
                  $$
                  gamma(s,t) = frac{se^t}{1+s(e^t-1)}
                  $$

                  Notice $lim_{sto 0} gamma(s,t) = 0$ and $lim_{sto 1} gamma(s,t) = 1$ for all $t$. So the two equilibrium cases are the limits of the non-equilibrium cases as the initial conditions tend toward the critical points.






                  share|cite|improve this answer









                  $endgroup$



                  Think about the initial condition as a parameter. Since
                  $$
                  ln left| frac{x}{1-x}right| = e^t + C
                  $$

                  we know
                  $$
                  frac{x}{1-x} = A e^t
                  $$

                  where $A = e^C$. Evaluating at $t=0$ gives
                  $$
                  A = frac{x(0)}{1-x(0)}
                  $$

                  and so
                  $$
                  x(t) = frac{frac{x(0)}{1-x(0)} e^t}{1 + frac{x(0)}{1-x(0)} e^t}
                  = frac{x(0) e^t}{1+x(0)(e^t-1)}
                  $$

                  So now think about the function $gamma(s,t)$, where for each $s$, $t mapsto gamma(s,t)$ is the solution to $x' = x(1-x)$, $x(0) = s$. Using the above, we see that
                  $$
                  gamma(s,t) = frac{se^t}{1+s(e^t-1)}
                  $$

                  Notice $lim_{sto 0} gamma(s,t) = 0$ and $lim_{sto 1} gamma(s,t) = 1$ for all $t$. So the two equilibrium cases are the limits of the non-equilibrium cases as the initial conditions tend toward the critical points.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 22 at 14:30









                  Matthew LeingangMatthew Leingang

                  16.7k12244




                  16.7k12244























                      1












                      $begingroup$

                      If you intially start with $x_0 = 0$ or $x_0 = 1$, then there won't be a change in $x$ over time because in both cases you have:
                      $$frac{dx}{dt} = 0$$



                      So your $x$ won't change and will remain the same value so in this case you have $x = 0$ and $x=1$. You can't solve the ODE generally and analysing $x_0 = 0$ or $x_0 = 1$ at the end with your general solution. You need to consider them seperately. There isn't also a way to write the solution of the ODE in one form including $x = 0$ and $x=1$. You need to write the solution depending on which begin condition you use:
                      $$x = 0 hspace{3mm} text{if} hspace{3mm} x_0 = 0\ lnleft|frac{x}{1-x} right| = t+C hspace{3mm} text{if} hspace{3mm} x_0 = mathbb{R}backslash{0,1}\x = 1 hspace{3mm} text{if} hspace{3mm} x_0 = 1\$$






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        If you intially start with $x_0 = 0$ or $x_0 = 1$, then there won't be a change in $x$ over time because in both cases you have:
                        $$frac{dx}{dt} = 0$$



                        So your $x$ won't change and will remain the same value so in this case you have $x = 0$ and $x=1$. You can't solve the ODE generally and analysing $x_0 = 0$ or $x_0 = 1$ at the end with your general solution. You need to consider them seperately. There isn't also a way to write the solution of the ODE in one form including $x = 0$ and $x=1$. You need to write the solution depending on which begin condition you use:
                        $$x = 0 hspace{3mm} text{if} hspace{3mm} x_0 = 0\ lnleft|frac{x}{1-x} right| = t+C hspace{3mm} text{if} hspace{3mm} x_0 = mathbb{R}backslash{0,1}\x = 1 hspace{3mm} text{if} hspace{3mm} x_0 = 1\$$






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          If you intially start with $x_0 = 0$ or $x_0 = 1$, then there won't be a change in $x$ over time because in both cases you have:
                          $$frac{dx}{dt} = 0$$



                          So your $x$ won't change and will remain the same value so in this case you have $x = 0$ and $x=1$. You can't solve the ODE generally and analysing $x_0 = 0$ or $x_0 = 1$ at the end with your general solution. You need to consider them seperately. There isn't also a way to write the solution of the ODE in one form including $x = 0$ and $x=1$. You need to write the solution depending on which begin condition you use:
                          $$x = 0 hspace{3mm} text{if} hspace{3mm} x_0 = 0\ lnleft|frac{x}{1-x} right| = t+C hspace{3mm} text{if} hspace{3mm} x_0 = mathbb{R}backslash{0,1}\x = 1 hspace{3mm} text{if} hspace{3mm} x_0 = 1\$$






                          share|cite|improve this answer









                          $endgroup$



                          If you intially start with $x_0 = 0$ or $x_0 = 1$, then there won't be a change in $x$ over time because in both cases you have:
                          $$frac{dx}{dt} = 0$$



                          So your $x$ won't change and will remain the same value so in this case you have $x = 0$ and $x=1$. You can't solve the ODE generally and analysing $x_0 = 0$ or $x_0 = 1$ at the end with your general solution. You need to consider them seperately. There isn't also a way to write the solution of the ODE in one form including $x = 0$ and $x=1$. You need to write the solution depending on which begin condition you use:
                          $$x = 0 hspace{3mm} text{if} hspace{3mm} x_0 = 0\ lnleft|frac{x}{1-x} right| = t+C hspace{3mm} text{if} hspace{3mm} x_0 = mathbb{R}backslash{0,1}\x = 1 hspace{3mm} text{if} hspace{3mm} x_0 = 1\$$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Jan 22 at 14:16









                          Belgium_PhysicsBelgium_Physics

                          325110




                          325110























                              1












                              $begingroup$

                              Solving for $x$ gives



                              $$ x(t) = frac{Ae^t}{1+Ae^t} $$



                              where $A = e^C$



                              Note that $x(0) = dfrac{A}{1+A}$



                              The initial condition $x(0)=0$ occurs when $A=0$. This gives the constant solution, as predicted.



                              The initial condition $x(0)=1$ occurs in the limit $Atoinfty$. This also gives the constant solution.






                              share|cite|improve this answer









                              $endgroup$


















                                1












                                $begingroup$

                                Solving for $x$ gives



                                $$ x(t) = frac{Ae^t}{1+Ae^t} $$



                                where $A = e^C$



                                Note that $x(0) = dfrac{A}{1+A}$



                                The initial condition $x(0)=0$ occurs when $A=0$. This gives the constant solution, as predicted.



                                The initial condition $x(0)=1$ occurs in the limit $Atoinfty$. This also gives the constant solution.






                                share|cite|improve this answer









                                $endgroup$
















                                  1












                                  1








                                  1





                                  $begingroup$

                                  Solving for $x$ gives



                                  $$ x(t) = frac{Ae^t}{1+Ae^t} $$



                                  where $A = e^C$



                                  Note that $x(0) = dfrac{A}{1+A}$



                                  The initial condition $x(0)=0$ occurs when $A=0$. This gives the constant solution, as predicted.



                                  The initial condition $x(0)=1$ occurs in the limit $Atoinfty$. This also gives the constant solution.






                                  share|cite|improve this answer









                                  $endgroup$



                                  Solving for $x$ gives



                                  $$ x(t) = frac{Ae^t}{1+Ae^t} $$



                                  where $A = e^C$



                                  Note that $x(0) = dfrac{A}{1+A}$



                                  The initial condition $x(0)=0$ occurs when $A=0$. This gives the constant solution, as predicted.



                                  The initial condition $x(0)=1$ occurs in the limit $Atoinfty$. This also gives the constant solution.







                                  share|cite|improve this answer












                                  share|cite|improve this answer



                                  share|cite|improve this answer










                                  answered Jan 22 at 14:24









                                  DylanDylan

                                  13.3k31027




                                  13.3k31027























                                      0












                                      $begingroup$

                                      I got $$x(t)=frac{e^t}{e^t+e^{C}}$$ then we get $$x(0)=frac{e^{0}}{e^{0}+e^{C}}$$






                                      share|cite|improve this answer









                                      $endgroup$


















                                        0












                                        $begingroup$

                                        I got $$x(t)=frac{e^t}{e^t+e^{C}}$$ then we get $$x(0)=frac{e^{0}}{e^{0}+e^{C}}$$






                                        share|cite|improve this answer









                                        $endgroup$
















                                          0












                                          0








                                          0





                                          $begingroup$

                                          I got $$x(t)=frac{e^t}{e^t+e^{C}}$$ then we get $$x(0)=frac{e^{0}}{e^{0}+e^{C}}$$






                                          share|cite|improve this answer









                                          $endgroup$



                                          I got $$x(t)=frac{e^t}{e^t+e^{C}}$$ then we get $$x(0)=frac{e^{0}}{e^{0}+e^{C}}$$







                                          share|cite|improve this answer












                                          share|cite|improve this answer



                                          share|cite|improve this answer










                                          answered Jan 22 at 14:14









                                          Dr. Sonnhard GraubnerDr. Sonnhard Graubner

                                          76.5k42866




                                          76.5k42866























                                              0












                                              $begingroup$

                                              If $x_0 = 0$, then the function $x(t)=0$ satisfies both the initial condition and the differential equation.



                                              Similarly, if $x_0=1$, the function $x(t)=1$ does the same.






                                              share|cite|improve this answer









                                              $endgroup$


















                                                0












                                                $begingroup$

                                                If $x_0 = 0$, then the function $x(t)=0$ satisfies both the initial condition and the differential equation.



                                                Similarly, if $x_0=1$, the function $x(t)=1$ does the same.






                                                share|cite|improve this answer









                                                $endgroup$
















                                                  0












                                                  0








                                                  0





                                                  $begingroup$

                                                  If $x_0 = 0$, then the function $x(t)=0$ satisfies both the initial condition and the differential equation.



                                                  Similarly, if $x_0=1$, the function $x(t)=1$ does the same.






                                                  share|cite|improve this answer









                                                  $endgroup$



                                                  If $x_0 = 0$, then the function $x(t)=0$ satisfies both the initial condition and the differential equation.



                                                  Similarly, if $x_0=1$, the function $x(t)=1$ does the same.







                                                  share|cite|improve this answer












                                                  share|cite|improve this answer



                                                  share|cite|improve this answer










                                                  answered Jan 22 at 14:14









                                                  5xum5xum

                                                  91.2k394161




                                                  91.2k394161























                                                      0












                                                      $begingroup$

                                                      First of all, solve for $x$ in the cases $x_0 neq -1, 0$:



                                                      $ln left| frac{x(t)}{1-x(t)} right| = t + C$,
                                                      hence
                                                      $x(t) = frac{e^{t+C}}{1+e^{t+C}}$.
                                                      As $C = ln left| frac{x_0}{1-x_0} right|$ we have
                                                      $$x(t)
                                                      = frac{e^{t+ln left| frac{x_0}{1-x_0} right|}}{1+e^{t+ln left| frac{x_0}{1-x_0} right|}}
                                                      = frac{left| frac{x_0}{1-x_0} right|e^t}{1+left| frac{x_0}{1-x_0} right|e^t}
                                                      = frac{|x_0|e^t}{|1-x_0|+|x_0| e^t}.$$



                                                      You asked for a closed formula for all $x_0$. Well, this formula is also valid for $x_0 = 0$ or $x_0=1$.






                                                      share|cite|improve this answer









                                                      $endgroup$


















                                                        0












                                                        $begingroup$

                                                        First of all, solve for $x$ in the cases $x_0 neq -1, 0$:



                                                        $ln left| frac{x(t)}{1-x(t)} right| = t + C$,
                                                        hence
                                                        $x(t) = frac{e^{t+C}}{1+e^{t+C}}$.
                                                        As $C = ln left| frac{x_0}{1-x_0} right|$ we have
                                                        $$x(t)
                                                        = frac{e^{t+ln left| frac{x_0}{1-x_0} right|}}{1+e^{t+ln left| frac{x_0}{1-x_0} right|}}
                                                        = frac{left| frac{x_0}{1-x_0} right|e^t}{1+left| frac{x_0}{1-x_0} right|e^t}
                                                        = frac{|x_0|e^t}{|1-x_0|+|x_0| e^t}.$$



                                                        You asked for a closed formula for all $x_0$. Well, this formula is also valid for $x_0 = 0$ or $x_0=1$.






                                                        share|cite|improve this answer









                                                        $endgroup$
















                                                          0












                                                          0








                                                          0





                                                          $begingroup$

                                                          First of all, solve for $x$ in the cases $x_0 neq -1, 0$:



                                                          $ln left| frac{x(t)}{1-x(t)} right| = t + C$,
                                                          hence
                                                          $x(t) = frac{e^{t+C}}{1+e^{t+C}}$.
                                                          As $C = ln left| frac{x_0}{1-x_0} right|$ we have
                                                          $$x(t)
                                                          = frac{e^{t+ln left| frac{x_0}{1-x_0} right|}}{1+e^{t+ln left| frac{x_0}{1-x_0} right|}}
                                                          = frac{left| frac{x_0}{1-x_0} right|e^t}{1+left| frac{x_0}{1-x_0} right|e^t}
                                                          = frac{|x_0|e^t}{|1-x_0|+|x_0| e^t}.$$



                                                          You asked for a closed formula for all $x_0$. Well, this formula is also valid for $x_0 = 0$ or $x_0=1$.






                                                          share|cite|improve this answer









                                                          $endgroup$



                                                          First of all, solve for $x$ in the cases $x_0 neq -1, 0$:



                                                          $ln left| frac{x(t)}{1-x(t)} right| = t + C$,
                                                          hence
                                                          $x(t) = frac{e^{t+C}}{1+e^{t+C}}$.
                                                          As $C = ln left| frac{x_0}{1-x_0} right|$ we have
                                                          $$x(t)
                                                          = frac{e^{t+ln left| frac{x_0}{1-x_0} right|}}{1+e^{t+ln left| frac{x_0}{1-x_0} right|}}
                                                          = frac{left| frac{x_0}{1-x_0} right|e^t}{1+left| frac{x_0}{1-x_0} right|e^t}
                                                          = frac{|x_0|e^t}{|1-x_0|+|x_0| e^t}.$$



                                                          You asked for a closed formula for all $x_0$. Well, this formula is also valid for $x_0 = 0$ or $x_0=1$.







                                                          share|cite|improve this answer












                                                          share|cite|improve this answer



                                                          share|cite|improve this answer










                                                          answered Jan 22 at 14:19









                                                          KebaKeba

                                                          1,399618




                                                          1,399618






























                                                              draft saved

                                                              draft discarded




















































                                                              Thanks for contributing an answer to Mathematics Stack Exchange!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid



                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.


                                                              Use MathJax to format equations. MathJax reference.


                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function () {
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3083195%2fode-with-various-initial-conditions%23new-answer', 'question_page');
                                                              }
                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              Mario Kart Wii

                                                              Partial Derivative Guidance.

                                                              Understanding the size os this class of aleatory events