How Good Am I at Integrals?

  • Thread starter Gib Z
  • Start date
  • Tags
    Integrals
In summary, the individual tried to do an integrative problem involving tan x, but was not able to get the answer correct. They substituted for dx and got an incorrect answer.
  • #211
Yay :) So then its my turn? Try:

[tex]\int_{0}^{\infty}\;\frac{2\;-\;2\cos{x}}{x\;e^{x}}\;dx\;=\;\ln{2}[/tex]
 
Physics news on Phys.org
  • #212
Let

[tex] u(t)=\int_{0}^{\infty}\;\frac{2\;-\;2\cos{x}}{x\;e^{tx}}\;dx\; [/tex]
Differentiating under the integral with respect to t,
[tex] \frac{du}{dt}=-\int_{0}^{\infty}\frac{(2-2cosx)dx}{e^{tx}}=\frac{2t}{t^{2}+1}-\frac{2}{t} [/tex]
(For brevity I have omitted the working for du/dt, all I did was split the fraction, the first part is rather elementary, the second part can be found by 2 applications of integration by parts.)
[tex] u=log\frac{t^{2}+1}{t^{2}}+C [/tex] where C is some constant
As t approaches infinity, u approaches 0, so C=0. Substitution of t=1 yields log2 for the integral desired.
 
  • #213
Omg >.< These are ment to take several days for people to solve! Obviously they are not hard enough..or yip is just a friggin genious, and I very much suspect. They solution is largely correct but could you justify the differentiation under the integral sign?
 
  • #215
Ok then..You can post up another question then lol, while I try proving the integral you just said.
 
  • #216
the method of volumes by slicing says that if you know the area of every circular slice of a sphere, you can integrate them to get the volume of the sphere.

if you understand this idea, then you will understand that knowing the volume of all the spherical slices of a 4 ball let's you integrate to get the 4 diml volume . this has nothing to do with exotic coordinates. (not that there's anything wrong with those.)
 
Last edited:
  • #217
I already solved mathwonk's question when he posed it in a different thread some time ago, so I'll leave that to someone else. I was, however, intrigued by this differentiating under the integral technique (which I've never encountered before). I went ahead and evaluated [itex]\int_{0}^{\infty} \frac{\sin{x}}{x} dx[/itex] as per yip's suggestion and decided it was neat enough to post. Hope other people think so as well.

After a bit of trial, I defined:

[tex]u:\mathbb{R}^{+} \rightarrow \mathbb{R}[/tex]

[tex]u(t)=\int_{0}^{\infty} \frac{e^{-tx}\sin{x}}{x} dx[/tex]

Chosen because the limit as t approaches zero is [itex]\int_{0}^{\infty} \frac{\sin{x}}{x} dx[/itex] and [itex]e^{-tx}[/itex] approaches zero as x approaches infinity.

[tex]\frac{du}{dt} = -\int_{0}^{\infty} e^{-tx}\sin{x}dx[/tex]

Which after a couple of applications of integration by parts becomes:

[tex]-\int_{0}^{\infty} e^{-tx}\sin{x}dx \ = \ \frac{e^{-tx}\sin{x}}{t} \ + \ \frac{e^{-tx}\cos{x}}{t^{2}} \ + \ \frac{1}{t^{2}} \int_{0}^{\infty} e^{-tx}\sin{x}dx[/tex]

Evaluate the terms outside of integrals (the first becomes zero and the second becomes [itex]\frac{-1}{t^{2}}[/itex]) and rearrange to get:

[tex]\frac{du}{dt} = \frac{-1}{t^{2} + 1} \ \Rightarrow \ u = -\arctan{t} + k[/tex]

Where k is a constant. The limit of u as t approaches infinity is zero (can be seen from the original definition), which implies k is [itex]\frac{\pi}{2}[/itex]. Take the limit of u as t approaches zero to find that:

[tex]\int_{0}^{\infty} \frac{\sin{x}}{x} = \frac{\pi}{2}[/tex]
 
Last edited:
  • #218
Very Nice Proof there JohnDuck, I haven't countered the technique previously either, hence my initial confusion at yip's proof and a request for justification. Good Work :)

