# Differentiation under the integral sign problem

## Homework Statement

$\int_1^2 \frac {e^x}{x}\,dx$ Through the use of differentiation under the integral sign.

2. The attempt at a solution
Tried inputting a several times, each one resulting in another function without an elementary anti-derivative (example given below)
$I(a)=\int_1^2 \frac {e^{-ax}}{x}\,dx$
$I'(a)=\int_1^2 -e^{-ax}\,dx$
$I'(a)=\frac {e^{-2a}}{a}-\frac {e^{-a}}{a}$
$I(a)=\int \frac {e^{-2a}}{a}\,da-\int \frac {e^{-a}}{a}\,da$
Resulting in a non-elementary anti-derivative...

Other examples I've tried include:
• $I(a)=\int_1^2 \frac {e^x*sin(ax)}{x}$
• Subsituting x for ln(b), resulting in $\int_1^2 \frac {1}{b*ln(b)}\,db$, then saying $I(a)=\int_1^2 \frac {1-b^a}{b*ln(b)}\,db$
Both of these last two also result in a non-elementary anti-derivative

member 587159

## Homework Statement

$\int_1^2 \frac {e^x}{x}\,dx$ Through the use of differentiation under the integral sign.

2. The attempt at a solution
Tried inputting a several times, each one resulting in another function without an elementary anti-derivative (example given below)
$I(a)=\int_1^2 \frac {e^{-ax}}{x}\,dx$
$I'(a)=\int_1^2 -e^{-ax}\,dx$
$I'(a)=\frac {e^{-2a}}{a}-\frac {e^{-a}}{a}$
$I(a)=\int \frac {e^{-2a}}{a}\,da-\int \frac {e^{-a}}{a}\,da$
Resulting in a non-elementary anti-derivative...

Other examples I've tried include:
• $I(a)=\int_1^2 \frac {e^x*sin(ax)}{x}$
• Subsituting x for ln(b), resulting in $\int_1^2 \frac {1}{b*ln(b)}\,db$, then saying $I(a)=\int_1^2 \frac {1-b^a}{b*ln(b)}\,db$
Both of these last two also result in a non-elementary anti-derivative

Not every integral of a function can be written as elementary functions. Try to use numerical integration methods.

Not every integral of a function can be written as elementary functions. Try to use numerical integration methods.

If I understand you correctly, you're saying to use a different method to find the value of $\int_1^2 \frac {e^x}{x}\,dx$, rather than differentiation under the integral sign.

The question I was asked stated to use differentiation under the integral sign.

If I understand you wrong, could you rephrase your statement?

Last edited:
member 587159
I mean, you can't solve this integral by finding a primitive. You either use a numerical integration method (Simpson's method, for instance) or you express e^x/x as a power series. In that case, you can determine the power series of the primitive function and approximate the solution.

SteamKing
Staff Emeritus
Homework Helper
I mean, you can't solve this integral by finding a primitive. You either use a numerical integration method (Simpson's method, for instance) or you express e^x/x as a power series. In that case, you can determine the power series of the primitive function and approximate the solution.
You can use the Leibniz Rule to evaluate definite integrals without resorting to purely numerical approximations or using infinite series. That's what the point of the question is all about in the OP: how to use the Leibniz Rule in this fashion.

Ray Vickson