I have made an attempt on a problem from an old exam.
I'm not sure if my method is correct or not, as it differs from the teacher's solution and I'm unsure of the theory. Does my solution lack any important
I have made an attempt on a problem from an old exam.
I'm not sure if my method is correct or not, as it differs from the teacher's solution and I'm unsure of the theory. Does my solution lack any important
As I understand it, your solution is not correct.
The reason is that you cannot write your double integral as a product of 2 simple integrals as you did, since the integral with respect to $x$ depends on $y$. When you say "no problem" for this integral (with respect to $x$), you are forgetting that it depends on $x$, so that you cannot simply ignore it when looking at the convergence of your double integral.
What you can do (and I presume what your teacher does), is first compute the integral with respect to $x$ (this will give you something that depends on $y$), and then integrate what you get with respect to $y$.
Edit. As suggested by David, you can also integrate first with respect to $y$ and then with respect to $x$.