I Found A QUICKER Way To Integrate This 🤯

  Рет қаралды 21,550

Number Ninjas

Number Ninjas

Күн бұрын

Пікірлер: 113
@Rando-hr9ef
@Rando-hr9ef Жыл бұрын
I usually do this method only but just write it out differently because I find that way more intuitive. Instead of directly write x+1 = x+2-1, I do (x+1)+(1-1), so that I make sure I am not changing the equation by mistake. It comes in handy when dealing with bigger equations. Anyways, nice video!
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Thank you! Hey, that strategy is sound 👌
@ash95959
@ash95959 Жыл бұрын
I did a u substitution Let u = x + 2 u - 1 = x + 1 and dx = du After doing that, getting to x - ln|x+2| + c is easy but your way is fascinating.
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Very cool!
@matheusdossantos9252
@matheusdossantos9252 Жыл бұрын
Same here
@sayedizaanahmad
@sayedizaanahmad 6 ай бұрын
Same thing
@machinewings
@machinewings 6 ай бұрын
I took u= x+2 and u-2=x but still got the answer
@X1tery
@X1tery Ай бұрын
same
@giorgostarnaras5658
@giorgostarnaras5658 Жыл бұрын
I think that's how everyone solves these anyways
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Oh really
@hellohabibi1
@hellohabibi1 11 ай бұрын
yeah same
@shivx3295
@shivx3295 11 ай бұрын
Yeah everyone does this the only dumb people' can't get this
@BndctJ
@BndctJ 10 ай бұрын
nah we doing long division
@karolkurek9201
@karolkurek9201 7 ай бұрын
Same hear - add and subtract way. It is how schools and universities teach us.
@nigellbutlerrr2638
@nigellbutlerrr2638 Ай бұрын
X -ln(x+2) +C
@anonymous-zq2jf
@anonymous-zq2jf 2 сағат бұрын
that is the most basic way to solve integrals and that is one of the most basic things I learned, any every maths student in india.
@5gallonsofwater495
@5gallonsofwater495 Жыл бұрын
my first course of action was to do integration by parts. after integrating by parts twice and doing a little bit of algebra i end up with a different answer (wrong): -ln|x+2| - x + C
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Keep at it!
@carultch
@carultch Жыл бұрын
Another trick with integration by parts, related to this idea, is that at each integration step, you can add any constant you want, since all we need is AN integral of the previous entry in the integration column, and any valid integral will work. We can add any arbitrary constant we want, and substitute the intermediate arbitrary constant that has an advantage. Most of the time, we keep it simple and just add zero. Example: integral x*ln(x^2 + 6) dx S _ _ D _ _ _ _ _ _ _ _ _ _ _ I + _ _ ln(x^2 + 6) _ _ _ _ _ x - _ _ 2*x/(x^2 + 6) _ _ _ 1/2*x^2 + B Construct IBP result: (1/2*x^2 + B)*ln(x^2 + 6) - integral (x^3 + 2*B*x)/(x^2 + 6) dx Factor numerator in integral: (1/2*x^2 + B)*ln(x^2 + 6) - integral x*(x^2 + 2*B)/(x^2 + 6) dx Wouldn't it be nice if (x^2 + 2*B) equaled (x^2 + 6)? It sure would, since that would cancel that part of the term. Let B=3 to make this so. (1/2*x^2 + 3)*ln(x^2 + 6) - integral x*(x^2 + 6)/(x^2 + 6) dx (1/2*x^2 + 3)*ln(x^2 + 6) - integral x dx Carry out final integral, add +C and we're done: (1/2*x^2 + 3)*ln(x^2 + 6) - 1/2*x^2 + C
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
@@carultch I love your thinking
@scarletevans4474
@scarletevans4474 10 ай бұрын
My first idea is to both add and subtract 1 to the numerator, to just deal with "1-1/(x+2)", as it integrates immediately, with first term just giving us 'x' and the other one '-ln|x+2|'. We end up with x-ln|x+2|+C as an answer, but I will be honest that even though I know this trick, I started to think how to solve it only after being suggested that the trick does exist. Just like in chess! If you know that there is some tactic in the position and one correct move, it's so much easier to find it! 😀
@NumberNinjaDave
@NumberNinjaDave 10 ай бұрын
nice approach
@JohnMichael-h8z
@JohnMichael-h8z 4 ай бұрын
When integrating, if integrating the denominator would lead to the same value as the numerator, it's going to lead to ln of the denominator
@NumberNinjaDave
@NumberNinjaDave 4 ай бұрын
What about for polynomial degrees greater than 1
@Alejandro-cn5yp
@Alejandro-cn5yp Жыл бұрын
This was short and to the point. 👍
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Thank you
@Yamazakura00
@Yamazakura00 2 ай бұрын
My first thought is always to use substitution then substitute by parts if the first doesn't work. Based on your method, thats completing the square isnt it?
@shecool5833
@shecool5833 Жыл бұрын
very good trick! luckily i was taught that in school. The best way to do math is by getting to the solution in the easiest way possible and i think u sub or integration by parts would take too long.
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Very true
@smashingstuff2454
@smashingstuff2454 2 ай бұрын
I was thinking on converting the function into a taylor series
@NumberNinjaDave
@NumberNinjaDave 2 ай бұрын
Hahahahahaha
@erezsolomon3838
@erezsolomon3838 5 ай бұрын
Why use u-sub all the time even on easy integrals? You notice 1/(x+a) is a derivative/function so the integral of that is ln|x+a|. Simply use reverse chain rule if it's 1/(ax+b) and get ln|ax+b|/a
@NumberNinjaDave
@NumberNinjaDave 5 ай бұрын
@@erezsolomon3838 That’s not so obvious to every student. Feel free to use that method if you want
@erezsolomon3838
@erezsolomon3838 5 ай бұрын
@@NumberNinjaDave well if you're clever enough to use u-sub on the denominator then you might as well guess the integral. I get that it's not obvious for everyone, but relying on u-sub too much ain't gonna do you any good
@Mamata_Das54371
@Mamata_Das54371 Ай бұрын
i always used to do integrals like these using this approach and i thought this was common and well known?
@NumberNinjaDave
@NumberNinjaDave Ай бұрын
@@Mamata_Das54371 I’m the same way. This is more for those students who don’t recognize the shortcut or weren’t taught well enough
@Mamata_Das54371
@Mamata_Das54371 Ай бұрын
@@NumberNinjaDave yeah makes sense cuz this method is literally underrated
@aronhorvath-m9f
@aronhorvath-m9f 2 ай бұрын
Or you can just devide and get the 1-1/(x+2)
@NumberNinjaDave
@NumberNinjaDave 2 ай бұрын
Yup
@STKingTiger
@STKingTiger 2 ай бұрын
I was thinking integral by parts
@MadScientyst
@MadScientyst 10 ай бұрын
It's a combination of observation, common sense & practice. At a glance it's obvious that X+2=(X+1)+1, so by numerator separation & division, the next step of a 'u' sub is apparent. However, if the denom was say X^2+1 (raised power eg X^n), then some more manipulation would be necessary. Inspection & practice, those are the key things with Integrals & yes, this one was WAY too easy!! 🤔
@NumberNinjaDave
@NumberNinjaDave 10 ай бұрын
What’s obvious to you may not be obvious to others. Otherwise, they wouldn’t be going to KZbin for additional math help.
@thefreeze6023
@thefreeze6023 Жыл бұрын
I am getting it wrong for some reason! I got x + 2 - ln(abs(x + 2)) + c My steps Let u = x + 2 Integral becomes Integral((u - 1) / u, du) = Integral(u/u - 1/u, du) = Integral(1 - 1/u, du) = u - ln(abs(u)) + c = x + 2 - ln(abs(x + 2)) + c
@nightytime
@nightytime Жыл бұрын
If you take the derivative of (x+2) - ln|x+2| and the derivative of x - ln|x+2|, you will get the same function since the derivative of 2 is zero. 2 + c is another constant, so they are both antiderivatives of the integrand.
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
​@@nightytime this is correct in terms of taking. the derivative still giving the sample problem. Remember, the indefinite integral gives you a *family* of functions of a generalized form with a constant C. You happened to find one of the family functions. But the answer isn't fully precise since we have an indefinite integral here.While the two functions indeed have the same derivative, the reverse direction must take into account a generalized form where an integral gives a 1 to infinitely many parent functions, also distinguished by the plus C constant I believe it comes down to your order of operations in separating out the integrals. Here's how I did it: let u = x+ 2 Then the (x+1) in the numerator of the original problem needs to be rewritten in terms of u, like you did. So since u = x + 2, I want the right to look like x + 1 and so I subtract both sides of the equation by 1, giving: u - 1 = x +1 Notice that this is a substitution so to be careful, I like to put in parantheses for order to be careful and deliberate on the order of evaluation: Integral ( (u - 1) / u ) du As you did so, separate this out into a difference of two fractions, with each one being its own integral problem Integral(u/u) du - Integral(1/u) du The first one simplifies to the integral of du, but remember that du = dx! So the integral of dx with respect to x is just x The right had one because ln | x +2|, giving the final answer that matches *if* if you add the + C at the end Note also in your answer, the extra term you had didn't take into account that your final answer has a + C anyhow so you can rewrite the sum of the C and your residual constant as a constant K if you want, to ensure your answer is a family of functions and not just one specific parent function. Hope that helps!
@nightytime
@nightytime Жыл бұрын
@@NumberNinjaDave Right, I was more so implying that the answer @thefreeze6023 got isn't necessarily incorrect. x + 2 - ln(abs(x + 2)) + c₁ can be rewritten as x - ln(abs(x+2)) + c₂, where c₂ = 2 + c₁.
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
@@nightytime yeah, I knew where you were coming from. My response was intended to buffer your response and clarify for him. I could have done a better job at that
@justplay2508
@justplay2508 9 күн бұрын
Thats bonkers
@NumberNinjaDave
@NumberNinjaDave 9 күн бұрын
🤪
@laurenslavielle8957
@laurenslavielle8957 24 күн бұрын
Plot twist : x-ln|x+2|+C are not the only anti-derivatives of (x+1)/(x+2). There are a lot more !
@NumberNinjaDave
@NumberNinjaDave 24 күн бұрын
@@laurenslavielle8957 which ones do you know
@laurenslavielle8957
@laurenslavielle8957 24 күн бұрын
@NumberNinjaDave as the fonction is not defined on x=-2, the constant C can be chosen differently on (-infinity,-2) and on (-2,+infinity). So the anti-derivatives are the functions F such that, F(x)=x-ln(-x-2)+C1 on (-infinity,-2) and F(x)=x-ln(x+2)+C2 on (-2,+infinity) This is a lot more :))
@NumberNinjaDave
@NumberNinjaDave 23 күн бұрын
@ ah so you just dissected the domain in piecewise style. You are a ninja!
@laurenslavielle8957
@laurenslavielle8957 23 күн бұрын
@@NumberNinjaDave ahah yes I did, because the function is not defined on a interval. And the property of "adding C" to recover all the anti-derivatives is only valid on intervals :) Since there are two intervals, we can find a lot more anti-derivatives 😁
@NumberNinjaDave
@NumberNinjaDave 23 күн бұрын
@ That’s also more philosophical because that’s like comparing infinity versus 2*infinity when both are unbounded. We can technically create n partitions on any function here, regardless of the presence of discontinuity but I like how you think in this case
@JonathanPerez-sj7qb
@JonathanPerez-sj7qb Жыл бұрын
I would’ve done u substitution.
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
🎉
@nathanluca3072
@nathanluca3072 4 ай бұрын
0 and 1 my favorite numbers. Add 0 or multiple by 1.
@NumberNinjaDave
@NumberNinjaDave 4 ай бұрын
@@nathanluca3072 facts
@lonarytfifa9817
@lonarytfifa9817 2 ай бұрын
In india is very common . And i got this method within second
@ihabmurshed4285
@ihabmurshed4285 10 ай бұрын
to be fair the polynomial division here is quite short. but this is a nice technique for fractions with more terms
@NumberNinjaDave
@NumberNinjaDave 10 ай бұрын
Yup
@jkid1134
@jkid1134 11 ай бұрын
Polynomial long division is something you do for like one week out of your life and then nobody ever does it or makes you do it again for years, I assume either out of respect for students' or graders' time or otherwise not to muddle whatever the next lesson is; you pick up pretty quickly that you should not default to it. I would have done this the highlighted way, and if was asked for a second way, I would start fooling with Feynman's trick or something.
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
interesting perspective. Every student's cirriculum is different and many students are finding value from the video. Plus, for this simple problem, Feynnman's trick would be overkill anyhow.
@darcash1738
@darcash1738 6 ай бұрын
add and subtract one. --> x - ln|x| + c
@faradayawerty
@faradayawerty Жыл бұрын
wtf why your first thought is to long divide my first thought was to do the thing shown
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Good job.
@themkrfamily69
@themkrfamily69 10 күн бұрын
That's new?
@JohnMichael-h8z
@JohnMichael-h8z 4 ай бұрын
I instinctively think of quotient rule
@s7lb384
@s7lb384 Жыл бұрын
VERY COOL THANKS ALOT
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Glad to help
@Harshith-xq6ch
@Harshith-xq6ch 11 ай бұрын
Whats different here? thats how everybody solves this problem atleast in india when he said polynomial division i was like why tf would anybody do that such a simple step is to add 1 and subtract to get x+2-1 seriously i didnt knew that other countries use complex methods to solve such a simple problem
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
I solve it the way you do as well. But someone might think synthetic division is the way to go since the numerator polynomial degree isn’t less than the denominator
@reverb4100
@reverb4100 9 ай бұрын
Use reverse chain rule instead of u sub
@NumberNinjaDave
@NumberNinjaDave 9 ай бұрын
Reverse chain rule and u sub are analogous.
@MathsandCoding
@MathsandCoding 4 ай бұрын
add and subtract one answer x-ln|x|
@NumberNinjaDave
@NumberNinjaDave 4 ай бұрын
@@MathsandCoding you’re a ninja 🥷
@cornationboot8690
@cornationboot8690 Жыл бұрын
is this called a trick in america? lol in india this is the only approach, other popular one is u sub but i rarely do it cus im lazy
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
Great! Everyone is different.
@cofanavay2235
@cofanavay2235 11 ай бұрын
Very easy for jee aspirants
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
What is that
@gametimewitharyan6665
@gametimewitharyan6665 11 ай бұрын
@@NumberNinjaDave It stands for Joint Entrance Exam (JEE). It is an entrance exam for engineering colleges in India and is considered one of the hardest exams in the world
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
@@gametimewitharyan6665 oh, awesome. Thanks for explaining
@gametimewitharyan6665
@gametimewitharyan6665 11 ай бұрын
@@NumberNinjaDave You are welcome :)
@adityamishra0706
@adityamishra0706 8 ай бұрын
​@@NumberNinjaDave make a video on JEE advanced questions you will get many views plzzzzzzz!
@NavyaMenon25
@NavyaMenon25 11 ай бұрын
this is how i was originally taught (I'm indian)
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
That’s awesome 😎
@bigbigx2250
@bigbigx2250 11 ай бұрын
What psychopath would use polynomial division
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
Lol
@pandavroomvroom
@pandavroomvroom Жыл бұрын
makes sense
@NumberNinjaDave
@NumberNinjaDave Жыл бұрын
🙏
@kakashithecopyninja4426
@kakashithecopyninja4426 5 ай бұрын
I can write direct answer by doing these things in my mind because I m asian
@NumberNinjaDave
@NumberNinjaDave 5 ай бұрын
@@kakashithecopyninja4426 hahaha right on! I do too but my videos are meant to help those who don’t see it
@kakashithecopyninja4426
@kakashithecopyninja4426 5 ай бұрын
Ok... Then i will not judge you 😃
@youngman3544
@youngman3544 7 ай бұрын
X-ln|x+2|
@NumberNinjaDave
@NumberNinjaDave 7 ай бұрын
Very close. It’s missing a small but important detail
@youngman3544
@youngman3544 7 ай бұрын
@@NumberNinjaDave ha ha , you mean const. C ( C is going to Chill )
@NumberNinjaDave
@NumberNinjaDave 7 ай бұрын
@@youngman3544 Yes sir 🥷
@Nosceres
@Nosceres 11 ай бұрын
Viral this! Viral this on the internet!
@NumberNinjaDave
@NumberNinjaDave 11 ай бұрын
That would be epic
@Lucid.28
@Lucid.28 10 ай бұрын
That’s how everyone else does? No?
@NumberNinjaDave
@NumberNinjaDave 10 ай бұрын
Not everyone
@Lucid.28
@Lucid.28 10 ай бұрын
@@NumberNinjaDave so what is the actual method you all do?
@NumberNinjaDave
@NumberNinjaDave 10 ай бұрын
@@Lucid.28 i do it the way shown in the video. I’ve seen people do polynomial division or slight modifications to what’s shown here
@Lucid.28
@Lucid.28 10 ай бұрын
@@NumberNinjaDave ohh to divide it .. yeah if it’s more complicated , people would do it that way I think
@nirmalyadatta3523
@nirmalyadatta3523 11 ай бұрын
🙏🙏
@IUsedToBeANiceGuy
@IUsedToBeANiceGuy 3 күн бұрын
That’s the normal way. Not sure how you were taught calculus. But I’ve probably got 30 years on you. Just goes to show how modern education sucks
@NumberNinjaDave
@NumberNinjaDave 3 күн бұрын
I learned calc about 30 years ago. The goal of the student is centered around students who are struggling. I actually learned the way presented in this video because I had a good teacher in high school. Not every student gets that opportunity.
life changing integration by parts trick
5:23
Dr Peyam
Рет қаралды 496 М.
so you want a HARD integral from the Berkeley Math Tournament
22:28
blackpenredpen
Рет қаралды 568 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
99% Get This WRONG. Here's Why.
7:07
Number Ninjas
Рет қаралды 1,4 М.
Can you crack this beautiful equation? - University exam question
18:39
I Found A Way To Integrate This Faster.
2:59
Number Ninjas
Рет қаралды 739
Looks so simple yet my class couldn't figure it out, Reddit r/askmath
5:45
bprp calculus basics
Рет қаралды 1,5 МЛН
if your calculus teacher still doesn't believe the DI method...
17:03
blackpenredpen
Рет қаралды 145 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,5 МЛН
Смысл интеграла и производной. В помощь студенту
15:54
Integrate x^-x dx
20:37
Prime Newtons
Рет қаралды 142 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 178 М.
Physics Students Need to Know These 5 Methods for Differential Equations
30:36
Physics with Elliot
Рет қаралды 1,1 МЛН