4

I'm having trouble with the change of variables theorem in two variables.

The theorem says: $$\iint f(x,y)dxdy=\iint f(x(u,v),y(u,v))|J|dudv$$ Where J is the Jacobian.

If $f(x,y)=xy$ where $x,y \in \mathbb{R} $

$$\iint f(x,y)dxdy= \frac{(x·y)^2}{4}$$

if: $x=u+v; y=u-v$

$$\iint f(x,y)dxdy=\iint (u+v)(u-v)|J|dudv=2(\frac{u^3v}{3}-\frac{v^3u}{3})$$

Where |J|=2. If I undo the change I'd have to get the same result at the two cases but if I do I don't. What I am doing wrong?

Where my problem appeared

I was solving:

$$c^2 \phi_{xx}-\phi_{tt} =h(t,x)$$ with c constant and $$h(x,t)=tsin(x);x,t \in \mathbb{R}$$

I find the characteristics are: $$\xi=x+ct;\eta=x-ct$$ Then I make a change of variables and rewrite the PDE to: $$\phi_{\xi\eta}=\frac{1}{4c^2}H(\xi,\eta)$$ Then I have: $$\phi(\xi,\eta)=\frac{1}{4c^2}\int(\int (H(\xi,\eta)d\eta))d\xi+A(\xi)+B(\eta)$$ with $$H(\xi,\eta)=h(x=x(\xi,\eta),t=t(\xi,\eta)))=\frac{\xi-\eta}{2c}sin(\frac{\xi+\eta}{2}) $$

The problem

Solving this: $$\frac{1}{4c^2}\int(\int (H(\xi,\eta)d\eta))d\xi$$ If I undo with the change of variables theorem I just have: $$\frac{1}{4c^2} \iint 2c t sin(x) dxdt $$ Where $2c$ is the Jacobian. That integral is much easier than the one with $\eta$ and $\xi$ but I did both integrals and get to different results and I don't know what I am doing wrong.

Progress

As a commenter stated I could be mistaking the notion of double integral and iterative integral. I'm reviewing those concepts but I have solved nothing yet.

Jorge
  • 49
  • 4
    What set are you integrating the function over? – wj32 Feb 14 '13 at 12:55
  • I know the example I wrote is really easy but I just want to know what I am doing wrong if the theorem must be met. – Jorge Feb 14 '13 at 12:56
  • Indefinite integral in R2. – Jorge Feb 14 '13 at 12:57
  • 2
    The notion of indefinite integral does not make sense in two (or more) dimensions! (Except in a more advanced sense involving differentials, but that is beside the point here.) – Harald Hanche-Olsen Feb 14 '13 at 12:57
  • Ok. Then I'll explain where my problem comes from. I have a PDE-2 Linear nonhomogeneous with coordinates x,t. I make a change of variables to the characteristics and then I have: $phi(a,b)=\int\int g(a,b)dadb + F(a) + G(b)$ So now I have to solve the integral in a,b or can I undo the variables change to x,t and the integrate? – Jorge Feb 14 '13 at 13:02
  • 1
    @George: There is a very big difference between a double integral (integrating a function $f:\mathbb{R}^2\to\mathbb{R}$ on some set) and an iterated integral. You should review these concepts as well as the precise statement of Fubini's theorem. (This is why the notation $\iint_D f$ can be misleading. I like $\int_D f$ instead.) – wj32 Feb 14 '13 at 13:02
  • I suppose now that I CANT undo the variable change untill I integrate that. Am I correct? And sorry If I don't express myself well as my maths language is not english.

    Oh sorry my integral is in R not R2

    – Jorge Feb 14 '13 at 13:07
  • I elabore more: I have this PDE $\phi{_{\xi \eta}}(\xi,\eta)=k*h(\xi,\eta)$

    then I do:

    $\phi (\xi,\eta)=k*\int\int h(\xi,\eta)d\xi d\eta + F(\xi)+G(\eta)$

    And there comes my change of variables theorem.

    – Jorge Feb 14 '13 at 13:18
  • I tried to make a change of variables to make that integral easier. But then If I do it without the variables change I get one result and if I do it, I get another result. – Jorge Feb 14 '13 at 13:21
  • 1
    Note that a) you can get a proper double integral using \iint instead of \int\int, and b) equations with integrals and fractions look much nicer and are easier to read if you typeset them as displayed equations by enclosing them in double dollar signs. – joriki Feb 14 '13 at 13:27
  • I don't know very well if the etiquette says that if I should open another question or keep the question on this thread as the question shifted a little. Anyways, thanks for the help to everyone, great community here. – Jorge Feb 14 '13 at 13:51
  • I've added more detail to the question I hope I get an answer. Please ask me any more details you could need. – Jorge Feb 14 '13 at 16:00
  • It seems I have to choose a domain to integrate then I can't apply the change of variables theorem to my case. – Jorge Feb 14 '13 at 21:50

