Solving DE Homework: g'(t) + ag(t) = \delta(t-\xi)

  • Thread starter Thread starter squenshl
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation g'(t) + ag(t) = δ(t−ξ), with the condition that g(t) = 0 for t < ξ. Participants are exploring methods to sketch the solution and verify its accuracy through operations on a test function.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss their attempts at solving the differential equation, noting the form of the solution involving the Heaviside function. Questions arise regarding how to sketch the solution and operate on a test function. There is mention of using software like Mathematica for plotting and testing the solution.

Discussion Status

Some participants have successfully sketched the solution and are considering how to investigate a test function. Guidance has been offered regarding the use of numerical methods and software tools to facilitate the exploration of the solution.

Contextual Notes

Participants are operating under the constraints of the original problem statement and are discussing the implications of the arbitrary constants in their solutions. The nature of the Dirac delta function and the Heaviside function is also a point of consideration in their discussions.

squenshl
Messages
468
Reaction score
4

Homework Statement


Solve, sketch & check it's accuracy by operating on a test function of g'(t) + ag(t) = [tex]\delta[/tex](t-[tex]\xi[/tex]), g(t) = 0, t < [tex]\xi[/tex]

Homework Equations





The Attempt at a Solution


I have solved it getting g(t) = c1e-at + ea([tex]\xi[/tex]-t)H(t-[tex]\xi[/tex]) where H(x) is the Heaviside function. How do I sketch this & operate it on a test function.
 
Physics news on Phys.org
squenshl said:

Homework Statement


Solve, sketch & check it's accuracy by operating on a test function of g'(t) + ag(t) = [tex]\delta[/tex](t-[tex]\xi[/tex]), g(t) = 0, t < [tex]\xi[/tex]

Homework Equations



The Attempt at a Solution


I have solved it getting g(t) = c1e-at + ea([tex]\xi[/tex]-t)H(t-[tex]\xi[/tex]) where H(x) is the Heaviside function. How do I sketch this & operate it on a test function.

You can plot it manually if you wish. Just choose some values for a and e and c. But why not, if you're studying DEs, learn how to work with them in Mathematica. Here's the code I would use to "sketch" it and use a "test" function with the solution. Try and figure out what I'm doing if you're interested:

Code:
e = 5;
a = 1;
mysol = y /. DSolve[y'[t] + a y[t] == DiracDelta[t - e], y, t] // First
Plot[mysol[t] /. C[1] -> 1, {t, 0, 5}]
 
I got the sketch, so do I investigate a test function in the usual way.
 
squenshl said:
I got the sketch, so do I investigate a test function in the usual way.

Hi. The act of solving it numerically implicitly generates a particular (test) solution to the DE. I mean you choose some values for a, e and the arbitrary integration constant, C[1], in my code, then run the numeric integrator NDSolve. That "creates" a numeric function which satisfies the DE.
 

Similar threads

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