When setting up an optimal control problem using a linear quadratic regulator, one often chooses semi-definite matrices Q and R such that the objective function J has the form
I can see how choosing Q and R as diagonal matrices is advantageous because they make the drive the state x and control values to be as small as possible (close to zero). I also understand that a positive definite or semi definite matrix can also (at least in principle) be used because it would make the objective function essentially still a convex parabola whose minimum is still a single point, which also helps to drive the state and controls to be as small as possible.
In practice, I can’t think of a situation where a non-diagonal semi definite matrix would be better than a diagonal one for an LQR control problem. What kinds of problems/ situations make it more advantageous to choose off-diagonal entries of Q and R to be non-zero? I want to be able to identify situations that may come up in my work where this might be necessary, so I’m more interested in guiding principles rather than individual situations or exceptions.