Find solution that satifies the differential equations and has a specific form

In summary, the conversation discusses finding a solution $\phi$ that satisfies $y''=0$ in the interval $I=(0,1)$ and has a continuous derivative in $\mathbb{R}$. The solution is derived using the given conditions and has the form $\phi(x)=e^{ikx}+Ae^{-ikx}$ for $x \leq 0$ and $\phi(x)=Be^{ikx}$ for $x \geq 1$, where $A$ and $B$ are constants derived from the conditions. The correctness of the solution is confirmed at the end of the conversation.
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! (Smile)

I am looking at the following exercise:

Let $I=(0,1)$. Find the solution $\phi$ that has a continuous derivative in $\mathbb{R}$ and satisfies :

$$y''=0 \text{ in } I \\y''+k^2y=0 \text{ apart from } I, \text{ where } k>0$$

and furthermore $\phi$ has the form:

$\phi(x)=\left\{\begin{matrix}
e^{ikx}+Ae^{-ikx} &, x \leq 0 \\
Be^{ikx} & , x \geq 1
\end{matrix}\right.$That's what I have tried:
$$y''=0 \text{ in } I$$
$$\Rightarrow y'=c_1 \Rightarrow y(x)=c_1 x+c_2, x \in I, c_1, c_2 \in \mathbb{R}$$Since $\phi$ satisfies $y''=0$ in $I$ it holds that $\phi(x)=c_1 x+ c_2, x \in I$.$\phi$ has a continuous derivative in $\mathbb{R}$. So we have the following:$$\lim_{x \to 1^{-}} \phi(x)=\lim_{x \to 1^{+}} \phi(x) \Rightarrow \lim_{x \to 1^{-}} (c_1 x+c_2)=\lim_{x \to 1^{+}} B e^{ikx} \Rightarrow c_1+c_2=Be^{ik} \\ \Rightarrow B=e^{-ik} (c_1+c_2) $$

$$\lim_{x \to 0^{-}} \phi(x)=\lim_{x \to 0^{+}} \phi(x) \Rightarrow \lim_{x \to 0^{-}} (e^{ikx}+Ae^{-ikx})=\lim_{x \to 0^{+}} (c_1x+c_2) \Rightarrow 1+A=c_2 $$

$$\lim_{x \to 0^{-}} \phi'(x)=\lim_{x \to 0^{+}} \phi'(x) \Rightarrow \lim_{x \to 0^{-}} (ik e^{ikx}-Aik e^{-ikx})= \lim_{x \to 0^{+}} c_1 \Rightarrow c_1=ik-Aik=(1-A) ik$$

$$\lim_{x \to 1^{-}} \phi'(x)=\lim_{x \to 1^+} \phi'(x) \Rightarrow \lim_{x \to 1^{-}} c_1=\lim_{x \to 1^+} Bik e^{ikx} \Rightarrow c_1=Bik $$So we get:

$$Bik=(1-A) ik \Rightarrow B=1-A$$

$$B=e^{-ik} (Bik+1+A) \Rightarrow 1-A=e^{-ik} ((1-A)ik+1+A) \\ \Rightarrow 1-A=e^{-ik} ik-Aik e^{-ik}+1+A \Rightarrow A(2-ike^{-ik})=-e^{-ik} ik \Rightarrow A=\frac{-e^{-ik} ik}{2-ike^{-ik}} \\ \Rightarrow A=\frac{k^2 e^{-2ik}-2ik e^{-ik}}{4+k^2 e^{-2ik}}$$$$B=1-A=1-\frac{k^2 e^{-2ik}-2ik e^{-ik}}{4+k^2 e^{-2ik}}=\frac{4+2ike^{-ik}}{4+k^2 e^{-2ik}}$$
Thus:

$\phi(x)=\left\{\begin{matrix}
e^{ikx}+ \frac{k^2 e^{-2ik}-2ik e^{-ik}}{4+k^2 e^{-2ik}}e^{-ikx} &, x \leq 0 \\
\frac{4+2ike^{-ik}}{4+k^2 e^{-2ik}}e^{ikx} & , x \geq 1 \\
\left(\frac{4+2ike^{-ik}}{4+k^2 e^{-2ik}} \right)ikx+ \frac{2-2ik e^{-ikx}}{2-ik e^{-ik}}
\end{matrix}\right.$
Could you tell me if it is right or if I have done something wrong? (Thinking)
 
Physics news on Phys.org
  • #2
Yes, it looks like you have the correct solution. You have correctly used the conditions to derive the constants $A$ and $B$. Well done!
 

FAQ: Find solution that satifies the differential equations and has a specific form

How do you find a solution that satisfies a differential equation?

To find a solution that satisfies a differential equation, you need to use mathematical techniques such as separation of variables, integrating factors, or variation of parameters. You can also use numerical methods such as Euler's method or Runge-Kutta method to approximate the solution.

What is the specific form of a solution to a differential equation?

The specific form of a solution to a differential equation depends on the type of differential equation. It can be a polynomial, exponential, trigonometric, or a combination of these functions. The specific form is determined by the coefficients and initial conditions of the differential equation.

Can a differential equation have more than one solution?

Yes, a differential equation can have multiple solutions. This is because the solution to a differential equation is not unique and can be affected by the initial conditions and boundary conditions.

How do you determine if a solution to a differential equation is valid?

To determine the validity of a solution to a differential equation, you need to substitute the solution into the original equation and verify that it satisfies the equation. Additionally, the solution must also satisfy any given initial or boundary conditions.

Can a computer be used to find a solution to a differential equation?

Yes, a computer can be used to find a solution to a differential equation. There are various software programs and numerical methods that can be used to solve differential equations. However, it is important to note that the results obtained from a computer may be an approximation and not an exact solution.

Similar threads

Replies
6
Views
2K
Replies
15
Views
3K
Replies
28
Views
4K
Replies
2
Views
2K
Replies
25
Views
4K
Replies
2
Views
1K
Replies
5
Views
2K
Replies
4
Views
2K
Back
Top