Easy laplace conversion from s to t-domain gone wrong

  • Thread starter Twinflower
  • Start date
  • Tags
    Laplace
I like the \Longrightarrow type the best.RGVIn summary, the conversation discusses the process of converting a function from the Laplace domain to the time domain using partial fraction decomposition. The correct approach involves factoring the denominator, setting up partial fractions, determining the values of the coefficients, and then converting back to the time domain. The incorrect approach of simply dividing by s does not account for the necessary steps and will result in an incorrect solution. The use of proper notation, such as L^{-1} for the inverse transform, and curly brackets for exponents is also important.
  • #1
Twinflower
109
0

Homework Statement



[tex]I(s)=\frac{2}{s^2 + s}[/tex]

Convert this to the time domain

The Attempt at a Solution



Step 1 - Divide by s
[tex]I(s)=\frac{\frac{2}{s}}{s + 1}[/tex]

Step 2 - Substract and add 1 to create new fractions
[tex]I(s)=\frac{\frac{2}{s}-1+1}{s + 1}[/tex]

Step 3 - Split into new fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{1}{s + 1} + \frac{1}{s + 1}[/tex]

Step 4 - Contract the two newbie fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{2}{s + 1}[/tex]

Step 5: Split up the first fraction
[tex]I(s)=\frac{2}{s} \frac{1}{s + 1} - \frac{2}{s + 1}[/tex]


Step 6 - Convert to time domain
[tex]i(t)=2e^{-t}-e^{-t}[/tex]

BUT, this is not correct. It should be: [itex] 2-2e^{-t}[/itex]

What is wrong in my approach here?
 
Physics news on Phys.org
  • #2
Twinflower said:

Homework Statement



[tex]I(s)=\frac{2}{s^2 + s}[/tex]

Convert this to the time domain

The Attempt at a Solution



Step 1 - Divide by s
[tex]I(s)=\frac{\frac{2}{s}}{s + 1}[/tex]

Step 2 - Substract and add 1 to create new fractions
[tex]I(s)=\frac{\frac{2}{s}-1+1}{s + 1}[/tex]

Step 3 - Split into new fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{1}{s + 1} + \frac{1}{s + 1}[/tex]

Step 4 - Contract the two newbie fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{2}{s + 1}[/tex]

Step 5: Split up the first fraction
[tex]I(s)=\frac{2}{s} \frac{1}{s + 1} - \frac{2}{s + 1}[/tex]


Step 6 - Convert to time domain
[tex]i(t)=2e^{-t}-e^{-t}[/tex]

BUT, this is not correct. It should be: [itex] 2-2e^{-t}[/itex]

What is wrong in my approach here?

You started with [tex] I(s) = \frac{2}{s^2+s} = \frac{2}{s(s+1)} = \frac{2}{s}\frac{1}{s+1} [/tex] and ended up with [tex] I(s) =\frac{2}{s} \frac{1}{s + 1} - \frac{2}{s + 1}[/tex] and you see nothing wrong with this? Why did you not just apply partial fractions to
[tex] I(s) = \frac{2}{s(s+1)}?[/tex]

RGV
 
  • #3
Twinflower said:

Homework Statement



[tex]I(s)=\frac{2}{s^2 + s}[/tex]

Convert this to the time domain

The Attempt at a Solution



Step 1 - Divide by s
[tex]I(s)=\frac{\frac{2}{s}}{s + 1}[/tex]
What's wrong is your first step. Factor the denominator to s(s + 1) and then use partial fraction decomposition to rewrite 2/[s(s + 1)] in the form A/s + B/(s + 1).
Twinflower said:
Step 2 - Substract and add 1 to create new fractions
[tex]I(s)=\frac{\frac{2}{s}-1+1}{s + 1}[/tex]

Step 3 - Split into new fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{1}{s + 1} + \frac{1}{s + 1}[/tex]

Step 4 - Contract the two newbie fractions
[tex]I(s)=\frac{\frac{2}{s}}{s + 1} - \frac{2}{s + 1}[/tex]

Step 5: Split up the first fraction
[tex]I(s)=\frac{2}{s} \frac{1}{s + 1} - \frac{2}{s + 1}[/tex]


Step 6 - Convert to time domain
[tex]i(t)=2e^{-t}-e^{-t}[/tex]

BUT, this is not correct. It should be: [itex] 2-2e^{-t}[/itex]

What is wrong in my approach here?
 
  • #4
Thank you Ray.

Can you tell me exactly what step in my first approach which was "illegal"?
 
  • #5
Twinflower said:
Thank you Ray.

Can you tell me exactly what step in my first approach which was "illegal"?

You don't see your claim that
[tex] -\frac{1}{s+1} + \frac{1}{s+1} = -\frac{2}{s+1}[/tex] when going from Step3 to step 4? You don't see that the fraction
[tex]\frac{\frac{2}{s}}{s+1}[/tex] in the first term in Step 3 is exactly the same as I(s), so you have really done nothing that will be useful?

RGV
 
  • #6
OK, I'm going to do this one more time from scratch.
With partial fraction decomposition this time.

[tex]
I(s) = \frac{2}{s^2 + s}
[/tex]


Step 1 - Factor the denomenator
[tex]
I(s) = \frac{2}{s(s + 1)}
[/tex]

Step 2 - Set up the partial fractions stuff
[tex]
\frac{A}{s}+\frac{B}{s + 1}
[/tex]

Step 3 - Merge A and B fractions
[tex]
\frac{A(s+1)+B(s)}{s(s + 1)}
[/tex]

