Why are my equations giving different curves?

  • Context: Graduate 
  • Thread starter Thread starter LucasGB
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the discrepancies in the curves generated by different equations derived from an initial equation related to a mathematical model. Participants explore methods to simplify and compute these equations by hand, as well as potential solutions using Z-transforms.

Discussion Character

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

Main Points Raised

  • Estevão questions why two derived equations (Equation 3 and Equation 4) yield different curves despite being transformations of the same initial equation.
  • Some participants suggest reviewing the derivation of Equation 2 from Equation 1, emphasizing that X and Y should be treated as constants independent of "n".
  • One participant proposes using Z-transforms as a method to solve the difference equations, providing a specific form of the solution that matches one of the curves.
  • Another participant expresses skepticism about the necessity of Z-transforms, suggesting an alternative approach and providing a correction related to a variable in the attached picture.
  • Estevão acknowledges the help received and expresses appreciation for the creative solutions offered by other participants.

Areas of Agreement / Disagreement

There is no clear consensus on the best approach to resolve the discrepancies in the equations. Multiple competing views exist regarding the use of Z-transforms versus other methods for simplification.

Contextual Notes

Participants reference specific equations and transformations without fully resolving the mathematical steps or assumptions involved in their derivations. The discussion includes corrections to earlier statements, but the implications of these corrections remain unresolved.

LucasGB
Messages
181
Reaction score
0
What am I doing wrong?

When you have an equation such as the one displayed in Equation 1 (see attached figure) and want to compute it by hand, you may rewrite it as Equation 2.

Setting X and Y to the following values:

X = Exp[-(n-1)/beta]
Y = Exp[-T/alpha]

I got Equation 3. Thereafter, I tried to transform it in the same way, and then I got Equation 4. However, Equation 3 and 4 are not the same. For alpha=360, beta=5, A1=10 and T=1, these two equations give very different curves, as you can see at the bottom of the image (Equation 3 represented as the purple curve, and Equation 4 represented as the blue line). What am I doing wrong?

Thanks in advance,

Estevão

P.S.: Please, I really need help in this issue.
 

Attachments

  • Figure 1.JPG
    Figure 1.JPG
    27.6 KB · Views: 426
Last edited:
Physics news on Phys.org


Here's a hint Lucas. Go back and have a look at how you derived equation 2 from equation 1. Notice that to get it in the form of a geometric series you had to factorize out the X's and Y's across the sum of multiple terms. Think about what that means about X and Y, they must be constants, neither can depend on "n".
 


uart said:
Here's a hint Lucas. Go back and have a look at how you derived equation 2 from equation 1. Notice that to get it in the form of a geometric series you had to factorize out the X's and Y's across the sum of multiple terms. Think about what that means about X and Y, they must be constants, neither can depend on "n".

You are right! Thank you very much for the answer. However, now I have a new problem: how to simplify Equation 3 so I can compute it by hand?
 


Have you ever used Z-Transforms LucasGB? There are many ways to solve difference equations but z-transforms are one of the easiest.

See : http://en.wikipedia.org/wiki/Z-transform

I'll leave some of the work to you, but I get an answer that exactly matches your "red curve" and it's in the form of :

[tex]A_n = \frac{A_1}{b-a} ( b^n - a^n )[/tex]

where "a" and "b" are constants in terms of your alpha, beta, T etc.
 


uart said:
Have you ever used Z-Transforms LucasGB? There are many ways to solve difference equations but z-transforms are one of the easiest.

See : http://en.wikipedia.org/wiki/Z-transform

I'll leave some of the work to you, but I get an answer that exactly matches your "red curve" and it's in the form of :

[tex]A_n = \frac{A_1}{b-a} ( b^n - a^n )[/tex]

where "a" and "b" are constants in terms of your alpha, beta, T etc.

It seems great, but I'm having a hard time searching for introdutory texts to Z-Transforms. Could you suggest one to me?
 


LucasGB, I think there is no need of Z-transform.
Look at the attached picture.
I hope it will help you.
(Sorry, in the picture, when it says "knowing that X(1)=0", it should say "knowing that X(1)=1"
 

Attachments

  • LucasGB's function.jpg
    LucasGB's function.jpg
    18.7 KB · Views: 488
Last edited:


Karlx said:
LucasGB, I think there is no need of Z-transform.
Look at the attached picture.
I hope it will help you.
(Sorry, in the picture, when it says "knowing that X(1)=0", it should say "knowing that X(1)=1"

Thank you very much, Karlx. This is a very creative way to solve the equation. You and uart helped me a lot!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
962
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 23 ·
Replies
23
Views
7K
  • · Replies 3 ·
Replies
3
Views
4K