How Do I Denote an Interval of Integration in LaTeX?

Click For Summary
To denote an interval of integration in LaTeX, the large vertical bar can be represented using an invisible left part paired with a visible right part, as shown in the expression \left.F(x)\right|_A^B. Alternatively, larger vertical bars can be created using commands like \bigr, \Bigr, \biggr, and \Biggr for different sizes. The integral is typically expressed as \int_A^B f(x)\, dx, and after evaluating the indefinite integral, the limits are applied to find the definite integral. Additionally, the cancel package can be utilized to visually represent expressions that cancel out. This method provides clarity in mathematical notation when working with integrals.
omegacore
Messages
14
Reaction score
0
Latex Question:

I am having a hell of a time finding how to put the large vertical bar used to denote the interval over which a definite integral should be evaluated. Can you please help me?
 
Physics news on Phys.org
Usually you put those with the integral sign:

\int_A^B f(x)\, dx

\int_A^B f(x)\, dxOnce you have evaluated the corresponding indefinite integral you need to evaluate it at the integration limits to determine the value of the definite integral.

\left.F(x)\right|_A^B

\left.F(x)\right|_A^BThe trick is to use an invisible \left part (\left.) paired with a visible vertical bar \right part (\right|).
An alternate approach is to use big honkin' elements. Getting bigr and Bigr and biggr and Biggr,

F(x)\bigr|_A^B, F(x)\Bigr|_A^B, F(x)\biggr|_A^B, F(x)\Biggr|_A^B

F(x)\bigr|_A^B

F(x)\Bigr|_A^B

F(x)\biggr|_A^B

F(x)\Biggr|_A^B
 
Thank you very much! It looks great!

I was very surprised this wasn't actually detailed somewhere already. In my searching I also learned about the cancel package, which you can use to show expressions canceling to zero or one or whatever!
 

Similar threads

Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
958
  • · Replies 5 ·
Replies
5
Views
2K