How to solve for a function that is asymptotic to a sequence

In summary, the complicated function produces a sequence of natural numbers asymptotic to 2x. If the sequence converges, then using the floor function will produce the same result as using the original function.
  • #1
japplepie
93
0
I have a sequence of natural numbers which is generated by a really complicated function.
This function only takes in natural numbers.

How do I solve for a function that is asymptotic to the sequence?
If I have a sequence of ans, I want a function that satisfies f(n) ~ an as n -> infinity.
 
Physics news on Phys.org
  • #2
That depends on the function. There is no general answer.

If an converges, then f(x)=a[x] will work (using the floor function), but I guess that is cheating.
 
  • #3
mfb said:
That depends on the function. There is no general answer.

If an converges, then f(x)=a[x] will work (using the floor function), but I guess that is cheating.
I'm trying to use this on things like these:

Input: 102, 104, 106, 108, 110, 112, ... ~ 2x
or
Input: 1, 30, 185, 886, 3855, 16064, ... ~ 4^x
 
Last edited:
  • #4
Without more details, "finding some expression that looks correct" is the best approach.
The first one does not look like 2x.
 
  • #5
mfb said:
Without more details, "finding some expression that looks correct" is the best approach.
The first one does not look like 2x.
Actually the first one is 2x+100, which is asymptotic to 2x as x -> infinity
--------------------------------------------------------------
Isn't there any way of creating another series from the complicated one and doing "stuff" to it.

For instance, in my first example, I could do create another series bn = an+1-an
bn would be 2, 2, 2, 2, ...
The function that makes bn would be g(n)=2;

And I know that doing this subtraction thing is kind of taking the derivative from the ff:
f'(x) ~ f(x+1) - f(x) <- this is true for polynomial functions, idk about other kinds of functions though

and so, I could integrate (2 dx) which will give me 2x.

Basically, taking the "approximate derivative" to get a simpler sequence. Get the function for that sequence and do anti derivatives.

----------------------------------------------
This technique on another sequence:
1, 5, 11, 19, 29, 41, 55, 71, 89, 109, ...

(subtract)
4, 6, 8, 10, 12, 14, 16, 18, 20, ...
(subtract)
2, 2, 2, 2, 2, 2, 2, 2, ...
h(n) = 2
g(n) = 2x (anti derivative of h(n))
f(n) = x^2 (anti derivative of g(n))

and this method spits out x^2
 
Last edited:
  • #6
japplepie said:
Actually the first one is 2x+100, which is asymptotic to 2x as x -> infinity
Then 1010 and 1012 should be 110 and 112.
japplepie said:
Isn't there any way of creating another series from the complicated one and doing "stuff" to it.
It can be possible to simplify your formula, but there is no magic trick that simplifies all formulas.
Taking the difference between two elements works well for linear series, doing that multiple times works for all polynomials, taking the ratio works well for exponential series, but there are so many series that are in none of those categories.
 
  • #7
My bad, sorry about the typo

I'm only limiting my series to series using arithmetic operations and their respective inverses

Series that are generated via addition, multiplication, exponentiation, ... subtraction, division, roots & logs,...
 
Last edited:
  • #8
Still too many options for a general answer.
 
  • #9
mfb said:
Still too many options for a general answer.
By looking at the nth term of each iteration of doing the (subtraction or division or ...) process in the sequence, and put them in a sequence.

If this sequence doesn't converge to 0 (in case of linear) or 1 (for everything else), then it means that I'm going to need a higher inverse operation to capture the sequence.

