Solve Piecewise Equation with Laplace

  • Thread starter CarbonWater
  • Start date
  • Tags
    Laplace
In summary: It was a typo. In summary, to solve the given initial value problem using Laplace transforms, the piecewise part of the equation can be rewritten in linear format and then transformed using the basic definition of Laplace transforms. This can be done by converting the given piecewise function into a Heaviside function and using the generalized form of the integral. Once the integral is solved, it can be used to solve the initial value problem.
  • #1
CarbonWater
20
0
Solve Piecewise Equation with Laplace (Problem Solved ty)

Homework Statement



Solve the initial value problem:

v''=(1/3)v-| sin t for t in [0,pi/2]
| 0 for t in [pi/2,infinity)

v(0)=v'(0)=0

Homework Equations



N/A

The Attempt at a Solution



First I rewrite the piecewise part of the equation in linear format:

v''=(1/3)v-sin(t)-sin(t)*u_(pi/2)

Next I need to apply transforms to both sides of the equations, but I'm stuck on:
sin(t)*u_(pi/2)

I don't see any table entry that would transform this...
 
Last edited:
Physics news on Phys.org
  • #2
I am confused as pi/2>1, then you would have a double RHS. Did you mean this?
 
  • #3
hunt_mat said:
I am confused as pi/2>1, then you would have a double RHS. Did you mean this?

I corrected the typo. Thanks.
 
  • #4
You could write the RHS as a Heviside function times sin t I suppose, that would convert it to an expression which can be laplace transformed.
 
  • #5
hunt_mat said:
You could write the RHS as a Heviside function times sin t I suppose, that would convert it to an expression which can be laplace transformed.

Does RHS mean right hand side?
 
  • #6
Yes, it's common shorthand.
 
  • #7
hunt_mat said:
Yes, it's common shorthand.

I thought I already attempted to write it as a heviside function in my attempt...
 
  • #8
Okay, I didn't understand your notation sorry, you're basically asking what is:

[tex]
\int_{0}^{\infty}e^{-st}H(t-\pi /2)\sin tdt
[/tex]

Right? All the rest you can do? Well the above integral is just:

[tex]
\int_{0}^{\infty}e^{-st}H(t-\pi /2)\sin tdt=\int_{0}^{\frac{\pi}{2}}e^{-st}\sin tdt
[/tex]

Can you do it now?
 
Last edited:
  • #9
CarbonWater said:

Homework Statement



Solve the initial value problem:

v''=(1/3)v-| sin t for t in [0,pi/2]
| 0 for t in [pi/2,infinity)

v(0)=v'(0)=0

Homework Equations



N/A

The Attempt at a Solution





First I rewrite the piecewise part of the equation in linear format:

v''=(1/3)v-sin(t)-sin(t)*u_(pi/2)

Next I need to apply transforms to both sides of the equations, but I'm stuck on:
sin(t)*u_(pi/2)

I don't see any table entry that would transform this...

If g(t) = sin(t) for 0<= t <= pi/2 and g(t) = 0 for t > pi/2, then its Laplace transform L(g)(s) Iis integral{ sin(t)*exp(-s*t) dt, t = 0 .. pi/2}. You can do this integral easily enough. It is the type of thing you got for homework in calculus 101; or, you can consult a table of integrals (for the indefinite integral) or submit it to an on-line integrator, such as
http://integrals.wolfram.com/index.jsp .

RGV
 
  • #10
Thanks hunt and ray, I forgot about about the basic definition of the laplace transform. With that said, I don't remember doing any examples using heaviside functions with the basic definition. Is there a generalized form of hunt's second equation?
 
  • #11
Yes, it is given by:

[tex]
\int_{0}^{\infty}e^{-st}H(t-\alpha )f(t)dt=\int_{0}^{\alpha}e^{-st}f(t)dt
[/tex]

But I am sure that you couls have figured this out for yourself.
 
  • #12
hunt_mat said:
Yes, it is given by:

[tex]
\int_{0}^{\infty}e^{-st}H(t-\alpha )f(t)dt=\int_{0}^{\alpha}e^{-st}f(t)dt
[/tex]

But I am sure that you couls have figured this out for yourself.

I think you had a typo in your previous post which is what was confusing me. (2pi instead of pi/2) Thanks for the help.
 
  • #13
Thanks for pointing this out.
 

1. What is a piecewise equation?

A piecewise equation is a mathematical function that is defined by different equations for different intervals or "pieces" of the domain.

2. How do you solve a piecewise equation with Laplace?

To solve a piecewise equation with Laplace, you can use the Laplace transform to convert the piecewise function into a single equation and then solve for the unknown variable.

3. What is the Laplace transform?

The Laplace transform is a mathematical operation that converts a function of time into a function of complex frequency, making it easier to solve certain types of differential equations.

4. Can you provide an example of solving a piecewise equation with Laplace?

Sure, for example, let's say we have the piecewise function f(x) = {2x, x < 1; 3, x >= 1}. We can take the Laplace transform of this function to get F(s) = 2/s + 3e^-s. We can then use inverse Laplace transform to get back to the original function f(x).

5. What are the benefits of using Laplace transform to solve piecewise equations?

Laplace transform allows us to simplify complex functions and solve differential equations that would be difficult or impossible to solve using traditional methods. It also has many applications in engineering, physics, and other fields.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
85
  • Calculus and Beyond Homework Help
Replies
1
Views
98
  • Calculus and Beyond Homework Help
Replies
6
Views
386
  • Calculus and Beyond Homework Help
Replies
5
Views
266
  • Calculus and Beyond Homework Help
Replies
3
Views
413
  • Calculus and Beyond Homework Help
Replies
1
Views
340
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
913
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
120
Back
Top