Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems to me that "$f(x)^2$" couldn't mean anything other than "$[f(x)]^2$", so there shouldn't be any ambiguity involved, but people always tend to put an extra pair of brackets around the "$f(x)$" everywhere I see it squared. Is there a reason for this?

share|cite|improve this question
Perhaps because some people think $f (x)^2$ could mean $f (x^2)$. This is reasonable when $x$ is some big complicated expression like $\sum \frac{x^n}{n!}$... – Zhen Lin Mar 26 '12 at 2:30
Isn't the usual notation "$f^2(x)$?" – ThisIsNotAnId Mar 26 '12 at 3:10
I think $f(x)^2$ just looks quite ugly (maybe because I don't immediately see what's being squared exactly at a glance)... That's certainly the reason why I prefer extra brackets. – Sam Mar 26 '12 at 3:30
@Sam But it's not ugly for a programmer. ;) For me it's definitely $f(x)\,f(x)$ – Calmarius Jun 30 '13 at 7:40

The primary concern is that the parenthesized quantity will be viewed as squared, rather than the function. There can be ambiguity when you're unsure of whether the person is being sloppy by considering the argument as squared and just leaving off the brackets around $(x)^2$.

share|cite|improve this answer
Not sure, though, if anyone worth reading would be making that kind of mistake. ha ha, just my opinion though. – ThisIsNotAnId Mar 26 '12 at 2:57
Sure, in publications. If I'm handed a set of notes though, there's no telling what kind of shorthand conventions may be in use. – MDMower Mar 26 '12 at 3:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.