This question was asked in the entrance of an engineering University. Apparently, this is the most difficult question they have ever asked.
2026-04-03 16:55:51.1775235351
Difficult to understand question involving Matrices and Prime numbers.
458 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in LINEAR-ALGEBRA
- An underdetermined system derived for rotated coordinate system
- How to prove the following equality with matrix norm?
- Alternate basis for a subspace of $\mathcal P_3(\mathbb R)$?
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- Why is necessary ask $F$ to be infinite in order to obtain: $ f(v)=0$ for all $ f\in V^* \implies v=0 $
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Summation in subsets
- $C=AB-BA$. If $CA=AC$, then $C$ is not invertible.
- Basis of span in $R^4$
- Prove if A is regular skew symmetric, I+A is regular (with obstacles)
Related Questions in MATRICES
- How to prove the following equality with matrix norm?
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Powers of a simple matrix and Catalan numbers
- Gradient of Cost Function To Find Matrix Factorization
- Particular commutator matrix is strictly lower triangular, or at least annihilates last base vector
- Inverse of a triangular-by-block $3 \times 3$ matrix
- Form square matrix out of a non square matrix to calculate determinant
- Extending a linear action to monomials of higher degree
- Eiegenspectrum on subtracting a diagonal matrix
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
Related Questions in PRIME-NUMBERS
- New prime number
- Confirmation of Proof: $\forall n \in \mathbb{N}, \ \pi (n) \geqslant \frac{\log n}{2\log 2}$
- How do I prove this question involving primes?
- What exactly is the definition of Carmichael numbers?
- I'm having a problem interpreting and starting this problem with primes.
- Decimal expansion of $\frac{1}{p}$: what is its period?
- Multiplying prime numbers
- Find the number of relatively prime numbers from $10$ to $100$
- A congruence with the Euler's totient function and sum of divisors function
- Squares of two coprime numbers
Related Questions in DETERMINANT
- Form square matrix out of a non square matrix to calculate determinant
- Let $T:V\to W$ on finite dimensional vector spaces, is it possible to use the determinant to determine that $T$ is invertible.
- Optimization over images of column-orthogonal matrices through rotations and reflections
- Effect of adding a zero row and column on the eigenvalues of a matrix
- Geometric intuition behind determinant properties
- Help with proof or counterexample: $A^3=0 \implies I_n+A$ is invertible
- Prove that every matrix $\in\mathbb{R}^{3\times3}$ with determinant equal 6 can be written as $AB$, when $|B|=1$ and $A$ is the given matrix.
- Properties of determinant exponent
- How to determine the characteristic polynomial of the $4\times4$ real matrix of ones?
- The determinant of the sum of a positive definite matrix with a symmetric singular matrix
Related Questions in FINITE-FIELDS
- Covering vector space over finite field by subspaces
- Reciprocal divisibility of equally valued polynomials over a field
- Solving overdetermined linear systems in GF(2)
- Proof of normal basis theorem for finite fields
- Field $\mathbb{Q}(\alpha)$ with $\alpha=\sqrt[3]7+2i$
- Subfield of a finite field with prime characteristic
- Rank of a Polynomial function over Finite Fields
- Finite fields of order 8 and isomorphism
- Finding bases to GF($2^m$) over GF($2$)
- How to arrange $p-1$ non-zero elements into $A$ groups of $B$ where $p$ is a prime number
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?

For the first sub-question,
Let us first assume that $A$ is symmetric. Then $c = b$ and the determinant of $A$ is $a^2−b^2$ which factors as $(a+b)(a−b)$. Since p is a prime, if it divides $a^2 − b^2$, it has to divide either $a + b$ or $a − b$. Since $a$ and $b$ lie between $0$ and $p − 1$, the second possibility means $a = b$ while the first one can hold only if $a + b = 0$ or $p.a = b$ has $p$ solutions. As for $a + b = 0$, the only solution is $a = 0$, $b = 0$ which is already counted. For $a + b = p$, $a$ can take any value from $1$ to $p − 1$ and then $b$ is uniquely determined. Also note that $a + b = p$ and $a = b$ cannot hold simultaneously since $p$ is odd. Hence in all there are $p + (p − 1)$ i.e. $2p − 1$ possibilities, each of which gives exactly one symmetric matrix $A ∈ T_p$ with determinant divisible by $p$.
Now assume $A$ is skew symmetric. Then $a = 0$ and $c = −b$. Then $det(A) = b^2$ which is divisible by $p$ only when $b = 0$. But in that case $A$ is the zero matrix which is already counted as a symmetric matrix. Finally, the only matrix which is both symmetric and skew symmetric is the zero matrix which is already counted. So the net count remains at $2p − 1$.
For the second sub-question,
The trace is $2a$ which is divisible by $p$ if and only if $a = 0$. So we assume $a\ne 0$. For each such fixed $a$ we now need to determine all ordered pairs $(b, c)$ for which $a^2 − bc$ is divisible by $p$. Note that even though $1 ≤ a ≤ p − 1$, $a^2$ may be bigger than $p$. Let $r$ be the remainder when $a^2$ is divided by $p$. Then $r \ne 0$ (as otherwise $p$ would divide $a$) and so $1 ≤ r ≤ p − 1$. The condition that $a^2 − bc$ is divisible by $p$ is equivalent to saying that the integer $bc$ also leaves the remainder $r$ when divided by $p$. This rules out the possibility that $b = 0$. For every $b$ with $1 ≤ b ≤ p − 1$, we claim that there is precisely one $c$ with $1 ≤ c ≤ p − 1$ such that $bc$ leaves the remainder $r$ when divided by $p$. To see this consider the remainders when the multiples $b, 2b, 3b, . . . ,(p − 1)b$ are divided by $p$. None of these remainders is $0$ as otherwise $p$ would divide $b$. We claim these remainders are all distinct. For, suppose $ib$ and $jb$ leave the same remainder for some $i, j$ with $1 ≤ i < j ≤ p − 1$. Then $p$ divides $(j − i)b$ which would mean that either $p$ divides $j − i$ or it divides $b$, both of which are impossible since $j − i$ and $b$ both lie between $1$ and $p − 1$. Since the remainders left by $b, 2b, . . . ,(p − 1)b$ are all distinct, and there are $p − 1$ possible values for the remainder, we conclude that the remainder $r$ occurs precisely once in this list. Put differently, for each $b ∈ {1, 2, . . . , p − 1}$, there is precisely one $c$ such that $bc$ leaves the same remainder as $a^2$ does, which is equivalent to saying that $a^2 −bc$ is divisible by $p$. So, for each fixed $a ∈ {1, 2, . . . , p−1}$ there are $p−1$ matrices of the desired type. Since $a$ itself takes $p − 1$ distinct values, the total number of desired matrices is $(p − 1)^2$.
For the third sub-question,
The very format of the question suggests that complementary counting is the right tool. Since every matrix in $T_p$ is determined by three mutually independent parameters $a, b, c$ each taking $p$ possible values, in all there are $p^3$ matrices in the set $T_p$. We are interested in counting how many of these have a determinant not divisible by $p$. So let us count how many matrices in $T_p$ have determinants divisible by $p$. In the last question we did this count when the trace was not divisible by $p$ and that count was $(p − 1)^2$. Let us now add to this the number of matrices with both the trace and the determinant being divisible by $p$. The trace $2a$ is divisible precisely when $a$ is divisible by $p$, i.e. when $a = 0$. In this case, the determinant is simply $−bc$ which is divisible by $p$ if and only if $b$ or $c$ (or both) is $0$. There are $2p − 1$ ways this can happen. Thus the number of matrices with determinant divisible by $p$ is $(p−1)^2 + 2p−1$ which is simply $p^2$. So, the number of desired matrices is $p^3 − p^2$.