Integrating Factor Homework: y'+ (2/t)y = (cost)/(t^2), y(pi)=0

Click For Summary

Homework Help Overview

The problem involves solving a first-order linear differential equation of the form y' + (2/t)y = (cos(t))/(t^2) with the initial condition y(π) = 0. The discussion centers around the application of an integrating factor to simplify the equation for integration.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the application of the integrating factor, with one original poster attempting to derive the solution using the integrating factor method. Others question the correctness of the integrating factor and suggest showing all steps for clarity.

Discussion Status

There is an ongoing examination of the integrating factor, with some participants identifying errors in its calculation. Guidance has been offered regarding the proper derivation of the integrating factor, and there is a focus on understanding the underlying principles rather than just applying formulas.

Contextual Notes

Participants note the importance of understanding the derivation of formulas and definitions, indicating a potential gap in foundational knowledge that may have led to the initial errors in applying the integrating factor.

Bashyboy
Messages
1,419
Reaction score
5

Homework Statement


y' + (2/t)y = (cost)/(t^2), and the following condition is given: y(pi) = 0

Homework Equations


The Attempt at a Solution


After employing the integrating factor, I find the solution to be:

[itex]y=e^{-2t} \int e^{2t} \frac{\cos(t)}{t^2} dt[/itex].

Evidently, this simplifies all the way to y = (sin t)/(t^2). I am not sure as to how this integral should be solved. Any hints would be much welcomed.
 
Physics news on Phys.org
I think you should show all your steps, starting with exactly how you applied your integrating factor. Clearly, there's an error somewhere.
 
I see what I did wrong.

mu of t, the integrating factor, [itex]\mu (t) = e^{\int \frac{2}{t}}dt = e^{2 \ln t} = e^{2t}[/itex]

Do you see where I went wrong? It should be [itex]\mu (t) = 2t[/itex]
 
This is an example of what happens when you memorize formulas (imperfectly) rather than learning basic definitions and how the formulas are derived.

An "integrating factor" is a function, [itex]\mu(t)[/itex] such that multiplying the equation by it converts the left side into a single derivative. Here, that means we must have [itex]\mu y'+ (2\mu/t)y= (\mu y)'[/itex]. Expanding the derivative on the right that becomes [itex]\mu y'+ \mu' y= \mu y'+ (2\mu/t)y[/itex] which reduces to [itex]\mu'= 2\mu/t[/itex], a separable differential equation for [itex]\mu[/itex]. [itex]d\mu/\mu= 2dt/t[/itex] integrates to [itex]ln(\mu)= 2ln(t)[/itex] or [itex]\mu= t^2[/itex] NOT "2t" (I have neglected the "constant of integration since we only need a single function).

Multiplying the entire equation by [itex]t^2[/itex] gives [itex]t^2y'+ 2ty= (t^2y)'= cos(t)[/itex] which is easy to integrate.
 
  • Like
Likes   Reactions: riceking95
Bashyboy said:
I see what I did wrong.

mu of t, the integrating factor, [itex]\mu (t) = e^{\int \frac{2}{t}}dt = e^{2 \ln t} = e^{2t}[/itex]

Do you see where I went wrong? It should be [itex]\mu (t) = 2t[/itex]

##e^{2 \ln t} = (e^{\ln t})^2 = t^2##, that's your integrating factor.

Your integrating factor is NOT ##2t##. ##2t## is in fact the derivative of your integrating factor, and you should be able to see this from applying product rule to ##yt^2##.
 
Last edited:

Similar threads

Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
3K