1

I was trying to type a double integral as follows:

\documentclass{article}

\begin{document}

\[ 
x=x_0+\int_{t_0}^{t} u_0  +\frac{1}{m} \int_{t_0}^{t} F(t) \,dt \,dt
\]

\end{document}

I would like to ask how can I use brackets to separate the inner integral from the rightmost "dt"? Thank you

3
  • Do you mean this: x=x_0+\int_{t_0}^{t} \Bigl(u_0 +\frac{1}{m}\int_{t_0}^{t} F(t) \,dt\Bigr) \,dt?
    – Sandy G
    Oct 30, 2022 at 23:45
  • Actually I have tried what you have just posted here and it worked perfectly alright, however if I choose brackets [...] instead or parentheses (...) it produces some funny results Oct 31, 2022 at 0:06
  • You must have mistyped. x=x_0+\int_{t_0}^{t} \Bigl[u_0 +\frac{1}{m}\int_{t_0}^{t} F(t) \,dt\Bigr] \,dt works fine for me.
    – Sandy G
    Oct 31, 2022 at 0:22

1 Answer 1

1

Perhaps you used an incorrect syntax, as brackets work just fine:

\documentclass{article}

\begin{document}

\[ 
x=x_0+\int_{t_0}^{t}\left[ u_0  +\frac{1}{m} \int_{t_0}^{t} F(t) \,dt\right] \,dt
\]

\end{document}

result

If the size of the brackets doesn't suit your needs, replace \left and \right with other commands like \bigl and \bigr.

4
  • I have just used the line you posted but the problem persists. I will check whether some other previous commands cause a conflict with the brackets. Many thanks Oct 31, 2022 at 0:25
  • 1
    @DimosthenisZografos Make sure that you type brackets without any backslash before them. \[ is a command to enter math mode, while [ is an opening bracket inside math mode.
    – Miyase
    Oct 31, 2022 at 0:27
  • I am afraid my Latex is allergic to brackets... Oct 31, 2022 at 0:38
  • Can you confirm that compilation fails with just the document above, with no modification? If so, then something is wrong with your installation. If not, then the problem is elsewhere and you should comment out almost everything, and then add lines back one by one until the problem reappears.
    – Miyase
    Oct 31, 2022 at 0:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .