This is how you integrate sqrt(tan(x))! This is a pretty challenging integral! checking answer by differentiation: • checking the answer of... , 💪 Support this channel, / blackpenredpen
Sorry for the reupload. I actually had a mistake on the integral of 1/(x^2-a^2) in the previous video. I will make up to you guys by checking my answer by differentiation! That video will be done soon!
According to the question. For example, if the question is to find an original function for the next function, the answer without the constant is correct. But if the question is assigned to all the original functions. It must make +C
I think my professor summed up integration in a nice way. He said differentiation is all about technique. You see a scenario and have a set of rules you then follow. Integration is a form of art. It's much more intricate and delicate.
"Welcome to the Salty Spitoon, how tough are ya?" "How tough am I? I just integrated a trig function!" "Yeah, so?" "integral(sqrt(tan x))dx" "Uh, right this way..."
Me when finding this channel: "wtf is going on?!" Me rewatching 1 year later after having seen every bprp video: "alright easy didn't even need the DI setup"
Integration is just the easiest thing ever... I can integrate √tanx + e^x² in seconds: Set up the integral: ∫ √(tan(x)) + e^x² dt And then just use the "inverse" power rule: (t)√(tan(x))+ (t)e^x² And we're done... I didn't say that I'ld do it with respect to x...
I'm preparing a transfer exam for Korean universities and there was this question on my preparation problem set. Your solution was so helpful brother, thanks a lot!
I passed my semester of Calc 1! I did not fully understand everything but I believe I got a strong majority of it & I will be working on some of my weaknesses during break to prepare for Calc 2. For some reason when we got to U-substitution, everyone was confused but it seemed to make sense to me just based off the few example she gave in class and somehow that was all I needed. Anyway, so during last class before our final, she did a little review & answered questions. Someone asked about this sqrt(tanx) and she was like "oh you cant solve this with your current toolset, wait till next semester" and I was like "I can solve it" because I had all this false confidence from having understood the whole U-sub stuff. Well turns out this is a VERY difficult one lol. I guess if you are a student and want to be prepared for integrals, just spend a week studying just THIS one integral and you should be good to go lol.
@@kishorekumarsathishkumar1562 im guessing they give you the space because with an A4 blank paper this would quickly turn messy for me as my handwriting is pretty big
Me too, I watched the whole thing wondering what was going to happen next! Really a great calculus problem. I'm going to show it to all of my students!
Ok, so in the beginning we have a pretty simple mathematical expression while the result in the end is something horrible. Things tend to evolve naturally from more complex to simpler. I therefore consider it normal to leave this formula unintegrated. Thank you for all your thumbs up ! :D
I like this integral and its anti-derivative. I am impressed with your technique of using trigonometric and u-substitution along with algebraic manipulation to arrive at the answer.
I majored in physics in school and always preferred the more pure abstract mathematical parts of it. Watching this video is like taking a mental vacation back into the past. I'm happy that I was able to follow it through to the end on my first viewing :)
Finally! Loved the video! Is great! You could do the same integral for the 100k, but now you do it the hard way! (The one with partial fractions and with the factorization of u^4+1, and with the natural log result!)
Slightly more straightforward (although much longer/messier): Factor x^4 + 1 = (x^2 + sqrt(2)x+1)(x^2 - sqrt(2)x+1), then do partial fractions, complete the square in the denominators and solve. This saves you from having to figure out the trick where you add 1/u^2 and subtract 1/u^2.
I just differentiated this myself, it starts out ridiculously complex, but it slowly starts to fit in with everything, good luck on doing it! You might need 6 boards to do it, I managed to do it in 1 board, but I had to rub out a lot of the work out I did
What a gorgeous way to find the answer! Who is the genius first to find u+1/u and u-1/u pairs for this question? It really drive me crazy for such an integral. Thank BPRP.
So... u substitute for fx Square u = sqrt (tanx). See that 2udu = sec^2(x) dx. Squaring u^2 = tanx gives us tan^2(x) = sec^2 (x) -1 = u^4 which we can see as sec^2 (x) = u^4 + 1. Thus dx = 2udu/u^4 + 1. Plug in original equation to have integral of u*(2u/u^4 + 1)du. Multiply top and bottom by 1/u^2 to get complex fraction with sum of squares in denominator. Complete the square to get (u + 1/u)^2 - 2, which has derivative of inside equal to 1 - 1/(u)^2. Now we want two integrals (why? it is not clear unless you see the tanh^-1 and tan^-1 option coming up), one with 1 - 1/(u)^2 in numerator and other with 1 + 1/(u)^2 in our numerator. Because the completed square can have two forms we can have the appropriate denominators to do two more substitutions, this time with t and say w. If we do the substitutions correctly we have two integrals, one being of 1/(t^2 - 2), and our other being of 1/(w^2 + 2), both in their respective worlds. A formula exists for these forms to be integrated neatly into tanh^-1 and tan^-1 forms. Substitute u back in for t, w, and sqrt (tanx) for u. Do this correctly, and then Add c and we're done. I did this mostly for my own understanding, but I'm fairly sure I didn't skip too much for it to act as a quick summary.
We can solve this in some other way too. We can write sqrt tanx as 1/2 {(sqrt tanx + sqrt cotx)+ (sqrt tanx - sqrt cotx)},and then break these into sin cos expressions,and then subtitute sinx + cosx = t and sinx-cosx = k in the first and second integrals respectively,and then apply the standard integral formula. Anyways love you process too!
Sorry for the reupload. I actually had a mistake on the integral of 1/(x^2-a^2) in the previous video. I will make up to you guys by checking my answer by differentiation! That video will be done soon!
One rather interesting thing about that expression is that (if we take C = 0) we'll generally get a complex number out of it. The imaginary part is always the same though. I think you get a nice expression if you introduce complex numbers (starting by factoring (u^4 + 1) into (u^2 +- i). But it seems non-obvious that 1) the manipulations I did after that are totally ok, since I kind of ignore principle value etc... and 2) how to rigouously show this is actually equal to the answer found with real math. Writing R = (1 + i) / sqrt(2) and u = sqrt(tan(x)) (and Re == real part) then I eventually got that Re[2R*arctan(Ru)] is an antiderivative of sqrt(tan(x)) w.r.t. x Writing out the def. of (complex) arctan => Re[(1/R) Log [(R - u) / (R + u)]] is an antiderivative. Numerically checking for some random values I find this does give the same values (up to a constant) as your solution. Though I did assume that tan(x) is non-negative here (that is how I ended up with "real part" in there).
I needed to do HW tonight but I watched this whole video instead. After seeing one too many memes about integrating the square root of tanx I couldn't resist.
@@blackpenredpen 4 years later you are still inspiring people. I'm only 14 right now, so don't have any solid plans for uni etc. (other than studying CS as I like programming) but now you got me interested in maths! I've been spending my afternoons just trying to learn maths for the past few weeks, and it's been really fun so far!
All depens on interval for x. If this integral is for x in (0.5;1) you can use sqrt(tg)=1/(sqrt (cotgx x) And use substitution y=sqrt(cotgx), than you have short solution
You could've used another formula/ method for integrating the 1/(t^2 -2) just by using : integral of 1/(x^2-a^2) = (1/2a)*( ln( |x-a|/|x+a| ) . that would have been more easy and intiutive than hyperbolic inverse function.(just saying) BTW very nice explanation sir. Great content. You're a wonderful teacher. PEACE
I did the integral in a slightly different way. I ended up with (sqrt(2)/4) * log(abs((1/2 + (sqrt(tan(x)) - sqrt(2)/2).^2) / (1/2 + (sqrt(tan(x)) + sqrt(2)/2).^2))) + (sqrt(2)/2) * atan(sqrt(2*tan(x)) + 1) + (sqrt(2)/2) * atan(sqrt(2*tan(x)) - 1). I also let u = sqrt(tan(x)) but in of multiplying through by 1/u^2 I added and subtracted 2u^2 from the denominator and then factoring the result using difference of squares. Once I had it in a factored form, I used partial fractions.
Very symmetrical so much so with all those arctans and tan x's you could combine them except for that little h in the inverse hyperbolic tangent it stands for Hell in this integral bc you can't take tanh^-1(n) ||n|| > 1, ~|tan x| + |cot x| w/o screwing up the rest of it unless it's some kind of cubic solution with complex b coefficient ~ 1/3 ln (i) Point it seems so close to y = f(x); f^-1(y) = x, x could be 0-2π with no trouble you would run into complex numbers but they cancel themselves out ish
Sorry for the reupload.
I actually had a mistake on the integral of 1/(x^2-a^2) in the previous video.
I will make up to you guys by checking my answer by differentiation! That video will be done soon!
Np. it is fine
This one's more worth the storage area of google than a dozen 9 percent of the content of YT.
blackpenredpen Thanks
Did you have to redo the video? or just edit the definition that showed on screen
How do we factorize (u^4 + 1) ? plz
you know something is hard when blackpenredpen uses five colours
I only noticed 4 colours
@@seshnarayan7972 blue black red green purple!
@@spooky2526 Where is purple?
@@createyourownfuture5410 he mentioned he uses purple for the second part of observe section (10:39) although it doesn't look that diffirent from blue
Imagine doing all this and then forgetting the +c
Hamish Blair lol
You would get zero marks in exam😂😂😂😂
Edit the video
It actually happened to me in an exam :(
According to the question. For example, if the question is to find an original function for the next function, the answer without the constant is correct. But if the question is assigned to all the original functions. It must make +C
I think my professor summed up integration in a nice way. He said differentiation is all about technique. You see a scenario and have a set of rules you then follow. Integration is a form of art. It's much more intricate and delicate.
TheDaltonGillespie I totally agree!!! Has he done this integral with u guys?
My Further Maths teacher calls integration Black Magic. Two kinds of people I guess
Integration is definitely more difficult, and thus satisfying
I agree. It takes a clever mind to do differentiation problems with ease. But it takes a creative mind to do integration problems.
AGMT further math? Are you international baccalaureate?
"Welcome to the Salty Spitoon, how tough are ya?"
"How tough am I? I just integrated a trig function!"
"Yeah, so?"
"integral(sqrt(tan x))dx"
"Uh, right this way..."
Lol
"I just integrated 1/(x²+tan(x)) dx"
∫√t̅a̅n̅x̅ dx
@@jakepfeiffer6577 WHERE. DID. YOU. GET. THAT. INTEGRAL. SIGN. FROM?
@@createyourownfuture5410 on Mac it’s just option + b
Idk about windows but you can copy/paste it
"1+1 is 2, right?"
Calculus, everybody.
Yes. But in Z2, 1+1=0.
well 1+1 is 1 if you account for boolean algebra :)
You know you're high on math(s) when you forget what 1+1 is.
1+1=10 in binary
1+1=3
Mr Math Man.
Math Me a Man.
Make him integrate the square root of tan.
stealing my joke, still love you though babe
Me when finding this channel: "wtf is going on?!"
Me rewatching 1 year later after having seen every bprp video: "alright easy didn't even need the DI setup"
this is pure game. There are very very few maths teachers at level of you. Thank you.
Integration is just the easiest thing ever... I can integrate √tanx + e^x² in seconds:
Set up the integral:
∫ √(tan(x)) + e^x² dt
And then just use the "inverse" power rule:
(t)√(tan(x))+ (t)e^x²
And we're done...
I didn't say that I'ld do it with respect to x...
Viktor Sundström LOL, or you could use horseshoe integration, Indeed one of the most powerful mathematical tools out there.
Still forgot the +c dude 😂
Sólo los pendejos dicen que está facil resolver un problema.
@@neilshah754 *depression intensifies*
@@cesarturanzasfarill2976 calmate viejo, era un chiste. No lo entendiste??
Wow..you demonstrated this before 100k subs more than 3 years ago, today you have 687k. Wishing you for the next 313k
Thanks
@@blackpenredpen but what is special about the number 313
?
@@parkeryoung2471 it's prime
@@parkeryoung2471 to make it a million subscribers
I'm preparing a transfer exam for Korean universities and there was this question on my preparation problem set. Your solution was so helpful brother, thanks a lot!
And what you doing? In uni?
@@zohaibgulawan9070 Electrical and Computer Engineering, but I think I failed the exam. I might just quit and make indie game
@@user-gr5lr7sm9e So...how did it go for you?
god damn I love math
Me too!!!
I passed my semester of Calc 1! I did not fully understand everything but I believe I got a strong majority of it & I will be working on some of my weaknesses during break to prepare for Calc 2. For some reason when we got to U-substitution, everyone was confused but it seemed to make sense to me just based off the few example she gave in class and somehow that was all I needed. Anyway, so during last class before our final, she did a little review & answered questions. Someone asked about this sqrt(tanx) and she was like "oh you cant solve this with your current toolset, wait till next semester" and I was like "I can solve it" because I had all this false confidence from having understood the whole U-sub stuff. Well turns out this is a VERY difficult one lol. I guess if you are a student and want to be prepared for integrals, just spend a week studying just THIS one integral and you should be good to go lol.
I just saw you instagram reel, where you give credit question and searched for this integral on TH-cam.
And I am so glad I found your video 😀!
😆
14:41
"This is the two, so what should I do?" What a rhyme :O
Very well work dude, the resolution was easier than I thought, I had problems when using trinomio. You got a like and a new subscriber!
Evil integral to place on an exam ... :/
Would have to be like the only question or 1 of 2 questions.
I'm from India, and i am practising for this exam, I can assure you, there are more brutal questions.
@@kishorekumarsathishkumar1562 yeah for Indiana this is ez or normal
@@kishorekumarsathishkumar1562 im guessing they give you the space because with an A4 blank paper this would quickly turn messy for me as my handwriting is pretty big
This one is an easy problem
You, my good sir, are turning calculus into art! Awesome video!
I LITERALLY LOVE YOU SO MUCH YOU DESERVE THE WHOLE WORLD
Oh man, I love this video. I watched the entire thing and enjoyed every second of it! Keep up the good work on your channel. :)
DGCubes what are YOU doing here??¿
What can I say, I like calculus. :P
thank you DGCubes!!
Me too, I watched the whole thing wondering what was going to happen next! Really a great calculus problem. I'm going to show it to all of my students!
BOI!
Ok, so in the beginning we have a pretty simple mathematical expression while the result in the end is something horrible. Things tend to evolve naturally from more complex to simpler. I therefore consider it normal to leave this formula unintegrated. Thank you for all your thumbs up ! :D
Simple presentation of the difficult integral in a nice manner . Thanks .
You made me fall in love with mathematics!❤️ Thank you!
I like this integral and its anti-derivative. I am impressed with your technique of using trigonometric and u-substitution along with algebraic manipulation to arrive at the answer.
10/10 what a trip
Yea, I know!
When you do all of this in the exam and you realize the integral was sqrt(tanx + 1)
Your reslly entertaining and it is very interesting. I love your out of the box thinking to manipulate things to make them work!,,
I majored in physics in school and always preferred the more pure abstract mathematical parts of it. Watching this video is like taking a mental vacation back into the past. I'm happy that I was able to follow it through to the end on my first viewing :)
I always understand your calculus explanations. Thank you.
The most difficulty integral that i ever seen in my entire life! But it was really good xD
Thank you : )
And..... there's the integral of cbrt(tan(x))
@@blackpenredpen imo that’s easier than this
15:02 WIZARD! Where can I buy this magic blackpen??
WTF! I didn't even notice it before!! How did he do that?!
He edited it because he forgot the (-) sign
Haha I understand that
Just a silly comment ;)
Morgan Mitchell Johnson
hahaha i also noticed after you comment.....
Man, so many colors! If you wrote blackpenredpen in that empty space and taken a picture, you'd have a pretty good channel banner.
Riveting :) Bravo on a brilliant solution! I think I could explain that to someone else now!
Simply great! Thank you a lot master.
10:54 defenitely most important part
Gratulálok, lenyűgöző végig az átváltások sorozata ! Főleg az (U^2 + (1/U)^2) átalakítása !
Love your videos sir, you make very complex calculus part easy 😃😃
Fantastic video. Very well explained. Thx
you are seriously the best maths teacher!
Ez annyira bonyolult, hogy nincs értelme ennyit számolni, de blackpenredpen igazi zseni !
Absolutely amazing 👍🏻
Magnificent!!
Finally! Loved the video! Is great! You could do the same integral for the 100k, but now you do it the hard way! (The one with partial fractions and with the factorization of u^4+1, and with the natural log result!)
Mauro Castañeda I would need another white board for that tho. Lol
Slightly more straightforward (although much longer/messier): Factor x^4 + 1 = (x^2 + sqrt(2)x+1)(x^2 - sqrt(2)x+1), then do partial fractions, complete the square in the denominators and solve. This saves you from having to figure out the trick where you add 1/u^2 and subtract 1/u^2.
Great explanation! Thank you! :)
Watching for second time, now i got it! :D Great video!!!
yay!! Thank you!
I just differentiated this myself, it starts out ridiculously complex, but it slowly starts to fit in with everything, good luck on doing it! You might need 6 boards to do it, I managed to do it in 1 board, but I had to rub out a lot of the work out I did
Differentiating sqrt(tanx) is not hard at all😂
@@ramking7869 he is about differentiating the antiderivative of sqrt(tanx)
you are awesome men this appear on my exam from yesterday i lov u 💕
Great explanation!👍
Just... beautiful !
Thank you!!!!
And pretend nothing happened!??
Great lines
Very good explanation... Thanks a lot
Best birthday gift , thanks
This is lengthy problem. Very few can solve in first time. We can only solve this problem if we practice at home. Your explanation is very nice
10:43 that's your brilliancy sir
I couldn't do this integral without u
You are a brilliant Math teacher
Yesss! This question was on my calc 2 final exam and I got it right!
It feels nice that i solved it all by myself for the most part. I have some amazing teachers. Can't thank them enough
Got to see this question first time on my exam today... carrying weightage of 6marks.. was totally fucked up😑
Which exam?
What a gorgeous way to find the answer! Who is the genius first to find u+1/u and u-1/u pairs for this question? It really drive me crazy for such an integral. Thank BPRP.
6:13 out of context is beautiful
Love this channel
Travis Hayes thank you!
Cool to see it done in an alternative way :)
Gracias, haces todo fácil
Saludos desde Colombia
Just world class👏👏👏
Nagyon jó és elegáns megoldás !
Amazing explained
19:05 Try to differentiate THIS to give sqrt(tan x)
Thank youuuu❤, greetings from 🇨🇴
Thank you! :)
So...
u substitute for fx
Square u = sqrt (tanx).
See that 2udu = sec^2(x) dx.
Squaring u^2 = tanx gives us tan^2(x) = sec^2 (x) -1 = u^4 which we can see as sec^2 (x) = u^4 + 1.
Thus dx = 2udu/u^4 + 1.
Plug in original equation to have integral of u*(2u/u^4 + 1)du.
Multiply top and bottom by 1/u^2 to get complex fraction with sum of squares in denominator.
Complete the square to get (u + 1/u)^2 - 2, which has derivative of inside equal to 1 - 1/(u)^2.
Now we want two integrals (why? it is not clear unless you see the tanh^-1 and tan^-1 option coming up), one with 1 - 1/(u)^2 in numerator and other with 1 + 1/(u)^2 in our numerator.
Because the completed square can have two forms we can have the appropriate denominators to do two more substitutions, this time with t and say w.
If we do the substitutions correctly we have two integrals, one being of 1/(t^2 - 2), and our other being of 1/(w^2 + 2), both in their respective worlds.
A formula exists for these forms to be integrated neatly into tanh^-1 and tan^-1 forms. Substitute u back in for t, w, and sqrt (tanx) for u.
Do this correctly, and then
Add c and we're done.
I did this mostly for my own understanding, but I'm fairly sure I didn't skip too much for it to act as a quick summary.
This is great! It's good to work out the problem on your own or along the way.
prolly the first time im actually being happy after a maths answer
This turned to blackpenredpengreenpenbluepenpurplepen real quick
😆
We can solve this in some other way too. We can write sqrt tanx as 1/2 {(sqrt tanx + sqrt cotx)+ (sqrt tanx - sqrt cotx)},and then break these into sin cos expressions,and then subtitute sinx + cosx = t and sinx-cosx = k in the first and second integrals respectively,and then apply the standard integral formula. Anyways love you process too!
You're awesome man thank u
the sheer joy with which my man just said: "I also have a purple pen :)"
He didn't reupload this video, we all just have a déjà-vu at the exact same moment.
Sorry for the reupload.
I actually had a mistake on the integral of 1/(x^2-a^2) in the previous video.
I will make up to you guys by checking my answer by differentiation! That video will be done soon!
YAY I got this correct
Imma do a video on how I did it and then compare it with your method.
This took me ages btw
Epic integral!!! ^_^
As my Cal 3 Professor used to say
" What could be simpler ."
Congratulations!
What a great sum!
One rather interesting thing about that expression is that (if we take C = 0) we'll generally get a complex number out of it. The imaginary part is always the same though.
I think you get a nice expression if you introduce complex numbers (starting by factoring (u^4 + 1) into (u^2 +- i). But it seems non-obvious that 1) the manipulations I did after that are totally ok, since I kind of ignore principle value etc... and 2) how to rigouously show this is actually equal to the answer found with real math.
Writing R = (1 + i) / sqrt(2) and u = sqrt(tan(x)) (and Re == real part) then I eventually got that Re[2R*arctan(Ru)] is an antiderivative of sqrt(tan(x)) w.r.t. x
Writing out the def. of (complex) arctan => Re[(1/R) Log [(R - u) / (R + u)]] is an antiderivative.
Numerically checking for some random values I find this does give the same values (up to a constant) as your solution. Though I did assume that tan(x) is non-negative here (that is how I ended up with "real part" in there).
Every integral tackled for the first time is a journey into the unknown...
I needed to do HW tonight but I watched this whole video instead. After seeing one too many memes about integrating the square root of tanx I couldn't resist.
Thank you!
Did you guys notice how he changed his pens at 05:23? That was awesome!
I liked it very much!
was trying to do on my own but was stuck after first substitution this video helped.
This is the most chaotic BPRP video I've ever seen
That's awesomeee!
Thank you!!! You're awesome too!!!
sqrt(-1) just love your videos!
I'm gonna start studying math very soon and your videos really hype me for it^^
THANK YOU!!! I AM VERY HAPPY TO HEAR THIS!!
Your pun made me cringe. I hope you're happy! :D
@@blackpenredpen 4 years later you are still inspiring people. I'm only 14 right now, so don't have any solid plans for uni etc. (other than studying CS as I like programming) but now you got me interested in maths! I've been spending my afternoons just trying to learn maths for the past few weeks, and it's been really fun so far!
THANK YOU BRO
You know shits real when he has to use 5 colors
All depens on interval for x. If this integral is for x in (0.5;1) you can use sqrt(tg)=1/(sqrt (cotgx x) And use substitution y=sqrt(cotgx), than you have short solution
This integration can be done by other simple methods. You brought this into a difficult way.
You could've used another formula/ method for integrating the 1/(t^2 -2)
just by using :
integral of 1/(x^2-a^2) = (1/2a)*( ln( |x-a|/|x+a| ) .
that would have been more easy and intiutive than hyperbolic inverse function.(just saying)
BTW very nice explanation sir. Great content. You're a wonderful teacher.
PEACE
I did the integral in a slightly different way. I ended up with
(sqrt(2)/4) * log(abs((1/2 + (sqrt(tan(x)) - sqrt(2)/2).^2) / (1/2 + (sqrt(tan(x)) + sqrt(2)/2).^2))) +
(sqrt(2)/2) * atan(sqrt(2*tan(x)) + 1) +
(sqrt(2)/2) * atan(sqrt(2*tan(x)) - 1).
I also let u = sqrt(tan(x)) but in of multiplying through by 1/u^2 I added and subtracted 2u^2 from the denominator and then factoring the result using difference of squares. Once I had it in a factored form, I used partial fractions.
Very symmetrical so much so with all those arctans and tan x's you could combine them except for that little h in the inverse hyperbolic tangent it stands for Hell in this integral bc you can't take tanh^-1(n) ||n|| > 1, ~|tan x| + |cot x| w/o screwing up the rest of it unless it's some kind of cubic solution with complex b coefficient ~ 1/3 ln (i)
Point it seems so close to y = f(x); f^-1(y) = x, x could be 0-2π with no trouble you would run into complex numbers but they cancel themselves out ish