How to Solve Initial Value Problem using Heaviside Functions

Click For Summary

Homework Help Overview

The discussion revolves around an initial value problem involving a second-order differential equation with a piecewise function defined by Heaviside step functions. The problem includes conditions for the function and its derivatives at zero and explores the implications of varying a parameter within specified bounds.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the representation of the piecewise function using Heaviside functions and compare different formulations. There is an attempt to clarify the relationship between the two forms of the Heaviside function representation. Questions arise regarding the transition from the Heaviside representation to solving the initial value problem.

Discussion Status

Participants are actively exploring the formulation of the piecewise function and its implications for solving the differential equation. Some guidance has been offered regarding breaking the problem into two parts based on the parameter k, but no consensus has been reached on the best approach to proceed with the solution.

Contextual Notes

The problem is constrained by the conditions of the initial value problem and the specific range for the parameter k, which is between 0 and 4. Participants are also considering the independence of the area under the graph of the piecewise function from the parameter k.

danj303
Messages
15
Reaction score
0

Homework Statement



Consider the initial value problem

y'' + 1/3y' + 4y = fk(t)

with y(0) = y'(0) = 0,

fk(t) = piecewise function 1/2k if 4 - k <= t < 4 + k
0 otherwise

and 0 < k < 4


(a) Sketch the graph of fk(t). Observe that the area under the graph is independent of k.
(b) Write fk(t) in terms of Heaviside step functions and then solve the initial value problem.
(c) Plot the solution for k = 2, k = 1 and k = 1/2. Describe how the solution depends on k.

The Attempt at a Solution



I can sketch the graph fine etc, just struggling with putting fk(t) in terms of a heaviside function and then solving the initial value problem


I tried on maple and it gave me a heaviside function

(1/2k)*Heaviside(t-4+k)-(1/2k)*Heaviside(t-4+k)*Heaviside(t-4-k)

But by my calculation it should be

(1/2k)*Heaviside(t-4+k)-(1/2k)*Heaviside(t-4-k)


Thanks for any help!
 
Physics news on Phys.org
If you plot the two different combinations of the Heaviside functions you will notice, that both are identical.
The one from Maple just has an additional redundant factor.
 
That makes sence. So how do I go from that to solving the initial value problem??
 
The simplest way is to do it as two separate problems.

For 0< k< 4, 0< 4-k < k so first solve
y'' + (1/3)y' + 4y = 1/(2k), y(0)= y'(0)= 0

Use that solution to find A= y(k) and B= y'(k)

Then solve
y"+ (1/3)y'+ 4y= 0, y(k)= A, y'(k)= B.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
2K
Replies
8
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K