And Mathwonk, I'm going to have to do some reading because I have no idea what a 4 ball is ...>.< Is it a 4 dimensional sphere?.. If so, this page helps me abit: http://www.mathpages.com/home/kmath163.htm .

(1/2) pi^2 R^4 , is that right?
 
Last edited by a moderator:
  • #219
mathwonk said:
the method of volumes by slicing
Isn't that also referred to as "Cavalieris Principle"?
In your case, it would amount to the following, am I right?

volume of the 3-sphere=
[tex]2\cdot \int_{0}^{1}vol_3(S^2(\sqrt{1-r^2})) dr=2\cdot \int_{0}^{1}(\sqrt{1-r^2})^3 vol_3(S^2(1)) dr=\frac{8\pi}{3}\int_0^{1}(\sqrt{1-r^2})^3=\frac{\pi^2}{2},[/tex]
where I made a trigonometric substition and some integration by parts to obtain the last equality.
 
  • #220
Well It says on Wolfram: http://mathworld.wolfram.com/CavalierisPrinciple.html
that If, in two solids of equal altitude, the sections made by planes parallel to and at the same distance from their respective bases are always equal, then the volumes of the two solids are equal.

Is it just me, or is that oddly similar to the Theorems of Pappus? I find them amazingly useful for integrals that otherwise would be much harder.

