Melissa's question at Yahoo Answers regarding solving a linear first order ODE

Click For Summary
SUMMARY

The discussion focuses on solving the first order linear ordinary differential equation (ODE) given by df/dy + f(y) = sin(2y). The integrating factor is calculated as μ(y) = e^y, which transforms the ODE into a form suitable for integration. The solution involves using integration by parts to evaluate the integral of e^y sin(2y), leading to the general solution f(y) = (sin(2y) - 2cos(2y))/5 + c1e^(-y), where c1 is a constant of integration.

PREREQUISITES
  • Understanding of first order linear ordinary differential equations
  • Familiarity with integrating factors in ODEs
  • Knowledge of integration techniques, specifically integration by parts
  • Basic concepts of dependent and independent variables in differential equations
NEXT STEPS
  • Study the method of integrating factors for solving linear ODEs
  • Learn advanced integration techniques, including multiple applications of integration by parts
  • Explore the theory behind ordinary differential equations and their applications
  • Investigate the use of differential equations in modeling real-world phenomena
USEFUL FOR

Students, mathematicians, and engineers who are working with differential equations, particularly those seeking to deepen their understanding of first order linear ODEs and their solutions.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Solve this differential Equation: df/dy(t) + f(y) =sin(2y)?

df/dy(t) + f(y) =sin(2y)

I'm really stuck on how to start this differential equation. Thanks!

Here is a link to the original question:

Solve this differential Equation: df/dy(t) + f(y) =sin(2y)? - Yahoo! Answers

I have posted a link there to this topic so the OP can find my response.
 
Physics news on Phys.org
We are given to solve the first order linear ODE:

$\displaystyle \frac{df}{dy}+f(y)=\sin(2y)$

I am assuming $\displaystyle f$ is the dependent variable and $\displaystyle y$ is the independent variable, and that the (t) is a typo.

We may begin by calculating our integrating factor $\displaystyle \mu(y)$:

$\displaystyle \mu(y)=e^{\int\,dy}=e^y$

Multiply the ODE by the integrating factor:

$\displaystyle e^y\frac{df}{dy}+f(y)e^y=e^y\sin(2y)$

Now, we may rewrite the left side as the differentiation of a product:

$\displaystyle \frac{d}{dy}\left(e^yf \right)=e^y\sin(2y)$

Integrate with respect to $\displaystyle y$:

$\displaystyle \int\frac{d}{dy}\left(e^yf \right)\,dy=\int e^y\sin(2y)\,dy$

On the right side, we may use integration by parts:

$\displaystyle u=\sin(2y)\,\therefore\,du=2\cos(2y)\,dy$

$\displaystyle dv=e^y\,dy\,\therefore\,v=e^y$

and so we may state:

$\displaystyle I=\int e^y\sin(2y)\,dy=e^y\sin(2y)-2\int e^y\cos(2y)\,dy$

Now, using integration by parts again:

$\displaystyle u=\cos(2y)\,\therefore\,du=-2\sin(2y)\,dy$

$\displaystyle dv=e^y\,dy\,\therefore\,v=e^y$

and we have:

$\displaystyle I=e^y\sin(2y)-2\left(e^y\cos(2y)+2\int e^y\sin(2y)\,dy \right)$

$\displaystyle I=e^y\sin(2y)-2e^y\cos(2y)-4I$

Solve for $\displaystyle I$:

$\displaystyle I=\frac{e^y(\sin(2y)-2\cos(2y))}{5}+c_1$

Now, back to integrating the ODE, we have:

$\displaystyle e^yf=\frac{e^y(\sin(2y)-2\cos(2y))}{5}+c_1$

Hence, the general solution is given by:

$\displaystyle f(y)=\frac{\sin(2y)-2\cos(2y)}{5}+c_1e^{-y}$
 
Last edited:

Similar threads

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