The Student Room Group

The hard integral thread.

Scroll to see replies

Original post by atsruser
You rely on the fact the under certain conditions (see end of post), the following equality holds:

Unparseable latex formula:

\frac{\partial}{\partial \alpha} \int_a^b f(x,\alpha)\ dx = \int_a^b \frac{\partial}{\partial \alpha} f(x,\alpha)\ dx }



You can then do something like this for integrals that are easy:

1. Easy integrals:

Unparseable latex formula:

I(\alpha) = \int_0^\infty e^{-\alpha x} \ dx = \frac{1}\alpha}



so that

Unparseable latex formula:

I'(\alpha) = \int_0^\infty \frac{\partial}{\partial \alpha} e^{-\alpha x} \ dx = \frac{\partial}{\partial \alpha} \frac{1}\alpha}



giving 0xeαx dx=1α2\int_0^\infty xe^{-\alpha x} \ dx = \frac{1}{\alpha^2} (repeat for higher powers)

So this just simplifies something that you can already do by IBP or whatever. It also works fine for indefinite integrals - you don't need the limits.

or this for integrals which are hard:

2. Hard integrals:

I(α)=0eαxsinxx dxI(α)=0eαxsinx dx=11+α2I(\alpha) = \int_0^\infty e^{-\alpha x} \frac{\sin x}{x} \ dx \Rightarrow I'(\alpha) = - \int_0^\infty e^{-\alpha x} \sin x \ dx = -\frac{1}{1+\alpha^2}

so that

I(α)=Ctan1αI(\alpha) = C-\tan^{-1} \alpha

Now put α=I(α)=0C=π/2\alpha=\infty \Rightarrow I(\alpha) = 0 \Rightarrow C=\pi/2

so I(α)=π2tan1αI(\alpha) = \frac{\pi}{2}-\tan^{-1} \alpha

Now put α=00sinxx dx=π2\alpha=0 \Rightarrow \int_0^\infty \frac{\sin x}{x} \ dx = \frac{\pi}{2}

There's a bit more to it than that (the limits can depend on the parameter too), but that's the rough idea. You take an ordinary integral, introduce a parameter α\alpha somewhere, then differentiate w.r.t to that parameter to play tricks as above. The difficulty is finding where to put α\alpha. Note that I introduced that exponential function above, which helpfully goes to 0 and infinity at the ends of the interval, which remove it completely, giving the nice result at the end.

[The conditions, as I recall, are:

a) if you are integrating over a closed interval [a,b][a,b] (which has a property called compactness), then you can do the above as long as both f(x,α),(f(x,α)αf(x,\alpha), \frac{\partial (f(x,\alpha)}{\partial \alpha} are nice, smooth functions (i.e. continuous & differentiable)

b) if you are integrating over an infinite region like [0,)[0, \infty) (which lacks the property of compactness), then you can do the above as long as property a) above holds, and that an integrable function g(x)g(x) exists that dominates f(x)f(x) i.e. that f(x,α)g(x)f(x,\alpha) \le g(x) everywhere.

(Maybe someone clever can correct this if necessary: paging M. LoTF)]


Wow! Brilliant explanation. Thank you for such an insightful reply.
Original post by atsruser
Having read that, I'd be interested to see how you are intending to do this - I suspect that it may differ from my approach.


By parts this is 0bxdxebx10axdxeax1=(1b1a)0k>0xekxdx=(1b1a)k>0k2\displaystyle \int_0^{\infty} \frac{bx\mathrm{d}x}{e^{bx}-1}-\int_0^{\infty}\frac{ax\mathrm{d}x}{e^{ax}-1}=\left(\frac{1}{b}-\frac{1}{a}\right)\int_0^{\infty}\sum_{k>0}x e^{-kx}\mathrm{d}x=\left(\frac{1}{b}-\frac{1}{a}\right)\sum_{k>0} k^{-2}
Original post by SamDavies1998
Wow! Brilliant explanation. Thank you for such an insightful reply.


My pleasure. I'll put up a couple of practise questions for you later.
Original post by atsruser
My pleasure. I'll put up a couple of practise questions for you later.


Yes, please do! I'm not very good with LaTeX though, so bear with me when it comes to posting my attempts/solutions. Thanks once again.
Original post by SamDavies1998
Yes, please do! I'm not very good with LaTeX though, so bear with me when it comes to posting my attempts/solutions. Thanks once again.


Just write them on paper and post it. I have never ever used latex, too complicated, just about handle spoilers me.


Posted from TSR Mobile
Original post by SamDavies1998
Yes, please do! I'm not very good with LaTeX though, so bear with me when it comes to posting my attempts/solutions. Thanks once again.


OK, here are two of the "easy" variants. The first is very easy, the second is harder:

1. Evaluate cosαnx dx\int \cos\alpha nx \ dx. Hence evaluate xsinnx dx\int x \sin nx \ dx

