I Found A QUICKER Way To Integrate This 🤯

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

КОМЕНТАРІ •

  • @Rando-hr9ef
    @Rando-hr9ef Рік тому +16

    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!

  • @ash95959
    @ash95959 Рік тому +50

    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.

  • @nigellbutlerrr2638
    @nigellbutlerrr2638 26 днів тому +4

    X -ln(x+2) +C

  • @giorgostarnaras5658
    @giorgostarnaras5658 Рік тому +88

    I think that's how everyone solves these anyways

    • @NumberNinjaDave
      @NumberNinjaDave  Рік тому +4

      Oh really

    • @hellohabibi1
      @hellohabibi1 11 місяців тому +4

      yeah same

    • @shivx3295
      @shivx3295 11 місяців тому

      Yeah everyone does this the only dumb people' can't get this

    • @BndctJ
      @BndctJ 9 місяців тому +2

      nah we doing long division

    • @karolkurek9201
      @karolkurek9201 7 місяців тому +2

      Same hear - add and subtract way. It is how schools and universities teach us.

  • @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! 😀

  • @5gallonsofwater495
    @5gallonsofwater495 Рік тому +2

    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 Рік тому +1

      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

  • @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?

  • @Alejandro-cn5yp
    @Alejandro-cn5yp Рік тому +5

    This was short and to the point. 👍

  • @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

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

    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.

  • @smashingstuff2454
    @smashingstuff2454 2 місяці тому

    I was thinking on converting the function into a taylor series

  • @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

  • @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

  • @JonathanPerez-sj7qb
    @JonathanPerez-sj7qb Рік тому +3

    I would’ve done u substitution.

  • @darcash1738
    @darcash1738 6 місяців тому +3

    add and subtract one. --> x - ln|x| + c

  • @aronhorvath-m9f
    @aronhorvath-m9f 2 місяці тому

    Or you can just devide and get the 1-1/(x+2)

  • @thefreeze6023
    @thefreeze6023 Рік тому +2

    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 Рік тому +2

      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

  • @STKingTiger
    @STKingTiger 2 місяці тому

    I was thinking integral by parts

  • @justplay2508
    @justplay2508 День тому

    Thats bonkers

  • @nathanluca3072
    @nathanluca3072 3 місяці тому

    0 and 1 my favorite numbers. Add 0 or multiple by 1.

  • @themkrfamily69
    @themkrfamily69 2 дні тому

    That's new?

  • @laurenslavielle8957
    @laurenslavielle8957 16 днів тому

    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  16 днів тому

      @@laurenslavielle8957 which ones do you know

    • @laurenslavielle8957
      @laurenslavielle8957 16 днів тому

      @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  16 днів тому

      @ ah so you just dissected the domain in piecewise style. You are a ninja!

    • @laurenslavielle8957
      @laurenslavielle8957 16 днів тому

      @@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  16 днів тому

      @ 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

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

    to be fair the polynomial division here is quite short. but this is a nice technique for fractions with more terms

  • @lonarytfifa9817
    @lonarytfifa9817 Місяць тому

    In india is very common
    . And i got this method within second

  • @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.

  • @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 UA-cam for additional math help.

  • @MathsandCoding
    @MathsandCoding 4 місяці тому

    add and subtract one answer x-ln|x|

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

    Use reverse chain rule instead of u sub

    • @NumberNinjaDave
      @NumberNinjaDave  8 місяців тому +1

      Reverse chain rule and u sub are analogous.

  • @Harshith-xq6ch
    @Harshith-xq6ch 11 місяців тому +6

    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

  • @faradayawerty
    @faradayawerty 11 місяців тому +3

    wtf why your first thought is to long divide
    my first thought was to do the thing shown

  • @s7lb384
    @s7lb384 11 місяців тому +1

    VERY COOL THANKS ALOT

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

    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

  • @JohnMichael-h8z
    @JohnMichael-h8z 4 місяці тому

    I instinctively think of quotient rule

  • @cofanavay2235
    @cofanavay2235 11 місяців тому

    Very easy for jee aspirants

    • @NumberNinjaDave
      @NumberNinjaDave  11 місяців тому

      What is that

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

      @@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  10 місяців тому +1

      @@gametimewitharyan6665 oh, awesome. Thanks for explaining

    • @gametimewitharyan6665
      @gametimewitharyan6665 10 місяців тому +1

      @@NumberNinjaDave You are welcome :)

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

      ​@@NumberNinjaDave make a video on JEE advanced questions you will get many views plzzzzzzz!

  • @youngman3544
    @youngman3544 7 місяців тому +1

    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 🥷

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

    makes sense

  • @NavyaMenon25
    @NavyaMenon25 11 місяців тому

    this is how i was originally taught (I'm indian)

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

    What psychopath would use polynomial division

  • @kakashithecopyninja4426
    @kakashithecopyninja4426 5 місяців тому

    I can write direct answer by doing these things in my mind because I m asian

    • @NumberNinjaDave
      @NumberNinjaDave  5 місяців тому +1

      @@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 😃

  • @Nosceres
    @Nosceres 11 місяців тому

    Viral this! Viral this on the internet!

  • @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 місяців тому +1

      @@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 місяців тому

    🙏🙏