Laplace Transforms Homework: Initial Displacements & Velocities

Click For Summary

Homework Help Overview

The discussion revolves around the application of Laplace transforms in solving a system of differential equations related to initial displacements and velocities in a physics context. Participants are exploring the relationships between the variables involved, particularly focusing on the initial conditions and the resulting equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants are attempting to derive equations for displacements and velocities using Laplace transforms, questioning the assumptions made about initial conditions. There is exploration of the algebra involved in transforming and inverting the equations.

Discussion Status

Some participants have provided guidance on the correct application of Laplace transforms and the importance of initial conditions. There is an ongoing examination of the algebraic steps taken, with some participants noting discrepancies in their results and seeking clarification on the inversion process.

Contextual Notes

There are discussions about potential errors in algebraic manipulation and the assumptions regarding initial values, particularly concerning derivatives at t=0. Participants are also considering the implications of linearity in the problem, which affects the uniqueness of the solutions.

jake96
Messages
33
Reaction score
0

Homework Statement


tFewRWs.png


Homework Equations


Laplace Transforms

The Attempt at a Solution



Using basic physics knowledge I got
m1a1=-k1x1+k2(x2-x1)
and
m2a2=-k3x2-k2(x2-x1)

Sub in values and use laplace transforms and rearrange partial fraction and I found that

By doing this I am assuming that the xII and xIII will equal 0 when t=0 because this is not stated at all in the question. do you believe this is correct?


x1=-(1/3)cos2t-(2/3)sin2t+(4/3)cost+(8/3)sint
x2=-(2/3)cos2t+(1/3)sin2t+(8/3)cost-(4/3)sint

Finding the initial displacements by subbing in t=0 for both x_1 and x_2 comes out with what is written in the question 1 and 2, respectively.

However, when I try to sub t=0 into the differentials of the 2 above equations. I believe I should receive the initial velocities stated in the question. however I do not receive these results.

I receive 4/3 for x1 and -2/3 for x2
the difference between these values and the actual values appears to differ once I differentiate the sin2t and it is multiplied by 2

Does anyone know if I should receive the values listed in the question using this methods and have just made a calculation error in my working earlier on, or should I have done something differently.

Also, the next part of the questions asks to use a matrix and eigenvalues/eigenvectors to solve it. any pointers to help me get started

Thanks very much
 
Physics news on Phys.org
It doesn't seem like you used Laplace Transforms to solve this. What is the Laplace Transform of x1''(t) in terms of s, x1(0), and x1'(0)?

Chet
 
I got (s3+2s2+5s+10)/((s2+4)(s2+1))

I found this by rearranging my equation earlier to find x2 and xII2 in terms of x1

This came out as xIV1+5xII1+4x=0, then used laplace transform to find what I had above.

Does this seem correct?
 
I then split the equation into partial fractions and it worked out as the sin and cos equations earlier after I used the inverse laplace
 
jake96 said:
I then split the equation into partial fractions and it worked out as the sin and cos equations earlier after I used the inverse laplace
Try it by first taking the Laplace Transform of each equation, and then doing the algebra.

Chet
 
ok, ill post how I go soon
 
ok, I just did it for x2 quickly and got (2s3-s2+7s-1)/((s2+4)(s2+1))
which resulted in (1/3)cos2t-sin2t+(5/3)cost

this also gives me the displacement as 2 which is correct, however the velocity is -2 instead of -1

ill check with x1 now
 
again with x1, displacement came out as the same (1) but velocity was doubled at 4 instead of 2.
I've noticed the displacement always equals what is infront of the s3. looks like this is because the x(0)= whatever is the only factor to affect the s3 value causing the displacement to be equal each time
 
jake96 said:
again with x1, displacement came out as the same (1) but velocity was doubled at 4 instead of 2.
I've noticed the displacement always equals what is infront of the s3. looks like this is because the x(0)= whatever is the only factor to affect the s3 value causing the displacement to be equal each time
It seems to me that this is just a matter of getting the algebra correct, and then properly inverting the transforms.

Chet
 
  • #10
It would help if you at least showed the initial equations you get from taking the Laplace transform. For all we know, you made an error there and propagated it the rest of the way.
 
  • Like
Likes   Reactions: Chestermiller
  • #11
I started with x1II+3x1-2x2=0
and x2II+2x2-x1=0
 
  • #12
I rearranged those to get x2IV+5x2''+4x2=0

