Question:easy

\( \int_0^{\pi/4} \frac{e^{\tan x}}{\cos^2 x}\,dx = \)

Show Hint

Put \( t = \tan x \) so that \( dt = \frac{dx}{\cos^2 x} \), then integrate \( e^t \) from 0 to 1.
  • \( e-1 \)
  • \( e+1 \)
  • \( \frac{1}{e}+1 \)
  • \( \frac{1}{e}-1 \)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Rewrite the integrand:
Since $\frac{1}{\cos^2 x} = \sec^2 x$, the integral is $\int_0^{\pi/4} e^{\tan x} \sec^2 x \, dx$.

Step 2: Spot the antiderivative directly:
By the chain rule, $\frac{d}{dx}\left( e^{\tan x} \right) = e^{\tan x} \cdot \sec^2 x$.
So $e^{\tan x}$ is an antiderivative of the integrand, and no substitution is needed.

Step 3: Apply the limits:
By the fundamental theorem of calculus,
\[ \int_0^{\pi/4} e^{\tan x} \sec^2 x \, dx = \Big[ e^{\tan x} \Big]_0^{\pi/4} \]
At the upper limit, $\tan\frac{\pi}{4} = 1$, giving $e^1 = e$. At the lower limit, $\tan 0 = 0$, giving $e^0 = 1$.
\[ e - 1 \]

Step 4: Sense check:
On $[0, \frac{\pi}{4}]$ the integrand is positive and at least 1, and the interval has length about 0.785. The answer must be positive.
Only $e - 1 \approx 1.718$ among the choices fits, since $\frac{1}{e} - 1$ is negative and $e + 1$ and $\frac{1}{e}+1$ do not match the working.

Final Answer:
The integral equals $e - 1$, option (1). \[ \boxed{e-1} \]
Was this answer helpful?
0