Can you find a continuous solution to this differential equation?

  • Thread starter Thread starter Chris L T521
  • Start date Start date
Click For Summary
SUMMARY

The differential equation presented is \(\frac{dy}{dx}+2y=f(x)\) with the piecewise function \(f(x)=\begin{cases}1, & 0\leq x\leq 3\\ 0, & x>3\end{cases}\). Sudharaka provided the correct continuous solution, while Deveno also contributed valuable insights. MarkFL received an honorable mention for his nearly complete solution, indicating the importance of attention to detail in solving differential equations.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with piecewise functions
  • Knowledge of integrating factors
  • Basic calculus concepts, including differentiation and integration
NEXT STEPS
  • Study the method of integrating factors for solving linear differential equations
  • Explore piecewise function analysis in calculus
  • Practice solving first-order differential equations with varying boundary conditions
  • Review examples of continuous solutions to differential equations in mathematical literature
USEFUL FOR

Mathematics students, educators, and professionals involved in differential equations, particularly those seeking to enhance their problem-solving skills in continuous solutions.

Chris L T521
Gold Member
MHB
Messages
913
Reaction score
0
Thanks to those who participated in last week's POTW! Here's this week's problem!

-----

Problem: Find a continuous solution to the following differential equation:

\[\frac{dy}{dx}+2y=f(x);\qquad f(x)=\begin{cases}1, & 0\leq x\leq 3\\ 0, & x>3\end{cases}\]

-----

 
Physics news on Phys.org
This week's question was correctly answered by Sudharaka and Deveno (MarkFL gets honorable mention - most of his solution was correct, but missed a thing or two). You can find Sudharaka's solution below.

When \(0\leq x\leq 3\) we have,

\[\frac{dy}{dx}+2y=1\]

\[\Rightarrow y_1 (x)=Ae^{-2x}+\frac{1}{2}\mbox{ where }A\mbox{ is an arbitrary constant.}\]

When \(x>3\) we have,

\[\frac{dy}{dx}+2y=0\]

\[\Rightarrow y_2 (x)=Be^{-2x}\mbox{ where }B\mbox{ is an arbitrary constant.}\]

Since the solution should be a continuous function,

\[y_1 (3)=\lim_{x\rightarrow 3^+}y_2 (x)\]

\[\Rightarrow y_1 (3)=y_2 (3)\]

\[\Rightarrow B=A+\frac{e^6}{2}\]

Therefore the solution for the differential equation is,

\[y(x)=\begin{cases}Ae^{-2x}+\frac{1}{2}&\mbox{ when } 0\leq x\leq 3\\Ae^{-2x}+\frac{e^{-2x+6}}{2} &\mbox{ when } x>3\end{cases}\]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K