Laplace transform of a piecewise function

Click For Summary
SUMMARY

The discussion focuses on calculating the Laplace transform of a piecewise function defined as f(x)=1 for x in the intervals [0,1], [2,3], [4,5], and so on, with f(x)=0 otherwise. The Laplace transform is expressed as \(\mathbb{L} [f(x)]=\int _0 ^{\infty} e^{-sx}f(x)dx\). The solution involves summing the transforms over the specified intervals, leading to the expression \(\mathbb{L} [f(x)] = \frac{1}{s} \sum _{n=0}^{\infty} (-1)^n e^{-ns}\). The final closed form of the solution is \(\frac{1}{s(1+e^{-s})}\), which was clarified through the discussion.

PREREQUISITES
  • Understanding of Laplace transforms and their definitions
  • Familiarity with piecewise functions and their properties
  • Knowledge of infinite series and convergence
  • Basic calculus, specifically integration techniques
NEXT STEPS
  • Study the properties of Laplace transforms in detail
  • Learn about convergence criteria for infinite series
  • Explore applications of Laplace transforms in solving differential equations
  • Investigate advanced techniques for simplifying piecewise functions
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are working with Laplace transforms, particularly in the context of piecewise functions and series convergence.

fluidistic
Gold Member
Messages
3,934
Reaction score
286

Homework Statement


I must calculate the Laplace transform of the following function:
[itex]f(x)=1[/itex] for [itex]x \in [0,1] \cap [2,3] \cap [4,5] \cap[/itex] ... , [itex]f(x)=0[/itex] otherwise.


Homework Equations


The Laplace transform is [itex]\mathbb{L} [f(x)]=\int _0 ^{\infty} e^{-sx}f(x)dx[/itex].


The Attempt at a Solution


I've applied the formula of the definition of the Laplace transform to the function. It gave me [itex]\mathbb{L} [f(x)] = \int _0 ^1 e^{-sx}dx+\int _2 ^3 e^{-sx}dx+... =\left ( -\frac{1}{s} \right ) (e^{-s\cdot 1} - e^{-s\cdot 0}+e^{-3s}-e^{-2s}+...)=\frac{1}{s} \sum _{n=0}^{\infty} (-1)^n e^{-ns}[/itex].
What bothers me is that I don't recognize any closed form for this solution, hence the doubt of weather I'm right so far and if I'm missing any simplification.
Any input will be happily received.
 
Physics news on Phys.org
fluidistic said:

Homework Statement


I must calculate the Laplace transform of the following function:
[itex]f(x)=1[/itex] for [itex]x \in [0,1] \cap [2,3] \cap [4,5] \cap[/itex] ... , [itex]f(x)=0[/itex] otherwise.


Homework Equations


The Laplace transform is [itex]\mathbb{L} [f(x)]=\int _0 ^{\infty} e^{-sx}f(x)dx[/itex].


The Attempt at a Solution


I've applied the formula of the definition of the Laplace transform to the function. It gave me [itex]\mathbb{L} [f(x)] = \int _0 ^1 e^{-sx}dx+\int _2 ^3 e^{-sx}dx+... =\left ( -\frac{1}{s} \right ) (e^{-s\cdot 1} - e^{-s\cdot 0}+e^{-3s}-e^{-2s}+...)=\frac{1}{s} \sum _{n=0}^{\infty} (-1)^n e^{-ns}[/itex].
What bothers me is that I don't recognize any closed form for this solution, hence the doubt of weather I'm right so far and if I'm missing any simplification.
Any input will be happily received.
I think you mean ##x \in [0,1] \cup [2,3] \cup \cdots ##. According to what you wrote, f(x)=0 for all x, so F(s)=0.

You can write
$$\sum_{n=0}^\infty (-1)^n e^{-ns} = \sum_{n=0}^\infty (-e^{-s})^n.$$ You should recognize the form of that series.
 
vela said:
I think you mean ##x \in [0,1] \cup [2,3] \cup \cdots ##. According to what you wrote, f(x)=0 for all x, so F(s)=0.
Yes. :blushing:
You can write
$$\sum_{n=0}^\infty (-1)^n e^{-ns} = \sum_{n=0}^\infty (-e^{-s})^n.$$ You should recognize the form of that series.
I see, so the answer would be [itex]\left ( \frac{1}{s} \right ) \left ( \frac{1}{1+e^{-s}} \right )[/itex] right?
Thanks a million for your help!
 

Similar threads

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