Logarithm raised to what?

Calculus Level 5

0 π / 2 ( ln ( cos x ) ) 2 ( ( ln ( cos x ) ) 2 6 x 2 ) d x \large \int_0^{\pi/2} ( \ln (\cos x))^2 ( (\ln(\cos x))^2 - 6x^2) \, dx

If the integral above is equal to π a 2 ( ln 2 ) b π c d \dfrac{\pi^a}2 (\ln 2)^b - \dfrac{\pi^c}d , where a , b , c a,b,c and d d are positive integers, find a + b + c + d a+b+c+d .


Image Credit: Wikimedia Natural Logarithm .


The answer is 170.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Aditya Malusare
Jan 9, 2016

This is the sort of solution that starts with something unrelated.

Consider the integral 0 π 2 cos u ( x ) cos ( u x ) d x \displaystyle\int_0^{\frac{\pi}{2}} \cos^u(x) \cos(ux)\text{d}x . Writing cos ( x ) = e i x + e i x 2 \cos(x) = \dfrac{e^{ix} + e^{-ix}}{2} , the integrand becomes ( 1 + e 2 i x ) u + ( 1 + e 2 i x ) u 2 u + 1 \dfrac{(1+e^{2ix})^u + (1+e^{-2ix})^u}{2^{u+1}}

Expanding using the binomial theorem the expression becomes k = 0 u ( u k ) ( e 2 k i x + e 2 k i x ) 2 u + 1 = k = 0 u ( u k ) cos ( 2 k x ) 2 u \displaystyle\sum_{k=0}^u\dfrac{ \displaystyle{{u}\choose{k}}(e^{2kix}+e^{-2kix}) }{2^{u+1}} =\displaystyle\sum_{k=0}^u\dfrac{ \displaystyle{{u}\choose{k}}\cos(2kx) }{2^{u}}

\color{}{\text{As Mark Hennings has pointed out, this is insufficient for what I am about to do. Hence, a correction:}}

Expanding using the binomial series , we get k = 0 ( u k ) ( e 2 k i x + e 2 k i x ) 2 u + 1 \displaystyle\sum_{k=0}^{\infty}\dfrac{ \displaystyle{{u}\choose{k}}(e^{2kix}+e^{-2kix}) }{2^{u+1}} We are allowed to do this, since e 2 i x = e 2 i x = 1 |e^{2ix}| = |e^{-2ix}| = 1 and u > 0 u > 0 and so the series converges.

So, k = 0 ( u k ) ( e 2 k i x + e 2 k i x ) 2 u + 1 = k = 0 ( u k ) cos ( 2 k x ) 2 u \displaystyle\sum_{k=0}^{\infty}\dfrac{ \displaystyle{{u}\choose{k}}(e^{2kix}+e^{-2kix}) }{2^{u+1}} =\displaystyle\sum_{k=0}^{\infty}\dfrac{ \displaystyle{{u}\choose{k}}\cos(2kx) }{2^{u}}

Now, observe that for all k > 0 k > 0 the integral is of the form 0 π 2 cos ( 2 k x ) d x \displaystyle \int_{0}^{\frac{\pi}{2}} \cos(2kx) \text{d}x which is equal to zero for non-zero k k

Hence, 0 π 2 cos u ( x ) cos ( u x ) d x = π 2 u + 1 \int_0^{\frac{\pi}{2}} \cos^u(x) \cos(ux)\text{d}x = \dfrac{\pi}{2^{u+1}}

Now, seeing cos u ( x ) \cos^u(x) (in the integral) and log ( cos ( x ) ) \log(\cos(x)) we are motivated to differentiate under the integral sign (trying 4 times).

d 4 d u 4 0 π 2 cos u ( x ) cos ( u x ) d x = d 4 d u 4 π 2 u + 1 \dfrac{d^4}{du^4}\int_0^{\frac{\pi}{2}} \cos^u(x) \cos(ux)\text{d}x = \dfrac{d^4}{du^4}\dfrac{\pi}{2^{u+1}}

Now, the actual differentiation is computationally intensive, so it does not seem unreasonable to give it to a computer (although it can be done manually)

Wolfram Alpha says

The messy expression reduces to log 4 ( cos ( x ) ) 6 x 2 log 2 ( cos ( x ) ) + x 4 \log^4(\cos(x)) - 6x^2\log^2(\cos(x)) + x^4 after taking lim u 0 + \lim_{u \to 0^{+}} and using DCT throughout. (See comments below)

Hence, finally, 0 π 2 ( log 4 ( cos ( x ) ) 6 x 2 log 2 ( cos ( x ) ) + x 4 ) d x = π log 4 ( 2 ) 2 \int_0^{\frac{\pi}{2}}(\log^4(\cos(x)) - 6x^2\log^2(\cos(x)) + x^4) \text{d}x = \dfrac{\pi \log^4(2)}{2}

Simply taking the last term to the other side and grouping things together we get 0 π 2 log 2 ( cos ( x ) ) ( log 2 ( cos ( x ) ) 6 x 2 ) d x = π log 4 ( 2 ) 2 π 5 160 \int_0^{\frac{\pi}{2}} \log^2(\cos(x))(\log^2(\cos(x)) - 6x^2)\text{d}x = \dfrac{\pi \log^4(2)}{2} - \dfrac{\pi^5}{160}

This shows us that the final answer is 1 + 4 + 5 + 160 = 170 1+4+5+160 = \boxed{170}

You have proved the formula 0 1 2 π cos u x cos ( u x ) d x = π 2 u + 1 \int_0^{\frac12\pi} \cos^u x \cos(ux)\,dx \; = \; \frac{\pi}{2^{u+1}} for positive integer u u , but you then want to differentiate your result with respect to u u . There is something missing here. This formula is true for all u > 1 u > -1 , but you have not proved it.

Whittaker and Watson have the identity (which they attribute to Cauchy) 0 1 2 π cos p + q 2 θ cos ( ( p q ) θ ) d θ = π 2 p + q 1 ( p + q 1 ) B ( p , q ) \int_0^{\frac12\pi} \cos^{p+q-2}\theta \cos\big((p-q)\theta\big)\,d\theta \; = \; \frac{\pi}{2^{p+q-1}(p+q-1)B(p,q)} for p + q > 1 p+q>1 ; putting p = u + 1 p=u+1 and q = 1 q=1 gives us what we need. The result is proved by some serious contour integration, though!

We could take this W&W integral and change parameters, obtaining 0 1 2 π cos u θ cos ( v θ ) d θ = π 2 u + 1 ( u + 1 ) B ( 1 2 ( u + v ) + 1 , 1 2 ( u v ) + 1 ) \int_0^{\frac12\pi} \cos^u\theta \cos(v \theta)\,d\theta \; = \; \frac{\pi}{2^{u+1}(u+1)B(\frac12(u+v)+1,\frac12(u-v)+1)} certainly valid for 1 < u , v < 1 -1 < u,v < 1 , and differentiate with respect to u u and v v . In principle we could use this to obtain all integrals 0 1 2 π [ ln ( cos θ ) ] m θ n d θ . \int_0^{\frac12\pi} \big[\ln(\cos \theta)\big]^m \theta^n\,d\theta \;.

Mark Hennings - 5 years, 5 months ago

Log in to reply

Can you please post your solution here so I can print and frame it? (Pretty please)

Relevant problem .

Pi Han Goh - 5 years, 5 months ago

Log in to reply

My method was hard work (but I was using Mathematica to perform the algebra). I differentiated 1 2 B ( 1 2 ( u + 1 ) , 1 2 ) \tfrac12B(\tfrac12(u+1),\tfrac12) four times, and put u = 0 u=0 , to obtain a = 0 1 2 π [ ln ( cos x ) ] 4 d x = 19 480 π 5 + 1 4 π 3 ( ln 2 ) 2 + 1 2 π ( ln 2 ) 4 + 3 π ln 2 ζ ( 3 ) . a \; = \; \int_0^{\frac12\pi} \big[\ln(\cos x)\big]^4\,dx\; = \; \tfrac{19}{480}\pi^5 + \tfrac14\pi^3 (\ln2)^2 + \tfrac12 \pi (\ln2)^4 + 3\pi\ln2 \zeta(3) \;. I then differentiated the (manipulated) W&W formula twice with respect to u u , putting v = 0 v=0 , to obtain 0 1 2 π [ ln ( cos x ) ] 2 cos v x d x = 1 12 v 3 [ 12 + 2 π 2 v 2 3 π 2 v 2 c o s e c 2 ( 1 2 v π ) + 3 v 2 ( H 1 2 v + H 1 2 v + 2 ln 2 ) 2 ] sin 1 2 v π . \int_0^{\frac12\pi} \big[ \ln(\cos x)\big]^2 \cos vx\, dx \;= \; \tfrac{1}{12v^3}\left[12 + 2\pi^2v^2 - 3\pi^2v^2\mathrm{cosec}^2(\tfrac12v\pi) + 3v^2\left(H_{-\frac12v} + H_{\frac12v} + 2\ln2\right)^2\right] \sin\tfrac12v\pi\;. I then differentiated this twice with respect to v v and put v = 0 v=0 to get the second integral. b = 0 1 2 π [ ln ( cos x ) ] 2 x 2 d x = 11 1440 π 5 + 1 24 π 3 ( ln 2 ) 2 + 1 2 ln 2 ζ ( 3 ) , b \; = \; \int_0^{\frac12\pi} \big[\ln(\cos x)\big]^2 x^2\,dx \; = \; \tfrac{11}{1440}\pi^5 + \tfrac{1}{24}\pi^3 (\ln 2)^2 + \tfrac12\ln 2\zeta(3) \;, and a 6 b = ( 19 480 π 5 + 1 4 π 3 ( ln 2 ) 2 + 1 2 π ( ln 2 ) 4 + 3 π ln 2 ζ ( 3 ) ) ( 11 240 π 5 + 1 4 π 3 ( ln 2 ) 2 + 3 π ln 2 ζ ( 3 ) ) = 1 2 π ( ln 2 ) 4 1 160 π 5 . \begin{array}{rcl} a - 6b & = & \left(\tfrac{19}{480}\pi^5 + \tfrac14\pi^3 (\ln2)^2 + \tfrac12 \pi (\ln2)^4 + 3\pi\ln2 \zeta(3) \right) - \left( \tfrac{11}{240}\pi^5 + \tfrac{1}{4}\pi^3 (\ln 2)^2 + 3\pi\ln 2\zeta(3) \right) \\ & = & \tfrac12\pi(\ln 2)^4 - \tfrac{1}{160}\pi^5 \;. \end{array}

