Let be the recurrence relation defined as follows:
Which one of the following statements is TRUE?
View worked solution
Answer: A
The given recurrence relation is a second-order linear homogeneous recurrence relation with constant coefficients:
Step 1: Find the Characteristic Equation
The characteristic equation associated with this recurrence is:
Factoring the quadratic equation:
Thus, the characteristic roots are and .
Step 2: Formulate the General Solution
Since the roots are distinct, the general solution is of the form:
Step 3: Solve for Constants using Initial Conditions
We are given the initial conditions and . Substituting these into the general solution:
- For :
- For :
From Equation 1, we have . Substituting this into Equation 2:
Substituting back into Equation 1 gives:
Step 4: Determine the Asymptotic Complexity
Substituting the values of and back into the general solution:
Therefore, the asymptotic tight bound is:
Hence, Option A is the correct statement.
Free practice · Your answers on this page are not saved.
