To solve for the determinant, we rearrange the equation:
AB−B=O
Since
B=IB (where
I is the identity matrix), we can rewrite the expression as:
(A−I)B=O
For the system to have a non-trivial solution, the determinant of
(A−I) must be zero. We construct the matrix
A−I as follows:
A−I=[a−1cbd−1]
Setting the determinant to zero, we obtain:
det(A−I)=(a−1)(d−1)−bc=0
Expanding the determinant expression, we get:
ad−a−d+1−bc=0
Rearranging the terms to isolate the determinant of
A, which is
ad−bc, we find:
ad−bc=a+d−1
Given that
a+d=2021, we substitute this value into the equation:
ad−bc=2021−1