Please check my work (differential equation)

darryw
Messages
124
Reaction score
0

Homework Statement


ty' + 2y = sin t (no initial conditions given)



Homework Equations





The Attempt at a Solution


ty' + 2y = sin t

y' + (2/t)y = sin t / t

mu(x) = e^integ(2/t) = t^2

(t^2)y)' = integ t sin t

(t^2)y = tsin t - t cos t + c

y = (sin t - cos t)/ t + c/(t^2) (This is my solution)

thanks for any help
 
Physics news on Phys.org
Hi darryw! :smile:

(have an integral: ∫ and a mu: µ and try using the X2 tag just above the Reply box :wink:)

Your equations are ok down to …
darryw said:
(t^2)y)' = integ t sin t

(t^2)y = tsin t - t cos t + c

y = (sin t - cos t)/ t + c/(t^2)

… the first line of course should be (t^2)y)' = t sin t (without the ∫) :wink:,

but more seriously your integration by parts has come out wrong …

check it by differentiating, and you'll see how to fix it. :smile:
 
i knew it! this is an ongoing problem for me.. I always have problem escaping the integration loop when i have something like ∫t cos t.. (or even worse: ∫e^t cos t

as i understand it, the idea is to integrate up to a certain point and then subtract the integrals identity from left hand side, so then you cancel the integrals. When i did that i ended up with tsin t - t cos t. Can you offer any help/tips so i don't have to write out the whole long integration process? thanks
 
darryw said:
i knew it! this is an ongoing problem for me.. I always have problem escaping the integration loop …

he he :biggrin:

the official method for ∫ fg dx is to integrate g only, giving [f(∫ g dx)], and then subtract the integral of f' time that: ∫ { f'(∫ g dx)} dx

but my method (only works for easy cases) is to make a guess (in this case, -tcost), differentiate it (-cost + tsint), and then integrate whatever's over (-cost) :wink:
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top