Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Can integral be replaced by constant

  1. Aug 28, 2014 #1
    Let a,b are constants.
    [tex]a=\int_{-∏}^∏ f(x)\,dx [/tex]
    [tex]b=\int_{-∏}^∏ {g(x)f(x)}\,dx,[/tex]
    Then by integration byparts, we have ,
    b = [tex](\left.g(x)\int_{-∏}^∏ f(x)\,dx)\right|_{-∏}^∏-\int_{-∏}^∏g'(x)\int_{-∏}^∏ f(x)\,dx \,dx [/tex]

    Is below step valid.
    b = [tex]a(\left.g(x))\right|_{-∏}^∏-a\int_{-∏}^∏g'(x)\,dx [/tex]

    I am not able to find it googling. Can an integral be replaced by a constant.
    FYI : This came up when I am working on computing binomial coefficients with their trignometric form.
    Last edited: Aug 28, 2014
  2. jcsd
  3. Aug 29, 2014 #2


    User Avatar
    Science Advisor

    Yes, of course, a definite integral, which is, by definition, a constant, can be replaced by that constant.
  4. Aug 29, 2014 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Those integrals of f(x) must be indefinite integrals. You can't use definite integrals like that in the parts formula.

    No, that isn't valid. If you take another step, you'll see that

    [tex]b = a(\left.g(x))\right|_{-∏}^∏-a(\left.g(x))\right|_{-∏}^∏ = 0[/tex]

    For all f(x) and g(x). Which clearly isn't correct.
  5. Aug 29, 2014 #4


    User Avatar
    Science Advisor

    Your integration by parts formula looks wrong.
    [tex]\int_{-∏}^∏g'(x)\int_{-∏}^∏ f(x)\,dx \,dx [/tex]
    should be:
    [tex]\int_{-∏}^∏g'(x)F(x)dx [/tex]
    where F(x) is the indefinite integral of f(x).
  6. Aug 31, 2014 #5
    They must be indefinite integrals in order to do so, unless it is invalid.
    I think you have made a mistake somewhere in your working.
  7. Aug 31, 2014 #6


    User Avatar
    Science Advisor

    Further error:
    [tex](\left.g(x)\int_{-∏}^∏ f(x)\,dx)\right|_{-∏}^∏[/tex]
    should be:
    where F(x) is the indefinte integral of f(x)
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook