in Combinatory closed by
1,454 views
0 votes
0 votes
closed as a duplicate of: GATE CSE 2023 | Question: 5
The Lucas sequence $L_n$ is defined by the recurrence relation:
$L_n=L_{n-1}+L_{n-2}$, for $n \geq 3$ with $L_1=1$ and $L_2=3$.
Which one of the options given is TRUE?
  1. $L_n=\left(\frac{1+\sqrt{5}}{2}\right)^n+\left(\frac{1-\sqrt{5}}{3}\right)^n$
  2. $L_n=\left(\frac{1+\sqrt{5}}{2}\right)^n-\left(\frac{1-\sqrt{5}}{3}\right)^n$
  3. $L_n=\left(\frac{1+\sqrt{5}}{2}\right)^n-\left(\frac{1-\sqrt{5}}{2}\right)^n$
  4. $L_n=\left(\frac{1+\sqrt{5}}{2}\right)^n+\left(\frac{1-\sqrt{5}}{2}\right)^n$
in Combinatory closed by
1.5k views

1 Answer

1 vote
1 vote

The given recurrence relation is $L_n = L_{n-1} + L_{n-2}$

$\therefore L_n - L_{n-1} - L_{n-2} = 0$

Therefore, the characteristic equation is $r^2 - r -1 = 0$

Solving for $r$ gives $r_1 = \frac{1+\sqrt5}{2}, r_2 = \frac{1-\sqrt5}{2}$

Therefore, the general solution is of the form $L_n = \alpha(r_1)^n + \beta(r_2)^n$

$\therefore L_n = \alpha(\frac{1+\sqrt5}{2})^n + \beta(\frac{1-\sqrt5}{2})^n$

Now, given $L_1 = 1$

$\therefore L_1 = 1 = \alpha(\frac{1+\sqrt5}{2}) + \beta(\frac{1-\sqrt5}{2}) = (\alpha + \beta) \frac{1}{2} + (\alpha - \beta) \frac{\sqrt5}{2}$

$\therefore \alpha + \beta = 2 \text{ and } \alpha - \beta = 0$

$\therefore \alpha = 1, \beta = 1$

$\therefore L_n = (\frac{1+\sqrt5}{2})^n + (\frac{1-\sqrt5}{2})^n$

Answer :- D.

2 Comments

Though you can easily eliminate options by $n=1$ and this is also a famous recurrence but it is good to see that you have solved it but could you please answer my two questions ?

$1)$ Can you prove that the characteristic equation is $r^2-r-1=0$ without assuming that solution of the recurrence in the form of $cr^n$ or $r^n \ ?$

$2)$ Why do you think that solution of this recurrence is unique ?
0
0

What if $\alpha+\beta = 4$ and $\alpha-\beta = \frac{-2}{\sqrt{5}} \;\;?$  

It also satisfies $(\alpha+\beta)\frac{1}{2} +(\alpha-\beta)\frac{\sqrt{5}}{2}=1$

You can't find two constants $\alpha$ and $\beta$ by only one equation here. You need to use two values of $n$ here.

0
0
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true