This question already has an answer here:
- Changing plurality in parentheses 2 answers
This question is best explained by an example. Ignore the mathematical context, it doesn't really matter.
... as x tends to 0, the point P slides towards P', so cos x (and hence 1/cos x) both have a limit equal to 1. ...
Given that parentheses are usually meant as an aside, if I read the text ignoring the parentheses:
... so cos x both have a limit equal to 1 ...
the "both" here is grammatically incorrect (as, of course, cos(x) is a single "thing").
So here comes the question in the title: Do sentences need to remain grammatically correct if text in parentheses are ignored? And as a side question, what would be a better thing to use in the example?