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

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 7K views
mea03wjb
Messages
6
Reaction score
0
Hi,
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.

Thanks,

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.
 
Physics news on Phys.org
Either way works; leaving the non-integrated term still in the equation or plugging in a value of B results in the same solution.