Please check my work (differential equation)

Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order linear differential equation of the form ty' + 2y = sin t, where no initial conditions are provided. Participants are examining the steps taken to manipulate the equation and the integration process involved.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to solve the differential equation using an integrating factor and integration by parts. Some participants question the correctness of the integration steps and suggest checking the differentiation of the result to identify errors.

Discussion Status

Participants are actively engaging in identifying mistakes in the integration process and discussing alternative methods for integration. There is a recognition of ongoing challenges with integration techniques, particularly in avoiding repetitive loops in calculations.

Contextual Notes

Participants mention specific difficulties with integration by parts and express a desire for tips to simplify the process without detailing the entire integration steps. There is an acknowledgment of the complexity involved in certain integrals, such as ∫t cos t and ∫e^t cos t.

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:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K