2 Answers2

1

The purpose of the variable transformation $(x,t)\to(\xi,\eta)$ is to convert the differential operator $c^2D_{xx}-D_{tt}$ ("a sum of squares") into a product $D_\xi D_\eta\>$, in order to make the following procedure possible. If there would be some magic to perform a corresponding thing in $(x,t)$-space one never would have bothered with the transformation in the first place.

You have $$\tilde\phi_{\xi\eta}(\xi,\eta)={1\over 4 c^2} H(\xi, \eta)={\xi-\eta\over 8c^3}\sin{\xi+\eta\over2}$$ (if your computations are correct). It follows that $$\tilde\phi_\xi(\xi,\eta)={1\over 8c^3}\int (\xi-\eta)\sin{\xi+\eta\over2}\ d\eta=:\Phi(\xi,\eta)\ ,$$ where $\Phi(\xi,\eta)$ is an explicit expression in $\xi$ and $\eta$, and the implicit integration constant may depend on $\xi$ (it's the $A'(\xi)$ of your argument). Integrating once more we obtain $$\tilde\phi(\xi,\eta)=\int \Phi(\xi,\eta)\ d\eta=:\Psi(\xi, \eta)\ .$$ Here again $\Psi(\xi,\eta)$ is an explicit expression in $\xi$ and $\eta$, and we now have arrived at two arbitrary added functions $A(\xi)$ and $B(\eta)$.

Having $\tilde \phi(\xi,\eta)$ in our hands we now can go back to the original variables $x$ and $t$ by writing $$\phi(x,t):=\tilde\phi(x+ct,x-ct)\ .$$

  • What are you writing is correct but that's not my issue. I can do the integral in $\xi$ and $\eta$ with any problem but I was wondering if I could undo the variable change first to make the integral easier. I did it by the two ways and obtaining different results.

    What I've found so far I've explained it at the my answer to the question. I'm not sure if it is correct but it has worked for me in an invented example. Check it out if you wish.

    Thanks for your time.

    – Jorge Feb 14 '13 at 17:22
  • @George: See my edit. – Christian Blatter Feb 15 '13 at 13:12
0

It seems that to apply the change of variables theorem I must know the intervals first.

If I apply the change of variables of an indefinite multiple integral I am, in fact, integrating over an interval and that interval is not the same as the one I was integrating at the first indefinite multiple integral so I get different results.

Source: http://www.physicsforums.com/showthread.php?t=211258

In fact: lets try to integrate the area of a circle with radius 1.

In cartesian coordinates: $$\int_{-1}^{1}\int_{-\sqrt{1-y^2}}^{\sqrt{1-y^2}}dxdy=\pi$$

In polar coordinates: $$\int_{0}^{1}\int_{0}^{2\pi}rdrd\theta=\pi$$

Jorge
  • 49
  • So in the end. At my case it's better to integrate at $\xi,\eta$ and then undo the variable change to avoid any problem. – Jorge Feb 15 '13 at 09:50