integral of sec(x), 4 results!

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 324

  • @chrysophylaxs7208
    @chrysophylaxs7208 7 років тому +164

    You could do
    Int(secx) dx
    Let u = secx
    du = secx tanx dx
    If you now form a right angled triangle with angle x, the hypotenuse will be u and the adjacent side will equal 1.
    By the pythagorean theorem, the opposite side will be sqrt(u^2-1).
    That means:
    du = u sqrt(u^2-1) dx
    For the cancellation:
    dx = du/(u sqrt(u^2-1))
    Now substitute
    = Int(u · 1/(u sqrt(u^2-1))) du
    The u and 1/u cancel to get:
    = Int(1/sqrt(u^2-1)) du
    Which is the inverse hyperbolic cosine
    = cosh^-1(u)
    Substitute back for u
    = cosh^-1(secx)

    • @blackpenredpen
      @blackpenredpen  7 років тому +67

      Chrysophylax Dives wow!!!

    • @chrysophylaxs7208
      @chrysophylaxs7208 7 років тому +17

      Haha thank you sir :)!

    • @clawsie5543
      @clawsie5543 7 років тому +3

      Hmm... I tried to use x=arctan(u) substitution and obtained arsinh(tan(x)) which is, just as you result, partially correct. The graph of arcosh(sec(x)) and arsinh(tan(x)) are kinda different from ln(|tan(x)+sec(x)|), some branches coincide but others must be reflected in order to match ln(|tan(x)+sec(x)|).

    • @chrysophylaxs7208
      @chrysophylaxs7208 7 років тому +2

      Yep, youre right. Actually if you solve the integral of 1/sqrt(u^2-1) using u=secθ youll be left with the standard result.

    • @chrysophylaxs7208
      @chrysophylaxs7208 7 років тому +1

      To be honest, I have no idea. Ill try to figure it out.

  • @domthehypocrite
    @domthehypocrite 7 років тому +285

    If it were on a test I would go with #2 but if I knew I did really well on the test than I would go with #4 just to give my teacher a challenge in the midst of grading papers.

    • @leonardromano1491
      @leonardromano1491 7 років тому +20

      It might also depend on the subject. I'm studying physics and the profs are really strict with their ONLY-real-solutions-policy. In physics you usually only care about the real solutions because the theories in physics are made for real numbers.

    • @SchrondingersCat
      @SchrondingersCat 7 років тому +36

      Leonard Romano Imaginary numbers are everywhere in physics!

    • @rishabhdhiman9422
      @rishabhdhiman9422 7 років тому +8

      If I finished my paper and had enough time, I'd write all four of them (but first they'll have to teach me calculus in school, 2 years to go!)

    • @rishabhdhiman9422
      @rishabhdhiman9422 7 років тому +2

      Ian Bornhoeft I haven't seen them anywhere except in quantum mechanics (especially in wave function)

    • @leonardromano1491
      @leonardromano1491 7 років тому +13

      Of course they are everywhere. Except that you usually want your final result to be real. They appear quite often on the way though. Best example:
      harmonic oscillator: You get a linear combination of complex exponentials but in classical mechanics and most other theories except maybe quantum mechanics (haven't taken the course yet) you ignore the complex solutions and only take the solutions that have a real output.
      You may want to describe periodic thing's like plane waves and oscillators in terms of complex exponentials because the maths are easier but then again the things you are measuring (phase and amplitude) are real.

  • @iaagoarielschwoelklobo6342
    @iaagoarielschwoelklobo6342 7 років тому +110

    Jumpscare list:
    3:25 *monster appears
    19:19 *monster appears
    btw nice vid

    • @ShamimAhmed-xj6lf
      @ShamimAhmed-xj6lf 5 років тому

      Iaago Ariel Schwoelk Lobo Sexx

    • @doximanman
      @doximanman 4 роки тому +4

      It's oods from doctor who, they hold a white orb which is like their heart, and he looks like them because of his mic. lmao

    • @jordanfreidel1751
      @jordanfreidel1751 3 роки тому

      It’s an ood from doctor who

    • @mr_meow_77
      @mr_meow_77 3 роки тому

      Scary 😭

    • @mr_meow_77
      @mr_meow_77 3 роки тому

      That's ben ten villan mask vilgax

  • @WildSeven19
    @WildSeven19 7 років тому +28

    I liked the partial fraction solution most. Felt more intuitive and simple. cos^2x+sin^2x=1 is an old friend by now!

  • @ktuluflux
    @ktuluflux 2 роки тому +6

    You can also use the tangent half angle substitution. Also (erroneously) called the Weierstrass substitution, you can write any trig function in terms of tan(x/2)
    There is a general case for integral (1/(a+bcosx)). Just put b = 1 and a= 0 in the final answer there.

  • @Whizzer
    @Whizzer 7 років тому +42

    I quite like the last one.

  • @mythicmansam1082
    @mythicmansam1082 7 років тому +18

    Hey blackpenredpen I love your videos, I check everyday to see if you posted new content. The types of math problems you walk us through tickles my brain such an awesome way! Btw method number 4 was by far my favorite. It makes me wonder what other types of intergrals can have complex results :)

    • @blackpenredpen
      @blackpenredpen  7 років тому +2

      Samuel Roberts a lot, actually. I will try to do more later on. Thanks for u nice comment.

  • @jimstiles26287
    @jimstiles26287 7 років тому +6

    I wish UA-cam was around in 1987 when I was taking inviscid fluid flow. These videos are an excellent refresher in complex numbers.

  • @PackSciences
    @PackSciences 7 років тому +39

    I prefer number 2 but number 4 is interesting to know.

    • @TheLucidDreamer12
      @TheLucidDreamer12 4 роки тому +2

      I know this is old, but 1/2(arctanh(sqrt(sin x) - arctan(sqrt (sin x) ) + K is also pretty fun. Use the German K to really mess with them.

  • @Thalesfreitas96
    @Thalesfreitas96 7 років тому +187

    Got a little heart attack from the mask...

    • @deeptochatterjee532
      @deeptochatterjee532 7 років тому +7

      Thales Freitas Macêdo It's the Ood

    • @yoavcarmel1245
      @yoavcarmel1245 7 років тому +1

      Deepto Chatterjee i watch dw and still everytime he puts that ood head i get jumpscared

    • @clauskutsche918
      @clauskutsche918 7 років тому +4

      That oodball... add last he did it ! btw, Ood are sweet

    • @Thalesfreitas96
      @Thalesfreitas96 7 років тому +1

      Deepto Chatterjee Just found what the Ood is... He full cosplayed it; the mask and microphone

    • @jordanfreidel1751
      @jordanfreidel1751 3 роки тому

      It’s an ood

  • @victorlacerda9659
    @victorlacerda9659 7 років тому +40

    The complex result is by far the best, thanks for all.

  • @chrysophylaxs7208
    @chrysophylaxs7208 7 років тому +14

    Now you could also write secx as cscx times tanx
    That will get you
    Int(cscx tanx) dx
    Now let
    u = tanx
    du = sec^2(x) dx
    Do the same trick again,
    create a right-angled triangle with acutw angle x. The opposite side will be equal to u, and the adjacent side will be equal to 1. By Pythagoras, the hypotenuse is equal to sqrt(u^2+1).
    Now, sec^2(x) = u^2+1
    cscx = sqrt(u^2+1)/u
    dx = du/(u^2+1)
    Now substitute:
    = Int( sqrt(u^2+1)/u · u · du/(u^2+1))
    1/u and u will cancel:
    = Int( sqrt(u^2+1)/(u^2+1) ) du
    = Int( 1/sqrt(u^2+1) ) du
    Which is the inverse hyperbolic sine!
    = sinh^-1(u)
    Substitute back for u
    = sinh^-1(tanx) + C

    • @pituitlechat3807
      @pituitlechat3807 7 років тому

      I prefer this answer because for x=[pi/2,3pi/2], ln|sec + tan| = -sinh^-1(tan) and the slope (= sec x) must be >0 in this interval

  • @OCinTexile
    @OCinTexile 3 роки тому

    I was a math geek in high school and college, but in my work I ended up never needing anything much beyond algebra and probability, never the calculus that I spent years learning, except to tutor a friend for a year at work who was having trouble with basic calc derivatives, and basically forgot all about it (that was 30+ years ago, even the tutoring was 20 years ago). I never suspected how much I still love this stuff until I started watching your videos (and Mathologers too) a couple months ago. I always try to solve your integrals, but am almost never able to - I don't even remember if we ever did integrals like the ones you show (and I went to a hard core math/science/engineering institute in California, studying calculus and advanced math for four years, plus a couple years in high school), and I am always amazed and binge watch your videos for hours on end. I'll never use it, but the pure beauty of it outweighs any practical use it might have or not. A BIG THANKS!

  • @Kuratius
    @Kuratius 7 років тому +3

    Another cool thing: the same approach as in #4 also works for the integral of 1/sin x :
    you get -2*artanh (e^ix) as the antiderivative. I hadn't thought about that, thank you!

  • @thephysicistcuber175
    @thephysicistcuber175 7 років тому +38

    Use parametric formulas to express sec(x) in terms of tan(x/2), tan(x/2)=u, integrate

    • @blackpenredpen
      @blackpenredpen  7 років тому +30

      AHHHHHHH I FORGOT TO DO THAT!!!! >_

    • @thephysicistcuber175
      @thephysicistcuber175 7 років тому +3

      blackpenredpen lol, I've got you covered.
      Also, I've learnt that as a standard method to deal with rational functions of trigs, so naturally I would consider it.

    • @blackpenredpen
      @blackpenredpen  7 років тому +3

      Thanks!!! You know, I even did a vid last year on that, lol!

    • @blackpenredpen
      @blackpenredpen  7 років тому +2

      ua-cam.com/video/qijx9zx3HNQ/v-deo.html

    • @ishaan1
      @ishaan1 7 років тому +2

      The Physicist Cuber aha! the weisterass sub

  • @RyanLucroy
    @RyanLucroy 7 років тому +5

    If you love doing integrals the hard way, you can do the following:
    Take the second method and replace the 1 in the nominator with sin^2(x)+cos^2(x).
    After a lot of work you'll end up with
    ln(sin(x/2)+cos(x/2)) - ln(cos(x/2)-sin(x/2))
    Don't ask me how to get there, a friend of mine told me that :)

    • @jackdoherty762
      @jackdoherty762 7 років тому

      Fredo Lucroy when he said that sin^2(x) + cos^2(x) = 1, that was my first instinct. Maybe I'll give that one a try some day.

    • @adilsonfranciscoquissai3888
      @adilsonfranciscoquissai3888 6 років тому

      You'd have 1/cos(x)=(cos^2(x/2)+sin^2(x/2))/(cos^2(x/2)-sin^2(x/2))=(1+tan^2(x/2))/(1-tan^2(x/2)) and now you can use u=tan(x/2) where x=2tan^-1(u)

  • @serouj2000
    @serouj2000 7 років тому

    While you're at 6:38, you could have noticed it is in the form 1/1-k with k=u^2, you can turn that to an infinite series
    in this case, sum (u^2n) {n,0,infinity}
    After integrating, it would be sum ((1/(2n+1))u^(2n+1)){n,0,infinity}, then replace u by sin(x) which gives sum ((1/(2n+1))sin^(2n+1)x)){n,0,infinity}+c

  • @General12th
    @General12th 7 років тому +8

    Number four is clearly the best. It's completely right, and it would have sent my teacher into conniptions!

    • @Kuratius
      @Kuratius 7 років тому

      J.J. Shank :D
      Try integrating 1/sin x, it works the same way (complex definition of sin x)

  • @utuberaj60
    @utuberaj60 3 роки тому +3

    Very nice derivation, especially the last one using i and the one using stadard hyperbolic tanx.
    But there is one more method in text books using the substitution u=tan(x/2), which reduces the trig function into rational function and is integrated in the stadard way we use for this class of functions. The result is I think = ln | tan(x/2+π/4) |+C.
    This method is I learnt recently known as WEIRSTRASS substitution.

  • @JulianGarcia-gx2wg
    @JulianGarcia-gx2wg 7 років тому +57

    3:26 naniii

  • @imme3024
    @imme3024 Рік тому

    We can write 1/cos(x) as tan(x)/sin(x), by putting u = sin(x) we get sqrt(1-u^2) = cos(x) and therefore
    tan(x) = u/sqrt(1-u^2), and dx = du/sqrt(1-u^2). By simplyfing with "u", we get the integral of 1/[sqrt(1-u^2)*sqrt(1-u^2)], which is exactly what was found with the partial fraction or the inverse hyperbolic tangent

  • @Green_Eclipse
    @Green_Eclipse 5 років тому +2

    If you stop method 4 at 2/i * integral of 1/(u^2+1)du then that equals 2/i * integral of 1/(u^2-i^2)du. Factor denomintor with difference of squares and use partial fraction. You end up with ln((e^(i*x) + i)/(e^(i*x) - i)) + C

  • @abd-elrahmanmohamed9839
    @abd-elrahmanmohamed9839 6 років тому +6

    your videos are amazing ... of course the best method is the last one using complex expression of cosine

  • @AhnafAbdullah
    @AhnafAbdullah 7 років тому +6

    Guys I'll make a video of this where I'll differentiate all of these functions to get back sec(x),
    assuming anyone wants to see lol

    • @blackpenredpen
      @blackpenredpen  7 років тому +1

      Ahnaf Abdullah I do!!!

    • @AhnafAbdullah
      @AhnafAbdullah 7 років тому

      Hahahaha! Ok, I'll do it soon

    • @AhnafAbdullah
      @AhnafAbdullah 7 років тому +1

      ua-cam.com/video/XoYHieh_-EE/v-deo.html
      I'm a bit late but here it is!
      I'm also planning to differentiate the integral of cube root of tan x, since the first guy did it on scratchpad, it's very unclear.

  • @KewlWIS
    @KewlWIS 2 роки тому

    if you look closely the partial fraction one is just ln|secx+tanx| + c as (1+sinx)/(1-sinx) = (secx + tanx)^2 (trig identitiy), and the square goes outside and the abs value remains, the 1/2 and 2 cancel out and were left with
    ln|secx+tanx| + c

  • @andreguimaraes9347
    @andreguimaraes9347 7 років тому +5

    Put every single one in a plot, and got the exact same thing... Amazing! (had to use only the real part for the last one though)

  • @CLeonard484
    @CLeonard484 7 років тому

    The complex way is the best. You started with something real and ended with a complex answer.

  • @dakkoshite
    @dakkoshite 6 років тому +2

    13:26 Do you have to use absolute value ln when both 1+sinx and 1-sinx will never return negative? (i.e. is 1/2 ln[(1+sinx)/(1-sinx)] + C also correct, or does it have to be 1/2 ln|(1+sinx)/(1-sinx)| + C?)

  • @RodrigoCastroAngelo
    @RodrigoCastroAngelo 7 років тому +2

    Loved the Ood costume haha! The microphone reminds me of them everytime

  • @zerversinvaders
    @zerversinvaders 5 років тому +2

    Technically, the first and third answers are the same.
    Let's take 1/2*ln|(1+sinx)/(1-sinx)| which is the third answer.
    multiply numerator and denominator by 1+sinx
    1/2*ln|(1+sinx)^2/(1-sin^2(x))|
    denominator becomes cos^2(x), and since we have 1/2 outside the ln, we raise the inside fraction by 1/2
    ln|(1+sinx)/cosx|
    separate into two fractions 1/cosx and sinx/cosx, which gives us
    ln|secx+tanx|
    which is the first answer

    • @zerversinvaders
      @zerversinvaders 5 років тому +1

      fingers crossed blackpenredpen notices this 😂

    • @blackpenredpen
      @blackpenredpen  5 років тому

      Yes! I know they are the same and have a proof in another video

    • @blackpenredpen
      @blackpenredpen  5 років тому

      In fact, number two is the same too

    • @Ni999
      @Ni999 5 років тому

      By definition,
      tan¯¹u = ½[ln(1+u) - ln(1-u)]
      And that's 12:43 and so forth.
      Edit - bprp video linked at the end is even better -
      ua-cam.com/video/dpnqhIVd-pg/v-deo.html

  • @moonman239
    @moonman239 5 років тому

    So, if I understand #1, we're really just trying to manipulate secant of x into an expression that we can then use u-substitution to "cancel out" the secant of x, which then leaves us with just u. As it happens, secant^2(x) + secxtanx / secant(x) + tan(x) is just an expression, because when u = secant(x) + tan(x) we get secant^2(x) + secxtanx.

  • @aashsyed1277
    @aashsyed1277 3 роки тому

    4:49 you could subsitute that sin^2(x)+cos^2(x) on the top.

  • @farukhsandhu1066
    @farukhsandhu1066 4 роки тому +1

    Ur simile after solving a problem is great source of satisfaction😍

  • @user-wf3oj2vv2w
    @user-wf3oj2vv2w 7 років тому +22

    That Ood Mask Loool

  • @robertowusu4188
    @robertowusu4188 7 років тому +1

    You can also use the substitution, t = tan ½ x so that cosx =(1-t2)/(1+t2)

  • @dr.rahulgupta7573
    @dr.rahulgupta7573 4 роки тому

    Excellent presentation. Wow! DrRahul Rohtak Haryana India

  • @عبدالقادربوشيبة-ن7ر

    There is the fifth way for integral of sec(x) d(x)
    Put t = tan(x/2)
    Then sec(x) = (1+t^2)/(1-t^2)
    dx = 2dt/(1+t^2)
    integral sec(x) = integral (1+t^2)/(1-t^2) × 2dt/(1+t^2)
    By simplification by (1+t^2) and separation on 2 fractions we get
    integral sec(x)= integral of
    (2dt/(1-t^2) = Ln/(1+t)/(1-t)/ +C
    Cordially yours

  • @saxbend
    @saxbend 7 років тому +1

    When integration a complex expression doesn't the constant have a potential to be a complex number as well? In which case maybe it's better to write plus z instead of plus c.

  • @domthehypocrite
    @domthehypocrite 7 років тому +8

    I wonder if there are complex solutions to ln/logs of negative values.

    • @blackpenredpen
      @blackpenredpen  7 років тому +13

      ThisCouldBeYou yes

    • @Kuratius
      @Kuratius 7 років тому +2

      ThisCouldBeYou If there is a way to compute them with the integrals in this video, can you show me how?

    • @XanderGouws
      @XanderGouws 7 років тому +1

      Take a complex number z=re^iθ
      ln(z) = ln(r*e^iθ) = ln(r) + iθ * ln(e) {By log properties}
      This simplifies to:
      ln(z) = ln(r) + iθ
      If you plug in a negative number,
      θ=π+2πk for k ε Z
      r = | z |
      Ofcourse, you can restrict your possible θ values to -π < θ

    • @gustavoalexanderma8587
      @gustavoalexanderma8587 5 років тому

      @@XanderGouws do you recommend me some book to learn that :'( I understand something about that (some book with integrals with complex numbers) English please

    • @XanderGouws
      @XanderGouws 5 років тому +1

      @@gustavoalexanderma8587 One of my favorite general maths books is "mathematical methods for physics and engineering" by Riley, Hobson, and Bence. I (and a couple others) have also made some videos on those topics :)
      Hope this helps.

  • @Wyrmlingbait
    @Wyrmlingbait 7 років тому

    It's possible to manipulate sec x to show that it's equal to (sec^2 x + tan x sec x)/(sec x + tan x). Not easy in a comment to show it though.
    1/cos x =cos x / cos^2 x
    = cos x / (1- sin^2 x)
    = cos x / (1 + sin x) * 1 / (1-sinx)
    = 1/ (sec x + tan x) * 1 / ( 1-sin x) * (1+sin x)/(1+ sin x)
    = 1 / (sec x + tan x) * (1+sin x) / (1-sin^2 x)
    = 1 / (sec x + tan x) * (1+sin x) / cos^2 x
    = 1/ (sec x + tan x) * (sec^2 x + sec x tan x)
    = (sec^2 x + sec x tan x)/ (sec x + tan x)
    integrate it.

  • @renerpho
    @renerpho 7 років тому

    Here is a fun expression: 2*[tanh^-1((sqrt(2)+1)*tan(x/4))-tanh^-1((sqrt(2)-1)*tan(x/4))]+C
    We start from the identity cos²(x/2)=(1+cos(x))/2.
    Write this as cos(x)=2*cos²(x/2)-1, and replace 1/cos(x) under the integral sign by 1/(2*cos²(x/2)-1) = 1/2*[1/(cos²(x/2)-1/2)].
    The denominator can be factorized: 1/2*[1/(cos²(x/2)-1/2)] = 1/2*[1/[(cos(x/2)-1/sqrt(2))*(cos(x/2)+1/sqrt(2))]].
    Partial fraction (using your cover up method): 1/2*[(sqrt(2)/2)/(cos(x/2)-1/sqrt(2))-(sqrt(2)/2)/(cos(x/2)+1/sqrt(2))].
    Factor out sqrt(2)/2: sqrt(2)/4*[1/(cos(x/2)-1/sqrt(2))-1/(cos(x/2)+1/sqrt(2))].
    Now, tackle these as two seperate integrals.
    We use the standard trick how to solve integrals of the form R(sin(t),cos(t)), where R is a rational function: The substitution u=tan(t/2) changes the integral into a rational function of sin(t)=2u/(1+u²), cos(t)=(1-u²)/(1+u²) and dt=2*du/(1+u²) (this always works).
    In our case, we have a rational function of cos(x/2) in each of the two integrals, but the trick still works (we just have to be careful with the chain rule). We substitute u=tan(x/4) to get cos(x/2)=(1-u²)/(1+u²) and dx=4*du/(1+u²).
    The calculation for the integral of sqrt(2)/4*1/(cos(x/2)-1/sqrt(2)) goes as follows (the other one involves essentially the same steps):
    sqrt(2)/4*1/[(1-u²)/(1+u²)-1/sqrt(2)]*4/(1+u²) du
    =sqrt(2)/[((1-u²)*sqrt(2)-(1+u²))/(sqrt(2)*(1+u²)]*1/(1+u²) du
    =2/[sqrt(2)*(1-u²)-(1+u²)] du
    =2/[(sqrt(2)-1)-u²*(sqrt(2)+1)] du
    =2/[(sqrt(2)-1)*(1-u²*(sqrt(2)+1)/(sqrt(2)-1))] du
    =2/(sqrt(2)-1)*1/[1-(sqrt((sqrt(2)+1)/(sqrt(2)-1))*u)²] du
    Substitute s=sqrt((sqrt(2)+1)/(sqrt(2)-1))*u, du=sqrt((sqrt(2)+1)/(sqrt(2)-1)) ds
    2/(sqrt(2)-1)*sqrt((sqrt(2)+1)/(sqrt(2)-1))*1/(1-s²) ds
    =2/(1-s²) ds
    We can integrate this, using the tanh^-1 function. The integral is 2*tanh^-1(s).
    Substitute back for s: 2*tanh^-1(sqrt((sqrt(2)+1)/(sqrt(2)-1))*u).
    Notice that sqrt((sqrt(2)+1)/(sqrt(2)-1))=sqrt(2)+1:
    2*tanh^-1((sqrt(2)+1)*u).
    Substitute back u=tan(x/4) to get the final result (same for the second integral). Voila!

  • @jacobharris5894
    @jacobharris5894 5 років тому

    That last one is so cool and it seems to be the shortest way to do it. It would be nice though if you could convert to a real answer at the end if that’s possible.

  • @anglaismoyen
    @anglaismoyen Рік тому

    01:50 If we're allowed to memorise and use the derivative of sec(x) to solve this, why isn't it equally valid to memorise the integral if sec(x) and boom, there's your answer?

  • @calyodelphi124
    @calyodelphi124 7 років тому

    This made me want to have a little bit of fun with MathJax tonight. So I took the four solutions you demonstrated in the video, plus the three others I found lurking in the comments, and compiled them all together into a single document as a little bit of practice with LaTeX and MathJax. My brain is thoroughly fried from having to basically learn the math side of LaTeX from pretty much nothing. O..o;;

  • @BenjaminKeilty
    @BenjaminKeilty 7 років тому

    Integral of secx dx = int 1/cosx dx
    =int cosx/(1-sin^2x)dx
    Let u=sinx
    =int 1/(1-u^2) du
    We know that d/dx arctanx = 1/(1+x^2), so by the chain rule, d/dx arctan(ix)=(1/(1+(ix)^2))(i)=i/(1-x^2)
    Back to the integral, we multiply by 1 to get:
    int (-i)(i)(1/(1-u^2))du
    =(-i)*int (i/(1-u^2))du
    =(-i)*arctan(isinx)
    Not sure if this is meaningfully different from the other answers, or even right, but once you went down the path of #2 that's what I saw.

  • @jonas314ano
    @jonas314ano Рік тому

    6:37 the third way is
    -$1/u²+i²
    (-1/i)arctan(u/i)+c
    iarctan(-iu)+c
    substitute u=sinx

  • @nishatmunshi4672
    @nishatmunshi4672 3 роки тому

    6:36 you have actually 3 ways tanh inverese, coth inverse and the ln situation

  • @seegeeaye
    @seegeeaye 2 роки тому

    A short cut, multiply secx by a fraction of secx + tanx over secx + tanx, the integral becomes d(secx + tanx)/(secx + tanx) which results ln(secx + tanx) + C

  • @jackkalver4644
    @jackkalver4644 Рік тому

    To derive the secret in #1, you can differentiate sec x to get sec x tan x, divide by the original function to get tan x, differentiate to get sec^2 x, then divide sec x tan x+sec^2 x by sec x+tan x to get sec x. If f’(x)+g’(x)=g(x)sec x+f(x)sec x, then d/dx ln[f(x)+g(x)]=sec x.

  • @alfonsogarcia3855
    @alfonsogarcia3855 2 роки тому +2

    Method 3 is the most intuitive one in my opinion

  • @Kuratius
    @Kuratius 7 років тому

    What are you saying at 16:15?
    "If we differentiate this, the function part repeat.... "?

  • @ronycb7168
    @ronycb7168 8 місяців тому

    This is the first time I ever understood the coverup method thanks

  • @frede1905
    @frede1905 7 років тому +3

    0:13 "use this on exams"
    Ah, when you said that, I felt like I was not supposed to be here, because I am only 13 years old. But I love mathematics, that's why I understand this calculus...

  • @MatthewBrown1227
    @MatthewBrown1227 7 років тому

    If you combine the recent video on weierstrass substitution, you pretty easily get the integral for 2tanh-1(t) which after re-substituting t gives 2(tanh-1(tan(x/2)))+C

  • @MrRyanroberson1
    @MrRyanroberson1 7 років тому +1

    8:00 so inverse tangent of ix should just be inverse hyperbolic tangent x? Because (ix)²=-x²

    • @JensenPlaysMC
      @JensenPlaysMC 6 років тому

      Rember to divide by the derivative of ix

  • @fountainovaphilosopher8112
    @fountainovaphilosopher8112 7 років тому +5

    You must really love that fireworks.

  • @tanqs789
    @tanqs789 7 років тому +2

    Recently found out about this channel. Please keep making video!~

  • @bro_vega_1412
    @bro_vega_1412 5 років тому

    The differentiation of coth^-1(x) is also 1/(1-x^2),right?I remember you have made a video of this.
    BTW,tanh^-1(x)=1/2*ln((1+x)/(1-x)),coth^-1(x)=1/2*ln((x+1)/(x-1)).You may have some same results.
    Anyway,good video!

  • @satishkumarsingh2823
    @satishkumarsingh2823 3 роки тому

    from where did you get that mic..thats super cool just like your teaching....love from india...oh dude you are really awesome

  • @shandyverdyo7688
    @shandyverdyo7688 5 років тому +1

    I always like this dude!!!
    Very useful and nice video.

  • @donmoore7785
    @donmoore7785 5 років тому

    Very nice presentation! #4 blew me away - never would have thought of it.

  • @davidkippy101
    @davidkippy101 7 років тому +3

    Is there a way to set the complex integral equal to a different integral, plug in an x, and then solve for the value of i?

    • @Kuratius
      @Kuratius 7 років тому

      david plotnik Do you mean solving for the value of the complex integral? What do you mean?

    • @davidkippy101
      @davidkippy101 7 років тому +1

      Kuratius I'm saying that you can set the result of that very last integral equal to the noncomplex result of the other integration methods before it, then solve for i?

    • @Kuratius
      @Kuratius 7 років тому +1

      david plotnik They aren't equal, they differ by the constant c=-i π/2 . Anti derivatives do not have to be equal. They just have to differ by a constant (i.e. they change in the same way=they have the same derivative).

  • @KeyMan137
    @KeyMan137 7 років тому +2

    There's a great Wikipedia article: en.wikipedia.org/wiki/Integral_of_the_secant_function
    You could mention how the integral of sec(x) = tanh^(-1)(sin(x)) or sinh^(-1)(tan(x)) or cosh^(-1)(sec(x)) even though these functions are not equivalent. Another common form is ln(abs(tan(π/4+x/2))). Also, the integral of the secant function defines the inverse of the Gudermannian function (which relates the circular functions and hyperbolic functions without explicitly using complex numbers). Another interesting integral is secant cubed: en.wikipedia.org/wiki/Integral_of_secant_cubed
    {integral sec^3(x) dx = 1/2 sec(x) tan(x) + 1/2 ln(abs(sec(x)+tan(x))) + constant}

  • @gregoriousmaths266
    @gregoriousmaths266 4 роки тому +1

    Hahaha I got an ad as soon as the jumpscare came

    • @blackpenredpen
      @blackpenredpen  4 роки тому

      lol!
      btw, some students of mine didn't like the jumpscare too much bc they were too focused

    • @gregoriousmaths266
      @gregoriousmaths266 4 роки тому

      Btw Im eagerly awaiting for you to upload... are u taking a break? r u ok?

  • @MathAdam
    @MathAdam 4 роки тому +2

    My favourite is the one that uses tanh^(-1). This integral illustrates so many connections between various functions-- logs, trig, complex, hyperbolic... Do I get to say "#first comment in 3 years"? 😎

  • @alextaunton3099
    @alextaunton3099 Рік тому +1

    This is a very sec(x)y video

  • @j5v133
    @j5v133 5 років тому

    In the 1/cosx method you can also sub cosx=(1-tan²(x/2))/(1+tan ²(x/2))..😬
    Then tan(x/2)=t and dt=1/2(sec²(x/2))...which is the num so the integral becomes sort of int(dt/(1-t²)

  • @ChrisLuigiTails
    @ChrisLuigiTails 6 років тому +1

    _"The integral sec(y) dy from zero to one-sixth of pi is log to base e of the square root of three times the sixty-fourth power of WHAAAT?!"_

  • @prollysine
    @prollysine 2 роки тому

    Dear bprp, lenyűgöző volt !

  • @vkillion
    @vkillion 7 років тому +2

    What if you do partial fraction decomposition on the complex result instead of using the inverse tangent? Does partial fraction decomposition work for complex numbers? I worked it out based on what I remember of calculus (it's been a while since I've used it) and the answer I got was:
    ln | (e^(ix) - i) / (e^(ix) + i) | + c
    Let me know if this is a valid result or not.

    • @Kuratius
      @Kuratius 7 років тому

      Vincent Killion Compute
      Wolfram Alpha says yes:
      I think you dropped a minus somewhere, I added it in.
      '- d/dx ln((e^ix - i)/(e^ix + i))' with the Wolfram|Alpha website (www.wolframalpha.com/input/?i=-+d%2Fdx+ln%28%28e%5Eix+-+i%29%2F%28e%5Eix+%2B+i%29%29) or mobile app (wolframalpha:///?i=-+d%2Fdx+ln%28%28e%5Eix+-+i%29%2F%28e%5Eix+%2B+i%29%29).

    • @vkillion
      @vkillion 7 років тому

      Kuratius That's entirely possible. I was doing it quickly and probably forgot to copy one down. Thanks for checking it. I wasn't sure if Wolfram Alpha would handle it correctly.

    • @Kuratius
      @Kuratius 7 років тому

      Keep in mind, I think in this case taking the absolute value as the argument for the logarithm is wrong. Wolfram returns a different result in that case.

    • @Kuratius
      @Kuratius 7 років тому

      Vincent Killion Here's a plot of your antiderivative: I suspect it's actually the same one as #4, I'll check in a minute.
      www.wolframalpha.com/input/?i=-ln((e%5Eix+-+i)%2F(e%5Eix+%2B+i))

    • @Kuratius
      @Kuratius 7 років тому

      Vincent Killion I checked, it is actually a different antiderivative! They differ by i*π.
      Compute ' ln((e^ix - i)/(e^ix + i)))-2*i*arctan(e^ix) for x=0' with the Wolfram|Alpha website (www.wolframalpha.com/input/?i=+ln%28%28e%5Eix+-+i%29%2F%28e%5Eix+%2B+i%29%29%29-2*i*arctan%28e%5Eix%29+for+x%3D0) or mobile app (wolframalpha:///?i=+ln%28%28e%5Eix+-+i%29%2F%28e%5Eix+%2B+i%29%29%29-2*i*arctan%28e%5Eix%29+for+x%3D0).

  • @sakshamgarg8938
    @sakshamgarg8938 7 років тому +1

    Has this guy made video Abt differentiation of inverse functions? If yes then pls send the link..Btw great video man.. just subscribed yesterday

    • @blackpenredpen
      @blackpenredpen  7 років тому

      Saksham Garg check out my site. Www.blackpenredpen.com and resource calculus.

  • @roderictaylor
    @roderictaylor 3 роки тому

    My favorite method is to use the substitution tan x = sinh u from which it follows that sec x = cosh u and dx = 1/cosh u

  • @sdegueldre
    @sdegueldre 7 років тому

    This just goes to show that using trig functions and memorizing their various derivatives and integrals is stupid and it would be much cleaner and easier to always express them as complex exponentials, it would also yield a single result, which can be shown to be equivalent to all 4 expressions (and to the other ones people have pointed to in the comments).

  • @elumbraarjay1005
    @elumbraarjay1005 6 років тому

    that was so cool. all those answers are great. great job and great brain sir

  • @shubhamide
    @shubhamide 4 роки тому

    you can also write 1=(sinx)^2+(cosx)^2 in the numerator and then write sin squarex by cosx plus cos squarex by cosx....
    and then we will get integration of tanxsecx+cosx
    and then sinx +secx +c
    i wnat to know if this is correct

  • @JBaker452
    @JBaker452 7 років тому +1

    This is of mind blowing proportions.
    Black pen red pen yeah!

  • @DjVortex-w
    @DjVortex-w 7 років тому

    I have an unrelated question: How would you calculate evenly-spaced points on a parabola?

  • @Thalesfreitas96
    @Thalesfreitas96 7 років тому

    Are all those methods available to cossecant, hyperbolic secant and hyperbolic cossecant?

  • @silentclashing423
    @silentclashing423 7 років тому +1

    Can we use integration by parts

  • @simonzarka-arthus7999
    @simonzarka-arthus7999 4 роки тому

    you can also write t=tan(x/2)

  • @AndreaAntonelli-i7t
    @AndreaAntonelli-i7t Рік тому

    Hi, many thanks for this clear presentation! I still have a question, how is possible that this integral has 4 solutions? they look different...isn' the solution supposed to be unique?

  • @三葉虫-g9o
    @三葉虫-g9o 6 років тому

    You can have an expression, ln | tan (x/2 + pi/4) | + C, by letting u=tan(x/2)

  • @tom_szcz_org
    @tom_szcz_org 7 років тому

    Maybe try Weierstrass sub?

    • @tom_szcz_org
      @tom_szcz_org 7 років тому

      You will get 2*arctanh(tan(x/2))+C or ln(abs((1+tan(x/2)/(1-tan(x/2))))+C if you try it. Fifth solution!!! CRAZY!!!

  • @green3487
    @green3487 3 роки тому

    That Ood costume made me jump lol

  • @sakshamgarg8938
    @sakshamgarg8938 7 років тому +1

    We r getting different answers. . What does that mean?.. does that mean that graph of every one of them will have same area provided that we put same limits in all of them?

  • @manuelodabashian
    @manuelodabashian 7 років тому +1

    I have come across another way years ago but no longer have the book

  • @OmarMoBadr2
    @OmarMoBadr2 2 роки тому +1

    Is that an OOD from Doctor Who

  • @orvenpamonag2234
    @orvenpamonag2234 10 місяців тому

    It is possible to come up with an answer if the substitution instead becomes, e^ix=cosx+isinx?

  • @leonardromano1491
    @leonardromano1491 7 років тому

    You could do the substitution u=it where you integrate 1/(1-u^2) so the result becomes -i*arctan(i*sin(x))+c how cool is that?

  • @butterflyspinart
    @butterflyspinart 7 років тому

    If I may ask, what is hyperbolic tangent?

  • @Z-eng0
    @Z-eng0 4 роки тому

    Just a little question here in one why do you even multiply by a variable can you even do that?

  • @willnewman9783
    @willnewman9783 5 років тому

    My problem with the last one is that the domain of acrtan in the complex numbers. I certainly do not know what it is, and I am guessing most people do not either

  • @mrlordsaif5708
    @mrlordsaif5708 2 роки тому

    Weierstrass substitution makes it a trivially easy integral

  • @jihanhamdan5465
    @jihanhamdan5465 7 років тому +1

    man i just don't feel like loving having i in the solution

  • @williamwarren9397
    @williamwarren9397 4 роки тому

    what if you integrate up to the point with sec(x)=1/cos(x) and still changed 1 to sin^2(x )+cos^2(x), but you separate the two sides of the numerator into integral (sin^2(x)/ cos(x)) + integral (cos^2(x)/cos(x)) and got sec(x) +sin(x) +c?

  • @dominicellis1867
    @dominicellis1867 2 роки тому

    How do you convert the complex definition into the standard u sub definition?

  • @mathteacher2651
    @mathteacher2651 5 років тому

    you are turning into a monster - you better eat a snickers.....

  • @LearnWithFardin
    @LearnWithFardin 3 роки тому

    I love all of those!!!
    But a bit less complex!

  • @ashuyadavatoz3629
    @ashuyadavatoz3629 3 роки тому

    I'm from India but this lecture is useful for me

  • @skwbusaidi
    @skwbusaidi 5 років тому

    Good.
    Please show us how to convert the last method result from complex to real value because the integeral is real

    • @Kuratius
      @Kuratius 4 роки тому

      I think you have a misconception about the fundamental theorem of calculus, the antiderivative is only unique up to a constant. It says nowhere that this constant cannot be imaginary, and as long as it's a constant any definite integral using this antiderivative will also be real because it cancels out.
      You can take the real part if you want, but it's really quite redundant to do so because it will not change the result in a meaningful way.

    • @skwbusaidi
      @skwbusaidi 4 роки тому

      @@Kuratius yes I meant it is interesting to show that -2i×arctan(e^ix) + C= ln|secx+tanx|
      I did not say that C can not be complex