My friend has asked me to find out the relationship between  the eigenvalues of $AB$ with eigenvalues of $A$,$B$.Where $A,B$ are any two matrices.  My try:Let $A,B$ are two matrices with $v$ be a common eigenvector.Then $Av=x_1v$ and $Bv=x_2v$,$x_1,x_2$ are the eigenvalues of $A$ and $B$ respectively.Then $ABv=A(x_2v)=x_2(Av)=x_2x_1v$......So $x_1x_2$ is also the eigenvalue of $AB$.  If $A,B$ are $2*2$ matrices let $x_3,x_4,x$ are the other eigenvalues of $A,B,AB$ respectively.As we know $det(AB)=det(A)det(B)$,and the determinant of matrix is the product of it's eigenvalues; I get $x_1x_2x=x_1x_3x_2x_4$$=&gt;x=x_3x_4$.So each eigenvalue of $AB$ is the product of suitable pair of eigenvalues from $A$ and $B$.If I generalize this result I can conclude that if the $n*n$ matrices $A,B$ has same $(n-1)$ linearly independent common eigenvalues then each of the eigenvalues of $AB$ is the product of suitable pair of eigenvalues of $A$ and $B$.  Can I extend this result in more general case?Is the condition "$A$ and $B$ has $n-1$ common linearly independent eigenvectors" is necessary?I will be happy if anyone give me any result almost familer to that result with another condition or any beautiful result concerning eigenvalues of $AB$.
If $n\times n$ matrix $A$ has eigenvalues $1,-1$ and $n\times n$ matrix $B$ also has eigenvalues $1,-1$, can I then say something about eigenvalues of $AB$ and $BA$?
Not for any specific program, just in general if I wanted to install something via APT how do I know what packages I need to "apt-get install" for that program Starting eclipse from unity launcher Intermediate ring between a field and an algebraic extension. What is the preferred way to mention Stack Overflow from Twitter? I wanted to tweet something on the lines of "Stack&nbsp;Overflow is awesome". When I do this kind of stuff, I usually use a username (for example: ) or a hashtag ()  I found , but it seems it is from someone unrelated with Stack&nbsp;Overflow.  Is there a Twitter account I can reference, or should I use a hash-tag? Should I just point to the site?  Thanks!  (Notice: I've seen lots of questions regarding Twitter and Stack&nbsp;Overflow, but those are mostly about integration/login with Twitter for the users accounts; I'm just asking for a single account for Stack&nbsp;Overflow; probably for announcements and PR, which is different) Nonabelian semidirect products of order $pq$? Why do votes get locked? I downvoted  and now really can't say why, so I wanted to remove my downvote. However, I get the message:  You last voted on this question yesterday Your vote is now locked in unless this question is edited  Why is this? I don't think I voted on it multiple times, and even when I did, I can change my mind, can't I? I'm currently working on building a predictive model for a binary outcome on a dataset with ~300 variables and 800 observations. I've read much on this site about the problems associated with stepwise regression and why not to use it.  I've been reading into LASSO regression and its ability for feature selection and have been successful in implementing it with the use of the "caret" package and "glmnet".   I am able to extract the coefficient of the model with the optimal lambda and alpha from "caret"; however, I'm unfamiliar with how to interpret the coefficients.    Are the LASSO coefficients interpreted in the same method as logistic regression? Would it be appropriate to use the features selected from LASSO in logistic regression?   EDIT  Interpretation of the coefficients, as in the exponentiated coefficients from the LASSO regression as the log odds for a 1 unit change in the coefficient while holding all other coefficients constant. Capacitor with different charges on each plate I am confused as to whether/how capacitance changes when each plate has a different charge.  For example, consider a coaxial cable and put $20Q$ on the outer cable, and $-Q$ on the inner. Or how about concentric spheres, grounding either the inner or the outer? How do I determine the shutter count on a EOS 60D body? Last time I asked a similar question but that was about svn related versioning info. Now I am wondering how to query windows "File version" attribute about eg. a dll. I payed attention to wmi and win32file modules as well without success. How to type special/accented letters in LaTeX? How to type these special letters from European languages in latex? ä, é, and L'? Precedence between implication and bi-implication I came across this question:  Let p, q, and r be the propositions  p : Grizzly bears have been seen in the area. q : Hiking is safe on the trail. r : Berries are ripe along the trail. Write these propositions using p, q, and r and logical connectives (including negations).     If berries are ripe along the trail, hiking is safe if and   only if grizzly bears have not been seen in the area.   I see an If r,q iff ~p where If r,q is the part "If berries are ripe along the trail, hiking is safe" and ~p is "grizzly bears have not been seen in the area"  and I came up with (r -&gt; q) &lt;-&gt; ~p  But the answer given is: r -&gt; (q &lt;-&gt; ~p)  Can someone please explain the difference in precedence? JavaScript open in a new window, not tab I have a select box that calls window.open(url) when an item is selected.  Firefox will open the page in a new tab by default.  However, I would like the page to open in a new window, not a new tab.    How can I accomplish this? How to implement an abstract class in ruby? I know there is no concept of abstract class in ruby. But if at all it needs to be implemented, how to go about it? I tried something like...  class A   def self.new     raise 'Doh! You are trying to write Java in Ruby!'   end end  class B &lt; A   ...   ... end   But when I try to instantiate B, it is internally going to call A.new which is going to raise the exception.  Also, modules cannot be instantiated but they cannot be inherited too. making the new method private will also not work. Any pointers? subideals of an ideal If $R$ is a ring, J is an ideal in $R$, and $I$ is an ideal of $J$ (with $J$ considered as a ring), does it follow that $I$ is an ideal of $R$?  That is, is $I$ necessarily closed under multiplication by elements of $R$?  Surely $I$ is closed under multiplication by elements of $J$ (since $I$ is an ideal of $J$).  The "obvious" approach to proof fails so quickly that it must be false, that "an ideal of an ideal is not necessarily an ideal of the big ring".  Please provide a counterexample.  (Or a proof?) My problem is that I have only one reference. So I would like the head of this part to appear "Reference" instead of commonly "References". More generally, could we change the title "References" to an arbitrary name?  Thank you very much for your help! How do I back up AWS S3 and EBS to a non-Amazon provider? We've centered most of our operations on AWS, and love the ease of use there. However, every once in a while, the paranoid side of my brain wonders ?  Within the Amazon ecosystem, we have a pretty good backup plan: We keep most static data in S3. EBS volumes are snapshotted nightly. However, true paranoia would mean backing up to a provider outside the Amazon ecosystem. How do you handle doing this? I'm especially interested in backing up EBS snapshots and S3 contents. Bonus points for backing up RDS. Why should one use EM vs. say, Gradient Descent with MLE? Mathematically, it's often seen that expressions and algorithms for Expectation Maximization (EM) are often simpler for mixed models, yet it seems that almost everything (if not everything) that can be solved with EM can also be solved with MLE (by, say, the Newton-Raphson method, for expressions that are not closed).  In literature, though, it seems that many favour EM over other methods (including minimization of the LL by, say, gradient descent); is it because of its simplicity in these models? Or is it for other reasons? data.table and table unexpected behavior "error: XDG_RUNTIME_DIR not set in the environment." when attempting to run nautilus as root I am attempting to run nautilus as root but when I run "sudo nautilus" from the terminal, I get the following error:     error: XDG_RUNTIME_DIR not set in the environment.      (nautilus:9341): Gtk-WARNING **: cannot open display:   The issue does not occur when I attempt to run nautilus as non-root. I am using ubuntu 14.04. Does anyone know how I can fix this?