Evaluate the following integral:

Click the left mouse button on each of the following equations (in blue):

- We first write
- Adding the terms together, we obtain
- Hence, the two numerators are equal
- Equating the coefficients of like powers of x, we obtain the following system of three equations in three unknowns:
- The solution of this system of equations is
- We can now integrate
Part of the javascript used on this page was originally written by Marek Szapiel.