For instance, if I do the subtraction process to a sequence generated from f(x)=2^x, sub(f(x)) -> 1, 2, 4, 8, 16, ... and sub(sub(f(x)) -> 1, 2, 4, 8, 16, ...

No matter how many times I iterate sub on this sequence, it never approaches 1.

Therefore, we need to check the next/higher inv. operation of sub which is div. ... If that doesn't work do the same thing using roots & logs

The process above can be formed into an algorithm that can search through all arithmetic rates of growths.
So, there's a chance that it's not impossible.
 
  • #10
You still don't get all sequences with that approach (and having to guess what to do each step is not nice either). The worst case would be uncomputable functions but even floor(10*sin(x)) escapes all methods mentioned so far.
 
  • #11
mfb said:
You still don't get all sequences with that approach (and having to guess what to do each step is not nice either). The worst case would be uncomputable functions but even floor(10*sin(x)) escapes all methods mentioned so far.

There is a hierarchy of functions you could follow to be able to not guess the next step which goes like
iterated successor a.k.a Addition which has inverse sub
iterated addition a.k.a Multiplication which has inverse div
iterated multiplication a.k.a Exponentiation which has inverse log and root (there are two of them, since it isn't commutative)
iterated exponentiation a.k.a Tetration ...
...
...
...

And just go through straight down to get to the next step.

And also, I'm limiting to what I'm taking in as sequences which are generated by operations of these types; sequences derived from operations mentioned above.

Which means I'm not considering sines and cosines.
 
  • #13
japplepie said:
There is a hierarchy of functions you could follow to be able to not guess the next step which goes like
iterated successor a.k.a Addition which has inverse sub
iterated addition a.k.a Multiplication which has inverse div
iterated multiplication a.k.a Exponentiation which has inverse log and root (there are two of them, since it isn't commutative)
iterated exponentiation a.k.a Tetration ...
Sometimes you'll need operations from different groups for the same sequence, applied in a specific order.

Sometimes your exact series is a sum of multiple components, so you never reach something "nice". And then you run into trouble:
##2^x+x^2## - you can take the ratio, it will approach 2, but it will never be exactly 2.
##2^x floor(ln(x))## - that will approach 2 as well in the ratio, but the function is certainly not ##2^x##.
 
  • #14
mfb said:
Sometimes you'll need operations from different groups for the same sequence, applied in a specific order.

Sometimes your exact series is a sum of multiple components, so you never reach something "nice". And then you run into trouble:
##2^x+x^2## - you can take the ratio, it will approach 2, but it will never be exactly 2.
##2^x floor(ln(x))## - that will approach 2 as well in the ratio, but the function is certainly not ##2^x##.

##2^x+x^2## is asymptotic to ##2^x## so this is what I'm looking for; I'm not looking for the exact explicit answer, just an asymptotic function as x-> infinity

Svein said:
Maybe difference equations can help. See for example http://en.wikipedia.org/wiki/Recurrence_relation .
It works, but only for specific cases
 

1. What is an asymptotic function?

An asymptotic function is a function that approaches a particular value or point but never actually reaches it. In other words, as the input approaches a certain value, the output of the function gets closer and closer to a specific value, but never touches it.

2. How do I identify an asymptotic function?

An asymptotic function can be identified by observing its behavior as the input approaches a certain value. If the output of the function gets closer and closer to a specific value but never reaches it, then the function is asymptotic to that value.

3. Can an asymptotic function have multiple asymptotes?

Yes, an asymptotic function can have multiple asymptotes, meaning that it can approach multiple values or points without ever reaching them. These values or points are called multiple asymptotes.

4. How do I solve for a function that is asymptotic to a sequence?

To solve for a function that is asymptotic to a sequence, you can use the concept of limits. Take the limit of the function as the input approaches the value of the sequence, and the resulting value will be the asymptote.

5. Can an asymptotic function be graphed?

Yes, an asymptotic function can be graphed. The graph of an asymptotic function will show the behavior of the function as the input approaches a certain value, and the asymptote will be shown as a horizontal or vertical line that the graph gets closer and closer to but never touches.

Similar threads

  • Topology and Analysis
Replies
21
Views
1K
  • Topology and Analysis
Replies
4
Views
2K
Replies
2
Views
387
  • Topology and Analysis
Replies
10
Views
2K
Replies
3
Views
1K
Replies
2
Views
147
Replies
7
Views
2K
  • Topology and Analysis
Replies
9
Views
1K
Replies
11
Views
4K
Replies
4
Views
1K
Back
Top