Integral of ln(cos x)

Поделиться
HTML-код
  • Опубликовано: 18 мар 2020
  • We calculate the definite integral of ln(cos x) over the interval from 0 to pi/2.
    Playlist: • Interesting Integrals
    www.michael-penn.net
    www.randolphcollege.edu/mathem...

Комментарии • 358

  • @CoderboyPB
    @CoderboyPB 4 года назад +295

    It's amazing, I understand it, but I would never get to these ideas, especially using the trigonometric identities, but that's the reason why I failed my math studies: I was interested but never reached this manditory meta level ...
    But I like this videos, because even, If I failed, I never broke up with the mathmatics.
    Greetings from Germany, your vids help me to come to these hard corona times in social distance.
    Stay healthy :-)

    • @MichaelPennMath
      @MichaelPennMath  4 года назад +60

      I am happy to hear you like the videos! Luckily my chalkboard is in my basement, so I can make videos without venturing out.

    • @JinTsen
      @JinTsen 4 года назад +9

      I have the same thing. I love to see such beautiful solutions and I loved to try to find them, but I lacked the (as you called it) meta understanding to find them like that. But I still love math and still love to watch videos and learn more. Recently found this channel and absolutely love it.

    • @ivanmaximenko7227
      @ivanmaximenko7227 4 года назад +3

      Pretty interesting to see such an incredibly easy way to solve this integral! Almost a year ago, at my 2nd uni grade, I've used a parameter differentiate method to calculate it. More later, it was shown how to find a solution using complex calculus:D But the most amazing thing that I've got trying to figure out the answer was a nice series identity for the natural logarithm of 2!

    • @ibrahimahmed804
      @ibrahimahmed804 4 года назад +3

      @@ivanmaximenko7227 Similar thing is happening to me. next year im going to learn complex analysis can't wait to find simpler ways than this godforsaken method. Literally just smack your head on the chalkboard and hope to the math gods you dont make a mistake on any step.

    • @leif1075
      @leif1075 4 года назад +5

      Don't you think you could reach that meta level if you keep practicing?

  • @iamtrash288
    @iamtrash288 4 года назад +92

    What a sly method. Absolutely amazing

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @chae5833
    @chae5833 4 года назад +54

    Wow...this was really impressive. I've just started Calculus 2 and am learning integration by parts. It's a tricky process that requires so much knowledge in order to do efficiently/effectively. I'm okay on my Pythagorean identities, but I need to get all the double and half angle identities down. Definitely subscribed and will keep watching these cool problems. Thanks Michael!

    • @terdragontra8900
      @terdragontra8900 4 года назад +4

      Have you seen a geometric proof of the double angle formulas (or more generally the sum of angle formulas)? Its simple enough that once youve seen it you can quickly sketch it out again and and rederive the formulas if you forget. Not to mention they're just interesting!

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @wolfmanjacksaid
    @wolfmanjacksaid 4 года назад +77

    Whenever I see a new video like this I say "Ok, great"

    • @Quantum-Entanglement
      @Quantum-Entanglement 3 года назад

      Makes you wonder why. Is it faster to compute than an antiderivative for a computer or something?

  • @isambo400
    @isambo400 3 года назад +58

    “U equals zero” damn he’s right

  • @bastiangeissbuhler
    @bastiangeissbuhler 4 года назад +3

    Amazing, im from chile and i was triying to solve that integral for a while and when i give up, RUclips suggest me this video, is like fallen from heaven

  • @bmenrigh
    @bmenrigh 4 года назад +3

    This is probably the first video where I knew exactly where the method was going. I must have seen a trick like this before. Perhaps in solving certain infinite sums that use the same looping substitution / equality trick.

  • @ashotdjrbashian9606
    @ashotdjrbashian9606 2 года назад +2

    This integral (with sinx instead of cosx) was calculated by Euler more than 250 years ago. You have used a similar idea, but Euler goes backwards, and that makes calculation so much easier. First, he does the substitution x=2t and makes I=ln2*pi/2+ two integrals of 2ln(sint) and 2ln(cost), both from 0 to pi/4. In the second one he does change t=pi/2-u, which makes that an integral of 2ln(sinu) from pi/4 to pi/2. Combining together gives him 2I and all said. It takes literally two lines!

  • @chazzaca
    @chazzaca Год назад +1

    Great video Michael. If you integrate x/tanx from pi/2 to 0 (using integration by parts) you will use all the properties you've specified here

  • @WiKo-wg3mj
    @WiKo-wg3mj 4 года назад +2

    It's awesome, the way you demonstrated, step by step. Thumbs up! I really liked the process which is clearly understandable . Thanks you so much.
    However i've just one question, I would like to know, is there an other trick more easier and faster than that you've just done to get to the solution ?

  • @hg1288
    @hg1288 4 года назад

    Thanks for the explanation above. I like this sort of maths but I can never achieved the mental acrobatic that you can do but I enjoy stressing my brain in following it. However, using my calculator, it cannot even come out with lncos(x) but using lnsin(x) I got a complex number answer as -1.0888 - 4.4409x10^16i.

  • @andcivitarese
    @andcivitarese 4 года назад +11

    Integral from 0 to pi of ln(sin x) equals 2 times “I” since sin x is an even function with respect to x=pi/2, and so is ln(sin x)

    • @AnlamK
      @AnlamK 4 года назад +7

      Yes, I thought exactly the same thing but I think his substitution argument is a lot more rigorous.

  • @chrisli4735
    @chrisli4735 4 года назад +1

    amazing, i believe such beautiful solution comes from countless practices.

    • @argonwheatbelly637
      @argonwheatbelly637 4 года назад

      Like any language => Art, e.g. math, writing, music--performance, fine, or utilitarian.
      And more...

  • @erazorheader
    @erazorheader 3 года назад +2

    Another way to get rid of ln(z) is to consider the derivative d(z^t)/dt which yield ln(z) at t = 0.
    Thus it suffices to calculate int_0^{\pi/2} (cos(x))^t dx which results in beta-function after trivial change of variables. After all it will be possible to represent the answer in terms of digamma function.
    But the simplest way here is to use cos(x) = (e^{ix} + e^{-ix})/2,
    so ln(cos(x)) = -ln(2) + ix + ln(1 + e^{-2 ix}) = -ln(2) + i x + sum_{n = 1}^\infty (-1)^{n - 1} e^{-2 i n x} / n.
    As ln(cos(x)) is a real number, we can throw away the imaginary part (because it is zero):
    ln(cos(x)) = -ln(2) + sum_{n = 1}^\infty (-1)^{n - 1} cos(2 n x)/n
    As integral from cos(2 n x) within the interval (0, pi/2) yields zero,
    we get -ln(2) * pi/2.

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @boumedienemeddah7828
    @boumedienemeddah7828 4 года назад

    That's really great Michael!

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

  • @rc210397
    @rc210397 4 года назад +20

    From the thumbnail I tried doing it in my head by simply integrating the initial term and my answer was negative infinity (obviously), and when I saw the video my jaw literally dropped (again, obviously)
    Such an elegant method :D

    • @Ohm_
      @Ohm_ 3 года назад +3

      How did you "simply integrate" that?

    • @kilian8250
      @kilian8250 3 года назад +1

      What do you mean?

    • @mathhack8647
      @mathhack8647 2 года назад +1

      this is what Neuroscientist call it. the " HA" moment. That's when you find the hidden pattern within a pixellized photo for example.

    • @rc210397
      @rc210397 2 года назад

      I did it wrong in my head guys

  • @oscardasilva971
    @oscardasilva971 4 года назад +1

    Blessed RUclips Recommendation 🙏

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

  • @malawigw
    @malawigw 4 года назад +60

    Taking the integral to the u world

    • @wikingandersson2561
      @wikingandersson2561 4 года назад

      And back. Twice.

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @BoZhaoengineering
    @BoZhaoengineering 4 года назад +2

    The dummy variables changes back to x . That helps a lot. And you set the integral equal to I , it helps a lot too.

    • @argonwheatbelly637
      @argonwheatbelly637 4 года назад +1

      U-sub was the thing I remember students blowing off in college, because they would cram everything onto one line as well. I was taught to eat the paper vertically, and use a pencil.
      U-sub helped me a whole lot! It's like getting your own part score transposed for you from the orchestral score, but you're the conductor! Ok, yes, music is important to me, but also it's the quadrivial equivalent to calculus. And I love the seven Liberal Arts!

    • @pablonaterabravo4370
      @pablonaterabravo4370 4 года назад

      @@argonwheatbelly637 I don't know why, but I find cool the fact that you related maths with your Passion with music in that way

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you need to prove that I exists! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it!
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too!
      To serve you and your followers.
      Greetings from Paris.

  • @AmanGupta-sj1rx
    @AmanGupta-sj1rx 3 года назад +1

    I had first time understand it's proof. 🤔
    In the beginning I just memorized the whole thing.🔥
    Thanks for these beautiful and elegant explanation 🥰🔥

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @resamensuri3719
    @resamensuri3719 4 года назад

    Very beautiful way to solve this integral

  • @cammyboy31
    @cammyboy31 4 года назад +1

    Could you also do this integral by differentiating under the integral sign? Set I(a) = integral of ln(cos ax ) and differentiate with respect to a, then perform a u-sub?

  • @asuka1011
    @asuka1011 3 года назад

    厉害啊,这个证明过程真的精彩

  • @spartacus8875
    @spartacus8875 3 года назад

    Mathematics ,"feeling so good today" thank you

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

  • @whyyat3470
    @whyyat3470 2 года назад

    I love Dr Penn's videos, but am I the only one who has to pause the video so my ears can catch their breath?

  • @vbcool83
    @vbcool83 4 года назад +6

    Tried using the fact that the definite integral between 0 to pi/2 is same for ln(sin(x)) and ln(cos(x)), then added both leading to the integral being half of the sum of those definite integrals. Then used ln a + ln b = ln ab which yields ln sinx + ln cos x = ln sin 2x - ln 2.
    This gives the identity I = I/2 - pi/4 ln 2

    • @ShubhamKumar-sj6dp
      @ShubhamKumar-sj6dp 4 года назад

      But will not I/2 = integral(ln(cos^2x)) which I think will not be equal to ln(cosx)

  • @harshpratapsingh2075
    @harshpratapsingh2075 3 года назад +2

    Or simply use 2 properties of definite integration
    But it is good that u showed us each step

  • @Jason-ot6jv
    @Jason-ot6jv 4 года назад

    I loved that technique, great!

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you need to prove that I exists! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it!
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too!
      To serve you and your followers.
      Greetings from Paris.

  • @chazzbunn7811
    @chazzbunn7811 3 года назад

    You explain how to solve the integral, but you should also explain why you do some of the things you do. For example, you could explain why you made that particular substitution near the beginning. If I knew why you did that it could very well be useful to me for future problems. Just something to consider.

  • @benheideveld4617
    @benheideveld4617 Год назад

    And that is a good place to finish this video!

  • @dra4lol
    @dra4lol 3 года назад +42

    The real fun is to prove the integral does indeed converge..

    • @Ricocossa1
      @Ricocossa1 3 года назад +2

      Bound it from above with 0, and bound ln(sin x) from below with ln x, which gives a finite integral.

    • @qing6045
      @qing6045 2 года назад +1

      @@Ricocossa1 how to bound to x for x near pi/2

    • @Ricocossa1
      @Ricocossa1 2 года назад +1

      @@qing6045 x > sin x for x between 0 and pi/2

    • @Ricocossa1
      @Ricocossa1 2 года назад +1

      @@qing6045 No you're right, we need to bound it from below. So use,
      cos x > 1 - 2x/pi.
      So,
      ln cos x > ln(1 - 2x/pi),
      And the integral of the term on the right converges.

    • @Walczyk
      @Walczyk 2 года назад

      No it’s boring

  • @VSP4591
    @VSP4591 4 года назад

    Very elegant solution.

  • @jeremycai5870
    @jeremycai5870 3 года назад

    Could you still do the dummy substitution thing if it is an indefinite integral?

  • @paologrisanti7865
    @paologrisanti7865 4 года назад +1

    Just amazing! Thankyou!

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

  • @LouisEmery
    @LouisEmery 4 года назад +4

    If you were to plot the cos(x) and sin(x) (without the log) from 0 to pi/2 one would realize immediately the symmetries.

  • @pfscpublic
    @pfscpublic 4 года назад

    Make sense that the identical +ve areas under two similar trig curves 0->pi/2 could end up being the same

  • @UnforsakenXII
    @UnforsakenXII 4 года назад +11

    I've found a new way to do this integral but it involves gamma functions and exponential integrals. = D

    • @decentman7555
      @decentman7555 3 года назад

      ruclips.net/video/y_XwQkchwrE/видео.html

    • @jeager_07
      @jeager_07 3 года назад

      Yup that one is pretty easy

  • @eduardomeza4548
    @eduardomeza4548 4 года назад

    Will you do the convergence method for the integral?

  • @martijn130370
    @martijn130370 4 года назад +2

    Amazing, I thought this was an impossible one!!

  • @richardfarrer5616
    @richardfarrer5616 4 года назад +3

    One minor variation at the end. I used u = pi - x instead for the last substitution.

    • @brianart8700
      @brianart8700 4 года назад +1

      I was curiosas as to why he used u=x in the second substitution instead of u=pi/2 - x to return to the x world. Wouldn’t using u=x take him into a different variable? I know pi\2 is a constant but it must influence it some way right?

    • @jasonkrause1723
      @jasonkrause1723 4 года назад

      @@brianart8700 I'm missing something too; when he puts the two 'I's together, those x variables represent different things. If they don't, if u = x, then by his first subs x = pi/2 - x, then x = pi/4. The equation of 2 I = ..., this is only true when x = pi/4

    • @brianart8700
      @brianart8700 4 года назад

      Jason Krause Yes, I agree. I do Engineering for a living so I have some math background. On my free time, I like to find these problems and solve them prior to seeing the solution. This is one of those that did not add up.

    • @giacomovicentini3495
      @giacomovicentini3495 4 года назад +2

      Brian Art When you are working with an indefinite integral (where the result is a function) you have to change the variable at the end, and you cannot just say u=x for example, and in this context you’re right, but with definite integrals (where the result is a number) you can treat every variable like a dummy variable, because the area under the graph of f(x) and f(u) are the same. Keep in mind that you’re dealing with the change of variable issues when you find dx in terms of u and du, and when you change the bounds from x to u. Hope this helped, i can redo it if you want! If you have other questions feel free to ask!

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you need to prove that I exists! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it!
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too!
      To serve you and your followers.
      Greetings from Paris.
      P.S : in France: x → (π/2)⁻ means x → (π/2) and x < π/2

  • @cameronspalding9792
    @cameronspalding9792 4 года назад +2

    In order to prove that ln(cos x) is integrable on the interval we can use the comparison test

  • @fioncth
    @fioncth 3 года назад

    Michael Penn, what makes you know how to solve in this way ? just curious

  • @nin10dorox
    @nin10dorox 4 года назад

    I did it with a bunch of stupidly complicated stuff and it took like 2 hours and here he does it in 13 minutes

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you need to prove that I exists! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it!
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too!
      To serve you and your followers.
      Greetings from Paris.

  • @conrad5342
    @conrad5342 5 месяцев назад

    How about switching the order of the functions? Could you integrate cos( ln x ) ?

  • @roland6965
    @roland6965 4 года назад

    Gracias ahora ya pude entender mejor las integrales

  • @ohiovic1236
    @ohiovic1236 4 года назад +7

    This problem can be solved using Maclaurin's expansion

  • @tomvitale3555
    @tomvitale3555 2 месяца назад +1

    I was wondering where you were headed with this - it seemed you were going around in circles!

  • @TimeforDROPS
    @TimeforDROPS 4 года назад +3

    Why can we do change of variables back to x x = u, when we have ever used the substitution x = pi/2 - u, thanks for your answer

    • @MichaelPennMath
      @MichaelPennMath  4 года назад +7

      It isn't super necessary, the main reason is to make everything "look" the same so that the integrals can be easily compared and combined.

    • @damianmatma708
      @damianmatma708 4 года назад +5

      03:09 We can do this because "∫ ln(sin(_) d_" means the same no matter which letter you put into "_" (the same is also for definite integral from any "a" to any "b", for example for definite integral from 0 to π/2).
      For example "∫ ln(sin(A) dA" means the same as "∫ ln(sin(α) dα" and "∫ ln(sin(u) du" and "∫ ln(sin(x) dx".
      So we use this property to change letter (to change the variable) from "u" to any letter we want.
      And in this case we want this "any letter" be "x" :)
      So instead of writing "∫ ln(sin(u) du" we could write "∫ ln(sin(x) dx".
      I hope this is helpful and makes it understable :)

    • @mohammadfahrurrozy8082
      @mohammadfahrurrozy8082 4 года назад +1

      @@damianmatma708 thank you very much

    • @raphaeljacobs3518
      @raphaeljacobs3518 4 года назад

      @@MichaelPennMath This only works with definite integrals, right?

    • @jackrogers1498
      @jackrogers1498 4 года назад +1

      Damian Matma but that’s still doesn’t change the fact that the original sub was pi/2 - x, he goes on to use the double angle identity, sin(A+B) = sin(A)cos(B) + sin(B)cos(A) and uses it to get 1/2sin(2x) but this is only true for when A=B which in this case it doesn’t does it? Because he’s saying x = pi/2- x for all x, which isn’t true

  • @valdeircuite9052
    @valdeircuite9052 4 года назад

    It's amazing!

  • @bat2133
    @bat2133 4 года назад +20

    Wowwwwwww
    Can someone tell how he repose u = x at min 3
    Initially he posed u = pi/2 - x
    Wtf

    • @andersonferreira2980
      @andersonferreira2980 4 года назад +1

      The 'u's are diferent variables in each part.

    • @DeanCalhoun
      @DeanCalhoun 4 года назад +6

      substitution is an equivalent process, so the name of the variable doesn’t matter. it won’t change the value of the integration. he could have changed it to t, or w, or whatever, he just changed it back to x for the sake of consistency.

    • @hybmnzz2658
      @hybmnzz2658 4 года назад +4

      Strictly speaking it was a "mistake" or bad notation but really this is how you should think of definite integrals. The variable inside is nothing but a dummy variable. Once you get used to this you'll yawn and not keep track of what letters you have already used.

    • @imran8295
      @imran8295 3 года назад

      That is the differential dx=du

    • @woodithwoodard3132
      @woodithwoodard3132 3 года назад

      I was wondering something similar and looking down here for answers. How can he say u = 2x and then in the next step say x = u to get the variable back to x? He did this twice. I guess it doesn't matter.

  • @BeattapeFactory
    @BeattapeFactory 4 года назад

    Out-fucking-standing!

  • @merakebfodil982
    @merakebfodil982 3 года назад

    good démonstration!.

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @user-um3ui1gu9t
    @user-um3ui1gu9t 3 года назад

    Refreshing !

  • @GreenMeansGOF
    @GreenMeansGOF 11 месяцев назад

    How do we show this function is integrable?

  • @user-bn6hn5ew1n
    @user-bn6hn5ew1n 3 года назад

    すげぇ

  • @plusqueparfait6759
    @plusqueparfait6759 11 месяцев назад

    how do you calculate "integrale ln(2+cosx) dx"?

  • @danibarack552
    @danibarack552 4 года назад +3

    I thought of writing cosx as Re(e^ix) and then take the real part all the way to the outside of the integral, so you have
    Re(integ(ln(e^ix))=
    Re(integ(ix))=
    Re(i/2*x^2) from 0 to pi/2
    =Re(i*pi^2/8 + 0)
    =0
    Obviously this is wrong but where exactly? Did I use the real part wrong?

    • @GeoQuag
      @GeoQuag 4 года назад +14

      The Re does not commute with the ln

    • @MercureYgg
      @MercureYgg 3 года назад

      Careful, you have written (line 1 - 2):
      « ln(exp(ix)) = ix »
      because you thought that ln can be applied to complex exponential like the natural exponential fonction, which is not the case (it more complicated), thus, here lies the error.
      The ln function you are using is defined in R+* (or ]0; +Infinity[) whereas exp(ix) is a complex.

  • @phythematics2188
    @phythematics2188 4 года назад +1

    I was able to do this when I was in school.
    Love your videos ❤️

  • @yousseffarissi5149
    @yousseffarissi5149 3 года назад

    We call this a clean demonstration

  • @imran8295
    @imran8295 3 года назад

    Can't we use by parts to solve in wothout any substitution

  • @shubhamkashyap9279
    @shubhamkashyap9279 4 года назад +4

    Ahh now I realize why my teacher wanted me to just remember it

    • @yutopia7
      @yutopia7 4 года назад +2

      I’m afraid you and your teacher completely missed the point then.

  • @saadgrouli
    @saadgrouli 4 года назад +1

    Thanks

  • @taresy6789pp
    @taresy6789pp 4 года назад

    Why does integration by parts udv=uv-vdu not work

  • @thecrew8576
    @thecrew8576 4 года назад

    Thanks a lot

  • @anthonygreven2811
    @anthonygreven2811 4 года назад

    Wouldn't it be easier if you do u=cos(x) and then do an integration by parts?

  • @kabsantoor3251
    @kabsantoor3251 4 года назад +2

    Too much time and effort went into proving that Integral of ln(cos x) equals that of ln(sin x). I think that is trivial! First notice that for each x in the interval [0,pi/2] there corresponds a y = (pi/2 -x) such that ln(cos x) = ln(sin y) ,so that the integrands match for every x, y, respectively . If we now consider the integral as a Riemann sum, the result is obvious!
    Great video, BTW

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you aneed to prove that I exists! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it!
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too!
      To serve you and your followers.
      Greetings from Paris.

  • @lydhrabinojg9341
    @lydhrabinojg9341 4 года назад +2

    Real life most integrals are impossible to solve! Long live Tylor approximations!

  • @casa1420
    @casa1420 3 года назад

    Very good!

  • @user-lo5oz1qt6n
    @user-lo5oz1qt6n 4 года назад +1

    なるほど。そうやるのか!!Amazingすぎる

  • @famoxyzfamoxyz7027
    @famoxyzfamoxyz7027 3 года назад

    So, basically the area under this curve evaluates to a negative value? Does it simply mean that the plot of ln(cosx) lies below the x-axis?

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

  • @zoedesvl4131
    @zoedesvl4131 4 года назад

    This integral is every calculus student should learn.
    The idea of evaluating integral indirectly? Check.
    Classic application of the properties of trigonometric functions? Check.
    Change of variable? Check.

  • @frenchyf4327
    @frenchyf4327 4 года назад

    At 12:23 when turning u back into x why didn’t the bounds on the integral change too?

    • @delroth
      @delroth 4 года назад

      He's just renaming the variable inside the integral, it doesn't matter if it's called u or x or α or n, it's just a name for "the thing that moves inside the integral". You could also see it as a "substitution with u = x" (which doesn't change the bounds, since you're not doing any change to the variable) if that makes it clearer for you.

  • @argonwheatbelly637
    @argonwheatbelly637 4 года назад +1

    This is relaxing on so many levels...because to me, math is one of the Language Arts, not merely a Science; this being a fun story to read.

  • @DS-qg9cd
    @DS-qg9cd 3 года назад

    I might be missing something,but the log has a singularity at x=0, why does it still workout?

  • @kpk7867
    @kpk7867 3 года назад

    is it okay to locate zero in logarithm?

  • @noahschulz1718
    @noahschulz1718 4 года назад

    This could be done pretty quickly using the complex definitions of cos? The e terms would just cancel?

    • @megauser8512
      @megauser8512 3 года назад

      No, not really, since it would just be ln([e^ix+e^-ix]/2), which =/= ln(e^ix)+ln(e^-ix)

  • @holyshit922
    @holyshit922 3 года назад +1

    As a homework calculate integral
    Int(ln(1+cos(x)),x=0..Pi)
    Hint: you can reduce this integral to the integral presented in the video

    • @adamjennifer6437
      @adamjennifer6437 3 года назад

      Just watch this impressive Math channel ruclips.net/channel/UCZDkxpcvd-T1uR65Feuj5Yg

    • @lawliet2263
      @lawliet2263 2 года назад

      Who the hell does the homework

  • @cillo71
    @cillo71 4 года назад

    It is curious that you may not use Euler's formula to solve this...maybe there is a way...but it must be more complicated. If you take the natural logarithm of Euler's formula it is directly (cos x + i sen x). But your way is the best, well done ¡¡

    • @_Ytreza_
      @_Ytreza_ 4 года назад

      How do you go from ln(cos x) to cos x + i sin x ? They are clearly not equal

  • @pancreasman6920
    @pancreasman6920 4 года назад

    Would have solved it totaly diffrent, but interesting seeing a norher perspective of the same thing

  • @noelvarco1
    @noelvarco1 2 года назад

    Can someone explain how Michael can do a change of variable at 2:56 by defining x=u? I thought he defined x=pi/2-u earlier, why can he change it?

    • @user-cr4fc3nj3i
      @user-cr4fc3nj3i 2 года назад

      this is a common trick called dummy variable, the thing is that an integral is independent of its variable, below is an example:
      ∫ 2x dx = ∫ 2y dy
      they both mean finding an anti-derivative of f(z)=2z
      similarly, ∫ ln(sin u) du and ∫ ln(sin x) dx are both the anti-derivative of f(z)=ln(sin z), thus they are technically the same.

  • @cicik57
    @cicik57 2 года назад

    can you solve that for any bounds?

  • @YassinElMohtadi
    @YassinElMohtadi 4 года назад +4

    I wonder how you could prove that the integral is convergent even though you have no idea what the antiderivative is ?

    • @giacomovicentini3495
      @giacomovicentini3495 4 года назад +1

      You have to look at the behavior of the function at the bounds on integration. Looking at a graph of the function with the bounds in mind also helps!

    • @christiankotait2954
      @christiankotait2954 4 года назад +3

      For all u >0, ln(u)

    • @VIRUS200086
      @VIRUS200086 4 года назад

      I know it's not what you asked but do you agree that the video itself is a proof that the integral converges?

    • @isaacdeutsch2538
      @isaacdeutsch2538 4 года назад +1

      @@VIRUS200086 Well, that's not a proof at all. Because he didn't use a limit on an antiderivative, getting an answer doesn't prove convergence. That algebra is true, if and only if the integral converges, but if not, it would just be a logical fallacy. All that algebra would be like dividing by zero--getting an answer means nothing because what you're working with is undefined.

    • @isaacdeutsch2538
      @isaacdeutsch2538 4 года назад +1

      @@christiankotait2954 That doesn't work. Your inequality is true, but both functions are NEGATIVE, so the more negative one has the greater absolute area. Therefore, cosx - 1 converging on that interval doesn't prove convergence of ln(cosx).

  • @danmimis4576
    @danmimis4576 4 года назад

    Probably something like x = arccos(t) and then t = e^u would make it shorter, but I'm not in my math prime any longer ..

  • @stewartcopeland4950
    @stewartcopeland4950 4 года назад +19

    this resolution is worthy of the gold diggers who end up finding a nugget !

    • @photonicsauce7729
      @photonicsauce7729 4 года назад

      @@mr.knight8967 ruclips.net/video/f8yXkqqqeFs/видео.html

  • @asp2194
    @asp2194 4 года назад

    Very nice

  • @createdoit1932
    @createdoit1932 4 года назад

    How much clear you are ...

  • @richardkimn
    @richardkimn 4 года назад

    y is definitely an imaginary number in the range of x:p1/2i~3/2pi. What is the value of the definite integral of the range?

    • @lecinquiemeroimage
      @lecinquiemeroimage 4 года назад

      I am sorry but you are COMPLETELY WRONG; because I = J = -∞ !!! Your method IS NOT VALID because lim ln(cosx) = - ∞, when x → (π/2)⁻ (we have also lim ln(sinx) = -∞, when x → 0⁺)
      You made FORBIDDEN operations on the infinites !!!
      You used the same method than when you calculated ∫₀ₐ √sinx dx/(√sinx + √cosx) with a = π/2, which was very very easy to determinate, BUT NOT so easy with a = π/4 :
      try to do it !
      Try also to calculate K = ∫₀ₐ ln(cosx) dx with a = π/4 : not so easy, too !
      You made quite the same error than Ramanujan with his wrong identities, like this one: 1 + 2 + 3 + ..... = - 1/12
      To serve you and your followers.
      Greetings from Paris.

  • @spuriustadius5034
    @spuriustadius5034 4 года назад

    It was cool to see the solution, but it makes me wonder about how Michael chose his strategy for computing it.
    What I mean is after the substitutions and change of limits, there's still a natural log of a trig function in the integrand. If I were doing this problem, that would make me think I was on the wrong track *unless* I could see several steps "into the future" and realize that this strategy is really all about figuring out a relation for the integral-- and not explicitly computing it.
    How does one know that this strategy will work? How do you know that by making these substitutions, you will end up with a useable relation for the integral?

    • @auzzffozzie4309
      @auzzffozzie4309 4 года назад +2

      At some point you will find in your studies that experience plays a key part in how you solve things after looking at them. He probably pounded away at substitutions for a hot minute before realizing it was going in circles. At this point it reminded me of the special integral of ((e^x)*sin(x)) that one has a very similar methodology

    • @spuriustadius5034
      @spuriustadius5034 4 года назад +1

      @@auzzffozzie4309 Thanks, I was wondering if there was some clue about this problem that suggested this approach as solution. Is there a name for this approach of making substitutions to arrive at some expression that gives you an equation for the integral (without actually computing the integral)? My approach would have been to attempt to integrate this as series expansion with the aspiration of cancelling all but one term!

  • @ActualSubstance
    @ActualSubstance 4 года назад +1

    The u-sub of x=u @ 3:05 seems a little fishy to me. I feel like the x on either side of the equation aren't exactly the same x, which would prevent us from using the the trig identities later. Anyone have any thoughts?

    • @davidemasi__
      @davidemasi__ Год назад

      Sorry for answering after so much time, but the variable you use isn't important. In fact, if F is an antiderivative of ln(sin u), that integral is F(u) evaluated from u=0 to u=pi/2, which is F(pi/2) - F(0), but this is also F(x) evaluated from x=0 to x=pi/2. That's why you can use whatever variable and sometimes apply this substitution, just to deal with the same variable. Hope I was clear enough.

  • @rachidboumeftah5229
    @rachidboumeftah5229 4 года назад

    Verry good.👍

  • @elyades2480
    @elyades2480 4 года назад +4

    I tried to do this integral using Integration by parts, differentiating ln(cos(x)) and integrating 1 with respect to x.
    I ended up with having to integrate xtan(x), and that's where I got stuck.
    I tried to convert tan(x) into its complex form, but that didn't help me a lot. Do you think it's doable this way?
    Other than that, I loved the video. Your way of explaining the solution is very clear.

    • @chaoticoli09
      @chaoticoli09 4 года назад

      Elyâdés Can’t you just use integration by parts on int x*tanx dx? Doable provided you know how to integrate tanx.

    • @damianmatma708
      @damianmatma708 4 года назад +1

      Yes, it is doable that way.
      blackpenredpen did it:
      ruclips.net/video/PthIehmcNKA/видео.htmlm26s

    • @elyades2480
      @elyades2480 4 года назад

      Thanks, to both of you. I figured it out

    • @elyades2480
      @elyades2480 4 года назад +1

      @@damianmatma708 your video is the integral of cos(ln x), this one is ln (cosx)

    • @tomctutor
      @tomctutor 4 года назад

      I ended up trying to do byparts ending with an Int(xtanx.dx) term also, how did you figure this one out?
      PS I know that Int(xtanx.dx)= Int(x [ln(secx)]'.dx) but that just brings you back to start again in the original byparts!
      Finally noticed (as did *@Vijay Bhaskar* above):
      since cos(x).sin(x) = (1/2)sin(2x),
      ln(cosx.sinx) = -ln(2)+ln(sin(2x))
      => ln(cosx)+ln(sinx) = -ln(2)+ln(sin(2x))
      taking def. int both sides:
      2I = -(pi/2)ln2 + def.int{ln(sin2x).dx}
      2I = -(pi/2)ln2 + I ... since last def. int is same as I
      or I = -(pi/2)ln2.

  • @chaoticoli09
    @chaoticoli09 4 года назад +1

    What do you think is the easiest way to argue why this converges?

    • @MichaelPennMath
      @MichaelPennMath  4 года назад +2

      I think probably with some expansion of ln(cos x) as a Fourier series. I am doing a follow up tomorrow where we look at a similar integral and do this expansion.

    • @chaoticoli09
      @chaoticoli09 4 года назад +1

      ​@@MichaelPennMath I look forward to it. More generally, how do you decide which content to create? It's all very fascinating.
      I am also generally curious about your background in mathematics. I am pursuing a Masters in Math at the moment and I am now looking at ideals and varieties in the hope of properly understanding commutative algebra and schemes.

    • @Megathescientist
      @Megathescientist 4 года назад

      Note that cosx>=1-(2/pi)*x for 0=

    • @MichaelPennMath
      @MichaelPennMath  4 года назад +7

      Content: I was "flipping" two of my current courses (Calculus 3 and Abstract Algebra) using these videos. Now they have been moved online -- which luckily for me means I am set up to transition more smoothly than most. The other videos are a mixture of things I like (combinatorial identities, my Riemann Zeta function videos, my dilogarithm videos) and things that seem to get views and bring new subscribers ("fancy" integrals and Putnam problems).
      Background: I am a math professor at a small liberal arts college (Randolph College) in central Virginia. My research is related to the representation theory of infinite dimensional Lie algebras, vertex operator algebras, invariant theory, and mathematical physics.
      Every year or so I try and learn some modern algebraic geometry -- schemes, sheafs, stacks, etc -- but the abstraction kills me. Maybe I will commit to a video series to "force" myself to learn!

  • @salvatore14531
    @salvatore14531 4 года назад

    I do not understand the substitution that you do at 8:50: why can you transform the integral of ln(sin u) in the integral of ln(sin x), in u is not equal to x but to 2x?

    • @Stop.Arguing
      @Stop.Arguing 4 года назад +1

      Salvatore Di Lorenzo The u's are different variables. If it makes it easier, think of the second u as a w instead, or as u1 and u2.

    • @ahorribleperson3302
      @ahorribleperson3302 3 года назад

      @@Stop.Arguing Why are they different variables?

  • @user-vl9js8hx8m
    @user-vl9js8hx8m 3 года назад

    How about integral from 0 to pi/4

  • @edwardjcoad
    @edwardjcoad 4 года назад

    Can someone tell me why if I use Re{e^ix} and sub into the equation...which I believe will result in Re{ix} which equals 0 which then integrates to 0.

    • @_Ytreza_
      @_Ytreza_ 4 года назад +1

      Re(ln(exp(ix))) is not the same as ln(Re(exp(ix)))

  • @Harshit_Pro
    @Harshit_Pro 2 года назад +1

    9:57 You could have simply wrote that 1/2 integral of ln(sin x) dx, from 0 to pi as I

  • @goodplacetostop2973
    @goodplacetostop2973 4 года назад +3

    13:52

  • @bienvenukodjia9996
    @bienvenukodjia9996 4 года назад

    Thanks you

  • @MrLidless
    @MrLidless 4 года назад +52

    If you remember cos(x) = (e^ix + e^-ix)2 you solve the whole thing in seconds.

    • @Denis-vj2hz
      @Denis-vj2hz 4 года назад +4

      In seconds? Wouldn't you substitute the "jx" into "u" and then solve by parts, which will eventually lead you to a dilogarithm.

    • @rainbowk1ng
      @rainbowk1ng 4 года назад +2

      I doubt this lecture isn't diving into complex algebra buddy lol
      Seems more a class for calc II

    • @andydufresne431
      @andydufresne431 4 года назад +8

      No! true expression is : cosx=(e^ix + e^-ix)/2

    • @eugeneimbangyorteza
      @eugeneimbangyorteza 3 года назад +1

      First thing I've thought hahahahahahh

    • @pofsok
      @pofsok 3 года назад +2

      How would you do that, I am really curious, as I really do not see a way that using the complex definition of the cosine will make things easier, ln(1/2[e^ix + e^-ix]) is not something that can be simplified easily (as for as I know).

  • @victorjesequel9517
    @victorjesequel9517 3 года назад

    Good trick