Anyway, the volume of a Regular sphere is easy to derive! Its this 4 ball thing mathwonk talks about that confuses me :(

EDIT: I have the link for the other theorem that I was thinking of: http://mathworld.wolfram.com/PappussCentroidTheorem.html.

I think that The Principle is a generalization of the Centroid Theorem, or one of them is a special case of the other or something like that >.<
 
Last edited:
  • #221
Gib Z said:
Anyway, the volume of a Regular sphere is easy to derive! Its this 4 ball thing mathwonk talks about that confuses me :(

The 3-sphere is the 4 ball mathwonk is talking about!

It seems though that there are several things called Cavalieri's Principle, and I was not referring to the one you stated, GibZ. Maybe "volume by parallel sections" is a more popular name...
 
Last edited:
  • #222
What is the 4 thing then >.<...:(
 
  • #223
Gib Z said:
What is the 4 thing then >.<...:(

Huh? In his original post mathwonk wrote "find the "volume" of the unit ball in 4 space". The unit ball in 4 space is the unit ball in 4 dimensional (real) space and that is the same thing as the 3-sphere (the dimension of the surface of this thing is 3, that's why it's called the 3-sphere, just like the 2-sphere [itex]S^2[/itex] lives in 3-dimensional space).
 
  • #224
well after 30-40 years of teaching this stuff it dawned on me that the same idea we use to teach the volume of a ball ion 3 space actually the volume inductively, or recursively, of any ball in any space, and that we should teach this if we expect people to elarn ideas and not just formulas. cliowa has the computation for a unit ball and then using homogeneity the formula in gibz's post must be that for a general ball.
 
  • #226
I see >.< That is quite interesting, though maybe a bit out of my reach for now. And If yip doesn't return to this thread within 24 hours of my post, he will forfeit his right to post a question and it will go to the next person who wants it (and has at least 500 posts, for compliance reasons with PF rules).
 
  • #227
[tex]\sqrt{\pi} = \int_{-\infty}^{\infty}e^{-x^2}dx[/tex]

can be used with the method of spherical shells to write down a closed-form expression for the volume of an n-sphere or n-ball in terms of the Gamma function.

I saw this in an introductory string theory book that I was reading a few years ago.
 
  • #228
New question as requested:

If an operator [tex] \Delta [/tex] applied to a function of a has the effect of changing the a to a+1, and then subtracting the old function from this new function, show that

[tex] \Delta\int_{c}^{d}f(x,a)dx=\int_{c}^{d}\Delta f(x,a)dx [/tex]
where c and d are independent of a.
Hence or otherwise solve
[tex] \int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{n}dx [/tex]
 
  • #229
Maybe I didn't get this right; it seems trivial to me. Define a function g by [itex]g(a):=\int_{c}^{d}f(x,a)dx[/itex], then [tex]\Delta g(a)=g(a+1)-g(a)=\int_{c}^{d}f(x,a+1)dx-\int_{c}^{d}f(x,a)dx=\int_{c}^{d}f(x,a+1)-f(x,a)dx=\int_{c}^{d}\Delta f(x,a)dx[/tex], because surely f(x,a) is also a function of a (and assuming that f is nice enough).
 
  • #230
Yes, that is correct, the first part is rather simple. Its the second part that is very nice though, its not too hard, but I think it is quite quirky how the operator can help in evaluating certain integrals.
 
  • #231
[tex] \int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{n}dx =(-1)^{n}\int_{0}^{\infty}e^{-a x}(1-e^{-x})^{n}\hspace{1 mm}dx [/tex]

Letting [itex]u=1-e^{-x}[/itex] we get:

[tex](-1)^{n}\int_{0}^{1}(1-u)^{a-1}u^{n}\hspace{1 mm}du[/tex]

For anyone familiar with the Beta or Gamma functions, it immediately evaluates to:

[tex] (-1)^{n}\beta(n+1,a)=\frac{(-1)^{n}\Gamma(n+1) \Gamma(a)}{\Gamma(n+a+1)}[/tex].

However for those who aren't, Repeated Integration by parts gives:
[tex] (-1)^n \frac{n! (a-1)!}{(a+n)!}[/tex].
 
  • #232
Rather simple, but I liked this one

[tex] \int \frac{\sin \theta - \cos \theta}{(\sin \theta + \cos \theta)\sqrt{\sin \theta \cos \theta + \sin^2 \theta \cos^2 \theta}} d \theta[/tex]
 
  • #233
Yes that is correct Gib Z, but that defeats the whole interstingness of the question. It is more interesting to apply the operator to the integral in question:

Since we may move the operator inside the integral as shown earlier,
[tex] \Delta\int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{n}dx=\int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{n+1}dx [/tex]
Now let n=0
[tex] \Delta\int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{0}dx=\Delta\frac{1}{a}=\frac{1}{a+1}-\frac{1}{a}=-\frac{1}{a(a+1)}=\int_{0}^{\infty}e^{-ax}(e^{-x}-1)dx [/tex]
[tex] \Delta\int_{0}^{\infty}e^{-ax}(e^{-x}-1)=\Delta-\frac{1}{a(a+1)}=\frac{1}{(a+1)(a+2)}+\frac{1}{a(a+1)}[/tex]
[tex]=\frac{(-1)^{2}2!}{a(a+1)(a+2)}=\int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{2}[/tex]
[tex]...
\int_{0}^{\infty}e^{-ax}(e^{-x}-1)^{n}dx=\frac{(-1)^{n}n!}{a(a+1)...(a+n)} [/tex]
I think that this operator approach is rather nice, I haven't seen this sort of approach to an integral before, which is why I had put this question up.
 
Last edited:
  • #234
Siddarth, no ones gettting it. Want to post a hint please?
 
  • #235
[tex] I=\int \frac{\sin \theta - \cos \theta}{(\sin \theta + \cos \theta)\sqrt{\sin \theta \cos \theta + \sin^2 \theta \cos^2 \theta}} d \theta[/tex]
[tex] = \int \frac{\sin^2 \theta - \cos^2 \theta}{(1 + 2\sin \theta \cos \theta)\sqrt{\sin \theta \cos \theta + \sin^2 \theta \cos^2 \theta}} d \theta[/tex]

Now let [tex] u=\sin \theta \cos \theta [/tex]
[tex]\frac{du}{d\theta}=\cos^2\theta-\sin^2\theta[/tex]

This gives

[tex]I=\int \frac{-1}{(1+2u)\sqrt{u+u^2}}\,du [/tex]

Now let [tex]l=\sqrt{u+u^2}[/tex]
[tex]\frac{dl}{du}=\frac{1+2u}{2\sqrt{u+u^2}}[/tex]

This gives
[tex]I=\int \frac{-2}{4l^2+1}dl [/tex]
 
Last edited:
  • #236
how about a 4 dimensional cone? if a 3 dimensional cone is given by

z = x^2 + y^2, with 0 <z <h, (i mean less than or equal)

then perhaps a 4 diml cone is given by w = x^2 + y^2 + z^2, with
0 < w < H.

is it also 1/3 the height times the base? or is it 1/4? or something else?
 
  • #237
or a 4 diml tetrahedron. this would be a symmetric figure in 4 space whose faces are all 3 dimensional tetrahedra.

how many faces would it have?

or a 4 dimensional doughnut, obtained by revolving a 3 dimensional doughnut in x,y,z, space, around the y,z plane? one must fix radii for the three circles, subject to some simple inequalities.
 
Last edited:
  • #238
heres an easier one: try to prove the area of a sphere is 4pi r^2 by first showing the sphere has the same area as the lateral area of a cylinder circumscribed about it. this appears in an 8th grade geometry book i am teaching out of next semester.

of course you must give some limit definition of the area of the sphere. but no calculus is needed, just geometry and limits. (i.e. precalculus.)
 
  • #239
now that I've had a little more calculus exposure, I'm ready to tackle this thread!

i remember when i first joined this forum, this thread made me **** my pants :-x

edit: i have 2 index cards worth of hard integrals, wish me luck! lol.
 
Last edited:
  • #240
d_leet said:
Here's a slightly challenging one, it isn't too difficult, but not really simple either.

[tex]\int sec^3 x \ dx[/tex]
this one is actually very ez

try [tex]\int\sec^{5}xdx[/tex]

it's just lengthy and includes [tex]\int\sec^{3}xdx[/tex]
 
  • #241
I an really not prepared to do the whole thing, I will leave it as an exercise to you, however this method is much easier to follow than yours (no offense intended):

[tex]\int \sec^5 x dx = \int (1+\tan^2 x)\sqrt{1+\tan^2 x} \cdot \sec^2 x dx[/tex].

Let u= tan x.

Then
[tex]\int (1+u^2)^{3/2} du[/tex]

Now let u= sinh y. Then:
[tex]\int \cosh^4 y dy[/tex]

Using the squared to double angle identity twice gives the required result.
 
  • #242
omg! WOWWW, damn Gib Z. simply amazing.

don't worry about offending me! there's no harm in being shown a diff. method.
 
Last edited:
  • #243
Now calm down, I don't deserve so much praise, although your last post has indeed reminded me of a comment that many people much more experienced in this than me, and I believe I should pass on to you: Don't worry if you can't always find the easiest method or any method of integration. You will learn with experience, somewhat by instinct, which methods will work and which substitutions will work the best.

One of the people who has told me that is dextercioby, who isn't as regular on the forums as he used to be, but he is truly a magician in the way he solved many integrals, mind boggling substitutions that amazingly simplified the problem or an expression of an integrand in a certain special way (like what I just did, though usually more ingenious). When I was a newbie on the forums I would always wonder why he would always prefer a hyperbolic trig substitution when a circular trig substitution worked as well. In my mind, I thought "well the answer is in terms of more elementary functions, and more people will understand this method", but now I think "hyperbolic expressions almost always are more elegant than their equivalent circular trig, the identities are so much more elegant and easier to remember as well as derive, and the integrals are almost always easier to solve".

I'm just pointing you what you can already see, at the beginning of this thread I was quite a newbie, still very new to the idea of partial fractions or integration by parts, and usually was not able to choose the best substitution. You can be the judge whether or not I have improved =]

And I've seen some more elegant, although somewhat simple, integrals, you may want to try this one:

[tex]\int^1_0 \frac{\ln (1+x)}{x} dx[/tex]
 
  • #244
[tex]\int_{0}^{\infty}\frac{x^{-p}}{1+x}dx=\frac{\pi}{\sin\left(\pi p\right)}[/tex] :smile:
 
  • #245
Count Iblis said:
[tex]\int_{0}^{\infty}\frac{x^{-p}}{1+x}dx=\frac{\pi}{\sin\left(\pi p\right)}[/tex] :smile:

Is p from naturals or from Z( integer)??
 

Similar threads

Replies
8
Views
1K
Replies
6
Views
1K
Replies
1
Views
2K
Replies
6
Views
2K
  • Calculus
Replies
12
Views
2K
Replies
57
Views
6K
  • Calculus
Replies
5
Views
2K
Replies
9
Views
2K
  • Calculus
Replies
22
Views
3K
Back
Top