2. Evaluate sin2x1+sin4x dx\displaystyle \int \frac{\sin 2x}{1 + \sin^4 x} \ dx. Hence evaluate sin2x(1+sin4x)2 dx\displaystyle \int \frac{\sin 2x}{(1 + \sin^4 x)^2} \ dx.

Hints for 2nd:

Spoiler

Original post by physicsmaths
Just write them on paper and post it. I have never ever used latex, too complicated, just about handle spoilers me.


Posted from TSR Mobile


Wait till you get to university; can't avoid TeX forever :tongue:
Original post by atsruser
OK, here are two of the "easy" variants. The first is very easy, the second is harder:

1. Evaluate cosαnx dx\int \cos\alpha nx \ dx. Hence evaluate xsinnx dx\int x \sin nx \ dx

2. Evaluate sin2x1+sin4x dx\displaystyle \int \frac{\sin 2x}{1 + \sin^4 x} \ dx. Hence evaluate sin2x(1+sin4x)2 dx\displaystyle \int \frac{\sin 2x}{(1 + \sin^4 x)^2} \ dx.

Hints for 2nd:

Spoiler



They look interesting. I'll try and make some time tomorrow to tackle them. I'll keep you updated.
Original post by physicsmaths
Just write them on paper and post it. I have never ever used latex, too complicated, just about handle spoilers me.


Posted from TSR Mobile


Good idea. Could be quite useful to know though, so I may end up trying to teach myself it.
Original post by ThatPerson
Wait till you get to university; can't avoid TeX forever :tongue:


I have withdrawn from my Firm and Insurance. Hope ur happy Latex.


Posted from TSR Mobile
Original post by physicsmaths
I have withdrawn from my Firm and Insurance. Hope ur happy Latex.


You go boy!!! You're really socking it to The Man there, what with their fancy college kid "mark up" languages, and la-di-da "maths formatting"!! Ha ha, that'll teach 'em!!

And you know what's even better? - it frees you up to spend time learning stuff that will be, like, *really* useful to you, such as the phrases:

"Would you like fries with that?"
"Have a nice da-a-aa-y!"
"You forgot your change, sir!"

not to forget the ever useful

"Can I have another shift, mate? I got bills to pay.."
"Spare a coupla coppers for an old ex-mathmo who's down on his luck, pal?"
Original post by atsruser
You go boy!!! You're really socking it to The Man there, what with their fancy college kid "mark up" languages, and la-di-da "maths formatting"!! Ha ha, that'll teach 'em!!

And you know what's even better? - it frees you up to spend time learning stuff that will be, like, *really* useful to you, such as the phrases:

"Would you like fries with that?"
"Have a nice da-a-aa-y!"
"You forgot your change, sir!"

not to forget the ever useful

"Can I have another shift, mate? I got bills to pay.."
"Spare a coupla coppers for an old ex-mathmo who's down on his luck, pal?"


Cheers man. I hope doing TSR integrals make you feel good about yourself.

This is banter for the youth.
Zacken had to translate your banter to East London English since I was baffled.

Posted from TSR Mobile
(edited 7 years ago)
Evaluate

Unparseable latex formula:

\displaystyle[br] \begin{equation*}\int_{-\infty}^{\infty} \frac{e^{-x^2}}{1 + e^{\sin (\sinh x) + x^3 - \arctan x}} \, \mathrm{d}x \end{equation*}



Spoiler

Original post by Zacken
Evaluate

Unparseable latex formula:

\displaystyle[br] \begin{equation*}\int_{-\infty}^{\infty} \frac{e^{-x^2}}{1 + e^{\sin (\sinh x) + x^3 - \arctan x}} \, \mathrm{d}x \end{equation*}


LOOOOOOL!! No damn way!!!

Spoiler

Original post by EnglishMuon
LOOOOOOL!! No damn way!!!

Spoiler



YES. EXACTLY THAT. :rofl: :rofl: :rofl:

What even is this lyfe.
Original post by EnglishMuon
LOOOOOOL!! No damn way!!!

Spoiler



It's such a cool identity though, I'm still marvelling at how on earth it holds.
Original post by Zacken
It's such a cool identity though, I'm still marvelling at how on earth it holds.


haha yea it is nice. u derived it I assume? It seems a little odd cus from the denom. id guess its < than the actual integral if I hadn't seen it before.
Original post by EnglishMuon
haha yea it is nice. u derived it I assume? It seems a little odd cus from the denom. id guess its < than the actual integral if I hadn't seen it before.


Yeah, the derivation is surprisingly accessible and short. I swear, that word play tho. "odd cus from the denom" :tongue:
Original post by Zacken
Yeah, the derivation is surprisingly accessible and short. I swear, that word play tho. "odd cus from the denom" :tongue:


XD yea dats how we speak
Original post by Zacken
Yeah, the derivation is surprisingly accessible and short. I swear, that word play tho. "odd cus from the denom" :tongue:


innit

Quick Reply

Latest