Math Notes Fall 24
Often times when trying to teach myself math I come across little tidbits that, while likely not original, are neat and obscure.
Here are some.
Integrals of Step Functions
The integral of the function
⌊x⌋ with respect to
x is equal to
∫⌊x⌋dx====n=0∑⌊x⌋−1n+(x−⌊x⌋)(⌊x⌋)21(⌊x⌋−1)(⌊x⌋−1+1)+(x−⌊x⌋)⌊x⌋(x−21)⌊x⌋−21⌊x⌋2(Constant of integration omitted)
A similar process can be done for the ceiling function
⌈x⌉.
∫⌈x⌉dx====n=0∑⌈x⌉n+(x−⌈(x)⌉)⌈x⌉21⌈x⌉(⌈x⌉+1)+(x−⌈x⌉)⌈x⌉(x+21)⌈x⌉−21⌈x⌉2I’ll spare the fine details on the final one. The ‘round to the nearest integer’ function
nint(x) can also be integrated.
∫nint(x)dx=x(nint(x))−21nint(x)2Fibonacci Sequence
The Fibonacci sequence is defined as
F1=Fn+2=F2=1Fn+1+FnAre there any Fibonacci numbers
Fn such that
Fn+1>2Fn?
Fn+1=Fn+Fn−1Substitute into inequality
Fn+Fn−1>2Fn
Fn−1>FnWhich is never true for the sequence.
Another question: which Fibonacci numbers
Fn are such that
Fn+2>2Fn?
Again substitute
Fn+1+Fn>2Fn
Fn+1>FnWhich is true for all Fibonacci numbers except for when
n=1.
In a similar spirit, it is obvious that
Fn=Fn−1+Fn−2But this form can be reduced further to be a sum of
Fn−2 and
Fn−3
Fn=====Fn−1+Fn−2Fn−2+Fn3+Fn−22Fn−2+Fn−3and again2Fn−3+2Fn−4+Fn−33Fn−3+2Fn−4The coefficients on the reduced forms are interesting to me. Given coefficients
ak,bk in a specific level of reduced Fibonacci, find
ak+1,bk+1
akFn−1+bkFn−2=ak(Fn−2+Fn−3)+bkFn−2=(ak+bk)Fn−2+akFn−3We define
a1=b1=1. and,
ak+1=bk+1=ak+bkak
ak+2=ak+1+bk+1=ak+1+akNotice something peculiar about the above identity: it’s also the Fibonacci sequence!
This allows us to define a specific level of reduced Fibonacci symbolically. Let
k>1
Fn=akFn−k+1+bkFn−k
Fn=FkFn−k+1+Fk−1Fn−kAs an example
n=10 and
k=4
F10=F4F7+F3F6
55=3⋅13+2⋅8
Generalized Geometric Series
The geometric series is defined as
n=1∑∞rnWhere
−1<r<1. The algebraic way to solve for the closed form
x of the series is as follows
xxxx=r+r2+r3+…+rn=r(1+r+r2+…+rn−1)=r(1+x)=1−rr
How about some other values for the exponent of
r?
Let’s try the odd numbers
2n−1
xxxxx=r+r3+r5+…+r2n−1=r(1+r2+r4+…+r2n−2)=r(1+r(r+r3+…+r2n−3))=r(1+rx)=1−r2r
n=1∑∞r2n−1=1−r2r
How about for the multiples of three
3n
xxxx=r3+r6+r9+…+r3n=r3(1+r3+r6+…+r3n−3)=r3(1+x)=1−r3r3
n=1∑∞r3n=1−r3r3
Generally, it can be assumed that for any natural number
k>0 and for any real
r where
−1<r<1 that
n=1∑∞rkn=1−rkrkTo show that this is true, consider the following
xxxx=rk+r2k+r3k+…+rnk=rk(1+rk+r2k+…+rnk−k)=rk(1+x)=1−rkrk
How about for numbers which leave a remainder of two when divided by three:
3n−1?
xx=r2+r5+r8+…+r3n−1=r2(1+r3+r6+…+r3n−3)The earlier found identity allows us to solve this
xxxx=r2(1+n=1∑∞r3n)=r2(1+1−r3r3)=r2+1−r3r5=1−r3r2
n=1∑∞r3n−1=1−r3r2
That got me thinking, is there a general closed form of
n=1∑∞ran−b=xwhere
a,b∈N,
0≤b<a, and
−1<r<1?
xxxxx=ra−b+r2a−b+r3a−b+…+ran−b=ra(r−b+ra−b+r2a−b+…+ra(n−1)−b)=ra(r−b+x)=ra−b+rax=1−rara−bWhich seems to agree with the previous result of
a=3,b=1
1−r3r2And the even earlier result of odd numbers
a=2,b=1
1−r2rThus I think it’s fair to say
n=1∑∞ran−b=1−rara−b
There’s one final case that has not been covered
an+b where
a,b∈N and where
a,b>0
n=1∑∞ran+b
xxxxx=ra+b+r2a+b+r3a+b+…+ran+b=ra+b(1+ra+r2a+…+ra(n−1))=ra+b(1+1−rara)=ra+b+1−rar2a+b=1−rara+b−r2a+b+r2a+bThus
n=1∑∞ran+b=1−rara+bAll this would seem to imply that if
f(n) is a linear function which maps
N→N then there exists a trivially obtainable closed form for the sum
n=1∑∞rf(n)I’d like to see this extended to other number systems than natural numbers, but I’m a bit exhausted of series at this point.