$F_k(a_1,b_1,c_1;a_2,b_2,c_2)=int_0^kfrac{a_1x^2+b_1x+c_1}{a_2x^2+b_2x+c_2}mathrm{d}x$












2












$begingroup$


I would like to know a general closed form for
$$J=F_k(a_1,b_1,c_1;a_2,b_2,c_2)=int_0^kfrac{a_1x^2+b_1x+c_1}{a_2x^2+b_2x+c_2}mathrm{d}x$$
Where $k>0$, $4a_1c_1-b_1^2<0$, and $4a_2c_2-b_2^2<0$. I encounter forms of the integral all the time and I thought it would be beneficial to finally put that to rest. I already know that
$$I_k(a,b,c)=int_0^kfrac{mathrm{d}x}{ax^2+bx+c}=frac1gbigg[arctanbigg(frac{2ak+b}gbigg)-arctanbigg(frac bgbigg)bigg]$$
where $g=sqrt{4ac-b^2}$



Hence we have that $$J=a_1int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x+b_1int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x+c_1I_k(a_2,b_2,c_2)$$
So really one must focus on the integrals
$$H=int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x$$
$$W=int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x$$
They don't seem especially hard, but I just keep getting lost in the algebra with the constants. Could I have a bit of help? Thanks.










share|cite|improve this question











$endgroup$












  • $begingroup$
    This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
    $endgroup$
    – Fabian
    Jan 1 at 4:27










  • $begingroup$
    @Fabian Purely an aesthetic choice.
    $endgroup$
    – clathratus
    Jan 1 at 4:28






  • 1




    $begingroup$
    WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
    $endgroup$
    – Fabian
    Jan 1 at 4:30










  • $begingroup$
    Do you mean $b_i^2 - 4 a_i c_i < 0$?
    $endgroup$
    – Travis
    Jan 1 at 5:26










  • $begingroup$
    @Travis yes I did
    $endgroup$
    – clathratus
    Jan 1 at 7:45
















2












$begingroup$


I would like to know a general closed form for
$$J=F_k(a_1,b_1,c_1;a_2,b_2,c_2)=int_0^kfrac{a_1x^2+b_1x+c_1}{a_2x^2+b_2x+c_2}mathrm{d}x$$
Where $k>0$, $4a_1c_1-b_1^2<0$, and $4a_2c_2-b_2^2<0$. I encounter forms of the integral all the time and I thought it would be beneficial to finally put that to rest. I already know that
$$I_k(a,b,c)=int_0^kfrac{mathrm{d}x}{ax^2+bx+c}=frac1gbigg[arctanbigg(frac{2ak+b}gbigg)-arctanbigg(frac bgbigg)bigg]$$
where $g=sqrt{4ac-b^2}$



Hence we have that $$J=a_1int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x+b_1int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x+c_1I_k(a_2,b_2,c_2)$$
So really one must focus on the integrals
$$H=int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x$$
$$W=int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x$$
They don't seem especially hard, but I just keep getting lost in the algebra with the constants. Could I have a bit of help? Thanks.










share|cite|improve this question











$endgroup$












  • $begingroup$
    This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
    $endgroup$
    – Fabian
    Jan 1 at 4:27










  • $begingroup$
    @Fabian Purely an aesthetic choice.
    $endgroup$
    – clathratus
    Jan 1 at 4:28






  • 1




    $begingroup$
    WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
    $endgroup$
    – Fabian
    Jan 1 at 4:30










  • $begingroup$
    Do you mean $b_i^2 - 4 a_i c_i < 0$?
    $endgroup$
    – Travis
    Jan 1 at 5:26










  • $begingroup$
    @Travis yes I did
    $endgroup$
    – clathratus
    Jan 1 at 7:45














2












2








2


1



$begingroup$


I would like to know a general closed form for
$$J=F_k(a_1,b_1,c_1;a_2,b_2,c_2)=int_0^kfrac{a_1x^2+b_1x+c_1}{a_2x^2+b_2x+c_2}mathrm{d}x$$
Where $k>0$, $4a_1c_1-b_1^2<0$, and $4a_2c_2-b_2^2<0$. I encounter forms of the integral all the time and I thought it would be beneficial to finally put that to rest. I already know that
$$I_k(a,b,c)=int_0^kfrac{mathrm{d}x}{ax^2+bx+c}=frac1gbigg[arctanbigg(frac{2ak+b}gbigg)-arctanbigg(frac bgbigg)bigg]$$
where $g=sqrt{4ac-b^2}$



