#Calculate the exact value of the following integrals

20 messages · Page 1 of 1 (latest)

quartz kettle
#

I'm looking for some guidance on this problem. It was assigned as homework, but the topic hasn't been covered in our lectures yet, so I'm trying to bridge the gap between our current curriculum and this advanced material:bigBrain:
$$I &= \int_{0}^{1} \cos(x^2 + e^x) dx \$$
$$J &= \int_{0}^{+\infty} e^{-[x + \sin(x)]} dx \$$
$$K &= \int_{0}^{1} \frac{\sin(x)}{\ln(x + 1)} dx$$

gray summitBOT
#
👋 Welcome to your Help Thread!

Hey @quartz kettle, Thanks for sharing your math problem with us. While you wait for a Helper to help you, we want to share some vital information with you.

Please take a moment to read the helpee guidelines. This will make sure that your post follows the helpee rules of our community.

Please don't ping <@&775784618955505685>, <@&1283689826742440016>, <@&819616364188139550>, or <@&624327278137966593> for help because their job is to take care of the server's administrative tasks, not to answer queries directly. However, if you have a problem with how a Helper is acting, you can ping a Helper Moderator.

It's always very useful if you can show us the work you've done so far. This makes it easier for our Helpers to find mistakes and help you get to the right answer.

gray summitBOT
royal iglooBOT
#

tkabeleon
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

quartz kettle
hardy sparrow
#

do u want to use series expansions of the functions

#

it wont work forJ at all and will not give u the exat answer for I or K

quartz kettle
#

it's correct?

Evaluation of $I = \int_0^1 \cos(x^2+e^x) dx$

1. Introduction

No elementary antiderivative exists for this integral. However, we can derive an exact expression using a double series.

2. Series & Binomial Expansion

Using the power series for $\cos(u)$ where $u = x^2 + e^x$:
$$\cos(x^2+e^x) = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n)!} (x^2+e^x)^{2n}$$
Applying the binomial theorem to $(x^2+e^x)^{2n}$:
$$(x^2+e^x)^{2n} = \sum_{k=0}^{2n} \binom{2n}{k} x^{2k} e^{(2n-k)x}$$

3. Integration Term by Term

By interchanging the series and the integral, we obtain:
$$I = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n)!} \sum_{k=0}^{2n} \binom{2n}{k} \int_0^1 x^{2k} e^{(2n-k)x} dx$$

4. Exact Calculation of $I_{k,n}$

Let $m=2k$ and $a=2n-k$. The integral $I(m,a) = \int_0^1 x^m e^{ax} dx$ is:

  • If $a=0$: $I(m,0) = \frac{1}{4n+1}$
  • If $a \neq 0$: $I(m,a) = \frac{(2k)!}{(k-2n)^{2k+1}} \left[ 1 - e^{2n-k} \sum_{j=0}^{2k} \frac{(k-2n)^j}{j!} \right]$

5. Final Exact Expression

Substituting these into the double sum provides the exact representation:
$$I = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n)!} \left[ \frac{\binom{2n}{2n}}{4n+1} + \sum_{k=0, k \neq 2n}^{2n} \binom{2n}{k} \frac{(2k)!}{(k-2n)^{2k+1}} \left( 1 - e^{2n-k} \sum_{j=0}^{2k} \frac{(k-2n)^j}{j!} \right) \right]$$

6. Numerical Result

Using adaptive quadrature (Gauss-Kronrod) or high-precision multi-arithmetic for the series:
$$\boxed{I \approx -0.303666963947415}$$

Remark: While the series is exact, direct numerical integration is more stable for practical computing due to catastrophic cancellation in the terms for $n \ge 10$.

royal iglooBOT
#

tkabeleon
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

hardy sparrow
#

i think this works

#

how would u do J

#

ahh yes

#

e^-sin x is periodic

#

u can expand it using fourier series

gray summitBOT
#

@quartz kettle

:HelpIcon:| Help Reminder

Hello tkabeleon, this is a friendly reminder that your help request has been inactive for more than 24 hours. If you no longer need assistance, please consider closing the thread using the +close command. This thread will be automatically closed in 3 days if it remains inactive.