What did I do wrong in solving this basic differential equation?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Tzabcan
Messages
10
Reaction score
0
I have this basic differential equation du/dt=(u^2)*(sin t)

This is obviously a separable diff eq.

So what I've done is:

g(t) = sin t h(u) = u^2

1/(u^2) du = sin t dt

Integrating both side...

1/y = - cos t + c

therefor y = - 1/(cos t + c)Which is wrong, there isn't supposed to be a minus sign apparently. I don't know what I've done wrong. Any suggestions? Thanks.
 
Physics news on Phys.org
Tzabcan said:
I have this basic differential equation du/dt=(u^2)*(sin t)

This is obviously a separable diff eq.

So what I've done is:

g(t) = sin t h(u) = u^2

1/(u^2) du = sin t dt

Integrating both side...

1/y = - cos t + c

[itex]\frac{d}{du}(u^{-1}) = - u^{-2}[/itex], so you should have [tex] -\frac1u = -\cos t + c[/tex]

therefor y = - 1/(cos t + c)Which is wrong, there isn't supposed to be a minus sign apparently. I don't know what I've done wrong. Any suggestions? Thanks.
 
pasmith said:
[itex]\frac{d}{du}(u^{-1}) = - u^{-2}[/itex], so you should have [tex] -\frac1u = -\cos t + c[/tex]

Ah! Wow I'm so dumb haha, 3 hours sleep :D lol.

Thanks a lot.