12.07.2015 Views

Linear Algebra

Linear Algebra

Linear Algebra

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

420 Chapter Five. Similaritya n−k f(n − k). We say that this relation is of order k. The relation along withthe initial conditions f(0), . . . , f(k) completely determines a sequence. Forinstance, the Fibonacci relation is of order two and, along with the two initialconditions f(0) = 0 and f(1) = 1, it determines the Fibonacci sequence simplybecause we can compute any f(n) by first computing f(2), f(3), etc. We shallsee how to use linear algebra to solve a linear recurrence relation — to find aformula that computes the n-th member of the sequence without having to firstcompute the values of the prior members.Let V be the set of functions with domain N = {0, 1, 2, . . .}. (We shall usethe codomain R but we could use others, such as C. Below we sometimes havedomain {1, 2, . . .} but it is not an important difference.) This is a vector spacewith the usual meaning for addition and scalar multiplication of functions, thatthe action of f + g is x ↦→ f(x) + g(x) and the action of cf is x ↦→ c · f(x).If we omit the initial conditions then there may be many functions satisfyinga recurrence. For example, the function g whose first few values are g(0) = 1,g(1) = 2, g(2) = 3, g(3) = 4, and g(4) = 7 solves the Fibonacci relation withoutthe Fibonacci initial conditions.Fix a relation and consider the subset S of functions satisfying the relationwithout initial conditions. We claim that it is a subspace of V. It is nonemptybecause the zero function is a solution. It is closed under addition since if f 1and f 2 are solutions, then this holds.a n+1 (f 1 + f 2 )(n + 1) + · · · + a n−k (f 1 + f 2 )(n − k)= (a n+1 f 1 (n + 1) + · · · + a n−k f 1 (n − k))= 0It is also closed under scalar multiplication.a n+1 (rf 1 )(n + 1) + · · · + a n−k (rf 1 )(n − k)+ (a n+1 f 2 (n + 1) + · · · + a n−k f 2 (n − k))= r(a n+1 f 1 (n + 1) + · · · + a n−k f 1 (n − k))= r · 0= 0We can find the dimension of S. Consider this map from the set of functions Sto the set of k-tall vectors. ⎛ ⎞f(0)f(1)f ↦→⎜ ⎟⎝ . ⎠f(k)Exercise 3 shows that this map is linear. Because any solution of the recurrenceis uniquely determined by the k initial conditions, this map is one-to-one andonto. Thus it is an isomorphism and thus S has dimension k, the order of therecurrence.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!