# Differential equation problem

1. Sep 8, 2009

### yoamocuy

differential equation problem :(

1. The problem statement, all variables and given/known data
I'm given a function acceleration a=-1.5*s, where s is a position. I need to find a in terms of t.

2. Relevant equations

3. The attempt at a solution
I know that a is also equal to d^2*s/dt^2. Therefore d^2*s/dt^2 is equal to -1.5*s. By dividing by s and multiplying by dt^2 I get d^2*s/s=-1.5*dt^2. At this point I'm not sure what to do. If I can figure out how to get rid of the dt^2 and the d^2*s, then I can probably solve the rest of the problem. I imagine I need to integrate but am not sure how that would work out.

2. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

You cannot simply 'divide' and 'multiply' differentials like that. I know many non-mathematical sciences courses will tell you that it is fine to do so, but it is simply wrong.

I see that you are attempting to separate the variables, however, this method cannot generally be used for second order differential equations. What methods have you learnt for solving second order, homogeneous ODE's?

3. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

Well this is actually just a physics class so we haven't learned any methods for solving differential equations. I've taken calculus classes but won't be taking differential equations until next semester so I've just been looking through notes online trying to figure out how to solve this question.

4. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

The standard method of solving such problems is to take an Ansatz of the form

$$s = Ae^{\lambda t}$$

and substitute that into the ODE.

I'm sorry that I don't know of any good online references for DE's, but I'm sure someone here will be able to suggest a suitable reference.

5. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

Ok, thanks for the help. I'll keep searching and working with it.

6. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

If you would like to post your working, I'd be more than happy to help you with it. All you need to do is substitute that Astatz I gave you into the ODE and you should find that you have a rather simple equation to solve.

7. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

Ok, I got an equation that looks like s^2*e^((lambda)*t)=-1.5, but when I try to solve for the roots it isn't possible. Am I still completely off on my attempt?

8. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

I'm not sure how you've managed to get that. Can you work out what

$$\frac{d^2 s}{dt^2} = \frac{d^2}{dt^2} Ae^{\lambda t}$$

is?

9. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

Ug I dont even know what I'm supposed to be solving for there. On the sites I've been looking at, it looks like they are just taking a Laplace transform and multiplying each differntial by e^-((lambda)*t)

10. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

I was simply asking what is the second derivative of $Ae^{\lambda t}$ with respect to t?

Of course, you can use Laplace transforms if you like, but it is much more straightforward (if a little inelegant) to us an Anstatz.

11. Sep 8, 2009

### sara_87

12. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

I took the second derivitive of that and got A*(lambda)^2*e^((lambda)*t). Would lambda be -2 for that?

I also tried using Laplace transforms and ended up with s^2+1.5=0, which has imaginary roots.

13. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

You're on the right lines. So let's take a look at the over all equation,

$$A\lambda^2 e^{\lambda t} = -1.5Ae^{\lambda t}$$

Hence,

$$\lambda^2 = -1.5$$

Do you agree?

14. Sep 8, 2009

### yoamocuy

Re: differential equation problem :(

Yea, I agree with that, but if I solve for lambda I get j1.22. What can I do with that?

15. Sep 8, 2009

### Hootenanny

Staff Emeritus
Re: differential equation problem :(

Simple, you have determined lambda, so you now have the [general] solution,

$$s\left(t\right) = A\exp\left(i\sqrt{1.5}t\right)$$

That is it. You have now found the general solution to the ODE. You can use Euler's relation to write it in a 'nicer' form, but you have found a valid solution.