Property of exponentials and sine functions?

Click For Summary

Homework Help Overview

The discussion revolves around a second-order linear ordinary differential equation (ODE) characterized by the expression x''(t) + r*x'(t) + k*x = 0. The original poster presents a specific solution involving exponential and trigonometric functions, seeking to determine the parameters r and k.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the validity of dropping certain coefficients in the solution and the implications of using Euler's formula to convert trigonometric terms into exponential forms. Questions arise regarding the correctness of derived roots and the relationship between the coefficients and the differential equation.

Discussion Status

There is an ongoing exploration of the relationship between the differential equation and its characteristic equation. Some participants suggest working backwards from the known solution to derive the parameters, while others offer hints and corrections regarding the setup and interpretation of the problem.

Contextual Notes

Participants note potential typos in the differential equation and discuss the implications of these errors on the derived roots and coefficients. The discussion reflects uncertainty regarding the correct formulation of the problem and the assumptions made in the analysis.

Unsilenced
Messages
8
Reaction score
0

Homework Statement



x''(t)+r*x't+kx=0

Suppose that for some initial conditions the solution is given by

x=e^(-2t)*(3cos(t)+4sin(t))

What are are and k?

Homework Equations



See above

The Attempt at a Solution



I've tried to "brute force" the solution simply by sticking the expression for x into the ODE, but that quickly becomes very complicated, and is easy to mess up. I can check my answers with wolfram alpha or some such, but it still will be difficult to pinpoint errors.

Instead, I've heard that the values 3 and 4 don't matter (presumably they are determined by initial conditions, not r and k), and that there is a (relatively) simple expression that will make it easy to get the derivative and double derivative of this expression. I assume Euler's formula is involved somehow, but don't know exactly how to work it so that I can turn the entire function into an exponential.
 
Last edited:
Physics news on Phys.org
3 and 4 do not matter. Work backwards. If the solution in this case involves sines and cosines then we can conclude that the roots to the auxiliary equation are complex. Find the roots and then the polynomial. You will then have your differential equation and hence the values of r and k.
 
lmedin02 said:
3 and 4 do not matter. Work backwards. If the solution in this case involves sines and cosines then we can conclude that the roots to the auxiliary equation are complex. Find the roots and then the polynomial. You will then have your differential equation and hence the values of r and k.

So, I dropped the 3 and the 4 and used Euler's formula to turn them into exponentials.

I ended up with

x=ie^((-2-i)t)-ie^((-2+i)t)

Does that mean my roots are -2 +/- i? Or do I have to go further?Edit: Working through, I got
k=5
r=-4

Seems like a legit answer, but was dropping the i values in front of the exponents a valid move, or should I have gotten something else for my roots?
 
Last edited:
No, that is a bit complicated. If you have the differential equation x''-4x'+x=0, how would you find the general solution? Just go through a few steps, then should have the solution to your problem as well. If not, I will give you another hint.
 
Unsilenced said:
So, I dropped the 3 and the 4 and used Euler's formula to turn them into exponentials.

I ended up with

x=ie^((-2-i)t)-ie^((-2+i)t)

Does that mean my roots are -2 +/- i? Or do I have to go further?
In your OP, the exponential part was ##e^{+2t}## while your work here implies it's ##e^{-2t}##. Which one is correct?

Dropping the 3 and 4 the way you did turns out to work okay to get the answer, but it would be better if you followed Imedin02's suggestion to see why it works out that way.
 
lmedin02 said:
No, that is a bit complicated. If you have the differential equation x''-4x'+x=0, how would you find the general solution? Just go through a few steps, then should have the solution to your problem as well. If not, I will give you another hint.

Characteristic equation: a^2-4a+1=0

Using the quadratic formula gets me a=2+/-sqrt(3)

x=C1e^(2+sqrt3)+C2e^(2-sqrt3)

...

Did I do something wrong?

vela said:
In your OP, the exponential part was ##e^{+2t}## while your work here implies it's ##e^{-2t}##. Which one is correct?

Dropping the 3 and 4 the way you did turns out to work okay to get the answer, but it would be better if you followed Imedin02's suggestion to see why it works out that way.

Um, negative would appear to be correct. Sorry.
 
That is correct, however, I made a typo in my DE. It should be x''-4x'+5x=0. The idea is that you can find the characteristic equation from the DE, hence the roots, and then the general solution. So you may work backwards as well. Try it again.
 
lmedin02 said:
That is correct, however, I made a typo in my DE. It should be x''-4x'+5x=0. The idea is that you can find the characteristic equation from the DE, hence the roots, and then the general solution. So you may work backwards as well. Try it again.

Ah, I found where the sign flip came in. Values are now 4 and 5, and the roots what they should be, assuming I had the correct roots to begin with.
 

Similar threads

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