Post Reply 
Problem with latest XKCD
08-02-2024, 08:25 PM
Post: #4
RE: Problem with latest XKCD
We can solve definite integral by folding:

\(\int_a^b f(x) \;dx =
\int_a^\frac{a+b}{2} (f(x) + f(a+b-x)) \;dx
\)

∫(x*sin(x)^2, x=0 .. pi) = ∫(x*sin(x)^2 + (pi-x)*sin(x)^2, x=0 .. pi/2) = pi * ∫(sin(x)^2, x = 0 .. pi/2)

We can use integral identities for RHS ... or we just fold again!

pi * ∫(sin(x)^2, x = 0 .. pi/2) = pi * ∫(sin(x)^2 + cos(x)^2, x = 0 .. pi/4) = pi * pi/4 = pi^2/4
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with latest XKCD - KeithB - 08-02-2024, 05:39 PM
RE: Problem with latest XKCD - KeithB - 08-02-2024, 06:05 PM
RE: Problem with latest XKCD - Albert Chan - 08-02-2024 08:25 PM



User(s) browsing this thread: 2 Guest(s)