finite continued fractions Flashcards

1
Q

finite continued fraction:

A

an expression of the form x0 + 1/(x1+(1/….., where x0 is a real number and all other xk are also positive
denoted [x0: x1,…,xn], the xk’s are called elements
can always rewrite as [x0: x1,…,(xn-1),1] as xn!=1 (cause then x(n-1) could just be x(n-1)+1 and drop the xn, and x(n-1)+1>1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

{pk}:

A

p(-2)=0, p(-1)=1, pk=xkp(k-1)+p(k-2) for all k>=0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

{qk}:

A

q(-2)=1, q(-1)=0, qk=xkq(k-1)+q(k-2) for all k>=0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

continued fractions and recurrence relations:

A

n>=0, w a positive real number such that wqn+q(n-1)!=0, then [x0: x1,…,xn,w]=(wpn+p(n-1))/(wqn+q(n-1))
so [x0: x1,…,xn]=pn/qn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

pk and qk equations:

A

pkq(k-1)-p(k-1)qk=(-1)^(k-1)
pkq(k-2)-p(k-2)qk=(-1)^(k)xk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

finite simple continued fraction:

A

an expression of the form x0+(1/x1+(1/…. where x0 is an integer and all other xk are also positive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

qk with fscfs:

A

qk>q(k-1)>…>q1>=q0>0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

gcd(pk,qk):

A

for fscfs and k>=0, gcd(pk,qk)=1 so the fraction pk/qk cannot be simplified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

the continued fraction algorithm:

A

let a be a real number
step 1: set a0=a, x0=⌊a0⌋ (integer part of a0), and ε1=a0-x0. if ε1=0, return a=[x0]. otherwise, a=[x0: a1], where a1=1/ε1, proceed to step 2
step k: set x(k-1)=⌊a(k-1)⌋ and εk=a(k-1)-x(k-1). if εk=0, return a=[x0: x1,…,x(k-1)]. otherwise, a=[x0: x1,…,x(k-1),ak] where ak=1/εk, proceed to step k+1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

continued fraction algorithm terminates:

A

let a,b be integers with b!=0, it terminates when applied to a/b, assuming the euclidean (different) algorithm terminates at step N, a/n=[m1: m2,…,mN] (m is the multiple not the remainder)
aj in cfa=aj/a(j+1) in ea, x(j-1) in cfa=mj in ea, εj in cfa=rj/a(j+1) in ea
means every rational number can be expressed as a finite Simple continued fraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly