How to Solve the Differential Equation x'=x+sin(t)?

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation \( x' = x + \sin(t) \). Participants explore different methods of integration and manipulation of the equation, focusing on the steps involved in finding a general solution.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant rewrites the equation as \( x' - x = \sin(t) \) and proposes a solution using integrating factors.
  • Another participant confirms the integration steps and presents a solution that matches a computational tool's output.
  • There is a question regarding the distribution of the \( \frac{1}{2} \) in the integrated result, indicating a potential point of confusion or disagreement.
  • A subsequent reply reiterates the question about the distribution of \( \frac{1}{2} \), suggesting differing interpretations of the integration process.

Areas of Agreement / Disagreement

Participants express differing views on the handling of the \( \frac{1}{2} \) term in the solution, indicating that there is no consensus on this aspect of the integration process.

Contextual Notes

The discussion includes unresolved details regarding the integration steps and the treatment of constants, which may affect the final expression for the solution.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
Solve the differential equation
$x'=x+\sin(t)$
ok this uses x rather than y which threw me off
so rewrite as
$x'-x=\sin(t)$
thus $u(t)=e^{-t}$
$e^{-t}x'-e^{-t}x=e^{-t}\sin{t}$
and
$(e^{-t}x)'=e^{-t}\sin{t}$
intergrate thru
$\displaystyle e^{-t}x=\int {e^{-t} \sin(t)} dt = -1/2 e^{-t}\sin(t) - 1/2 e^{-t} \cos(t) +e^{-t} c$
divide thru
$\displaystyle x(t)=-\frac{\sin t}{2}-\frac{\sin t}{2}+ce^t$ok well typos probably

W|A returned $\displaystyle x(t) = c_1 e^t - \frac{\sin(t)}{2} - \frac{cos(t)}{2}$
 
Last edited:
Physics news on Phys.org
Let's back up to:

$$\frac{d}{dt}\left(e^{-t}x\right)=e^{-t}\sin(t)$$

Now, when we integrate, we get:

$$e^{-t}x=-\frac{1}{2}e^{-t}\left(\sin(t)+\cos(t)\right)+c_1$$

Hence:

$$x(t)=c_1e^t-\frac{1}{2}\left(\sin(t)+\cos(t)\right)$$

This is equivalent to W|A returned. :)
 
Isn't the 1/2 distributed?
 
karush said:
Isn't the 1/2 distributed?

You could if you want. I chose not to.
 

Similar threads

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