How does Wolfram get from the first form to the second alternate form? So, I was trying to compute an integral but I couldn't actually manage getting anywhere with it in its initial form. So, I inserted the function in Wolfram Alpha and I really got a nicer form (second alternate form). But I want to understand how that was done, I really need some help here.

Input:
  $\dfrac{1}{(e^t + 1)(e^t + 2)(e^t + 3)}$
Alternate forms:
  $\dfrac{1}{11e^t + 6e^{2t} + e^{3t} + 6}\\
-\dfrac{1}{e^t + 2} + \dfrac{1}{2(e^t + 3)} + \dfrac{1}{2(e^t + 1)}
$


$\dfrac{1}{(e^t + 1)(e^t + 2)(e^t + 3)} = \dfrac{1}{(x + 1)(x + 2)(x + 3)}$, where $x = e^t$.
Let $\dfrac{1}{(x + 1)(x + 2)(x + 3)} = \dfrac{A}{x + 1} + \dfrac{B}{x + 2} + \dfrac{C}{x + 3}$.
Then $A(x + 2)(x + 3) + B(x + 1)(x + 3) + C(x + 1)(x + 2) = 1$.
For $x = -1$:
$A(-1 + 2)(-1 + 3) = 1 \Rightarrow 2A = 1 \Rightarrow A = 1/2$
For $x = -2$:
$B(-2 + 1)(-2 + 3) = 1 \Rightarrow -B = 1 \Rightarrow B = -1$
For $x = -3$:
$C(-3 + 1)(-3 + 2) = 1 \Rightarrow 2C = 1 \Rightarrow C = 1/2$
$$\boxed{\dfrac{1}{(e^t + 1)(e^t + 2)(e^t + 3)} = \dfrac{1}{2(e^t + 1)} - \dfrac{1}{e^t + 2} + \dfrac{1}{2(e^t + 3)}}$$
Alternative Method
Now, I'll tell you an easier method (which has the same logic as above, and only looks different). Using this method, you can just look at the fraction and write down the partial fractions right away.
Write:
$\dfrac{1}{(x + 1)(x + 2)(x + 3)} = \dfrac{}{x + 1} + \dfrac{}{x + 2} + \dfrac{}{x + 3}$

 Ignore (or cover with your finger) the first factor in the denominator:
$\dfrac{1}{\boxed{\color{white}{(x + 1)}}(x + 2)(x + 3)}$
Substitute $x = -1$: $\dfrac{1}{(-1 + 2)(-1 + 3)} = \dfrac{1}{2}$.
Write this down as the coefficient of the first fraction:
$\dfrac{1}{(x + 1)(x + 2)(x + 3)} = \dfrac{1}{2(x + 1)} + \dfrac{}{x + 2} + \dfrac{}{x + 3}$
 Similarly for the second factor: $\dfrac{1}{(x + 1)\boxed{\color{white}{(x + 2)}}(x + 3)}$, with $x = -3$ gives $\dfrac{1}{(-2 + 1)(-2 + 3)} = -1$.
 And for the third factor: $\dfrac{1}{(x + 1)(x + 2)\boxed{\color{white}{(x + 3)}}}$, with $x = -2$ gives $\dfrac{1}{(-3 + 1)(-3 + 2)} = \dfrac{1}{2}$.

In this manner you get $\boxed{\dfrac{1}{(x + 1)(x + 2)(x + 3)} = \dfrac{1}{2(x + 1)} + \dfrac{-1}{x + 2} + \dfrac{1}{2(x + 3)}}$ in one step.
