Evaluate $\int \frac{e^x(1+x)}{\cos^2(xe^x)} \, dx$.
Evaluate $\int \frac{e^x(1+x)}{\cos^2(xe^x)} \, dx$.
1 Answer
VVivaanJoshi73
✓ Accepted
· 2mo ago
▲ 33
Let $u = xe^x$.
Differentiate with respect to $x$ using the product rule:
$$du = (1 \cdot e^x + x \cdot e^x) \, dx = e^x(1 + x) \, dx$$
This matches the numerator perfectly. Substitute $u$ into the integral:
$$I = \int \frac{du}{\cos^2 u} = \int \sec^2 u \, du = \tan u + C$$
Substitute back $u = xe^x$:
$$I = \tan(xe^x) + C$$
Answer: $\tan(xe^x) + C$
Log in to post your own answer or join the discussion.
Discussion (4)
O
Thanks a ton, I was stuck on this exact problem for an hour.
P
I solved it a slightly different way and got the same answer, good sign.
N
Thanks a ton, I was stuck on this exact problem for an hour.
PP
What changes if the medium/conditions were different?