Solveeit Logo

Question

Question: Let $M_n=[M_{ij}]$ be a $n \times n$ matrix such that $M_{ij} = \begin{cases} a, & i=j \\ 1, & |i-j|...

Let Mn=[Mij]M_n=[M_{ij}] be a n×nn \times n matrix such that Mij={a,i=j1,ij=10,otherwiseM_{ij} = \begin{cases} a, & i=j \\ 1, & |i-j|=1 \\ 0, & otherwise \end{cases}

Let DnD_n denotes the determinant value of matrix MnM_n. On the basis of above information, answer the following questions:

If a = 2 then unit's place digit of D2017D_{2017} is

A

5

B

6

C

7

D

8

Answer

8

Explanation

Solution

The matrix MnM_n is a tridiagonal matrix with aa on the main diagonal and 1 on the sub-diagonals. Mn=(a1001a1001a0000a)n×nM_n = \begin{pmatrix} a & 1 & 0 & \dots & 0 \\ 1 & a & 1 & \dots & 0 \\ 0 & 1 & a & \dots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \dots & a \end{pmatrix}_{n \times n}

Let Dn=det(Mn)D_n = \det(M_n). We can find a recurrence relation for DnD_n by expanding along the first row. Dn=adet(Mn1)1det(matrix obtained by removing row 1 and column 2 of Mn)D_n = a \cdot \det(M_{n-1}) - 1 \cdot \det(\text{matrix obtained by removing row 1 and column 2 of } M_n). The matrix obtained by removing row 1 and column 2 of MnM_n is: (11000a1001a0000a)(n1)×(n1)\begin{pmatrix} 1 & 1 & 0 & \dots & 0 \\ 0 & a & 1 & \dots & 0 \\ 0 & 1 & a & \dots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \dots & a \end{pmatrix}_{(n-1) \times (n-1)}

Expanding the determinant of this matrix along the first column, we get 1det(Mn2)1 \cdot \det(M_{n-2}). So, the recurrence relation is Dn=aDn1Dn2D_n = a D_{n-1} - D_{n-2} for n3n \ge 3.

We need the initial values D1D_1 and D2D_2. M1=[a]M_1 = [a], so D1=aD_1 = a. M2=(a11a)M_2 = \begin{pmatrix} a & 1 \\ 1 & a \end{pmatrix}, so D2=a21D_2 = a^2 - 1.

We are given a=2a=2. The recurrence relation becomes Dn=2Dn1Dn2D_n = 2 D_{n-1} - D_{n-2} for n3n \ge 3. The initial conditions are D1=2D_1 = 2 and D2=221=3D_2 = 2^2 - 1 = 3.

Let's calculate the first few terms of the sequence DnD_n for a=2a=2: D1=2D_1 = 2 D2=3D_2 = 3 D3=2D2D1=2(3)2=62=4D_3 = 2 D_2 - D_1 = 2(3) - 2 = 6 - 2 = 4 D4=2D3D2=2(4)3=83=5D_4 = 2 D_3 - D_2 = 2(4) - 3 = 8 - 3 = 5 D5=2D4D3=2(5)4=104=6D_5 = 2 D_4 - D_3 = 2(5) - 4 = 10 - 4 = 6 D6=2D5D4=2(6)5=125=7D_6 = 2 D_5 - D_4 = 2(6) - 5 = 12 - 5 = 7 D7=2D6D5=2(7)6=146=8D_7 = 2 D_6 - D_5 = 2(7) - 6 = 14 - 6 = 8 D8=2D7D6=2(8)7=167=9D_8 = 2 D_7 - D_6 = 2(8) - 7 = 16 - 7 = 9 D9=2D8D7=2(9)8=188=10D_9 = 2 D_8 - D_7 = 2(9) - 8 = 18 - 8 = 10 D10=2D9D8=2(10)9=209=11D_{10} = 2 D_9 - D_8 = 2(10) - 9 = 20 - 9 = 11

We can observe a pattern in the sequence DnD_n: 2,3,4,5,6,7,8,9,10,11,2, 3, 4, 5, 6, 7, 8, 9, 10, 11, \dots It appears that Dn=n+1D_n = n+1. Let's verify this formula with the recurrence relation Dn=2Dn1Dn2D_n = 2 D_{n-1} - D_{n-2}. If Dn=n+1D_n = n+1, then Dn1=(n1)+1=nD_{n-1} = (n-1)+1 = n and Dn2=(n2)+1=n1D_{n-2} = (n-2)+1 = n-1. Substituting these into the recurrence relation: n+1=2(n)(n1)n+1 = 2(n) - (n-1) n+1=2nn+1n+1 = 2n - n + 1 n+1=n+1n+1 = n+1. The formula Dn=n+1D_n = n+1 satisfies the recurrence relation. The initial conditions are also satisfied: D1=1+1=2D_1 = 1+1 = 2 (Correct) D2=2+1=3D_2 = 2+1 = 3 (Correct) So, for a=2a=2, the determinant Dn=n+1D_n = n+1.

We need to find the unit's place digit of D2017D_{2017}. Using the formula Dn=n+1D_n = n+1 with n=2017n=2017: D2017=2017+1=2018D_{2017} = 2017 + 1 = 2018. The unit's place digit of 2018 is 8.