Hence we have that $$J=a_1int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x+b_1int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x+c_1I_k(a_2,b_2,c_2)$$
So really one must focus on the integrals
$$H=int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x$$
$$W=int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x$$
They don't seem especially hard, but I just keep getting lost in the algebra with the constants. Could I have a bit of help? Thanks.










share|cite|improve this question











$endgroup$




I would like to know a general closed form for
$$J=F_k(a_1,b_1,c_1;a_2,b_2,c_2)=int_0^kfrac{a_1x^2+b_1x+c_1}{a_2x^2+b_2x+c_2}mathrm{d}x$$
Where $k>0$, $4a_1c_1-b_1^2<0$, and $4a_2c_2-b_2^2<0$. I encounter forms of the integral all the time and I thought it would be beneficial to finally put that to rest. I already know that
$$I_k(a,b,c)=int_0^kfrac{mathrm{d}x}{ax^2+bx+c}=frac1gbigg[arctanbigg(frac{2ak+b}gbigg)-arctanbigg(frac bgbigg)bigg]$$
where $g=sqrt{4ac-b^2}$



Hence we have that $$J=a_1int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x+b_1int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x+c_1I_k(a_2,b_2,c_2)$$
So really one must focus on the integrals
$$H=int_0^kfrac{x^2}{a_2x^2+b_2x+c_2}mathrm{d}x$$
$$W=int_0^kfrac{x}{a_2x^2+b_2x+c_2}mathrm{d}x$$
They don't seem especially hard, but I just keep getting lost in the algebra with the constants. Could I have a bit of help? Thanks.







integration closed-form






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 10 at 1:21







clathratus

















asked Jan 1 at 4:22









clathratusclathratus

4,9641438




4,9641438












  • $begingroup$
    This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
    $endgroup$
    – Fabian
    Jan 1 at 4:27










  • $begingroup$
    @Fabian Purely an aesthetic choice.
    $endgroup$
    – clathratus
    Jan 1 at 4:28






  • 1




    $begingroup$
    WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
    $endgroup$
    – Fabian
    Jan 1 at 4:30










  • $begingroup$
    Do you mean $b_i^2 - 4 a_i c_i < 0$?
    $endgroup$
    – Travis
    Jan 1 at 5:26










  • $begingroup$
    @Travis yes I did
    $endgroup$
    – clathratus
    Jan 1 at 7:45


















  • $begingroup$
    This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
    $endgroup$
    – Fabian
    Jan 1 at 4:27










  • $begingroup$
    @Fabian Purely an aesthetic choice.
    $endgroup$
    – clathratus
    Jan 1 at 4:28






  • 1




    $begingroup$
    WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
    $endgroup$
    – Fabian
    Jan 1 at 4:30










  • $begingroup$
    Do you mean $b_i^2 - 4 a_i c_i < 0$?
    $endgroup$
    – Travis
    Jan 1 at 5:26










  • $begingroup$
    @Travis yes I did
    $endgroup$
    – clathratus
    Jan 1 at 7:45
















$begingroup$
This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
$endgroup$
– Fabian
Jan 1 at 4:27




$begingroup$
This is an interesting notation. Why do you choose to have $k$ as a subscript to $F$? (usually, these kind of subscripts denote "different functions" and not the main argument of the function)
$endgroup$
– Fabian
Jan 1 at 4:27












$begingroup$
@Fabian Purely an aesthetic choice.
$endgroup$
– clathratus
Jan 1 at 4:28




$begingroup$
@Fabian Purely an aesthetic choice.
$endgroup$
– clathratus
Jan 1 at 4:28




1




1




$begingroup$
WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
$endgroup$
– Fabian
Jan 1 at 4:30




$begingroup$
WA is your friend... Just take the result of the antiderivative and insert the boundaries by hand.
$endgroup$
– Fabian
Jan 1 at 4:30












