Consider the multivariate regression model $$Y = XB + E$$ where $Y$ is $n \times p$ and corresponds to the dependent variables, $X$ is $n \times k$ and corresponds to the independent variables, $B$ is $k \times p$ and corresponds to the coefficients that we wish to estimate. Lastly, let $E \sim N_{n, p}(0, \Sigma, I_{n})$ correspond to the errors in the model. We can directly note that $(Y-XB)^{T}(Y-XB) \succ 0$.
I wonder if the following equivalence holds: $$\text{argmin}_{B} \text{trace}(Y-XB)^{T}(Y-XB) = \text{argmin}_{B} \text{det}(Y-XB)^{T}(Y-XB).$$
I have done some simulations using real data which seems to indicate that it is positive, but I'm very skeptical (since the left hand side is convex in $B$ and the right hand side isn't). Some aspects I have already considered are:
Since we have strong convexity of the left hand side, we know that a minimizer exists. Denoting this by $B^{*}$ we have the sufficient condition $$(Y-XB^{*})^{T}(Y-XB^{*}) \preceq (Y-XB)^{T}(Y-XB)$$ which is also quite hard to prove (in the case that it is true).
Using that $\text{det}(e^{(Y-XB)^{T}(Y-XB)}) = e^{\text{trace}(Y-XB)^{T}(Y-XB)}$ and considering the corresponding eigenvalues.
I would love any insights or counter-examples to the equivalence statement.