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

Integration of a Function of 2 Variables with Respect to One Variable

  1. Nov 13, 2009 #1
    I don't know how to describe this properly but I want to integrate a function of 2 variables to end up with a function of one variable.

    [tex]\int[/tex] [tex]\frac{f(A)}{f(A,B)}[/tex] dA

    I will integrate this function and end up with a function of B, i.e. f(B). Then I can substitue in different values of B and plot a graph.

    Is this possible? Or would I have to substitute in a value of B first then integrate it?

    Any help would be greatly appreciated.


    Note: I will be doing this via numerical integration using MATLAB, not using pen and paper - this is not an algebra problem. I need to know how to implement the method not know the solution.
  2. jcsd
  3. Nov 13, 2009 #2


    User Avatar
    Gold Member

    Either way works; leaving the non-integrated term still in the equation or plugging in a value of B results in the same solution.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook