Wikipedia:Reference desk/Archives/Mathematics/2020 August 23

Mathematics desk
< August 22 << Jul | August | Sep >> August 24 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


August 23

edit

bound to "sparsity" of a matrix

edit

Let say I got a set of matrices, with at most k_i non zero values. What is the the upper bound of sparsity of the matrix product of the set? Meaning, how non sparse can it get? What is the upper bound of powering a sparse matrix? --Exx8 (talk) 19:27, 23 August 2020 (UTC)[reply]

It can go up pretty quickly. Let the square   matrix   be defined by   if   or  , while all other entries are zero. So there are only   nonzero entries. Yet   is completely filled with   nonzero entries.  --Lambiam 20:32, 23 August 2020 (UTC)[reply]

Rectangle with given Y coordinates

edit

(please check the following logic) If I am given the Y coordinates for 4 points (in ascending order a,b,c,d), a rectangle can be made, only if a+d = b+c. Such a rectangle could be (b,a), (a,b), (c,d) , (d,c) which will have one side of length sqrt(2) (c-a) and one of length sqrt(2)(b-a) for a total area of 2*(c-a)*(b-a). Correct?Naraht (talk) 21:10, 23 August 2020 (UTC)[reply]

I have not tried all combinations, but for the quadrilateral whose vertices are given by  ,  ,   and  , this is true. For this to be a rectangle, the sides   and   have to form a right angle; the rest then follows by symmetry.
We can represent the directions of these sides as vectors:   and  . The angle is a right angle when these two vectors are orthogonal, which (assuming neither is a zero vector) means that their dot product vanishes:
 
After simplification this becomes  . So, assuming  , it follows that  .  --Lambiam 22:43, 23 August 2020 (UTC)[reply]
Given a, b, c, d in any order, with a+d=b+c, not only is it possible to build a rectangle with the given y-coordinates, it's possible to build a square. Namely, (a,c), (b,a) (c,d) (d, b). --RDBury (talk) 02:34, 24 August 2020 (UTC)[reply]
What is the area of that square?Naraht (talk) 14:06, 24 August 2020 (UTC)[reply]
The length of the diagonal is  , so the area is  . IffyChat -- 14:54, 24 August 2020 (UTC)[reply]