Solve Difference Equation: ΔP = e^P

Click For Summary

Discussion Overview

The discussion revolves around solving the difference equation ΔP = e^P, where ΔP is defined as the difference between two discrete time indices. Participants explore the conversion of this equation into a continuous time expression and the implications of its behavior, particularly regarding explosive growth.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents the difference equation ΔP = e^P and seeks to convert it into a continuous time expression.
  • Another participant questions which discrete time index e^P refers to, indicating potential ambiguity in the formulation.
  • Some participants suggest that approximating the equation by a "continuous derivative" could yield different results based on continuity assumptions.
  • Multiple participants note that the behavior of the equation appears explosive when tested with numerical values, raising concerns about its intended application.
  • Clarifications are made regarding the equation, with one participant correcting the expression to e^(P1 - c_3), suggesting it represents a negative exponential.
  • There is acknowledgment that the function will eventually blow up regardless of the initial value chosen for P1.
  • Another participant reiterates the relationship between ΔP and the continuous derivative, indicating that the limit leads to P' = e^(P(t)).

Areas of Agreement / Disagreement

Participants express concerns about the explosive nature of the solution and the interpretation of the equation, indicating that multiple competing views remain regarding its behavior and intended context. The discussion does not reach a consensus on how to proceed with solving the equation.

Contextual Notes

Participants highlight the dependence on initial values and constants, such as c_3, which may influence the behavior of the equation. There are unresolved assumptions regarding continuity and the implications of the explosive growth observed in numerical tests.

Cyrus
Messages
3,237
Reaction score
17
I have a difference equation which is given as:

ΔP = e^P [1]

where we can re-write ΔP as: Δ P = P_2 - P_1, where the subscripts indicate two distinct discrete time indices.

What I would like to do: is to convert this into a continuous time expression and solve it, if possible.

In order to help give some insight, I will solve a similar type of problem where I know the solution.

ΔP = c_1 [2]

Note here, that in all cases we are running the recursive algorithm at a fixed data rate. Therefore, I can rewrite equation [1] as:

Δ P = P_2 - P_1 = c_2 ⋅ Δ t

where c_1 = c_2 ⋅ Δ t

This allows me to divide both sides by [equation] \Delta t [/equation]:

ΔP /Δt = c_2

And in the limit:

dP/dt = c_2

which then becomes:

P(t) - P(0) = c_2⋅(t - t_0)

And so the result is that this recursive equation [2] gives us a linear ramp if we were to implement it. What I am trying to do for equation [1] is figure out what this expression will look like.
 
Physics news on Phys.org
To which discrete time index is e^P refering?
 
You can approximate it by a "continuous derivative" with different results depending upon what "continuity" assumptions you make.
 
Cyrus said:
$$\Delta P = P_2 - P_1 = e^{P_1}$$
looks explosive if I try a few numbers:
Code:
n   P1           exp(P1)         P2
0   0.0001       1.0001      1.0002
1   1.0002       2.718826    3.719026
2   3.719026    41.2242     44.94323
3  44.94323      3.3E+19     3.3E+19
I find it hard to believe this is what's intended ... ?
 
Sorry all I forgot it's e^p1
 
BvU said:
looks explosive if I try a few numbers:
Code:
n   P1           exp(P1)         P2
0   0.0001       1.0001      1.0002
1   1.0002       2.718826    3.719026
2   3.719026    41.2242     44.94323
3  44.94323      3.3E+19     3.3E+19
I find it hard to believe this is what's intended ... ?

Good point, it's actually e^(p1 - c_3)

Which is a negative exponential, but we can rewrite that as e^p1 / e^c_3 so I left out the denominator since it was a constant value. c_3 is just a constant
 
HallsofIvy said:
You can approximate it by a "continuous derivative" with different results depending upon what "continuity" assumptions you make.

I'm open to any solutions that are simple with some reasonable assumptions. :-)
 
Cyrus said:
I'm open to any solutions that are simple with some reasonable assumptions. :-)
Hey look who's back :smile:
 
  • Like
Likes   Reactions: gracy
Cyrus said:
Good point, it's actually e^(p1 - c_3)

Which is a negative exponential, but we can rewrite that as e^p1 / e^c_3 so I left out the denominator since it was a constant value. c_3 is just a constant
Still explodes, at some point P1 > c3.
Let C3 = 100 and P1 start at 1:

upload_2016-2-11_10-23-51.png
 
  • Like
Likes   Reactions: jim mcnamara
  • #10
It looks like you have, for a fixed data rate
##\Delta P = e^P,## so ##P_2 - P_1 = e^{P_1 } \Delta t##?
In the same way you simplified the first problem,

##\frac{\delta P}{\delta t} = \frac{ P(t+\delta t) - P(t) }{ \delta t} = e^{ P(t) }.##
In the limit, this will give you ## P' = e^{P(t)} ##

As BvU has pointed out, no matter what your starting P_1 is, your function will eventually blow up. Is there some other context for this problem? Maybe some initial values?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K