All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Maximum Determinant (Posted on 2024-09-30) Difficulty: 3 of 5
If A is a 3*3 matrix whose elements can be from the set {0,1,2,3}, then find the maximum value of determinant of A.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution brute force Comment 1 of 1
The maximum determinant is 54, from

     0     3     3
     3     0     3
     3     3     0


lim=base2dec('333333333',4);
mx=0;
for n=1:lim
  m=dec2base(n,4,9);
  m=reshape(m,3,3)-'0';
  if det(m)>mx
    savem=m;
    mx=det(m);
  end
end
mx
savem


mx =
    54
savem =
     0     3     3
     3     0     3
     3     3     0

  Posted by Charlie on 2024-09-30 20:20:41
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information