Laplace Transform Problem - Peacewise Functions

Click For Summary

Discussion Overview

The discussion revolves around solving a differential equation involving a piecewise function defined by f(t). The participants explore the application of the Laplace transform to this problem, which includes a function that changes its definition at t = π/2.

Discussion Character

  • Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • Julie presents a differential equation y'' - y = f(t) with initial conditions and a piecewise function f(t) defined as 1 for 0 ≤ t < π/2 and sin(t) for t ≥ π/2.
  • Some participants suggest using the Heaviside (unit step) function to rewrite f(t) for the purpose of applying the Laplace transform.
  • There is contention regarding the correct formulation of f(t) in terms of the Heaviside function, with different expressions proposed by participants.
  • One participant argues that the function cannot simply equal 1 for all t and emphasizes the need for the correct form to obtain the Laplace transform.
  • Another participant corrects a previous claim about the formulation of f(t), stating that it should involve subtracting 2 from sin(t) instead of 1 to avoid misrepresentation of the function.
  • There are ongoing issues with LaTeX formatting, leading to confusion in the presentation of mathematical expressions.

Areas of Agreement / Disagreement

Participants do not reach consensus on the correct formulation of the piecewise function f(t) for the Laplace transform, with multiple competing views and corrections being proposed throughout the discussion.

Contextual Notes

There are unresolved issues regarding the proper mathematical representation of the piecewise function and the application of the Laplace transform, as well as limitations in the LaTeX formatting used in the discussion.

bathtub2007
Messages
2
Reaction score
0
Okay so this problem has been giving me nightmares ever since I laid eyes on it.


The problem: y'' - y = f(t), y(0) = 1, y'(0) = 0

f(t) = 1, 0 (less than equal to) t (less than) pi/2
f(t) = sin(t), t (greater than equal to) pi/2



Any help would be appreciated putting me in the right direction.

Thank you in advance.


--Julie
 
Physics news on Phys.org
I think the best way forward would be:

1-1.jpg
 
except f(t) isn't 1, read the post again. for piecewise functions use the unit step (heaviside) function.
 
You can rewrite f(t) in terms of the heaviside function as matticus said, then perform the transform.

f(t)=1+H(t-\frac{\pi}{2})+\left(sin(t)-1\right)H(t-\frac{\pi}{2})

Edit since latex isn't working...

f(t)=1+H(t-[pi/2])+[sin(t)-1]*H(t-[pi/2])

where H(t-[pi/2]) denotes the unit step function.
 
Hi I was thinking about the same approach as xfunctionx.

Please advise to see whether his approach is correct or not.

Thanks
 
maths.tuition welcome to PF.

If you are speaking of doing the same thing that xfunctionx did for bathtub's differential equation that would be wrong

f(t) = 1, 0 (less than equal to) t (less than) pi/2
f(t) = sin(t), t (greater than equal to) pi/2

does not simply equal 1 for all t, please note I already stated the proper form of the function(in terms of the unit step function) to get the the laplace transform for f(t)

"f(t)=1+H(t-[pi/2])+[sin(t)-1]*H(t-[pi/2])"
 
Last edited:
djeitnstine said:
maths.tuition welcome to PF.

If you are speaking of doing the same thing that xfunctionx did for bathtub's differential equation that would be wrong

f(t) = 1, 0 (less than equal to) t (less than) pi/2
f(t) = sin(t), t (greater than equal to) pi/2

does not simply equal 1 for all t, please note I already stated the proper form of the function(in terms of the unit step function) to get the the laplace transform for f(t)

"f(t)=1+H(t-[pi/2])+[sin(t)-1]*H(t-[pi/2])"

I think this last expression is wrong. Musn't this be:

L\left{H(t)-H\left(t-\frac{\pi}{2}\right)+sin(t)H\left(t-\frac{\pi}{2}\right)\right}= L\left{H(t)-H\left(t-\frac{\pi}{2}\right)+cos\left(t-\frac{\pi}{2}\right)H\left(t-\frac{\pi}{2}\right)\right}

There seems to be something definitely wrong with the latex generation, it keeps posting things from older replies of other posts of me

coomast
 
You are right the correct function is

f(t)=1+H(t-[pi/2])+[sin(t)-2]*H(t-[pi/2])

one had to subtract 2 from sin and not 1 or else you would be left with 2-1+sin{t} = 1+sin(t)

thanks for catching that mistake
 
djeitnstine said:
You are right the correct function is

f(t)=1+H(t-[pi/2])+[sin(t)-2]*H(t-[pi/2])

one had to subtract 2 from sin and not 1 or else you would be left with 2-1+sin{t} = 1+sin(t)

thanks for catching that mistake

OK, next attempt for a good latex formula. I think it is still not OK, I got:

L\left[H(t)-H\left(t-\frac{\pi}{2}\right)+sin(t)H\left(t-\frac{\pi}{2}\right)\right]= L\left[H(t)-H\left(t-\frac{\pi}{2}\right)+cos\left(t-\frac{\pi}{2}\right)H\left(t-\frac{\pi}{2}\right)\right]

coomast
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
10K