$begingroup$
Do you mean $b_i^2 - 4 a_i c_i < 0$?
$endgroup$
– Travis
Jan 1 at 5:26




$begingroup$
Do you mean $b_i^2 - 4 a_i c_i < 0$?
$endgroup$
– Travis
Jan 1 at 5:26












$begingroup$
@Travis yes I did
$endgroup$
– clathratus
Jan 1 at 7:45




$begingroup$
@Travis yes I did
$endgroup$
– clathratus
Jan 1 at 7:45










3 Answers
3






active

oldest

votes


















2












$begingroup$

While it's natural to compute the integrals $$int_0^k frac{x^n ,dx}{a_2 x^2 + b_2 x + c_2},$$
it's somewhat more efficient to decompose the integral in a different way. (Herein we suppose $a_2 neq 0$; the case $a_2 = 0$ is easier.)



Notice that we can write the numerator of the integrand as
$$frac{a_1}{a_2}(a_2 x^2 + b_2 x + c_2) + B x + C$$
for some constants $B, C$ (that we can write explicitly in terms of the $a_i, b_i, c_i$), so we can write the integral as
$$int_0^k frac{a_1 x^2 + b_1 x + c_1}{a_2 x^2 + b_2 x + c_2} dx
= k cdot frac{a_1}{a_2} + color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} .$$

Now, with a view toward applying the substitution $$u = a_2 x^2 + b_2 x + c_2, qquad du = 2 a_2 x + b_2 ,$$
we can write the numerator of the second integrand as $$B x + C = frac{B}{2 a_2} (2 a_2 x + b_2) + D$$
for some constant $D$ (that again we can write explicitly). So, the integral on the right-hand side is
$$color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} = frac{B}{2 a_2} int_0^k frac{2 a_2 x + b_2}{a_2 x^2 + b_2 x + c} dx + D int_0^k frac{dx}{a_2 x^2 + b_2 x + c_2} .$$ Rewriting the first term on the r.h.s. with the above substitution gives
$$frac{B}{2 a_2} int_{c_2}^{a_2 k^2 + b_2 k + c_2} frac{du}{u},$$ and the second integral on the r.h.s. is the quantity you denoted $I_k(a, b, c)$, for which you've already found an expression.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks. This is a really neat (and efficient!) approach.
    $endgroup$
    – clathratus
    Jan 10 at 1:32










  • $begingroup$
    You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
    $endgroup$
    – Travis
    Jan 10 at 2:56



















1












$begingroup$

Here is a fairly
simple-minded first step.



$begin{array}\
H
&=int_0^kdfrac{x^2}{a_2x^2+b_2x+c_2}dx\
&=dfrac1{a_2}int_0^kdfrac{x^2}{x^2+b^*_2x+c_2^*}dx\
&=dfrac1{a_2}int_0^kdfrac{x^2+b^*_2x+c_2^*-(b^*_2x+c_2^*)}{x^2+b^*_2x+c_2^*}dx\
&=dfrac1{a_2}int_0^kleft(1-dfrac{b^*_2x+c_2^*}{x^2+b^*_2x+c_2^*}right)dx\
&=dfrac1{a_2}left(k-int_0^kleft(dfrac{b^*_2x}{x^2+b^*_2x+c_2^*}right)dx-int_0^kleft(dfrac{c_2^*}{x^2+b^*_2x+c_2^*}right)dxright)\
end{array}
$



