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 Жыл бұрын
Thank you! Hey, that strategy is sound 👌
@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 Жыл бұрын
Very cool!
@matheusdossantos9252 Жыл бұрын
Same here
@sayedizaanahmad6 ай бұрын
Same thing
@machinewings6 ай бұрын
I took u= x+2 and u-2=x but still got the answer
@X1teryАй бұрын
same
@giorgostarnaras5658 Жыл бұрын
I think that's how everyone solves these anyways
@NumberNinjaDave Жыл бұрын
Oh really
@hellohabibi111 ай бұрын
yeah same
@shivx329511 ай бұрын
Yeah everyone does this the only dumb people' can't get this
@BndctJ10 ай бұрын
nah we doing long division
@karolkurek92017 ай бұрын
Same hear - add and subtract way. It is how schools and universities teach us.
@nigellbutlerrr2638Ай бұрын
X -ln(x+2) +C
@anonymous-zq2jf2 сағат бұрын
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 Жыл бұрын
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 Жыл бұрын
Keep at it!
@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 Жыл бұрын
@@carultch I love your thinking
@scarletevans447410 ай бұрын
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! 😀
@NumberNinjaDave10 ай бұрын
nice approach
@JohnMichael-h8z4 ай бұрын
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
@NumberNinjaDave4 ай бұрын
What about for polynomial degrees greater than 1
@Alejandro-cn5yp Жыл бұрын
This was short and to the point. 👍
@NumberNinjaDave Жыл бұрын
Thank you
@Yamazakura002 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
Very true
@smashingstuff24542 ай бұрын
I was thinking on converting the function into a taylor series
@NumberNinjaDave2 ай бұрын
Hahahahahaha
@erezsolomon38385 ай бұрын
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
@NumberNinjaDave5 ай бұрын
@@erezsolomon3838 That’s not so obvious to every student. Feel free to use that method if you want
@erezsolomon38385 ай бұрын
@@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Ай бұрын
i always used to do integrals like these using this approach and i thought this was common and well known?
@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Ай бұрын
@@NumberNinjaDave yeah makes sense cuz this method is literally underrated
@aronhorvath-m9f2 ай бұрын
Or you can just devide and get the 1-1/(x+2)
@NumberNinjaDave2 ай бұрын
Yup
@STKingTiger2 ай бұрын
I was thinking integral by parts
@MadScientyst10 ай бұрын
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!! 🤔
@NumberNinjaDave10 ай бұрын
What’s obvious to you may not be obvious to others. Otherwise, they wouldn’t be going to KZbin for additional math help.
@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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
@@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
@justplay25089 күн бұрын
Thats bonkers
@NumberNinjaDave9 күн бұрын
🤪
@laurenslavielle895724 күн бұрын
Plot twist : x-ln|x+2|+C are not the only anti-derivatives of (x+1)/(x+2). There are a lot more !
@NumberNinjaDave24 күн бұрын
@@laurenslavielle8957 which ones do you know
@laurenslavielle895724 күн бұрын
@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 :))
@NumberNinjaDave23 күн бұрын
@ ah so you just dissected the domain in piecewise style. You are a ninja!
@laurenslavielle895723 күн бұрын
@@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 😁
@NumberNinjaDave23 күн бұрын
@ 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 Жыл бұрын
I would’ve done u substitution.
@NumberNinjaDave Жыл бұрын
🎉
@nathanluca30724 ай бұрын
0 and 1 my favorite numbers. Add 0 or multiple by 1.
@NumberNinjaDave4 ай бұрын
@@nathanluca3072 facts
@lonarytfifa98172 ай бұрын
In india is very common . And i got this method within second
@ihabmurshed428510 ай бұрын
to be fair the polynomial division here is quite short. but this is a nice technique for fractions with more terms
@NumberNinjaDave10 ай бұрын
Yup
@jkid113411 ай бұрын
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.
@NumberNinjaDave11 ай бұрын
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.
@darcash17386 ай бұрын
add and subtract one. --> x - ln|x| + c
@faradayawerty Жыл бұрын
wtf why your first thought is to long divide my first thought was to do the thing shown
@NumberNinjaDave Жыл бұрын
Good job.
@themkrfamily6910 күн бұрын
That's new?
@JohnMichael-h8z4 ай бұрын
I instinctively think of quotient rule
@s7lb384 Жыл бұрын
VERY COOL THANKS ALOT
@NumberNinjaDave Жыл бұрын
Glad to help
@Harshith-xq6ch11 ай бұрын
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
@NumberNinjaDave11 ай бұрын
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
@reverb41009 ай бұрын
Use reverse chain rule instead of u sub
@NumberNinjaDave9 ай бұрын
Reverse chain rule and u sub are analogous.
@MathsandCoding4 ай бұрын
add and subtract one answer x-ln|x|
@NumberNinjaDave4 ай бұрын
@@MathsandCoding you’re a ninja 🥷
@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 Жыл бұрын
Great! Everyone is different.
@cofanavay223511 ай бұрын
Very easy for jee aspirants
@NumberNinjaDave11 ай бұрын
What is that
@gametimewitharyan666511 ай бұрын
@@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
@NumberNinjaDave11 ай бұрын
@@gametimewitharyan6665 oh, awesome. Thanks for explaining
@gametimewitharyan666511 ай бұрын
@@NumberNinjaDave You are welcome :)
@adityamishra07068 ай бұрын
@@NumberNinjaDave make a video on JEE advanced questions you will get many views plzzzzzzz!
@NavyaMenon2511 ай бұрын
this is how i was originally taught (I'm indian)
@NumberNinjaDave11 ай бұрын
That’s awesome 😎
@bigbigx225011 ай бұрын
What psychopath would use polynomial division
@NumberNinjaDave11 ай бұрын
Lol
@pandavroomvroom Жыл бұрын
makes sense
@NumberNinjaDave Жыл бұрын
🙏
@kakashithecopyninja44265 ай бұрын
I can write direct answer by doing these things in my mind because I m asian
@NumberNinjaDave5 ай бұрын
@@kakashithecopyninja4426 hahaha right on! I do too but my videos are meant to help those who don’t see it
@kakashithecopyninja44265 ай бұрын
Ok... Then i will not judge you 😃
@youngman35447 ай бұрын
X-ln|x+2|
@NumberNinjaDave7 ай бұрын
Very close. It’s missing a small but important detail
@youngman35447 ай бұрын
@@NumberNinjaDave ha ha , you mean const. C ( C is going to Chill )
@NumberNinjaDave7 ай бұрын
@@youngman3544 Yes sir 🥷
@Nosceres11 ай бұрын
Viral this! Viral this on the internet!
@NumberNinjaDave11 ай бұрын
That would be epic
@Lucid.2810 ай бұрын
That’s how everyone else does? No?
@NumberNinjaDave10 ай бұрын
Not everyone
@Lucid.2810 ай бұрын
@@NumberNinjaDave so what is the actual method you all do?
@NumberNinjaDave10 ай бұрын
@@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.2810 ай бұрын
@@NumberNinjaDave ohh to divide it .. yeah if it’s more complicated , people would do it that way I think
@nirmalyadatta352311 ай бұрын
🙏🙏
@IUsedToBeANiceGuy3 күн бұрын
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
@NumberNinjaDave3 күн бұрын
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.