De 17 y'-2y=e^{2t} y(0)=2

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation \( ty' + 2y = \sin t \) with the initial condition \( y(\pi/2) = 1 \). Participants explore various methods of solving the equation, including integrating factors and integration by parts, while addressing the implications of their calculations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • Some participants present the equation in the form \( y' + \frac{2}{t}y = \frac{\sin t}{t} \) and derive the integrating factor \( u(t) = e^{\int \frac{2}{t} dt} = t^2 \).
  • There is a proposal to rewrite the equation as \( (yt^2)' = t\sin t \) to facilitate integration.
  • One participant suggests integrating both sides with respect to \( t \) and applies integration by parts, leading to the expression \( yt^2 = -t\cos(t) + \sin(t) + C \).
  • Another participant isolates \( y \) and expresses it as \( y = -\frac{\cos(t)}{t} + \frac{\sin(t)}{t^2} + \frac{C}{t^2} \), and substitutes the initial condition to find \( C \).
  • A later reply questions the use of a decimal approximation for \( C \) and suggests retaining the exact value instead.
  • There is a clarification regarding the term \( \frac{C}{t^2} \) and its origin in the solution.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the use of decimal approximations versus exact values for \( C \). There are differing opinions on how to present the final solution, particularly regarding the clarity and precision of the constants involved.

Contextual Notes

Some participants express uncertainty about the steps taken to derive certain expressions and the implications of approximating constants. The discussion reflects a variety of approaches to solving the differential equation without resolving all uncertainties.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
#18
$ ty'+2y=\sin t \quad y(\pi/2)=1 \quad t\ge 0$
$y'+\dfrac{2}{t}y=\dfrac{\sin t}{t}$
so
$u(x) = e^{\int 2/t dt}= e^{t^2/4}$
 

Attachments

  • 2020_04_23_18.52.40.jpg
    2020_04_23_18.52.40.jpg
    22.8 KB · Views: 131
Last edited:
Physics news on Phys.org
karush said:
#18
$ ty'+2y=\sin t \quad y(\pi/2)=1 \quad t\ge 0$
$y'+\dfrac{2}{t}y=\dfrac{\sin t}{t}$
so
$u(x) = e^{\int 2/t dt}= e^{t^2/4}$
$u(x) = e^{\int (2/t) dt}= e^{2\ln t} = \left(e^{\ln t}\right)^2 = t^2$.
 
Opalg said:
$u(x) = e^{\int (2/t) dt}= e^{2\ln t} = \left(e^{\ln t}\right)^2 = t^2$.

$t^2 y'+\dfrac{2t^2}{t}y=\dfrac{t^2\sin t}{t}$
$t^2 y'+2ty=t\sin t$
$(yt^2)'=t\sin t$

proceed ?
 
karush said:
$t^2 y'+\dfrac{2t^2}{t}y=\dfrac{t^2\sin t}{t}$
$t^2 y'+2ty=t\sin t$
$(yt^2)'=t\sin t$

proceed ?
Yes, keep going! (Yes) (Integrate both sides with respect to $t$.)
 
Opalg said:
Yes, keep going! (Yes) (Integrate both sides with respect to $t$.)
$(yt^2)'=t\sin t$
IBP gives
$yt^2=-t\cos (t)+\sin (t)+C$
isolate y and reduce
$y=-\dfrac{\cos (t)}{t}+\dfrac{\sin (t)}{t^2}+\dfrac{c}{t^2}$ if ok next $y(\pi/2)=1$

isn't $t^2$ going to be ?
 
Last edited:
$y = -\dfrac{\cos{t}}{t} + \dfrac{\sin{t}}{t^2} + \dfrac{C}{t^2}$

$y\left(\dfrac{\pi}{2}\right) = 1$

$1 = 0 + \dfrac{4}{\pi^2} + \dfrac{4C}{\pi^2}$

solve for $C$
 
skeeter said:
$y = -\dfrac{\cos{t}}{t} + \dfrac{\sin{t}}{t^2} + \dfrac{C}{t^2}$

$y\left(\dfrac{\pi}{2}\right) = 1$

$1 = 0 + \dfrac{4}{\pi^2} + \dfrac{4C}{\pi^2}$

solve for $C$

$1 = 0 + \dfrac{4}{\pi^2} + \dfrac{4C}{\pi^2}$
$\pi^2=4+4C$
$C=\dfrac{\pi ^2-4}{4}\approx1.4674 $wasn't expecting a decimal but..not sure how you would ck this?
 
what's up with the decimal? keep the exact value for $C$

$y = -\dfrac{\cos{t}}{t} + \dfrac{\sin{t}}{t^2} + \dfrac{\pi^2-4}{4t^2}$

$y\left(\dfrac{\pi}{2}\right) = 0 + \dfrac{4}{\pi^2} + \dfrac{\pi^2-4}{4 \cdot \frac{\pi^2}{4}}$

$y\left(\dfrac{\pi}{2}\right) = 0 + \dfrac{4}{\pi^2} + \dfrac{\pi^2-4}{\pi^2}$

$y\left(\dfrac{\pi}{2}\right) = 0 + \cancel{\dfrac{4}{\pi^2}} + \dfrac{\pi^2}{\pi^2} - \cancel{\dfrac{4}{\pi^2}}$

$y\left(\dfrac{\pi}{2}\right) = 1$
 
$+ \dfrac{\pi^2-4}{4t^2}$

Where did this come from?
 
  • #10
karush said:
$+ \dfrac{\pi^2-4}{4t^2}$

Where did this come from?

it’s $\dfrac{C}{t^2}$
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K