I am sure this is indicative of a more general idea, but I noticed that if I put in
$$\text hello$$
$$\text {hello}$$
$$\cal OU$$
$$\cal {OU}$$
to my tex and compile I get the following output
Clearly in the first case the \text command has only affected the first character unless braces are used, whereas in the other case all charcters are affected.
Is there a reason as to why these behave differently? Is there a general rule as to which commands will act which way?
Thanks for any help in advance. Also, I am not sure which tag to use - please do add anything relevant.