An algebra problem by Jansen Wu

Algebra Level 3

Consider a recurrence relation such that f ( 0 ) = 0 f(0) = 0 , f ( 1 ) = 1 f(1)=1 and f ( n ) = f ( n 1 ) f ( n 2 ) f(n)=f(n-1)-f(n-2) for n 2 n \ge 2 .

What is the value of f ( 2017 ) f(2017) ?

1 None of these choices 0 -1

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

For f ( n ) = f ( n 1 ) f ( n 2 ) f(n) = f(n-1) - f(n-2) , the characteristic equation is r 2 r + 1 = 0 r^2 - r + 1 = 0 ; r = 1 ± i 3 2 = e ± π 3 i \implies r = \dfrac {1 \pm i\sqrt 3}2 = e^{\pm \frac \pi 3i} .

f ( n ) = c 1 e π 3 i + c 2 e π 3 i where c 1 , c 2 are constants. f ( 0 ) = 0 c 1 + c 2 = 0 c 2 = c 1 f ( 1 ) = 1 c 1 ( e π 3 i e π 3 i ) = 1 2 c 1 sin π 3 = 1 c 1 = 1 3 f ( n ) = 2 3 sin n π 3 f ( 2017 ) = 2 3 sin 2017 π 3 = 2 3 sin 672 1 3 π = 2 3 sin π 3 = 2 3 3 2 = 1 \begin{aligned} \implies f(n) & = {\color{#3D99F6}c_1} e^{\frac \pi 3i} + {\color{#3D99F6}c_2} e^{-\frac \pi 3i} & \small \color{#3D99F6} \text{where }c_1, \ c_2 \text{ are constants.} \\ f(0) & = 0 \\ c_1 + c_2 & = 0 & \small \color{#3D99F6} \implies c_2 = - c_1 \\ f(1) & = 1 \\ c_1 \left(e^{\frac \pi 3i} - e^{-\frac \pi 3i} \right) & = 1 \\ -2c_1 \sin \frac \pi 3 & = 1 \\ \implies c_1 & = - \frac 1{\sqrt 3} \\ \implies f(n) & = \frac 2{\sqrt 3} \sin \frac {n\pi}3 \\ f(2017) & = \frac 2{\sqrt 3} \sin \frac {2017\pi}3 \\ & = \frac 2{\sqrt 3} \sin 672 \frac 13\pi \\ & = \frac 2{\sqrt 3} \sin \frac \pi 3 \\ & = \frac 2{\sqrt 3} \cdot \frac {\sqrt 3}2 \\ & = \boxed{1} \end{aligned}

Rajen Kapur
Apr 7, 2017

First few terms are 0, 1, 1, 0, -1, -1, 0, 1, . . . As every term is dependent on the previous two terms, the series has a period 6. As 2017 1 ( m o d 6 ) 2017 \equiv 1 (mod 6) , the value of f ( 2017 ) = 1 f(2017)=1

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...