How do I align the equal signs for working out I have in latex?

With the intergral $\displaystyle \int$ how do I put number at the top and bottom? And how do i also do this for the large brackets $\displaystyle [...]$ ?

Results 1 to 6 of 6

- May 13th 2009, 08:59 PM #1

- Joined
- Apr 2009
- Posts
- 19

- May 13th 2009, 09:05 PM #2

- May 13th 2009, 09:12 PM #3

- Joined
- Apr 2009
- Posts
- 19

- May 13th 2009, 09:16 PM #4
Use the \begin{aligned}...\end{aligned} tags.

I.e.

[tex]\begin{aligned}\int_0^1x^2\,dx & = \left.\left[\frac{x^3}{3}\right]\right|_0^1\\ & = \frac{(1)^3}{3}-\frac{(0)^3}{3}\\ & = \frac{1}{3}\end{aligned}[/tex] give you

$\displaystyle \begin{aligned}\int_0^1x^2\,dx & = \left.\left[\frac{x^3}{3}\right]\right|_0^1\\ & = \frac{(1)^3}{3}-\frac{(0)^3}{3}\\ & = \frac{1}{3}\end{aligned}$

- May 13th 2009, 09:43 PM #5

- Joined
- Apr 2009
- Posts
- 19

- May 14th 2009, 12:35 AM #6