from laplace I got this for x2
s4X2-s3x2(0)-s2x2'(0)-sx2''(0)-x2'''+5(s2X2-sx2(0)-x2'(0))+4X2

From there I subbed in x2(0)=2 and x2'(0)=-1, and assumed that the second and third derivatives equal 0

Then simplified that to X2= (2s3-s2+10s-5)/((s2+4)(s2+1))

Used partial fractions and inverse laplace to get what I had for x2 in the original question
 
  • #13
jake96 said:
I started with x1II+3x1-2x2=0
and x2II+2x2-x1=0
Good. Now let's see the laplace transform of each equation.

Chet
 
  • #14
Chestermiller said:
Good. Now let's see the laplace transform of each equation.

Chet
Then doing the laplace before algebra I got
s2X1-s-2+3X1-2X2=0
s2X2-2s+1+2X2-X1=0

these included the inclusion of the initial x and x' values

then I simplified both equations to find X2 which I found as
(2s3-s2+7s-1)/((s2+4)*(s2+1))
 
  • #15
jake96 said:
Then doing the laplace before algebra I got
s2X1-s-2+3X1-2X2=0
s2X2-2s+1+2X2-X1=0

these included the inclusion of the initial x and x' values

then I simplified both equations to find X2 which I found as
(2s3-s2+7s-1)/((s2+4)*(s2+1))
that gave me x2=(1/3)cos2t-sin2t+(5/3)cost
 
  • #16
I got a factor of 1/2 on the sin 2t term.
 
  • #17
vela said:
I got a factor of 1/2 on the sin 2t term.
I got a factor of 1/3 on the sin 2t term.

Chet
 
  • #18
Chestermiller said:
I got a factor of 1/3 on the sin 2t term.

Chet
Did you get similar factors for the other terms?
Do you know where our work differs to result in this?
 
  • #19
Chestermiller said:
I got a factor of 1/3 on the sin 2t term.
I cranked it out in Mathematica. There was a factor of 1/3 on the cosine term, but on the sine term, it was 1/2.

jake96 said:
Did you get similar factors for the other terms?
Do you know where our work differs to result in this?
I got the same ##X_2(s)## as you did, so the problem is in your inversion.
 
  • #20
From here
(2s3-s2+7s-1)/((s2+4)*(s2+1))

I used partial fraction expransions and found that 2s3-s2+7s-1=(A+C)s3+(B+D)s2+(A+4C)s+(B+4D)

that gave me A+C=2, B+D=-1, A+4C=7 and B+4D=-1

therefore A=(1/3), B=-1, C=(5/3) and D=0
 
  • #21
vela said:
I cranked it out in Mathematica. There was a factor of 1/3 on the cosine term, but on the sine term, it was 1/2.


I got the same ##X_2(s)## as you did, so the problem is in your inversion.
the only inversion I used was for s/(s2+a) and 1/(s2+a)
which go to sin and cos
 
  • #22
jake96 said:
From here
(2s3-s2+7s-1)/((s2+4)*(s2+1))

I used partial fraction expransions and found that 2s3-s2+7s-1=(A+C)s3+(B+D)s2+(A+4C)s+(B+4D)

that gave me A+C=2, B+D=-1, A+4C=7 and B+4D=-1

therefore A=(1/3), B=-1, C=(5/3) and D=0
sub those into A(s/(s2+4))+b(1/(s2+4))+C(s/(s2+1))+D(1/(s2+1))
and that dwindles down to (1/3)(s/(s2+4))-(1/(s2+4))+(5/3)(s/(s2+1))

then the inverses I mentioned above comes up with x2=(1/3)cos2t-sin2t+(5/3)cost

Are these Inversions correct?
 
  • #23
vela said:
I cranked it out in Mathematica. There was a factor of 1/3 on the cosine term, but on the sine term, it was 1/2.
Yes. I made an algebra error in the last step. When I corrected it, I got your result. I think the mistake that Jake made was inverting ##-\frac{1}{s^2+4}##. The inverse of this is ##-\frac{1}{2}\sin 2t##, not -sin 2t.

Chet
 
  • #24
Chestermiller said:
Yes. I made an algebra error in the last step. When I corrected it, I got your result. I think the mistake that Jake made was inverting ##-\frac{1}{s^2+4}##. The inverse of this is ##-\frac{1}{2}\sin 2t##, not -sin 2t.

Chet
ahhh, thankyou very much. that would fix the problem I've had with all the answers I've received because the sin2t has always been double what it should be.

it appears that the method I use comes up with multiple answers that all equal the correct displacement and velocities.
Is this correct that there will be multiple results?
 
  • #25
jake96 said:
ahhh, thankyou very much. that would fix the problem I've had with all the answers I've received because the sin2t has always been double what it should be.

it appears that the method I use comes up with multiple answers that all equal the correct displacement and velocities.
Is this correct that there will be multiple results?
No. There is only one answer. It's a linear problem.

Chet
 
  • #26
Chestermiller said:
No. There is only one answer. It's a linear problem.

Chet
so the answers we have been talking about should be the correct ones (laplace then algebra) cos the first time I used algebra before laplace and that resulted in x''(0) and x'''(0) values which are not stated
 
  • #27
Chestermiller said:
Yes. I made an algebra error in the last step. When I corrected it, I got your result. I think the mistake that Jake made was inverting ##-\frac{1}{s^2+4}##. The inverse of this is ##-\frac{1}{2}\sin 2t##, not -sin 2t.

Chet
I see my error now, I had 1 over instead of 2 over which will cause the factor to be 1/2.

thanks very much
 
  • #28
Would you have any pointers to help me get started on doing this problem with a matrix using eigenvalues and eigenvectors

I can't seem to see where the matrix will come in for this question. I'm confident I can solve the eigenvalues and vectors once I've gotten out the matrix.

Thanks again
 
  • #29
jake96 said:
so the answers we have been talking about should be the correct ones (laplace then algebra) cos the first time I used algebra before laplace and that resulted in x''(0) and x'''(0) values which are not stated
Now that you know the correct answers, you can actually calculate those derivatives at t=0, and you'll see that you can't justify setting them to 0 when solving the fourth-order DE using Laplace.
 
  • #30
OK Jake,

Suppose you had a set of 4 coupled first order linear homogeneous ODEs in 4 unknowns, y1,...,y4. Would you know how to obtain the complementary solution to that set of equations using eigenvalues and eigenvectors?

Chet
 

Similar threads

Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K