Difference Equations and Differential Equations Convergence Exercise

Metronome

Junior Member
Joined
Jun 12, 2018
Messages
127
I am interested in Exercise 12 from Section 3.3 of Differential Equations With Boundary Value Problems by Polking, Boggess, and Arnold...
Scan_20240703.jpg

Exercise 12 references Exercise 11, to which the official solution is...
Scan_20240703 (2).jpg

Exercise 12 part (a) is straightforward; solve [imath]\frac{dQ}{dt} = .06Q,\ Q(0) = 2000, Q(10) =[/imath] the solution, which turns out as [imath]\$3644.24[/imath].

I think the point of this problem requested by part (c) is that the solutions to the difference equations at the [imath]10[/imath] year point are supposed to monotonically increase as we increase [imath]m[/imath], and converge to the differential equation solution as [imath]m[/imath] approaches [imath]\infty[/imath]. Since there's nothing special about the [imath]10[/imath] year point, we can be slightly more ambitious and expect the entire particular solution curve to converge as such.

I'm just a bit stuck on how to get there by following part (b). The formula generated in Exercise 11, [imath]P(n) = 2000(1 + \frac{.06}{m})^n[/imath], doesn't converge to the differential equation solution [imath]Q(t) = 2000e^{.06t}[/imath] for large [imath]m[/imath], but [imath]P[n] = 2000(1 + \frac{.06}{m})^{mn}[/imath] does, so I think I need to get an extra [imath]m[/imath] into the exponent.

I could apply the substitution [imath]t = \frac{n}{m}[/imath], [imath]Q(t) = P(n)[/imath] to the difference equation solution to get it into the right form, but this feels superficial; the substitution would never be undone, and I could just as easily make any substitution to get almost any desired answer.

What else can I do to introduce this missing [imath]m[/imath] in a careful fashion?
 
You are calculating the limit [imath]m \rightarrow \infty[/imath] of [imath]\displaystyle P(n) = 2000\left(1 + \frac{0.06}{m}\right)^n[/imath] without defining what is [imath]n[/imath]. In fact, [imath]n[/imath] depends on [imath]m[/imath]. In other words, [imath]n = tm[/imath]. For example, when you soved question 12 for daily (365 times per year), did you use [imath]n = 10[/imath] or [imath]n = 365[/imath] or [imath]n = 10 \times 365[/imath]?
 
You are calculating the limit [imath]m \rightarrow \infty[/imath] of [imath]\displaystyle P(n) = 2000\left(1 + \frac{0.06}{m}\right)^n[/imath] without defining what is [imath]n[/imath]. In fact, [imath]n[/imath] depends on [imath]m[/imath]. In other words, [imath]n = tm[/imath]. For example, when you soved question 12 for daily (365 times per year), did you use [imath]n = 10[/imath] or [imath]n = 365[/imath] or [imath]n = 10 \times 365[/imath]?
I indeed think this was my problem! I was naturally inclined toward [imath]n = 10[/imath], but I should use [imath]10 * 365[/imath].

I guess the right way to think about [imath]n = tm[/imath] is as a decomposition of [imath]n[/imath] rather than a substitution. A difference equation solution in [imath]n[/imath] doesn't care what calendar we use; we could just count the compounding periods as the money enters the account without any socially constructed measure of time (we are free to name the counted compounding periods "years," "months," etc., but the math doesn't ask for it). But such indifference is absurd for continuous compounding, as the paradigm would involve enumerating over an uncountable infinity of compounding periods, so we must decompose [imath]n[/imath] into some socially constructed measure of time [imath]t[/imath] in units of "years," "months," etc., which will remain constant as [imath]n[/imath] grows large, and some [imath]m[/imath] which effectively converts between the two measures of time and acts as a dial through which [imath]n[/imath] can be indirectly pushed to [imath]\infty[/imath] without affecting [imath]t[/imath], and through magic or something [imath]m[/imath] also happens to appear in the coefficient of the difference equation in such a way that makes [imath]e[/imath] appear in the limit!
 
