Integral simplification with dummy variable s

  • Context: Graduate 
  • Thread starter Thread starter Xyius
  • Start date Start date
  • Tags Tags
    Integral Variable
Click For Summary
SUMMARY

The discussion focuses on solving a second-order ordinary differential equation (ODE) related to a wave equation with a time-dependent forcing term h(x,t). The method of variation of parameters is employed to find both the homogeneous and particular solutions. The participant initially derived a particular solution using integrals involving the dummy variable "s," but noted a discrepancy with the book's solution. Clarifications were provided on correctly using the dummy variable to express integrals, leading to a unified solution that aligns with the book's answer.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with the method of variation of parameters
  • Knowledge of integral calculus, specifically with dummy variables
  • Basic concepts of wave equations and time-dependent forcing terms
NEXT STEPS
  • Study the method of variation of parameters in detail
  • Learn about the use of dummy variables in integral calculus
  • Explore wave equations and their applications in physics
  • Practice solving second-order ODEs with various forcing functions
USEFUL FOR

Mathematicians, physicists, and engineering students who are working on differential equations, particularly those dealing with wave phenomena and time-dependent systems.

Xyius
Messages
501
Reaction score
4
Integral simplification with dummy variable "s"

I am looking at the derivation for the solution to solve the partial differential equation of a wave with a time-dependent forcing term h(x,t). In the derivation they get to a point where they need to solve the following second order ODE.

[tex]u''(t)+(\frac{\alpha n \pi}{L})^2u(t)=h(t)[/tex]

The method here would be variation of parameters. I obtained a homogeneous solution of..

[tex]c_1cos(\frac{\alpha n \pi}{L}t)+c_2sin(\frac{\alpha n \pi}{L}t)[/tex]
Which the book also got.
I got this for the particular solution after using variation of parameters...
[tex]\int h(t)cos(\frac{\alpha n \pi}{L}t)dt-\int h(t)sin(\frac{\alpha n \pi}{L}t)dt[/tex]

The book got..
[tex]\frac{L}{n \pi \alpha} \int^{t}_{0} h(s)sin[\frac{\alpha n \pi}{L}(t-s)]ds[/tex]

Now I know these must somehow be the same (unless I messed up using variation of parameters) but I am new to using a dummy variable "s" to simplify integrals like this. I have seen it a couple times but do not have much practice with it. If anyone could help me through this it would be great!

Thanks!
 
Physics news on Phys.org


Xyius said:
I am looking at the derivation for the solution to solve the partial differential equation of a wave with a time-dependent forcing term h(x,t). In the derivation they get to a point where they need to solve the following second order ODE.

[tex]u''(t)+(\frac{\alpha n \pi}{L})^2u(t)=h(t)[/tex]

The method here would be variation of parameters. I obtained a homogeneous solution of..

[tex]c_1cos(\frac{\alpha n \pi}{L}t)+c_2sin(\frac{\alpha n \pi}{L}t)[/tex]
Which the book also got.
I got this for the particular solution after using variation of parameters...
[tex]\int h(t)cos(\frac{\alpha n \pi}{L}t)dt-\int h(t)sin(\frac{\alpha n \pi}{L}t)dt[/tex]

The book got..
[tex]\frac{L}{n \pi \alpha} \int^{t}_{0} h(s)sin[\frac{\alpha n \pi}{L}(t-s)]ds[/tex]

Now I know these must somehow be the same (unless I messed up using variation of parameters) but I am new to using a dummy variable "s" to simplify integrals like this. I have seen it a couple times but do not have much practice with it. If anyone could help me through this it would be great!

Thanks!

I will use y for your dependent variable and rename your constant

[tex]k =\frac{\alpha n \pi}{L}[/tex]

[tex]y'' + k^2 y = h(t)[/tex]

and your homogeneous solution pair {sin(kt), cos(kt)}. OK so far. Now you looked for a particular solution

yp = u cos(kt) + v sin(kt)

and you should have gotten (I think you missed a k in the denominator which you can fix):

[tex]u' = -\frac{ h(t)\sin(kt)}{k},\ v' = \frac {h(t)\cos(kt)}{k}[/tex]

Now integrating to find u and v is where you can express the integrals as functions of the upper limit with a definite integral using a dummy variable for the integrand. Using 0 for the lower limit just affects the constant of integration but you are looking for any particular solution so you don't care. You could use any lower limit:

[tex]u(t) = \int_0^t -\frac{ h(s)\sin(ks)}{k}\, ds[/tex]

[tex]v(t) = \int_0^t \frac {h(s)\cos(ks)}{k}\, ds[/tex]

Now, remembering that yp = u cos(kt) + v sin(kt) you get

[tex]y_p = \cos(kt)\int_0^t -\frac{ h(s)\sin(ks)}{k}\, ds + \sin(kt)\int_0^t \frac {h(s)\cos(ks)}{k}\, ds[/tex]

Now you can rewrite that as one big integral with the 1/k out in front and the sin(kt) and cos(kt) inside the integrals because they don't depend on s and you will see an addition formula you should recognize, not to mention the book's answer.
 


Ohh! Thank you very much! I understand now :D
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K