if P is positive semidefinite, Q is invertible, P and Q are of the same dimension, then is $Q^TPQ$ still positive semidefinite? If so why?
edit: I am aware that sylvester's law of inertia might be useful here but is it possible to show it without using this law?