Latex for limit specitied in result of integral

  • Topic: LaTeX 
  • Thread starter Thread starter kaliprasad
  • Start date Start date
  • Tags Tags
    Integral Latex Limit
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 3K views
kaliprasad
Gold Member
MHB
Messages
1,333
Reaction score
0
When we integrate $f'(x)$ we get $f(x)$ and say we integrate from x = a to b

in the output we write f(x) within square brackets and limit on the right.

how do I write in latex

thanks in advance.
 
Physics news on Phys.org
kaliprasad said:
When we integrate $f'(x)$ we get $f(x)$ and say we integrate from x = a to b

in the output we write f(x) within square brackets and limit on the right.

how do I write in latex

thanks in advance.
Just put a subscript $a$ and a superscript $b$ after the closing bracket: $\bigl[f(x)\bigr]_a^b$ gives $\bigl[\,f(x)\bigr]_a^b$ .
 
I usually write
$$\int_{a}^{b}f'(x) \, dx=[f(x)]|_{a}^{b},$$
produced by the code
Code:
\int_{a}^{b}f'(x) \, dx=[f(x)]|_{a}^{b}
But if you have taller expressions, you might need to "bigify" the vertical line thus:
$$\int_{0}^{5}x^4 \, dx=\left[\frac{x^5}{5}\right]\Bigg|_{0}^{5},$$
produced by
Code:
\int_{0}^{5}x^4 \, dx=\left[\frac{x^5}{5}\right]\Bigg|_{0}^{5}
 
Opalg and Ackbach thanks to both of you for quick response