integral of cos(ln(x)), integration by parts (w/ u-sub vs without u-sub)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 159

  • @blackpenredpen
    @blackpenredpen  6 ปีที่แล้ว +68

    By complex analysis th-cam.com/video/WgOzdcvPb-k/w-d-xo.html

    • @japotillor
      @japotillor 4 ปีที่แล้ว +1

      @Rajneesh Mishra its a menorisation mechanic, which does not always work.

    • @byronrobbins8834
      @byronrobbins8834 ปีที่แล้ว

      ​@@japotillor here, we have U=ln(X), and so we know what ought to be v, and what your dw ought to be.

    • @japotillor
      @japotillor ปีที่แล้ว

      @@byronrobbins8834 u = ln x, du = (1/x)dx, dx = x du = integral of cos u (xdu) = integral of e^u cos u du, then u = e^u and dv = cos u du :)

  • @opufy
    @opufy ปีที่แล้ว +14

    You’re such a great teacher. What I love most of what you do is: you repeat yourself, you don’t skip steps, you explain with a degree of patience and professionalism.

  • @dakotaroberson9921
    @dakotaroberson9921 6 ปีที่แล้ว +71

    that transition from one way to another was so smooth 😂

  • @guillaumeproux7877
    @guillaumeproux7877 6 ปีที่แล้ว +11

    I also first thought to use the complex form of trigo functions. Either expressing the cos as the half sum e^ix and e^-ix or simply taking the real part of the result of integrating e^x.e^ix is slightly faster than IPP IMHO. Thanks for continuing on this channel. I haven't done much maths since graduation but I keep stumbling on your channel and I love jogging my memory. I would love more prime number related brain twisters.

  • @spaghetti1383
    @spaghetti1383 6 ปีที่แล้ว +119

    You should have done it with complex analysis, it's very easy.

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +39

      Logan Hargrove agree! I did that last year already th-cam.com/video/WgOzdcvPb-k/w-d-xo.html

    • @plaustrarius
      @plaustrarius 6 ปีที่แล้ว +1

      Yessss!! specifically wanted to see integral of x^i very nice! thank you BPRP you are awesomeeee!!!

    • @46sauravdubey31
      @46sauravdubey31 3 ปีที่แล้ว

      Yupp very easy.

  • @samuelcortinhas4877
    @samuelcortinhas4877 6 ปีที่แล้ว +30

    That transition was so smooth;)

  • @kriswillems5661
    @kriswillems5661 6 ปีที่แล้ว +5

    Finally something I got right from the first time. It has been 25 years ago I studied this. Your videos are excellent for refreshing my knowledge.

  • @harshsrivastava9570
    @harshsrivastava9570 6 ปีที่แล้ว +23

    x/2 (cos(ln(x)) + sin(ln(x))) + c

  • @deba9672
    @deba9672 ปีที่แล้ว

    This question came on WBJEE 2022 literally the best explanation

  • @muhammedg-tips1584
    @muhammedg-tips1584 4 ปีที่แล้ว +1

    Great you helped me alot with integral of sec^1412 dx in my calculus exam hope you're well ♥

  • @benjaminbrat3922
    @benjaminbrat3922 6 ปีที่แล้ว +6

    I have not seen the DI method in class but I like it a lot. This is neat!

    • @harshranjan8526
      @harshranjan8526 6 ปีที่แล้ว +2

      But I was lucky that I have been taught.
      And believe me it worked like a weapon for me.🙂🙂🙂🙂

    • @abedbob4046
      @abedbob4046 5 ปีที่แล้ว

      Anyone who has used integration by parts has used this method. DI is just a terminology that is used to impress people, but he had invented nothing.
      D-I stands for Differentiate-Integrate.
      Example let's consider a fonction f(x) you want to find the integral. Sometimes when f(x) isn't easy to integrate, in this case you can write f(x) as the product of two functions v(x) and u(x) such as
      f(x)=u(x)*v(x) therefore by Differentiation of f(x) we get
      Df(x)=D(uv)=u'v+UV'
      Thus u'v=D(uv)-uv'
      Assume you has to integrate x*ln(x)
      In this case for example you set
      u=ln(x)-----Differentiate it------ u'=1/x
      v'=x. -------Integrate it--------'---v=(x^2)/2
      This what he calls D I to impress.
      Finally you get
      I=x^2)*ln(x)/2-(x^2)/4 +C

  • @lexis6594
    @lexis6594 3 ปีที่แล้ว +1

    this is 10 times more useful than listening to my math teacher...

  • @holyshit922
    @holyshit922 6 ปีที่แล้ว +4

    This integral can be calculated by parts directly (without substitution)
    There are two ways to choose the parts
    The obvious one is
    du=dx , u=x
    v=cos(ln(x)), dv=-sin(ln(x))/xdx

    • @holyshit922
      @holyshit922 6 ปีที่แล้ว

      We can also choose parts in this way
      du = cos(ln(x))/x dx, u = sin(ln(x))
      v = x, dv = dx

  • @JeffreyLByrd
    @JeffreyLByrd 6 ปีที่แล้ว +12

    I feel like the u sub is more fundamental, so I would choose that.

  • @ΔημητρηςΠαπαγεωργιου-γ2υ
    @ΔημητρηςΠαπαγεωργιου-γ2υ 6 ปีที่แล้ว +10

    Most of the times i prefer the u substitution.

  • @georgechen8028
    @georgechen8028 4 ปีที่แล้ว

    D-I tabular method for integral by parts is what I got from the video, thanks.

  • @gr3nn345
    @gr3nn345 6 ปีที่แล้ว +2

    I love your videos man! Very educational helped me a lot

  • @arequina
    @arequina 6 ปีที่แล้ว +4

    Just bought your merch. Love the design.

  • @Chris_Bonner
    @Chris_Bonner 2 ปีที่แล้ว

    I like the 2nd method, but can appreciate the first for the sake of knowing another way, just to have in my toolbox

  • @_wetmath_
    @_wetmath_ 3 ปีที่แล้ว +1

    i just got this in my calc 2 exam today and didn't know how to do it. bruh you need to do u sub and make x the subject and do by parts and bring the integral to the left side, i would not have gotten it even if you gave me the whole day to do

  • @saarike
    @saarike 5 ปีที่แล้ว

    Oh man this is great information about integrals, in wich I was very poor at school.

  • @factsheet4930
    @factsheet4930 6 ปีที่แล้ว +3

    That was exactly what was just asked in the exam!
    Well it was sin instead of cos but still great timing!

  • @joannaford7137
    @joannaford7137 3 ปีที่แล้ว

    Your so brilliant at explaining

  • @krishbishwanath
    @krishbishwanath 3 ปีที่แล้ว +1

    I did exactly same like 1st method 😋😋. I just love integration

  • @GreenMeansGOF
    @GreenMeansGOF 6 ปีที่แล้ว +3

    I did it the second way and also by taking the real part of the integral of x^i.

  • @Poem_arabic
    @Poem_arabic 7 หลายเดือนก่อน

    U r so smart
    Thank you 💗

  • @moskthinks9801
    @moskthinks9801 6 ปีที่แล้ว

    Nobody can ever forget the complex analysis way.

  • @kavyasb6484
    @kavyasb6484 4 ปีที่แล้ว

    I have solved this problem earlier....Thank you for video

  • @fabien3892
    @fabien3892 6 ปีที่แล้ว +2

    You could use X=e^x and resolve the problem with imaginary numbers (real part of the primitiv of e^X(i+1)). Three ways !

  • @OkyCapriatto
    @OkyCapriatto 6 ปีที่แล้ว +3

    "the reason i knew to stop is 'cause i had a sense of danger" hahahaha :'v

  • @vasilibougiamas2958
    @vasilibougiamas2958 6 ปีที่แล้ว +7

    Is there a video dedicated to your D I + - chart?

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +5

      yes, here: th-cam.com/video/matDV3XL2J8/w-d-xo.html

  • @rielco8442
    @rielco8442 6 ปีที่แล้ว +1

    There is an other method, you integrate x^i that is (x^i)/(i+1) and you write like a+i*b (it is easy). This is equal to integrate e^(i*ln(x)), that is equal to the integation of cos(ln(x))+i*sin(ln(x)) and you can split in the integal of cos(ln(x)) and i times the integal of sin(ln(x)), all this stuff is eqal to a+i*b. Well done!
    Can I have an

  • @eburciaga68
    @eburciaga68 3 ปีที่แล้ว

    Excellent explanation.

  • @Marcos-bo6vi
    @Marcos-bo6vi 6 ปีที่แล้ว

    Your second way is easier, but if you'd continued the DI method there you could get it following the quotient rule and so x^2 and 1/(x^2) cancel and so on... well, complex analysis is also nice.

  • @saiamitchaddha5525
    @saiamitchaddha5525 4 ปีที่แล้ว +1

    God Is Great, May God Bless them all and you all and your families

  • @128prajapatiashish8
    @128prajapatiashish8 3 ปีที่แล้ว

    We can use complex for calculation

  • @prollysine
    @prollysine 2 ปีที่แล้ว

    Dear bprp, a másodikat nem ismertem, köszönöm !

  • @NiNichYT
    @NiNichYT 3 ปีที่แล้ว

    Never saw this strange D I + - integration by parts schema before. For me it much easier to use direct formula - INT(f*d(g)) = f*g - INT(d(f)*g). So e^u*cos(u)*du is e^u*d(sin(u)). Then you just apply formula twice =)

  • @TEKKENFTW
    @TEKKENFTW 6 ปีที่แล้ว

    Thank you! Loved your explanation

  • @goliathcleric
    @goliathcleric 6 ปีที่แล้ว +3

    Can we see an integration of a function that uses up arrow notation?

    • @mariahamilton6096
      @mariahamilton6096 6 ปีที่แล้ว

      Yeah that'd be interesting (if it's possible, assuming you mean like tetration).

    • @goliathcleric
      @goliathcleric 6 ปีที่แล้ว

      @@mariahamilton6096 the name completely escaped me, but that is what I meant. I think it is only possible in the complex plane using the Lambert W function, but I'm not sure.

    • @mariahamilton6096
      @mariahamilton6096 6 ปีที่แล้ว

      Yeah I don't know too much about it, except that it probably won't be elementary. Well actually you can integrate x^(-x) and x^x from 0 to 1 and get an infinite sum as a result without using the complex plane too much (you use the definition of the gamma function at one point, but that's it).

  • @saxbend
    @saxbend 6 ปีที่แล้ว

    Appetiser and Entrées are both starters by the way. Except in the USA where they mess everything up.

  • @MrRyanroberson1
    @MrRyanroberson1 6 ปีที่แล้ว

    Hmmm.... Well. Differentiating the inside and see: -sin(ln(x))/x. The simple way to avoid this X is to multiply by it. x cos(ln(x)) becomes cos(ln(x))-sin(ln(x))
    For x sin(ln(x)) the derivative is sin(ln(x)) + cos(ln(x)), summing the two gets twice the original arg, divide by two to adjust.

  • @redroach401
    @redroach401 หลายเดือนก่อน

    Faster way: cos(lnx) = Re(x^i) just integrate a simple power function and take real part.

  • @zvidzayigahadzikwa2650
    @zvidzayigahadzikwa2650 2 ปีที่แล้ว +1

    Appreciated

  • @kirantripathi7731
    @kirantripathi7731 6 ปีที่แล้ว +2

    Integral of x^i

  • @towhidturan2922
    @towhidturan2922 3 ปีที่แล้ว

    Why you integrate and differentiate the symbol 2 time (e^u) and (cosu)??

  • @jrsaid4270
    @jrsaid4270 3 ปีที่แล้ว

    Sir how about the integral of e^x overr x^2+1?

  • @SumitSharma-wf5xb
    @SumitSharma-wf5xb 6 ปีที่แล้ว

    Awsome explaind

  • @MichaelJamesActually
    @MichaelJamesActually 6 ปีที่แล้ว +1

    Love the nike plug!

  • @entercherpfhalckhontralyty3542
    @entercherpfhalckhontralyty3542 6 ปีที่แล้ว

    I really liked the second way.

  • @Metalhammer1993
    @Metalhammer1993 6 ปีที่แล้ว

    While i probably would have come up with the first method, the second one is much more elegant and quicker so i like that better. (Usually a u sub is the first thing i try if i see a function inside a function. And given the u was ln x it was not hard of dealing with the x. And that was a more thsn doable integral so the first one is pretty much an intuitive way, but the second as i said much smoother) Although i like to use the classic formula for IBP simply because it really is rinse and repeat until you have either a solution or got the original back and is just muscle memory after a time, while the DI set up if you know, you won't get a repeat might be tempting to go crazy. I was staring horror at the D column "you don't want to differentiate that sucker!" Was my first thought. (The d column as you stated would have gotten worse and worse with every iteration so it really needs that "sense of danger". The classic formula as annoying as it is, doesn't have that. And this clearly was one of the integral where classic formula and dv=1dx is just smooth sailing without thinking. You just need to repeat until you see "wait, that looks familiar")

  • @shokan7178
    @shokan7178 6 ปีที่แล้ว +1

    I like the first method more because as a beginner you don't need to sense that differentiating sin(lnx)/x is bad.

    • @znhait
      @znhait 6 ปีที่แล้ว

      The first method is definitely better, but I disagree with your second point. By the time students would encounter such an integral, they would have developed that "sense of danger" skill. It is a skill. In integration, the convention for integration by parts is to pick a u whose derivative is "simple" and a dv where you know the anti-derivative. If taking the derivative of u(DI method is integration by parts in tabular form) would lead to a complicated function, then it'd be time to rethink things.

  • @Koisheep
    @Koisheep 6 ปีที่แล้ว

    I used the method you showed us in the integral of x^i but got the wrong sign lol I should check my calculations

  • @johanliebert8637
    @johanliebert8637 3 ปีที่แล้ว

    u = cos(lnx) dv=dx
    du = -sin(lnx)/x. v = x
    Final answer: x/2 [ cos(lnx) + sin(lnx)] +c

  • @eetuhaavisto524
    @eetuhaavisto524 6 ปีที่แล้ว

    Hello blackpenredpen, can you make a video about integrating the definite integral of [t+abs(t-x)]dt from 0 to 2x?

  • @3manthing
    @3manthing 4 ปีที่แล้ว

    'AND BE HAPPY!'

  • @Niyudi
    @Niyudi 6 ปีที่แล้ว +2

    I mean, this one could be done just looking at what could be derived to get that function.
    To get cos(ln(x)) there must have been a sin(ln(x)) to be derived in the integral. But deriving that, we get an extra 1/x. Multiplying that by x and deriving it will get rid of the 1/x, but add an extra sin(ln(x)).
    We could then add something that derived would get rid of that sin, which would be cos(ln(x))x. The other term of the derivative of that will just be cos(ln(x)), so you end up with 2cos(ln(x)). The true integral is, then:
    1/2[sin(ln(x))x + cos(ln(x))x]
    Still my favorite method for these simple integrals, just so much quicker.

  • @jeyjey-ft5zy
    @jeyjey-ft5zy ปีที่แล้ว

    why did u introduce e in that u subsitutiion? . or when do you know that i must introduce e ? bcz what i know is that when you have a fuction raise to a fuction u introduce ln now im confused with e

  • @choc_y
    @choc_y 4 ปีที่แล้ว

    Good job

  • @aashsyed1277
    @aashsyed1277 3 ปีที่แล้ว

    12:08 use the chen lu!

  • @helloitsme7553
    @helloitsme7553 5 ปีที่แล้ว

    What about going into the complex world to then take the real part?

  • @mdghufranalam7369
    @mdghufranalam7369 6 ปีที่แล้ว +1

    Fantastic...

  • @CarlosLopez-kj1bv
    @CarlosLopez-kj1bv 2 ปีที่แล้ว

    How to solve integral of A*cos(C + 4*Ln(cosh(sqrt(A)*x))) ? or A*cos(C - 4*Ln(cosh(sqrt(A)*x))) ?

  • @adandap
    @adandap 6 ปีที่แล้ว

    The first method involves two unnecessary substitution steps (x -> u and then back again) and the second method is the cleaner and easier one.

  • @pabitraghadei6857
    @pabitraghadei6857 3 ปีที่แล้ว

    Plz sir solve integration of cos(e^t) dt

  • @BigRedProductions11
    @BigRedProductions11 6 ปีที่แล้ว

    What about with complex analysis

  • @mathcinema3549
    @mathcinema3549 4 ปีที่แล้ว

    Both are good

  • @stydras3380
    @stydras3380 6 ปีที่แล้ว +1

    I like the second one! :D

    • @pawelszewczenko6723
      @pawelszewczenko6723 5 ปีที่แล้ว

      Stydras me too i would do this also by the second method

  • @lutfarahman7547
    @lutfarahman7547 5 ปีที่แล้ว

    How to integrate cos(lnx)/x from interval 0 to 3??

  • @shiwawaaa3981
    @shiwawaaa3981 4 ปีที่แล้ว

    Integral 1/x^3-1

  • @SaokoTz
    @SaokoTz 5 ปีที่แล้ว

    why e^lnx = x? Demonstration.

  • @Γιώργος-β2τ
    @Γιώργος-β2τ 4 ปีที่แล้ว

    Can't you use complex numbers for an easy solution?

  • @neilmccafferty5886
    @neilmccafferty5886 2 ปีที่แล้ว

    must be missing something - the answer to the question includes the question itself? guess old age finally caught up with me!

  • @hgwong8365
    @hgwong8365 2 ปีที่แล้ว

    we have the the blue pen today 😄

  • @khalafibrahem3928
    @khalafibrahem3928 5 ปีที่แล้ว

    Can you find
    Integral of tan(ln(x))

  • @MrNerst
    @MrNerst 4 ปีที่แล้ว +1

    Let's do the following:
    The integrand is cos(ln x); since cos(y)=cos(y+2nPi), where n is any integer and for any y, then cos(ln x)=cos(ln x +2nPi)=cos(ln(exp(2nPi) x)).
    Let's integrate both sides with respect to x; then Int cos(ln x) dx=Int cos(ln(exp(2nPi) x)) dx. Now in the right-hand-side we make the change of variable u=exp(2nPi) x, therefore, one gets
    Int cos(ln x) dx=exp(-2nPi) Int cos(ln u) du
    What's happening?

    • @MrNerst
      @MrNerst 4 ปีที่แล้ว

      Either the integral is zero, or not valid for every n integer......

  • @science-y9209
    @science-y9209 3 ปีที่แล้ว

    Why can't it be like this-
    ¶cos(lnx) = -sin(lnx)/the derivative of what's inside the function ,ie - lnx
    = -sin(lnx)/1/x = - sin(lnx) . x
    I used the chain rule for integration

  • @cedric1731
    @cedric1731 5 ปีที่แล้ว

    Nice: A rare video where you use isn't it right ;)
    As always great video man :D

  • @cameronspalding9792
    @cameronspalding9792 6 ปีที่แล้ว

    Always use complex numbers of possible

  • @rome8726
    @rome8726 6 ปีที่แล้ว

    That's majic

  • @בןברק-ק3ח
    @בןברק-ק3ח 3 ปีที่แล้ว

    excellent

  • @theimmux3034
    @theimmux3034 4 ปีที่แล้ว +1

    That second way with the ones is sooo cheating :D

    • @KingGisInDaHouse
      @KingGisInDaHouse 4 ปีที่แล้ว

      That’s your own work. No instructions say you can’t do that. Nothing cheating about it.

  • @alihawlere4640
    @alihawlere4640 6 ปีที่แล้ว

    Nice sir

  • @arkhani104
    @arkhani104 4 ปีที่แล้ว

    tnx

  • @SumitSharma-wf5xb
    @SumitSharma-wf5xb 6 ปีที่แล้ว

    How you make such a thumbnail

  • @SumitSharma-wf5xb
    @SumitSharma-wf5xb 6 ปีที่แล้ว

    I which university you are studying

  • @wansirijirayu5268
    @wansirijirayu5268 5 ปีที่แล้ว

    Would like to have Thai subtitles

  • @abderazakbazoune7545
    @abderazakbazoune7545 4 ปีที่แล้ว

    The first method is better 👌🏻

  • @RawanElhassan-m7l
    @RawanElhassan-m7l 2 หลายเดือนก่อน

    🔥🔥🔥🔥🔥

  • @andirijal9033
    @andirijal9033 4 ปีที่แล้ว

    Where is problem Corona Integral

  • @EE-Spectrum
    @EE-Spectrum ปีที่แล้ว

    I think I prefer the second method.

  • @mohdhumza2071
    @mohdhumza2071 4 ปีที่แล้ว

    There is an even better way to solve it. By using complex numbers and Euler's identity

  • @HaitaoWang268
    @HaitaoWang268 4 ปีที่แล้ว

    Can’t u just use complex definition of cosine and things will start to cancel out?

  • @Blibo1000
    @Blibo1000 6 ปีที่แล้ว

    Math can sure be beutiful

  • @saiamitchaddha5525
    @saiamitchaddha5525 4 ปีที่แล้ว +2

    Jesus Christ Is Lord and Is The Only Way To Heaven🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽❤️❤️

  • @egillandersson1780
    @egillandersson1780 5 ปีที่แล้ว

    I got it by the second way.

  • @dheerajpushpammathsclasses7509
    @dheerajpushpammathsclasses7509 6 ปีที่แล้ว

    Search on Dheeraj pushpam Maths Classes

  • @hiraafridi760
    @hiraafridi760 5 ปีที่แล้ว

    Jaaar shooo

  • @aldoumene6201
    @aldoumene6201 ปีที่แล้ว

    Easy peasy

  • @manthansunilhalarnkar
    @manthansunilhalarnkar 6 ปีที่แล้ว +1

    Both :)