Solving Linear First Order ODEs: y' + p(x)y = q(x)

  • Context: MHB 
  • Thread starter Thread starter Markov2
  • Start date Start date
  • Tags Tags
    Pdf
Click For Summary
SUMMARY

The discussion focuses on solving the linear first-order ordinary differential equation (ODE) given by \( u_t + u_x \cos t = u \) with the initial condition \( u(x,0) = f(x) \), where \( f(x) = \cos^2 x \) for \( -\frac{\pi}{2} \leq x \leq \frac{\pi}{2} \) and \( 0 \) elsewhere. Participants emphasize the application of the Fourier transform to simplify the problem, specifically noting that \( \cos t \) can be treated as a constant during the transformation. The resulting equation \( \frac{\partial U}{\partial t} + i\omega \cos t U = U \) is identified as a homogeneous ODE, with \( U(\omega, 0) = \hat f(\omega) \) representing the Fourier transform of the initial condition.

PREREQUISITES
  • Understanding of linear first-order ordinary differential equations (ODEs)
  • Familiarity with Fourier transforms and their application in solving differential equations
  • Knowledge of initial value problems and boundary conditions
  • Basic calculus, particularly integration techniques
NEXT STEPS
  • Study the method of solving linear first-order ODEs using integrating factors
  • Learn how to compute the Fourier transform of piecewise functions
  • Explore the properties of homogeneous ODEs and their solutions
  • Investigate the application of Fourier transforms in solving partial differential equations (PDEs)
USEFUL FOR

Mathematicians, physicists, and engineers who are working with differential equations, particularly those interested in applying Fourier transforms to solve initial value problems.

Markov2
Messages
149
Reaction score
0
Given $u_t+u_x\cos t=u.$

a) Find the solution with $u(x,0)=f(x).$
b) If $f(x)=\left\{\begin{array}{cl}\cos^2x,&\text{if }-\frac\pi2\le x\le\frac\pi2,\\
0,&\text{in the rest}.\end{array}\right.$
Describe $u(x,t)$ for $t\ge0.$

I have to use Fourier transform, but don't know how to apply it for $u_x\cos t.$ As for part b), I don't know how to describe $u(x,t).$
Thanks for the help!
 
Physics news on Phys.org
インテグラルキラー;439 said:
Given $u_t+u_x\cos t=u.$

a) Find the solution with $u(x,0)=f(x).$
b) If $f(x)=\left\{\begin{array}{cl}\cos^2x,&\text{if }-\frac\pi2\le x\le\frac\pi2,\\
0,&\text{in the rest}.\end{array}\right.$
Describe $u(x,t)$ for $t\ge0.$

I have to use Fourier transform, but don't know how to apply it for $u_x\cos t.$ As for part b), I don't know how to describe $u(x,t).$
Thanks for the help!

As in the other post if you apply Fourier Transform with respect to $x$ then treat $\cos t$ as just a constant.

To find Fourier transform of $f(x)$ you do the following:
$$ \hat f (\omega) = \int \limits_{-\infty}^{\infty} f(x) e^{-ix\omega } dx = \int \limits_{-\pi/2}^{\pi/2} \cos^2 x \cdot e^{-ix\omega} dx$$
The reason is that $f(x) = 0$ outside the interval $(-\pi/2,\pi/2)$ anyway, so you are only working on that interval.
 
So I have, $\dfrac{\partial U}{\partial t}+iwU\cos t=U,$ so this is a homogeneous ODE. So you actually applied Fourier transform to the initial condition, right?
 
Last edited:
インテグラルキラー;474 said:
So I have, $\frac{\partial U}{\partial t}+iwU\cos t=U,$ so this is a homogeneous ODE. So you actually applied Fourier transform to the initial condition, right?

Yes that is the differencial equation after hitting it with a Fourier transform.

Now as if $U(\omega,t)$ is Fourier transform of $u(x,t)$ then as $u(x,0) = f(x)$ it means that $U(\omega, 0) = \hat f(\omega)$.
Where $\hat f(\omega)$ is the Fourier transform of the initial condition $f(x)$.

So you have the equation,
$$ \frac{\partial U}{\partial t} + i\omega \cos t U = U \text{ and } U(\omega , 0 ) = \hat f(\omega) $$
 
I'm a bit stuck on solving the ODE, since $U=U(w,t)$ and $\cos(t)$ both depend of $t,$ how to proceed?
 
Markov said:
I'm a bit stuck on solving the ODE, since $U=U(w,t)$ and $\cos(t)$ both depend of $t,$ how to proceed?

Basically this is like an ODE with $\omega$ being a constant. Do you remember the formula for "linear-first order ODE's"?

How do you solve something like $y' + p(x)y = q(x)$. Remember the formula for that?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K