How Do I Integrate cos(x/y) with Respect to y in a Double Integral?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
5 replies · 17K views
hivesaeed4
Messages
217
Reaction score
0
Suppose we have:
∫∫ cos(x/y) dydx

where the first integral is of x and is 0→1, while the second is of y and is x→1. Could someone tell me how to get the first integration (i.e. of cos(x/y) w.r.t. y) done??
 
Physics news on Phys.org
If you wish to calculate the integral

[tex]\int \cos(1/y)dy[/tex]

then it can't be done. This integral can not be calculated using elementary functions.

However, you could use Fubini to switch the two integrals and integrate to x first. Maybe that gives something nice.
 
[tex]\int_{x= 0}^1\int_{y=x}^1 cos(x/y) dy dx[/tex]
is the same as
[tex]\int_{y=0}^1\int_{x= 0}^y cos(x/y) dx dy[/tex]
and the second is much easier to do.
 
Last edited by a moderator:
HallsofIvy said:
[tex]\int_{x= 0}^1\int_{y=x}^1 cos(x/y) dy dx[/tex]
is the same as
[tex]\int_{y=0}^1\int_{x= 0}^y cos(x/y} dx dy[/tex]
and the second is much easier to do.

Correction:

[tex]\int_{0}^1\int_{0}^y \cos\left(\dfrac xy\right)\ \mathrm{d}x\ \mathrm{d}y[/tex]

Sure, some of what I just did was a matter of style, but you did run into an error parsing your LaTeX, using cos(x/y} instead of cos(x/y). I suggest you preview all your posts, especially those with LaTeX, before submitting them. Also, use \cos, not cos. (We don't really need those x=0 and y=0 because we already know what we're integrating with respect to from those d's.)
 
Whovian said:
(We don't really need those x=0 and y=0 because we already know what we're integrating with respect to from those d's.)

This form avoids confusion, especially with people new to integration. I remember my Calc II professor saying once that he changed his teaching method to including the variables of integration because students constantly mixed up variables on exams of his. I'm sure others have had the same problem. Sure, it's obvious that you integrate from the inside out so you don't really need the variables, but it's just like subtracting an integer from two sides of an equation instead of doing the subtraction in your head from step to step or using u-substitution when only constants are involved, etc.
 
Very true, and they do help to avoid confusion a lot. My point was we don't need those. But we're starting to get a bit off the original question.