Mister Exam

Other calculators


(x^2+2)×e^(x/2)

Integral of (x^2+2)×e^(x/2) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

    1. Rewrite the integrand:

      (x2+2)ex2=x2ex2+2ex2\left(x^{2} + 2\right) e^{\frac{x}{2}} = x^{2} e^{\frac{x}{2}} + 2 e^{\frac{x}{2}}

    2. Integrate term-by-term:

      1. Use integration by parts:

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

        Let u(x)=x2u{\left(x \right)} = x^{2} and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

        1. There are multiple ways to do this integral.

          Method #1

          1. Let u=x2u = \frac{x}{2}.

            Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

            4eudu\int 4 e^{u}\, du

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

              2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

              1. The integral of the exponential function is itself.

                eudu=eu\int e^{u}\, du = e^{u}

              So, the result is: 2eu2 e^{u}

            Now substitute uu back in:

            2ex22 e^{\frac{x}{2}}

          Method #2

          1. Let u=ex2u = e^{\frac{x}{2}}.

            Then let du=ex2dx2du = \frac{e^{\frac{x}{2}} dx}{2} and substitute 2du2 du:

            4du\int 4\, du

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

              2du=21du\int 2\, du = 2 \int 1\, du

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

                1du=u\int 1\, du = u

              So, the result is: 2u2 u

            Now substitute uu back in:

            2ex22 e^{\frac{x}{2}}

        Now evaluate the sub-integral.

      2. Use integration by parts:

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

        Let u(x)=4xu{\left(x \right)} = 4 x and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        Now evaluate the sub-integral.

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

        8ex2dx=8ex2dx\int 8 e^{\frac{x}{2}}\, dx = 8 \int e^{\frac{x}{2}}\, dx

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        So, the result is: 16ex216 e^{\frac{x}{2}}

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

        2ex2dx=2ex2dx\int 2 e^{\frac{x}{2}}\, dx = 2 \int e^{\frac{x}{2}}\, dx

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        So, the result is: 4ex24 e^{\frac{x}{2}}

      The result is: 2x2ex28xex2+20ex22 x^{2} e^{\frac{x}{2}} - 8 x e^{\frac{x}{2}} + 20 e^{\frac{x}{2}}

    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)=x2+2u{\left(x \right)} = x^{2} + 2 and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

      1. Let u=x2u = \frac{x}{2}.

        Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

        4eudu\int 4 e^{u}\, du

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

          2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

          1. The integral of the exponential function is itself.

            eudu=eu\int e^{u}\, du = e^{u}

          So, the result is: 2eu2 e^{u}

        Now substitute uu back in:

        2ex22 e^{\frac{x}{2}}

      Now evaluate the sub-integral.

    2. Use integration by parts:

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

      Let u(x)=4xu{\left(x \right)} = 4 x and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

      1. Let u=x2u = \frac{x}{2}.

        Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

        4eudu\int 4 e^{u}\, du

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

          2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

          1. The integral of the exponential function is itself.

            eudu=eu\int e^{u}\, du = e^{u}

          So, the result is: 2eu2 e^{u}

        Now substitute uu back in:

        2ex22 e^{\frac{x}{2}}

      Now evaluate the sub-integral.

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

      8ex2dx=8ex2dx\int 8 e^{\frac{x}{2}}\, dx = 8 \int e^{\frac{x}{2}}\, dx

      1. Let u=x2u = \frac{x}{2}.

        Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

        4eudu\int 4 e^{u}\, du

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

          2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

          1. The integral of the exponential function is itself.

            eudu=eu\int e^{u}\, du = e^{u}

          So, the result is: 2eu2 e^{u}

        Now substitute uu back in:

        2ex22 e^{\frac{x}{2}}

      So, the result is: 16ex216 e^{\frac{x}{2}}

    Method #3

    1. Rewrite the integrand:

      (x2+2)ex2=x2ex2+2ex2\left(x^{2} + 2\right) e^{\frac{x}{2}} = x^{2} e^{\frac{x}{2}} + 2 e^{\frac{x}{2}}

    2. Integrate term-by-term:

      1. Use integration by parts:

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

        Let u(x)=x2u{\left(x \right)} = x^{2} and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        Now evaluate the sub-integral.

      2. Use integration by parts:

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

        Let u(x)=4xu{\left(x \right)} = 4 x and let dv(x)=ex2\operatorname{dv}{\left(x \right)} = e^{\frac{x}{2}}.

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

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

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        Now evaluate the sub-integral.

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

        8ex2dx=8ex2dx\int 8 e^{\frac{x}{2}}\, dx = 8 \int e^{\frac{x}{2}}\, dx

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        So, the result is: 16ex216 e^{\frac{x}{2}}

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

        2ex2dx=2ex2dx\int 2 e^{\frac{x}{2}}\, dx = 2 \int e^{\frac{x}{2}}\, dx

        1. Let u=x2u = \frac{x}{2}.

          Then let du=dx2du = \frac{dx}{2} and substitute 2du2 du:

          4eudu\int 4 e^{u}\, du

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

            2eudu=2eudu\int 2 e^{u}\, du = 2 \int e^{u}\, du

            1. The integral of the exponential function is itself.

              eudu=eu\int e^{u}\, du = e^{u}

            So, the result is: 2eu2 e^{u}

          Now substitute uu back in:

          2ex22 e^{\frac{x}{2}}

        So, the result is: 4ex24 e^{\frac{x}{2}}

      The result is: 2x2ex28xex2+20ex22 x^{2} e^{\frac{x}{2}} - 8 x e^{\frac{x}{2}} + 20 e^{\frac{x}{2}}

  2. Now simplify:

    2(x24x+10)ex22 \left(x^{2} - 4 x + 10\right) e^{\frac{x}{2}}

  3. Add the constant of integration:

    2(x24x+10)ex2+constant2 \left(x^{2} - 4 x + 10\right) e^{\frac{x}{2}}+ \mathrm{constant}


The answer is:

2(x24x+10)ex2+constant2 \left(x^{2} - 4 x + 10\right) e^{\frac{x}{2}}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                             
 |                                              
 |           x              x        x         x
 |           -              -        -         -
 | / 2    \  2              2        2      2  2
 | \x  + 2/*e  dx = C + 20*e  - 8*x*e  + 2*x *e 
 |                                              
/                                               
(x2+2)ex2dx=C+2x2ex28xex2+20ex2\int \left(x^{2} + 2\right) e^{\frac{x}{2}}\, dx = C + 2 x^{2} e^{\frac{x}{2}} - 8 x e^{\frac{x}{2}} + 20 e^{\frac{x}{2}}
The graph
0.001.000.100.200.300.400.500.600.700.800.90025
The answer [src]
          1/2
-20 + 14*e   
20+14e12-20 + 14 e^{\frac{1}{2}}
=
=
          1/2
-20 + 14*e   
20+14e12-20 + 14 e^{\frac{1}{2}}
Numerical answer [src]
3.08209778980179
3.08209778980179
The graph
Integral of (x^2+2)×e^(x/2) dx

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