1. ## separating variables! help!

Sorry, but this is an upcoming exam question for me. I need help!(and I only got a short time to find out)

Find solutions of the following equation by separating variables:

$\displaystyle \frac{\partial u}{\partial x}+\frac{\partial u}{\partial y}=0$

Thanks to whoever that can help!

2. Originally Posted by ntfabolous
Sorry, but this is an upcoming exam question for me. I need help!(and I only got a short time to find out)

Find solutions of the following equation by separating variables:

$\displaystyle \frac{\partial u}{\partial x}+\frac{\partial u}{\partial y}=0$

Thanks to whoever that can help!
Do you know what "separating variables" means? If you have a test coming up, this is hardly the time to start learning the subject!

It means assuming a solution of the form u(x,y)= A(x)B(y) where A and B are functions of x alone and y alone, respectively. Then $\displaystyle \frac{\partial u}{\partial x}= \frac{dA}{dx}B$ and $\displaystyle \frac{\partial u}{\partial y}= A\frac{dB}{dy}$.

So that equation becomes $\displaystyle \frac{dA}{dx}B+ A\frac{dB}{dy}= 0$. That can be written as $\displaystyle \frac{dA}{dx}B= -A\frac{dB}{dy}$ and, dividing both sides by AB, $\displaystyle \frac{1}{A}\frac{dA}{dx}= -\frac{1}{B}\frac{dB}{dy}$.

Now, the left side is a function of x only and the right side is a function of y only (we have "separated" the variables) so the only way that can be equal for all x and y is if they are both equal to the same constant.

That is, we can separate into two equations: $\displaystyle \frac{1}{A}\frac{dA}{dx}= \lambda$ or $\displaystyle \frac{dA}{dx}= \lambda A$ and $\displaystyle -\frac{1}{B}\frac{dB}{dy}= \lambda$ or $\displaystyle \frac{dB}{dy}= -\lambda B$.

There is no way to determine what "$\displaystyle \lambda$" is from the equation alone. Depending upon the additional (boundary or intial value) conditions, the solution might be the product of A and B for a specific $\displaystyle \lambda$ or a sum of such products for many (possibly infinitely many) values of $\displaystyle \lambda$.

3. Originally Posted by ntfabolous
Sorry, but this is an upcoming exam question for me. I need help!(and I only got a short time to find out)

Find solutions of the following equation by separating variables:

$\displaystyle \frac{\partial u}{\partial x}+\frac{\partial u}{\partial y}=0$

Thanks to whoever that can help!
I might also add the one could seek solutions of the form

$\displaystyle u = A(x) + B(y)$

which is also a separation of variables. BTW - the general solution of the above is $\displaystyle u = f(x-y)$ for any $\displaystyle f$.