So $H$ reduces to
the other two,
one of which you know.






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    The process should work the same way with the integral you call $I$. Pull out $a$ in the denominator, complete the square, substitute $u = x + b/2a$, pull out $(4ac-b^{2})/4a^{2}$ from denominator and substitute $y = 2au/sqrt{4ac-b^{2}}$), and then you should arrive at three elementary integrals



    $$ intfrac{x^{2},mathrm{d}x}{x^{2}+1} quadquad intfrac{x,mathrm{d}x}{x^{2}+1} quadquad intfrac{mathrm{d}x}{x^{2}+1}.$$



    As a result of the first substitution, you should have all three of the integrals above to evaluate for integral $H$, and two of them for integral $W$.






    share|cite|improve this answer











    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("mathjaxEditing", function () {
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      });
      });
      }, "mathjax-editing");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "69"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3058217%2ff-ka-1-b-1-c-1a-2-b-2-c-2-int-0k-fraca-1x2b-1xc-1a-2x2b-2xc-2-ma%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      While it's natural to compute the integrals $$int_0^k frac{x^n ,dx}{a_2 x^2 + b_2 x + c_2},$$
      it's somewhat more efficient to decompose the integral in a different way. (Herein we suppose $a_2 neq 0$; the case $a_2 = 0$ is easier.)



      Notice that we can write the numerator of the integrand as
      $$frac{a_1}{a_2}(a_2 x^2 + b_2 x + c_2) + B x + C$$
      for some constants $B, C$ (that we can write explicitly in terms of the $a_i, b_i, c_i$), so we can write the integral as
      $$int_0^k frac{a_1 x^2 + b_1 x + c_1}{a_2 x^2 + b_2 x + c_2} dx
      = k cdot frac{a_1}{a_2} + color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} .$$

      Now, with a view toward applying the substitution $$u = a_2 x^2 + b_2 x + c_2, qquad du = 2 a_2 x + b_2 ,$$
      we can write the numerator of the second integrand as $$B x + C = frac{B}{2 a_2} (2 a_2 x + b_2) + D$$
      for some constant $D$ (that again we can write explicitly). So, the integral on the right-hand side is
      $$color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} = frac{B}{2 a_2} int_0^k frac{2 a_2 x + b_2}{a_2 x^2 + b_2 x + c} dx + D int_0^k frac{dx}{a_2 x^2 + b_2 x + c_2} .$$ Rewriting the first term on the r.h.s. with the above substitution gives
      $$frac{B}{2 a_2} int_{c_2}^{a_2 k^2 + b_2 k + c_2} frac{du}{u},$$ and the second integral on the r.h.s. is the quantity you denoted $I_k(a, b, c)$, for which you've already found an expression.






      share|cite|improve this answer









      $endgroup$













      • $begingroup$
        Thanks. This is a really neat (and efficient!) approach.
        $endgroup$
        – clathratus
        Jan 10 at 1:32










      • $begingroup$
        You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
        $endgroup$
        – Travis
        Jan 10 at 2:56
















      2












      $begingroup$

      While it's natural to compute the integrals $$int_0^k frac{x^n ,dx}{a_2 x^2 + b_2 x + c_2},$$
      it's somewhat more efficient to decompose the integral in a different way. (Herein we suppose $a_2 neq 0$; the case $a_2 = 0$ is easier.)



      Notice that we can write the numerator of the integrand as
      $$frac{a_1}{a_2}(a_2 x^2 + b_2 x + c_2) + B x + C$$
      for some constants $B, C$ (that we can write explicitly in terms of the $a_i, b_i, c_i$), so we can write the integral as
      $$int_0^k frac{a_1 x^2 + b_1 x + c_1}{a_2 x^2 + b_2 x + c_2} dx
      = k cdot frac{a_1}{a_2} + color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} .$$

      Now, with a view toward applying the substitution $$u = a_2 x^2 + b_2 x + c_2, qquad du = 2 a_2 x + b_2 ,$$
      we can write the numerator of the second integrand as $$B x + C = frac{B}{2 a_2} (2 a_2 x + b_2) + D$$
      for some constant $D$ (that again we can write explicitly). So, the integral on the right-hand side is
      $$color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} = frac{B}{2 a_2} int_0^k frac{2 a_2 x + b_2}{a_2 x^2 + b_2 x + c} dx + D int_0^k frac{dx}{a_2 x^2 + b_2 x + c_2} .$$ Rewriting the first term on the r.h.s. with the above substitution gives
      $$frac{B}{2 a_2} int_{c_2}^{a_2 k^2 + b_2 k + c_2} frac{du}{u},$$ and the second integral on the r.h.s. is the quantity you denoted $I_k(a, b, c)$, for which you've already found an expression.






      share|cite|improve this answer









      $endgroup$













      • $begingroup$
        Thanks. This is a really neat (and efficient!) approach.
        $endgroup$
        – clathratus
        Jan 10 at 1:32










      • $begingroup$
        You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
        $endgroup$
        – Travis
        Jan 10 at 2:56














      2












      2








      2





      $begingroup$

      While it's natural to compute the integrals $$int_0^k frac{x^n ,dx}{a_2 x^2 + b_2 x + c_2},$$
      it's somewhat more efficient to decompose the integral in a different way. (Herein we suppose $a_2 neq 0$; the case $a_2 = 0$ is easier.)



      Notice that we can write the numerator of the integrand as
      $$frac{a_1}{a_2}(a_2 x^2 + b_2 x + c_2) + B x + C$$
      for some constants $B, C$ (that we can write explicitly in terms of the $a_i, b_i, c_i$), so we can write the integral as
      $$int_0^k frac{a_1 x^2 + b_1 x + c_1}{a_2 x^2 + b_2 x + c_2} dx
      = k cdot frac{a_1}{a_2} + color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} .$$

      Now, with a view toward applying the substitution $$u = a_2 x^2 + b_2 x + c_2, qquad du = 2 a_2 x + b_2 ,$$
      we can write the numerator of the second integrand as $$B x + C = frac{B}{2 a_2} (2 a_2 x + b_2) + D$$
      for some constant $D$ (that again we can write explicitly). So, the integral on the right-hand side is
      $$color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} = frac{B}{2 a_2} int_0^k frac{2 a_2 x + b_2}{a_2 x^2 + b_2 x + c} dx + D int_0^k frac{dx}{a_2 x^2 + b_2 x + c_2} .$$ Rewriting the first term on the r.h.s. with the above substitution gives
      $$frac{B}{2 a_2} int_{c_2}^{a_2 k^2 + b_2 k + c_2} frac{du}{u},$$ and the second integral on the r.h.s. is the quantity you denoted $I_k(a, b, c)$, for which you've already found an expression.






      share|cite|improve this answer









      $endgroup$



      While it's natural to compute the integrals $$int_0^k frac{x^n ,dx}{a_2 x^2 + b_2 x + c_2},$$
      it's somewhat more efficient to decompose the integral in a different way. (Herein we suppose $a_2 neq 0$; the case $a_2 = 0$ is easier.)



      Notice that we can write the numerator of the integrand as
      $$frac{a_1}{a_2}(a_2 x^2 + b_2 x + c_2) + B x + C$$
      for some constants $B, C$ (that we can write explicitly in terms of the $a_i, b_i, c_i$), so we can write the integral as
      $$int_0^k frac{a_1 x^2 + b_1 x + c_1}{a_2 x^2 + b_2 x + c_2} dx
      = k cdot frac{a_1}{a_2} + color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} .$$

      Now, with a view toward applying the substitution $$u = a_2 x^2 + b_2 x + c_2, qquad du = 2 a_2 x + b_2 ,$$
      we can write the numerator of the second integrand as $$B x + C = frac{B}{2 a_2} (2 a_2 x + b_2) + D$$
      for some constant $D$ (that again we can write explicitly). So, the integral on the right-hand side is
      $$color{#df0000}{int_0^k frac{B x + C}{a_2 x^2 + b_2 x + c_2} dx} = frac{B}{2 a_2} int_0^k frac{2 a_2 x + b_2}{a_2 x^2 + b_2 x + c} dx + D int_0^k frac{dx}{a_2 x^2 + b_2 x + c_2} .$$ Rewriting the first term on the r.h.s. with the above substitution gives
      $$frac{B}{2 a_2} int_{c_2}^{a_2 k^2 + b_2 k + c_2} frac{du}{u},$$ and the second integral on the r.h.s. is the quantity you denoted $I_k(a, b, c)$, for which you've already found an expression.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered Jan 1 at 5:25









      TravisTravis

      63.8k769151




      63.8k769151












      • $begingroup$
        Thanks. This is a really neat (and efficient!) approach.
        $endgroup$
        – clathratus
        Jan 10 at 1:32










      • $begingroup$
        You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
        $endgroup$
        – Travis
        Jan 10 at 2:56


















      • $begingroup$
        Thanks. This is a really neat (and efficient!) approach.
        $endgroup$
        – clathratus
        Jan 10 at 1:32










      • $begingroup$
        You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
        $endgroup$
        – Travis
        Jan 10 at 2:56
















      $begingroup$
      Thanks. This is a really neat (and efficient!) approach.
      $endgroup$
      – clathratus
      Jan 10 at 1:32




      $begingroup$
      Thanks. This is a really neat (and efficient!) approach.
      $endgroup$
      – clathratus
      Jan 10 at 1:32












      $begingroup$
      You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
      $endgroup$
      – Travis
      Jan 10 at 2:56




      $begingroup$
      You're welcome. If you just treat the integrals $int frac{x^k ,dx}{a x^2 + b x + c}$ directly you'll find that you have to do the computations that come up in the method in my answer anyway, but some you'll have to do more than once. The method in the answer just decomposes the numerator in a way such that you only have to deal with each type of manipulation exactly once.
      $endgroup$
      – Travis
      Jan 10 at 2:56











      1












      $begingroup$

      Here is a fairly
      simple-minded first step.



      $begin{array}\
      H
      &=int_0^kdfrac{x^2}{a_2x^2+b_2x+c_2}dx\
      &=dfrac1{a_2}int_0^kdfrac{x^2}{x^2+b^*_2x+c_2^*}dx\
      &=dfrac1{a_2}int_0^kdfrac{x^2+b^*_2x+c_2^*-(b^*_2x+c_2^*)}{x^2+b^*_2x+c_2^*}dx\
      &=dfrac1{a_2}int_0^kleft(1-dfrac{b^*_2x+c_2^*}{x^2+b^*_2x+c_2^*}right)dx\
      &=dfrac1{a_2}left(k-int_0^kleft(dfrac{b^*_2x}{x^2+b^*_2x+c_2^*}right)dx-int_0^kleft(dfrac{c_2^*}{x^2+b^*_2x+c_2^*}right)dxright)\
      end{array}
      $



      So $H$ reduces to
      the other two,
      one of which you know.






      share|cite|improve this answer









      $endgroup$


















        1












        $begingroup$

        Here is a fairly
        simple-minded first step.



        $begin{array}\
        H
        &=int_0^kdfrac{x^2}{a_2x^2+b_2x+c_2}dx\
        &=dfrac1{a_2}int_0^kdfrac{x^2}{x^2+b^*_2x+c_2^*}dx\
        &=dfrac1{a_2}int_0^kdfrac{x^2+b^*_2x+c_2^*-(b^*_2x+c_2^*)}{x^2+b^*_2x+c_2^*}dx\
        &=dfrac1{a_2}int_0^kleft(1-dfrac{b^*_2x+c_2^*}{x^2+b^*_2x+c_2^*}right)dx\
        &=dfrac1{a_2}left(k-int_0^kleft(dfrac{b^*_2x}{x^2+b^*_2x+c_2^*}right)dx-int_0^kleft(dfrac{c_2^*}{x^2+b^*_2x+c_2^*}right)dxright)\
        end{array}
        $



        So $H$ reduces to
        the other two,
        one of which you know.






        share|cite|improve this answer









        $endgroup$
















          1












          1








          1





          $begingroup$

          Here is a fairly
          simple-minded first step.



          $begin{array}\
          H
          &=int_0^kdfrac{x^2}{a_2x^2+b_2x+c_2}dx\
          &=dfrac1{a_2}int_0^kdfrac{x^2}{x^2+b^*_2x+c_2^*}dx\
          &=dfrac1{a_2}int_0^kdfrac{x^2+b^*_2x+c_2^*-(b^*_2x+c_2^*)}{x^2+b^*_2x+c_2^*}dx\
          &=dfrac1{a_2}int_0^kleft(1-dfrac{b^*_2x+c_2^*}{x^2+b^*_2x+c_2^*}right)dx\
          &=dfrac1{a_2}left(k-int_0^kleft(dfrac{b^*_2x}{x^2+b^*_2x+c_2^*}right)dx-int_0^kleft(dfrac{c_2^*}{x^2+b^*_2x+c_2^*}right)dxright)\
          end{array}
          $



          So $H$ reduces to
          the other two,
          one of which you know.






          share|cite|improve this answer









          $endgroup$



          Here is a fairly
          simple-minded first step.



          $begin{array}\
          H
          &=int_0^kdfrac{x^2}{a_2x^2+b_2x+c_2}dx\
          &=dfrac1{a_2}int_0^kdfrac{x^2}{x^2+b^*_2x+c_2^*}dx\
          &=dfrac1{a_2}int_0^kdfrac{x^2+b^*_2x+c_2^*-(b^*_2x+c_2^*)}{x^2+b^*_2x+c_2^*}dx\
          &=dfrac1{a_2}int_0^kleft(1-dfrac{b^*_2x+c_2^*}{x^2+b^*_2x+c_2^*}right)dx\
          &=dfrac1{a_2}left(k-int_0^kleft(dfrac{b^*_2x}{x^2+b^*_2x+c_2^*}right)dx-int_0^kleft(dfrac{c_2^*}{x^2+b^*_2x+c_2^*}right)dxright)\
          end{array}
          $



          So $H$ reduces to
          the other two,
          one of which you know.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 1 at 5:10









          marty cohenmarty cohen

          74.8k549130




          74.8k549130























              1












              $begingroup$

              The process should work the same way with the integral you call $I$. Pull out $a$ in the denominator, complete the square, substitute $u = x + b/2a$, pull out $(4ac-b^{2})/4a^{2}$ from denominator and substitute $y = 2au/sqrt{4ac-b^{2}}$), and then you should arrive at three elementary integrals



              $$ intfrac{x^{2},mathrm{d}x}{x^{2}+1} quadquad intfrac{x,mathrm{d}x}{x^{2}+1} quadquad intfrac{mathrm{d}x}{x^{2}+1}.$$



              As a result of the first substitution, you should have all three of the integrals above to evaluate for integral $H$, and two of them for integral $W$.






              share|cite|improve this answer











              $endgroup$


















                1












                $begingroup$

                The process should work the same way with the integral you call $I$. Pull out $a$ in the denominator, complete the square, substitute $u = x + b/2a$, pull out $(4ac-b^{2})/4a^{2}$ from denominator and substitute $y = 2au/sqrt{4ac-b^{2}}$), and then you should arrive at three elementary integrals



                $$ intfrac{x^{2},mathrm{d}x}{x^{2}+1} quadquad intfrac{x,mathrm{d}x}{x^{2}+1} quadquad intfrac{mathrm{d}x}{x^{2}+1}.$$



                As a result of the first substitution, you should have all three of the integrals above to evaluate for integral $H$, and two of them for integral $W$.






                share|cite|improve this answer











                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  The process should work the same way with the integral you call $I$. Pull out $a$ in the denominator, complete the square, substitute $u = x + b/2a$, pull out $(4ac-b^{2})/4a^{2}$ from denominator and substitute $y = 2au/sqrt{4ac-b^{2}}$), and then you should arrive at three elementary integrals



                  $$ intfrac{x^{2},mathrm{d}x}{x^{2}+1} quadquad intfrac{x,mathrm{d}x}{x^{2}+1} quadquad intfrac{mathrm{d}x}{x^{2}+1}.$$



                  As a result of the first substitution, you should have all three of the integrals above to evaluate for integral $H$, and two of them for integral $W$.






                  share|cite|improve this answer











                  $endgroup$



                  The process should work the same way with the integral you call $I$. Pull out $a$ in the denominator, complete the square, substitute $u = x + b/2a$, pull out $(4ac-b^{2})/4a^{2}$ from denominator and substitute $y = 2au/sqrt{4ac-b^{2}}$), and then you should arrive at three elementary integrals



                  $$ intfrac{x^{2},mathrm{d}x}{x^{2}+1} quadquad intfrac{x,mathrm{d}x}{x^{2}+1} quadquad intfrac{mathrm{d}x}{x^{2}+1}.$$



                  As a result of the first substitution, you should have all three of the integrals above to evaluate for integral $H$, and two of them for integral $W$.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Jan 1 at 5:15

























                  answered Jan 1 at 5:06









                  IninterrompueIninterrompue

                  67519




                  67519






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3058217%2ff-ka-1-b-1-c-1a-2-b-2-c-2-int-0k-fraca-1x2b-1xc-1a-2x2b-2xc-2-ma%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How do I know what Microsoft account the skydrive app is syncing to?

                      When does type information flow backwards in C++?

                      Grease: Live!