Aditya's method of using the W&W formula is much better than mine, since the integral he obtains is much easier to differentiate multiple times. I made the mistake of working out the first integral quickly, and then focused on getting the second integral on its own, rather than obtaining the two together!

My concern with Aditya's method is not that it was not a good one (it was!), but that the key formula he wanted to use needed more proof than he gave it.

Mark Hennings - 5 years, 5 months ago

Log in to reply

@Mark Hennings Hey, @Mark Hennings ! The problem with my method is that I have used the binomial theorem to prove the result for only positive integral values of u u , right? Differentiation is not allowed in that case, and it was silly of me to overlook this. But, I am now editing the solution so that I use the binomial series , which converges for the given conditions, i.e. ( 1 + z ) u = k = 0 ( u k ) z k (1+z)^{u} = \displaystyle\sum_{k=0}^{\infty}{{u}\choose{k}}z^k , where ( u k ) \displaystyle{{u}\choose{k}} is the generalized binomial coefficient. Since z = 1 |z| = 1 and u > 1 u>-1 the series converges for all u u taken, right? I hope this fixes my incomplete solution. Anyways, thanks for showing another amazing way how to do it!

Aditya Malusare - 5 years, 5 months ago

Log in to reply

@Aditya Malusare It's still not going to be straightforward, since the series does not converge at x = 1 2 π x=\tfrac12\pi when u < 0 u < 0 (and you want to differentiate at 0 0 , so have to handle what is happening for negative u u ). Showing that you can integrate the series term-by-term is not automatic.

The series does converge uniformly in x x for all u > 0 u > 0 , and so we can calculate the integral for all u > 0 u > 0 by your proposed method. We can then differentiate four times, and let u u tend to 0 0 , using continuity in u u of all the expressions involved, thanks to the DCT.

Mark Hennings - 5 years, 5 months ago

How will you get the last expression in terms of log ?? I think when we put u and v as zero ... We will get zero @Mark Hennings if n is odd...

Aman Rajput - 5 years, 5 months ago

Log in to reply

Differentiate m m times with respect to u u , and n n times with respect to v v , and put u = v = 0 u=v=0 . All the integrands are single-signed over ( 0 , 1 2 π ) (0,\tfrac12\pi) , so we will never get 0 0 . Don't forget we are integrating over ( 0 , 1 2 π ) (0,\tfrac12\pi) , not over ( 1 2 π , 1 2 π ) (-\tfrac12\pi,\tfrac12\pi) .

Mark Hennings - 5 years, 5 months ago

Log in to reply

@Mark Hennings I think sir you didn't get my point :)

I was saying ... We can't convert that integral into logarithmic form as you expressed for all n n .

Just differentiate it with respect to u twice and differentiate with respect to v once ... And then put u=0=v You will get zero.

The form you have expressed is not valid for odd powers of theta

Aman Rajput - 5 years, 5 months ago

Log in to reply

@Aman Rajput Good point! This formula does not work for odd n n . There is a much more complicated formulae for 0 1 2 π cos u x e i v x d x \int_0^{\frac12\pi} \cos^ux e^{ivx}\,dx which could be used (in theory) to get the formula for odd n n , but that takes us into the territory of Ronak's problem!

Mark Hennings - 5 years, 5 months ago

Log in to reply

@Mark Hennings I have solved that ronaks problem

Aman Rajput - 5 years, 5 months ago

Log in to reply

@Aman Rajput So have I.

Mark Hennings - 5 years, 5 months ago

My method was first to evaluate the value of integral of (log(cosx))^4 by using beta function and digamma function. Now the problem arises with the second part. I used the expansion for ( l o g ( s i n x ) ) 2 (log(sinx))^2 then evaluated the integral. Sorry since I didn't solve this problem I couldn't post my solution.

Aditya Kumar - 5 years, 5 months ago

Log in to reply

@Pi Han Goh you could use the expansion to evaluate Ronak's problem. But the problem is to bring it to that form in which he expects the answer.

Aditya Kumar - 5 years, 5 months ago

Log in to reply

I doubt I'm able to solve Ronak's problem, I've spent over 3 hours on that question last time, came up with nothing.

Pi Han Goh - 5 years, 5 months ago

Log in to reply

@Pi Han Goh Which is Ronak's problem? Can I have a shot at it?

Mark Hennings - 5 years, 5 months ago

Log in to reply

@Mark Hennings I've linked it in my first comment above, but here it is again !

Pi Han Goh - 5 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...