Mister Exam

Other calculators


(3x+1)e^x

Integral of (3x+1)e^x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  2                
  /                
 |                 
 |             x   
 |  (3*x + 1)*e  dx
 |                 
/                  
0                  
02(3x+1)exdx\int\limits_{0}^{2} \left(3 x + 1\right) e^{x}\, dx
Integral((3*x + 1)*E^x, (x, 0, 2))
Detail solution
  1. There are multiple ways to do this integral.

    Method #1

    1. Rewrite the integrand:

      (3x+1)ex=3xex+ex\left(3 x + 1\right) e^{x} = 3 x e^{x} + e^{x}

    2. Integrate term-by-term:

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

        3xexdx=3xexdx\int 3 x e^{x}\, dx = 3 \int x e^{x}\, dx

        1. Use integration by parts:

          udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

          Let u(x)=xu{\left(x \right)} = x and let dv(x)=ex\operatorname{dv}{\left(x \right)} = e^{x}.

          Then du(x)=1\operatorname{du}{\left(x \right)} = 1.

          To find v(x)v{\left(x \right)}:

          1. The integral of the exponential function is itself.

            exdx=ex\int e^{x}\, dx = e^{x}

          Now evaluate the sub-integral.

        2. The integral of the exponential function is itself.

          exdx=ex\int e^{x}\, dx = e^{x}

        So, the result is: 3xex3ex3 x e^{x} - 3 e^{x}

      1. The integral of the exponential function is itself.

        exdx=ex\int e^{x}\, dx = e^{x}

      The result is: 3xex2ex3 x e^{x} - 2 e^{x}

    Method #2

    1. Use integration by parts:

      udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

      Let u(x)=3x+1u{\left(x \right)} = 3 x + 1 and let dv(x)=ex\operatorname{dv}{\left(x \right)} = e^{x}.

      Then du(x)=3\operatorname{du}{\left(x \right)} = 3.

      To find v(x)v{\left(x \right)}:

      1. The integral of the exponential function is itself.

        exdx=ex\int e^{x}\, dx = e^{x}

      Now evaluate the sub-integral.

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

      3exdx=3exdx\int 3 e^{x}\, dx = 3 \int e^{x}\, dx

      1. The integral of the exponential function is itself.

        exdx=ex\int e^{x}\, dx = e^{x}

      So, the result is: 3ex3 e^{x}

  2. Now simplify:

    (3x2)ex\left(3 x - 2\right) e^{x}

  3. Add the constant of integration:

    (3x2)ex+constant\left(3 x - 2\right) e^{x}+ \mathrm{constant}


The answer is:

(3x2)ex+constant\left(3 x - 2\right) e^{x}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                   
 |                                    
 |            x             x        x
 | (3*x + 1)*e  dx = C - 2*e  + 3*x*e 
 |                                    
/                                     
(3x+1)exdx=C+3xex2ex\int \left(3 x + 1\right) e^{x}\, dx = C + 3 x e^{x} - 2 e^{x}
The graph
0.02.00.20.40.60.81.01.21.41.61.8-50100
The answer [src]
       2
2 + 4*e 
2+4e22 + 4 e^{2}
=
=
       2
2 + 4*e 
2+4e22 + 4 e^{2}
Numerical answer [src]
31.5562243957226
31.5562243957226
The graph
Integral of (3x+1)e^x dx

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