The solution of the recurrence relation an = 10an-1 - 25an-2,  is:
(a0 = 1, a1 = 15)

  1. (1 + 2n)5n
  2. (1 + n)5n
  3. (2 + n)5n
  4. 2(1 + n)5n

Answer (Detailed Solution Below)

Option 1 : (1 + 2n)5n
Free
GATE CS Full Mock Test
5.3 K Users
65 Questions 100 Marks 180 Mins

Detailed Solution

Download Solution PDF

Concept:

We use the characteristics roots method for repeated roots to solve the above recurrence relation.

If we have an recurrence relation as an + c1an-1 + c2an-2 = 0, then the characteristics equation is given as x2 + c1x + c2 = 0 .

If r is the repeated root of the characteristics equation then the solution to recurrence relation is given as \(a_n=ar^n+bnr^n\) where a and b are constants determined by initial conditions.

Calculation:

The recurrence relation is an = 10an-1 - 25an-2  with initial conditions a0 = 1, a1 = 2.

The recurrence relation can be written as  an = 10an-1 - 25an-2 = 0  and the characteristics equation is given as 

x2 - 10x + 25 = 0.

Solve for x,

(x - 5) (x - 5) = 0

x = 5 or x = 5 

So, r = 5 is the repeated root of the characteristics equation. So, the solution of recurrence relation is given as

an = a5n + bn5n

an = (a + bn)5n       ......(i)

No, we will find a and b with the given initial values a0 = 1, a1 = 15.

For a0 = 1,   

1 = (a + b.0)50   

a = 1       ......(ii)

For, a1 = 15

15 = (a + b.1)51

5(a + b) = 15

a + b = 3       ......(iii)

Solving equation (ii) and (iii), we get

a = 1 and b = 2.

Putting these values in equation (i) we get,

an = (1 + 2n)5n

Hence, the solution of given recurrence relation is an = (1 + 2n)5n

Latest GATE CS Updates

Last updated on Jan 8, 2025

-> GATE CS 2025 Admit Card has been released on 7th January 2025.

-> The exam will be conducted on 1st February 2025 in 2 shifts.

-> Candidates applying for the GATE CE must satisfy the GATE Eligibility Criteria.

-> The candidates should have BTech (Computer Science). Candidates preparing for the exam can refer to the GATE CS Important Questions to improve their preparation.

-> Candidates must check their performance with the help of the GATE CS mock tests and GATE CS previous year papers for the GATE 2025 Exam.

Get Free Access Now
Hot Links: teen patti list teen patti noble teen patti gold online