I indeed think this was my problem! I was naturally inclined toward [imath]n = 10[/imath], but I should use [imath]10 * 365[/imath].

I guess the right way to think about [imath]n = tm[/imath] is as a decomposition of [imath]n[/imath] rather than a substitution. A difference equation solution in [imath]n[/imath] doesn't care what calendar we use; we could just count the compounding periods as the money enters the account without any socially constructed measure of time (we are free to name the counted compounding periods "years," "months," etc., but the math doesn't ask for it). But such indifference is absurd for continuous compounding, as the paradigm would involve enumerating over an uncountable infinity of compounding periods, so we must decompose [imath]n[/imath] into some socially constructed measure of time [imath]t[/imath] in units of "years," "months," etc., which will remain constant as [imath]n[/imath] grows large, and some [imath]m[/imath] which effectively converts between the two measures of time and acts as a dial through which [imath]n[/imath] can be indirectly pushed to [imath]\infty[/imath] without affecting [imath]t[/imath], and through magic or something [imath]m[/imath] also happens to appear in the coefficient of the difference equation in such a way that makes [imath]e[/imath] appear in the limit!
I think the point of this problem requested by part (c) is that the solutions to the difference equations at the [imath]10[/imath] year point are supposed to monotonically increase as we increase [imath]m[/imath], and converge to the differential equation solution as [imath]m[/imath] approaches [imath]\infty[/imath]. Since there's nothing special about the [imath]10[/imath] year point, we can be slightly more ambitious and expect the entire particular solution curve to converge as such.
When I read your sentence above I instantly knew [imath]n[/imath] is related to [imath]m[/imath] and the only way [imath]P[/imath] converges to [imath]Q[/imath] if and only if [imath]n = tm[/imath]. Also, I am very familiar with the limit of this structure [imath]\displaystyle \left(1 + \frac{0.06}{m}\right)^m \rightarrow e^{0.06}[/imath] as [imath]m \rightarrow \infty[/imath].

Part (b) of problem 12 demonstrates this idea: as you increase the compounding [imath]m[/imath], you increase your money. This is another way to see that [imath]P[/imath] is eventually converges to [imath]Q[/imath].

I understand that in Finance there are a lot of similar formulas that define [imath]n[/imath] in different ways which can even trick the professionals in this field.
 
Last edited:
The next thing I'm inclined to try is using the discovered relation [imath]n = tm[/imath] to go from the difference equation [imath]P(n + 1) = (1 + \frac{.06}{m})P(n), P(0) = 2000[/imath] to the differential equation [imath]\frac{dQ(t)}{dt} = .06Q(t), Q(0) = 2000[/imath] without solving either of them.

The problem I'm confronting is that the solution converges in the limit of [imath]m \rightarrow \infty[/imath] as was the point of the exercise, but the differential equation exists in the limit of [imath]\Delta t \rightarrow 0[/imath]. I guess I definitely still need [imath]m \rightarrow \infty[/imath], but maybe I should switch back to the interpretation that [imath]n[/imath] is fixed (i.e., at [imath]10[/imath] years) and [imath]t \rightarrow 0[/imath] to compensate for [imath]m \rightarrow \infty[/imath]?

Is there a way to proceed here?
 
The next thing I'm inclined to try is using the discovered relation [imath]n = tm[/imath] to go from the difference equation [imath]P(n + 1) = (1 + \frac{.06}{m})P(n), P(0) = 2000[/imath] to the differential equation [imath]\frac{dQ(t)}{dt} = .06Q(t), Q(0) = 2000[/imath] without solving either of them.

The problem I'm confronting is that the solution converges in the limit of [imath]m \rightarrow \infty[/imath] as was the point of the exercise, but the differential equation exists in the limit of [imath]\Delta t \rightarrow 0[/imath]. I guess I definitely still need [imath]m \rightarrow \infty[/imath], but maybe I should switch back to the interpretation that [imath]n[/imath] is fixed (i.e., at [imath]10[/imath] years) and [imath]t \rightarrow 0[/imath] to compensate for [imath]m \rightarrow \infty[/imath]?