Step 4 - Determine A and B
[tex](A+B)s = 0[/tex]
[tex]A = 2[/tex]
Using that A = 2, B must be -2 to fullfill the first equation.

Step 5 - Replace A and B with determined values
[tex]
\frac{2}{s}-\frac{2}{s + 1}
[/tex]

Step 6 - Convert to the holy time domain
[tex]\frac{2}{s} = 2[/tex]
[tex]\frac{-2}{(s+1} = -2e^-t[/tex]
[tex]i(t) = 2(1-e^-t)[/tex]
 
  • #8
Hey Serena! Long time no see ;)
I managed this one after realizing that I had to utlize the partial fraction-stuff :)

But I still need some help in this other thread of mine about the fifth harmonic of a square wave passing trough a HP filter. And my exam is on monday :/
https://www.physicsforums.com/showthread.php?t=603179
 
  • #9
Twinflower said:
OK, I'm going to do this one more time from scratch.
With partial fraction decomposition this time.

[tex]
I(s) = \frac{2}{s^2 + s}
[/tex]


Step 1 - Factor the denomenator
[tex]
I(s) = \frac{2}{s(s + 1)}
[/tex]

Step 2 - Set up the partial fractions stuff
[tex]
\frac{A}{s}+\frac{B}{s + 1}
[/tex]

Step 3 - Merge A and B fractions
[tex]
\frac{A(s+1)+B(s)}{s(s + 1)}
[/tex]

Step 4 - Determine A and B
[tex](A+B)s = 0[/tex]
[tex]A = 2[/tex]
Using that A = 2, B must be -2 to fullfill the first equation.

Step 5 - Replace A and B with determined values
[tex]
\frac{2}{s}-\frac{2}{s + 1}
[/tex]

Step 6 - Convert to the holy time domain
[tex]\frac{2}{s} = 2[/tex]
[tex]\frac{-2}{(s+1} = -2e^-t[/tex]
[tex]i(t) = 2(1-e^-t)[/tex]

This is almost OK now, but it is a bad idea to write things like [tex]\frac{2}{s} = 2[/tex] because that is false, and might get you a mark of zero just for writing it. If you mean that the inverse transform of 2/s is 1, why not just say so, or maybe use a better notation, such as [itex] L^{-1}(2/s) = 1 [/itex] or [itex] 2/s \longrightarrow 1?[/itex] Also, in LaTeX, if you want [itex] e^{-t}[/itex] rather than your [itex] e^-t,[/itex], you need to use a curly bracket. To get [itex]a^{anything},[/itex] put the "anything" between curly brackets, like this: {anything}. If you don't, you will get [itex]a^anything.[/itex]

RGV
 
  • #10
I didnt find the arrow in latex, but in my hand written notation i always use that.
 
  • #11
Twinflower said:
I didnt find the arrow in latex, but in my hand written notation i always use that.

There are various types of arrows.
[itex]\text{\rightarrow gives} \rightarrow,[/itex] [itex]\text{\longrightarrow gives} \longrightarrow,[/itex] [itex]\text{\Rightarrow gives} \Rightarrow,[/itex] [itex]\text{\Longrightarrow gives} \Longrightarrow.[/itex]
 
  • #12
I like \to (##\to##), which is nice and short to type.

I also like \mathcal{L} ##\mathcal{L}^{-1}(\frac 2 s) = 2##, or more formally ##\mathcal{L}^{-1}_s[ \frac 2 s ](t) = 2##.
 
  • #13
I like Serena said:
I like \to (##\to##), which is nice and short to type.

I also like \mathcal{L} ##\mathcal{L}^{-1}(\frac 2 s) = 2##, or more formally ##\mathcal{L}^{-1}_s[ \frac 2 s ](t) = 2##.

I, too, like mathcal, but have also seen things like [tex] \frac{1}{s} \leftrightarrow 1 .[/tex]
However, this uses the somewhat lengthy "\leftrightarrow". Is there a shorter version?

RGV
 
  • #14
Thread now about latex syntax. I have a feeling I will need to use some Laplace symbols soon so it's great info. Ty
 

Related to Easy laplace conversion from s to t-domain gone wrong

1. What is Laplace conversion from s to t-domain?

Laplace conversion from s to t-domain is a mathematical process used in science and engineering to convert a function from the time domain to the complex frequency domain. It allows for easier analysis of systems and signals by transforming the original function into a new domain.

2. How do I perform Laplace conversion?

To perform Laplace conversion, you need to have a function in the time domain and apply the Laplace transform formula to it. The formula involves integrating the function with respect to time and multiplying it by a complex exponential term. The result will be the function in the complex frequency domain.

3. What can go wrong during Laplace conversion from s to t-domain?

There are a few common mistakes that can occur during Laplace conversion. These include incorrect application of the formula, incorrect integration, and forgetting to include initial conditions. These mistakes can lead to incorrect results or difficulties in solving the transformed function.

4. How can I avoid mistakes during Laplace conversion?

To avoid mistakes during Laplace conversion, it is important to carefully follow the formula and double-check your work. Make sure to correctly integrate the function and include any necessary initial conditions. It can also be helpful to practice with simpler functions before attempting more complex ones.

5. What are some applications of Laplace conversion from s to t-domain?

Laplace conversion is used in a variety of fields, including electrical engineering, control systems, and signal processing. It is particularly useful for analyzing and solving differential equations in these fields. It can also be used to convert time-domain data into frequency-domain data for easier analysis and visualization.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
698
  • Calculus and Beyond Homework Help
Replies
2
Views
959
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
827
  • Calculus and Beyond Homework Help
Replies
2
Views
950
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Back
Top