How Do I Denote an Interval of Integration in LaTeX?

Click For Summary
SUMMARY

The discussion focuses on denoting an interval of integration in LaTeX, specifically using the vertical bar to indicate limits for definite integrals. The correct syntax involves using an invisible left part with \left. and a visible right part with \right|, as in \left.F(x)\right|_A^B. Additionally, users can utilize big operators such as \bigr, \Bigr, \biggr, and \Biggr for larger vertical bars. The conversation also highlights the cancel package for illustrating expressions that cancel out.

PREREQUISITES
  • Familiarity with LaTeX syntax and commands
  • Understanding of definite integrals and their notation
  • Knowledge of LaTeX packages, specifically the cancel package
  • Experience with mathematical typesetting in LaTeX
NEXT STEPS
  • Explore advanced LaTeX commands for mathematical notation
  • Learn about the cancel package and its applications in LaTeX
  • Research the use of big operators in LaTeX for enhanced formatting
  • Practice creating complex mathematical expressions in LaTeX
USEFUL FOR

Mathematicians, educators, students, and anyone involved in typesetting mathematical documents using LaTeX.

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
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K