Mister Exam

Other calculators


(x^2-9)/(x+3)

Integral of (x^2-9)/(x+3) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1          
  /          
 |           
 |   2       
 |  x  - 9   
 |  ------ dx
 |  x + 3    
 |           
/            
0            
01x29x+3dx\int\limits_{0}^{1} \frac{x^{2} - 9}{x + 3}\, dx
Integral((x^2 - 9)/(x + 3), (x, 0, 1))
Detail solution
  1. There are multiple ways to do this integral.

    Method #1

    1. Rewrite the integrand:

      x29x+3=x3\frac{x^{2} - 9}{x + 3} = x - 3

    2. Integrate term-by-term:

      1. The integral of xnx^{n} is xn+1n+1\frac{x^{n + 1}}{n + 1} when n1n \neq -1:

        xdx=x22\int x\, dx = \frac{x^{2}}{2}

      1. The integral of a constant is the constant times the variable of integration:

        (3)dx=3x\int \left(-3\right)\, dx = - 3 x

      The result is: x223x\frac{x^{2}}{2} - 3 x

    Method #2

    1. Rewrite the integrand:

      x29x+3=x2x+39x+3\frac{x^{2} - 9}{x + 3} = \frac{x^{2}}{x + 3} - \frac{9}{x + 3}

    2. Integrate term-by-term:

      1. Rewrite the integrand:

        x2x+3=x3+9x+3\frac{x^{2}}{x + 3} = x - 3 + \frac{9}{x + 3}

      2. Integrate term-by-term:

        1. The integral of xnx^{n} is xn+1n+1\frac{x^{n + 1}}{n + 1} when n1n \neq -1:

          xdx=x22\int x\, dx = \frac{x^{2}}{2}

        1. The integral of a constant is the constant times the variable of integration:

          (3)dx=3x\int \left(-3\right)\, dx = - 3 x

        1. The integral of a constant times a function is the constant times the integral of the function:

          9x+3dx=91x+3dx\int \frac{9}{x + 3}\, dx = 9 \int \frac{1}{x + 3}\, dx

          1. Let u=x+3u = x + 3.

            Then let du=dxdu = dx and substitute dudu:

            1udu\int \frac{1}{u}\, du

            1. The integral of 1u\frac{1}{u} is log(u)\log{\left(u \right)}.

            Now substitute uu back in:

            log(x+3)\log{\left(x + 3 \right)}

          So, the result is: 9log(x+3)9 \log{\left(x + 3 \right)}

        The result is: x223x+9log(x+3)\frac{x^{2}}{2} - 3 x + 9 \log{\left(x + 3 \right)}

      1. The integral of a constant times a function is the constant times the integral of the function:

        (9x+3)dx=91x+3dx\int \left(- \frac{9}{x + 3}\right)\, dx = - 9 \int \frac{1}{x + 3}\, dx

        1. Let u=x+3u = x + 3.

          Then let du=dxdu = dx and substitute dudu:

          1udu\int \frac{1}{u}\, du

          1. The integral of 1u\frac{1}{u} is log(u)\log{\left(u \right)}.

          Now substitute uu back in:

          log(x+3)\log{\left(x + 3 \right)}

        So, the result is: 9log(x+3)- 9 \log{\left(x + 3 \right)}

      The result is: x223x+9log(x+3)9log(x+3)\frac{x^{2}}{2} - 3 x + 9 \log{\left(x + 3 \right)} - 9 \log{\left(x + 3 \right)}

  2. Now simplify:

    x(x6)2\frac{x \left(x - 6\right)}{2}

  3. Add the constant of integration:

    x(x6)2+constant\frac{x \left(x - 6\right)}{2}+ \mathrm{constant}


The answer is:

x(x6)2+constant\frac{x \left(x - 6\right)}{2}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                        
 |                         
 |  2               2      
 | x  - 9          x       
 | ------ dx = C + -- - 3*x
 | x + 3           2       
 |                         
/                          
x29x+3dx=C+x223x\int \frac{x^{2} - 9}{x + 3}\, dx = C + \frac{x^{2}}{2} - 3 x
The graph
0.001.000.100.200.300.400.500.600.700.800.905-5
The answer [src]
-5/2
52- \frac{5}{2}
=
=
-5/2
52- \frac{5}{2}
-5/2
Numerical answer [src]
-2.5
-2.5
The graph
Integral of (x^2-9)/(x+3) dx

    Use the examples entering the upper and lower limits of integration.