I don't know where I've went wrong here. It pops up with "missing } inserted" and I'm not entirely sure what is wrong. It is happening after the "or" part of the code. When i have (x'(t))^2 by itself under the square root it works but when I add the y'(t) bit it doesn't. This is within a table btw.

\(\int_{x_1}^{x_2} {\sqrt{1+{(f'(x))}^2}}\,\mathrm{d}x\) or \(\int_{t_1}^{t_2} 
  • 2
    Insert a brace (}) after the last t.
    – TeXnician
    Apr 10, 2017 at 11:55
  • My editor, Sublime Text, marks matching parentheses, which is helpful in these cases.
    – lblb
    Apr 10, 2017 at 12:03

2 Answers 2


You're using too many braces and it's easy to forget one.




  \int_{x_1}^{x_2} \sqrt{1+(f'(x))^{2}}\diff x
  \int_{t_1}^{t_2} \sqrt{(x'(t))^{2}+(y'(t))^{2}}\diff t


enter image description here


you have a extra grouping here {\sqrt{

  • 1
    This is already covered in the other answer (posted before yours).
    – Werner
    Apr 11, 2017 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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