Help solving 1st order PDE with associated Equation

  • Thread starter Thread starter iqjump123
  • Start date Start date
  • Tags Tags
    Pde
iqjump123
Messages
58
Reaction score
0

Homework Statement


Solve This equation:

\epsilon(Ut+Ux)+U=1
with \epsilon being a very small number from 0 to 1
and x bounds from neg infinity to pos infinity, t>0, and condition
u(x,0)=sinx

Homework Equations


method of associated equation (dx/P=dt/Q=du/R, and so forth)

The Attempt at a Solution


So far, I have attempted to apply the method of solving via associated equation and said
dt/\epsilon=dx/\epsilon=du/(1-u),
and using the first two equated equations, got that
\epsilon(t-x)=C1

Then next was that I used dx/\epsilon = du/1-u and solved to get x/\epsilon+ln(1-u)=C2.
I then said the general equation is:
x/\epsilon+ln(1-u)=f(\epsilon(t-x)).
Then I applied the initial condition u(x,0)=sinx to solve for the f(x).
Attempting to solve this out got me

1-e^(f(-x\epsilon-x/\epsilon))=sinx, but am lost after that on how to get the exact solution.

Help will be appreciated! Thanks!
 
Physics news on Phys.org
You mean method of characteristics?
your equation:
<br /> \epsilon\frac{\partial u}{\partial t}+\epsilon\frac{\partial u}{\partial x}=1-u<br />
The characteristics are defined by:
<br /> \frac{dt}{ds}=\epsilon ,\quad \frac{dx}{ds}=\epsilon ,\quad\frac{du}{ds}=1-u<br />
With initial conditions u(r,0)=\sin r with t(0)=0 and x(0)=r. Solving the first two equations shows that x=\epsilon s+r. Then solving the final equation yields -\log (1-u)=s+C, to compute C, use the initial condition:
<br /> -\log (1-\sin r)=C<br />
So:
<br /> \log\left(\frac{1-\sin r}{1-u}\right) =s<br />
You have equations to substitute t and x for r and s.
 
hunt_mat said:
You mean method of characteristics?
your equation:
<br /> \epsilon\frac{\partial u}{\partial t}+\epsilon\frac{\partial u}{\partial x}=1-u<br />
The characteristics are defined by:
<br /> \frac{dt}{ds}=\epsilon ,\quad \frac{dx}{ds}=\epsilon ,\quad\frac{du}{ds}=1-u<br />
With initial conditions u(r,0)=\sin r with t(0)=0 and x(0)=r. Solving the first two equations shows that x=\epsilon s+r. Then solving the final equation yields -\log (1-u)=s+C, to compute C, use the initial condition:
<br /> -\log (1-\sin r)=C<br />
So:
<br /> \log\left(\frac{1-\sin r}{1-u}\right) =s<br />
You have equations to substitute t and x for r and s.

Hello hunt_mat- thanks for the input. I have seen if your method will work, but have trouble understanding the two conditions involving t(0)=0 and x(0)=r- how did u get such boundary conditions?

thanks!
 
You initial conditions are called Cauchy data. Basically what happens in 1st order PDEs is that the initial data get propagated and changed along the characteristics. So what you have to do in paramatrise you initial data in one variable (I used r) abd you characteristics with another variable (I called it s).

So with the initial condition, there was no t involved in you equation to t is zero when s=0 (s=0 is when you're on the initial curve), and so you set t(0)=0. As your initial data is sinx, what you do is set x=r as will be your paramatrisation of your initial condition for x. then you just insert this paramtrisation into the condition for u and that is where you get sin r as the paramatrisation.
 
hunt_mat said:
You initial conditions are called Cauchy data. Basically what happens in 1st order PDEs is that the initial data get propagated and changed along the characteristics. So what you have to do in paramatrise you initial data in one variable (I used r) abd you characteristics with another variable (I called it s).

So with the initial condition, there was no t involved in you equation to t is zero when s=0 (s=0 is when you're on the initial curve), and so you set t(0)=0. As your initial data is sinx, what you do is set x=r as will be your paramatrisation of your initial condition for x. then you just insert this paramtrisation into the condition for u and that is where you get sin r as the paramatrisation.

Thanks for your help hunt_mat.
Now, the question asks for a second part (let me know if I should move this question to a separate thread) to this same question:

-For 0<epsilon<<1, obtain zeroth order outer and inner perturbation solutions and construct a uniformly valid composite solution.

I have tried to use the zeroth order outer and inner methods by first assuming that epsilon goes to 0. However, that gives u=1 for both inner and outer cases, and I am pretty sure that isn't right :p

Any help will be appreciated. Thanks!
 
I thought that this would come into it, you need to rescale x and y and look for the dominant balance.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top