LaTeX Latex for limit specitied in result of integral

AI Thread Summary
When integrating the derivative function $f'(x)$, the result is $f(x)$, typically expressed with limits from x = a to b. In LaTeX, this is formatted as $\bigl[f(x)\bigr]_a^b$ for the limits. The integral can be written as $$\int_{a}^{b}f'(x) \, dx=[f(x)]|_{a}^{b}$$. For expressions that require more vertical space, such as $$\int_{0}^{5}x^4 \, dx=\left[\frac{x^5}{5}\right]\Bigg|_{0}^{5}$$, the vertical line can be "bigified" to enhance readability. The discussion highlights the correct LaTeX syntax for presenting integrals and their evaluations.
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
 

Similar threads

Replies
13
Views
3K
Replies
5
Views
3K
Replies
12
Views
3K
Replies
8
Views
3K
Replies
1
Views
2K
Replies
4
Views
3K
Replies
0
Views
2K
Back
Top