Is there a way to proceed here?
I don't understand what you are trying to do. If you don't solve the two equations, you cannot use both [imath]m \rightarrow 0[/imath] and [imath]\Delta t \rightarrow 0[/imath]. To use [imath]m \rightarrow 0[/imath], you need know the solution [imath]P(n)[/imath] and you can express the derivative of the solution [imath]Q(t)[/imath] by [imath]\Delta t\rightarrow 0[/imath].
 
Last edited:
I don't understand what you are trying to do. If you don't solve the two equations, you cannot use both [imath]m \rightarrow 0[/imath] and [imath]\Delta t \rightarrow 0[/imath]. To use [imath]m \rightarrow 0[/imath], you need know the solution [imath]P(n)[/imath] and you can express the derivative of the solution [imath]Q(t)[/imath] by [imath]\Delta t\rightarrow 0[/imath].
I meant [imath]m \rightarrow \infty[/imath]
 
I don't understand what you are trying to do. If you don't solve the two equations, you cannot use both [imath]m \rightarrow 0[/imath] and [imath]\Delta t \rightarrow 0[/imath]. To use [imath]m \rightarrow 0[/imath], you need know the solution [imath]P(n)[/imath] and you can express the derivative of the solution [imath]Q(t)[/imath] by [imath]\Delta t\rightarrow 0[/imath].
Yeah, so my target would be something like [imath]\lim_{\Delta t \rightarrow 0} \frac{Q(t + \Delta t) - Q(t)}{\Delta t} = .06Q(t), Q(0) = 2000[/imath].

I might be able to bypass the use of [imath]m \rightarrow \infty[/imath] entirely. I noticed that there are at least two methods that give the same solution to the original problem of getting just the solutions to converge. Using the relation [imath]n = mt[/imath], it is possible to substitute [imath]n[/imath] out of the solution and push [imath]m[/imath] to [imath]\infty[/imath], or to substitute [imath]m[/imath] out of the solution and push [imath]n[/imath] to [imath]\infty[/imath]. That the second method exists seems to follow from your initial insight that I was mistakenly holding [imath]n[/imath] fixed at [imath]10[/imath] as I pushed [imath]m[/imath] to [imath]\infty[/imath], whereas they should both approach [imath]\infty[/imath] together; that is...[math]n_{approching\ \infty}\ =\ m_{approaching\ \infty}\ t_{not\ changing}[/math]One new idea I might be able to use is [imath]\Delta n = \frac{1}{m}[/imath]. This might be incorrect, because if [imath]\Delta n[/imath] should be measured in compounding periods, then [imath]\Delta n = 1[/imath], trivially. I'm not super educated in discrete calculus, but I believe in at least some contexts [imath]\Delta n[/imath] is indeed either assumed or proven to be [imath]1[/imath] (such as in the discrete derivative which is [often?] a simple difference rather than a difference quotient).
 
Using [imath]\displaystyle \Delta t \rightarrow 0[/imath] in a differential equation like that is meaningless. It will not take you anywhere. I am still not sure what you are trying to achieve! If this is what you are trying to do: make [imath]P(n)[/imath] converges to [imath]Q(t)[/imath] without solving the two equations, it is impossible. Also, if you want to find [imath]P(n)[/imath] and [imath]Q(t)[/imath] without solving the two equations, it is also impossible.

If you are trying to do something else, I'm sorry, but I could not understand you.
 
Last edited:
Using [imath]\displaystyle \Delta t \rightarrow 0[/imath] in a differential equation like that is meaningless. It will not take you anywhere. I am still not sure what you are trying to achieve! If this is what you are trying to do: make [imath]P(n)[/imath] converges to [imath]Q(t)[/imath] without solving the two equations, it is impossible. Also, if you want to find [imath]P(n)[/imath] and [imath]Q(t)[/imath] without solving the two equations, it is also impossible.

If you are trying to do something else, I'm sorry, but I could not understand you.
The exercises in the book were the red trajectory from the top-left square to the bottom-right square. I am now trying to figure out some way to traverse the blue trajectory. If the rightward facing blue arrow is impossible, then is there some intuition of why this is the case? It seems to me that an IVP and its solution are two descriptions of the same real-world system; if we can move to the right via the red arrow, then surely there is some method to move to the right via the blue arrow?

Thought.png
 
The exercises in the book were the red trajectory from the top-left square to the bottom-right square. I am now trying to figure out some way to traverse the blue trajectory. If the rightward facing blue arrow is impossible, then is there some intuition of why this is the case? It seems to me that an IVP and its solution are two descriptions of the same real-world system; if we can move to the right via the red arrow, then surely there is some method to move to the right via the blue arrow?

View attachment 38301
All I know is that if we have a second order boundary value problem which consists of a second order differential equation, we can approximate its solution by a finite Difference Equation.

For these other scenarios:

1. From First order differential equation to Difference Equation.
2. From Difference Equation to First order differential equation.
3. From Difference Equation to Second order differential equation.
3. From Difference Equation to Higher order differential equation.

I have never heard or seen a scenario like these before (although I am one of the rare people who is very interested in DE's and approximations). Now you want to know the reason why mathematicians don't care about the scenarios above! Well I don't know the exact answer, but I can tell you my opinion.

Approximations in general are derived from the Taylor series. Practice has proved that the first 3 terms of the Taylor series give great approximation to a given function. The other terms are garbage because they don't really affect the approximation (in general). It happens that the third term contains the second derivative of that given function which makes the Taylor series works pretty good in second order differential equations. Therefore, a first order differential equation will behave badly by the Taylor series because it only will take the first two terms while third order differential equation will also behave badly as it depends on the fourth term when it does not really affect the approximation.

In other words, mathematicians created discrete mathematics to help them approximate continuous applications. This means they need to convert the differential equation to the difference equation (which is easier to deal with) so that this difference equation helps them understand the differential equation. Not the reverse!
 
All I know is that if we have a second order boundary value problem which consists of a second order differential equation, we can approximate its solution by a finite Difference Equation.

For these other scenarios:

1. From First order differential equation to Difference Equation.
2. From Difference Equation to First order differential equation.
3. From Difference Equation to Second order differential equation.
3. From Difference Equation to Higher order differential equation.

I have never heard or seen a scenario like these before (although I am one of the rare people who is very interested in DE's and approximations). Now you want to know the reason why mathematicians don't care about the scenarios above! Well I don't know the exact answer, but I can tell you my opinion.

Approximations in general are derived from the Taylor series. Practice has proved that the first 3 terms of the Taylor series give great approximation to a given function. The other terms are garbage because they don't really affect the approximation (in general). It happens that the third term contains the second derivative of that given function which makes the Taylor series works pretty good in second order differential equations. Therefore, a first order differential equation will behave badly by the Taylor series because it only will take the first two terms while third order differential equation will also behave badly as it depends on the fourth term when it does not really affect the approximation.

In other words, mathematicians created discrete mathematics to help them approximate continuous applications. This means they need to convert the differential equation to the difference equation (which is easier to deal with) so that this difference equation helps them understand the differential equation. Not the reverse!
Okie, thanks for the explanation and all the help. I'll maybe try playing around with the same process for second order or slightly more interesting equations, but I'll expect to not find anything. One interesting wrinkle I noticed in all of this is that when we observe/introduce the relation [imath]n = tm[/imath], it makes the solution to the difference equation invalid, because [imath](1 + \frac{.06}{m})[/imath] is not a constant coefficient (it is not independent of [imath]n[/imath]). Crazy stuff!
 
Top