Differential Equation, Solve for function

Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order linear differential equation involving a sinusoidal forcing function. The original poster presents their work using the Laplace transform to find the solution for the function x(t) given initial conditions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the application of the Laplace transform and the subsequent algebraic manipulations. Questions arise regarding the equivalence of different expressions and the validity of factoring techniques. Some participants suggest using partial fraction decomposition to simplify the expression further, while others express concerns about the complexity of this method.

Discussion Status

The conversation is ongoing, with participants exploring various methods to approach the problem. Some guidance has been offered regarding the use of partial fractions and alternative methods such as convolution. However, there is no explicit consensus on the best approach yet.

Contextual Notes

Participants note the potential difficulty in resolving the expressions into partial fractions and question the appropriateness of the Laplace transform for this problem. There is also mention of the method of undetermined coefficients as an alternative approach, indicating a variety of strategies being considered.

GreenPrint
Messages
1,186
Reaction score
0

Homework Statement



Given

\frac{dx}{dt} + ax = Asin(ωt), x(0) = b

Solve for x(t)

Homework Equations


The Attempt at a Solution



I take the Laplace transform of both sides and get

sX(s) - x(0) + aX(s) = \frac{Aω}{s^{2} + ω^{2}}
X(s) = \frac{b}{s + a} + \frac{Aω}{(s^{2} + ω^{2})(s+1)}

The solution then state that the expression above is equal to

(b + \frac{ωA}{a^{2}+ω^{2}})\frac{1}{s + a} + \frac{aA}{a^{2} + ω^{2}}\frac{ω}{s^{2} + ω^{2}} - \frac{ωA}{a^{2} + ω^{2}}\frac{s}{s^{2} + ω^{2}}

I don't know how the two expressions are equal to each other or were \frac{aA}{a^{2} + ω^{2}}\frac{ω}{s^{2} + ω^{2}} - \frac{ωA}{a^{2} + ω^{2}}\frac{s}{s^{2} + ω^{2}} came from. I believe that \frac{b}{s + a} + \frac{Aω}{(s^{2} + ω^{2})(s+a)} = (b + \frac{ωA}{a^{2}+ω^{2}})\frac{1}{s + a} as it's just factoring. So then if this is true than \frac{aA}{a^{2} + ω^{2}}\frac{ω}{s^{2} + ω^{2}} = \frac{ωA}{a^{2} + ω^{2}}\frac{s}{s^{2} + ω^{2}}, which I don't see how that's true.

Thanks for any help.
 
Physics news on Phys.org
GreenPrint said:

Homework Statement



Given

\frac{dx}{dt} + ax = Asin(ωt), x(0) = b

Solve for x(t)

Homework Equations





The Attempt at a Solution



I take the Laplace transform of both sides and get

sX(s) - x(0) + aX(s) = \frac{Aω}{s^{2} + ω^{2}}
X(s) = \frac{b}{s + a} + \frac{Aω}{(s^{2} + ω^{2})\color{red}{(s+a)}}

The solution then state that the expression above is equal to...

I think you meant ##s+a## where I have corrected in red. I didn't bother to work through your next calculations. This is going to be messy even without any mistakes. What the author surely did was use the standard procedure of partial fractions to break up that last fraction:$$
\frac{Aω}{(s^2 + ω^2)(s+a)}= \frac C {s+a} + \frac{Ds+E}{s^2+\omega^2}$$Use your calculus partial fraction methods to solve for ##C,D,E##. They will be a bit messy and if neither you nor the author made any mistakes it should work. That last fraction is easy enough to take the inverse transform. I would inverse just as it stands first, then substitute the values for ##C,D##, and ##E## in your answer.

I should comment that LaPlace transforms is an terrible way to work this problem. I'm assuming you were asked to do it that way or I would have a rather different hint.
 
Last edited:
How would you recommend solving this problem then, if there's a much easier way to solve this than I would like to know how that can be done. Resolving that into partial fractions is very difficult to do.
 
Another way of inverting the second term is to use convolution, especially with the s+a term there in the denominator.
 
GreenPrint said:
How would you recommend solving this problem then, if there's a much easier way to solve this than I would like to know how that can be done. Resolving that into partial fractions is very difficult to do.

The method of undertermined coefficients suggests a solution of the form
<br /> x(t) = Be^{-at} + C\cos \omega t + D \sin \omega t<br />
for some constants B, C and D.
 
GreenPrint said:
How would you recommend solving this problem then, if there's a much easier way to solve this than I would like to know how that can be done. Resolving that into partial fractions is very difficult to do.

It's a constant coefficient equation. I would have recommended the same as pasmith did above.
 

Similar threads

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