How Do I Denote an Interval of Integration in LaTeX?

AI Thread 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!
 
Thread 'Help with Time-Independent Perturbation Theory "Good" States Proof'
(Disclaimer: this is not a HW question. I am self-studying, and this felt like the type of question I've seen in this forum. If there is somewhere better for me to share this doubt, please let me know and I'll transfer it right away.) I am currently reviewing Chapter 7 of Introduction to QM by Griffiths. I have been stuck for an hour or so trying to understand the last paragraph of this proof (pls check the attached file). It claims that we can express Ψ_{γ}(0) as a linear combination of...
Back
Top