How Do You Solve This Tricky Differential Equation Problem?

cklabyrinth
Messages
7
Reaction score
0

Homework Statement



[itex]y'sin(2t) = 2(y+cos(t))[/itex]

[itex]y(\frac{∏}{4}) = 0[/itex]

Homework Equations



[itex]\frac{dy}{dx} + p(x)y = q(x)[/itex]

[itex]y = \frac{\int u(x) q(x) dx + C}{u(x)}[/itex]

where
[itex]u(x) = exp(\int p(x)dx)[/itex]

The Attempt at a Solution



I've set the equation in the form above, simplified the RHS and solved for u(x):

[itex]\frac{dy}{dt} - \frac{2}{sin(2t)}y = \frac{2cos(t)}{sin(2t)}[/itex]RHS simplification:
[itex]\frac{2cos(t)}{sin(2t)} = \frac{2cos(t)}{2cos(t)sin(t)} = csc(t)[/itex]

which gives:

[itex]\frac{dy}{dt} - \frac{2}{sin(2t)}y = csc(t)[/itex]
[itex]u(x) = exp(\int -\frac{2}{sin(2t)}dt)[/itex]

u-sub with u = 2t in the integration gives:

[itex]u(x) = exp(\int -csc(u)du) = exp(ln|cos(2t)|) = |cos(2t)|[/itex]
then:

[itex]y = \frac{\int |cos(2t)|csc(t)dt}{|cos(2t)|} + C[/itex]And I'm stuck here on the indefinite integral in the numerator:

[itex]\int |cos(2t)|csc(t)dt[/itex]

I've tried replacing cos(2t) with [itex]cos^2(t) - sin^2(t)[/itex] but that ends up leaving me with [itex]\int cot(t)cos(t)dt - \int sin(t)dt[/itex] which I find just as hard. Any ideas on where I'm going wrong?
 
Last edited:
cklabyrinth said:

Homework Statement



[itex]y'sin(2t) = 2(y+cos(t))[/itex]

[itex]y(\frac{∏}{4}) = 0[/itex]

Homework Equations



[itex]\frac{dy}{dx} + p(x)y = q(x)[/itex]

[itex]y = \frac{\int u(x) q(x) dx + C}{u(x)}[/itex]

where
[itex]u(x) = exp(\int p(x)dx)[/itex]

The Attempt at a Solution



I've set the equation in the form above, simplified the RHS and solved for u(x):

[itex]\frac{dy}{dt} - \frac{2}{sin(2t)}y = \frac{2cos(t)}{sin(2t)}[/itex]


RHS simplification:
[itex]\frac{2cos(t)}{sin(2t)} = \frac{2cos(t)}{2cos(t)sin(t)} = csc(t)[/itex]

which gives:

[itex]\frac{dy}{dt} - \frac{2}{sin(2t)}y = csc(t)[/itex]



[itex]u(x) = exp(\int -\frac{2}{sin(2t)}dt)[/itex]

u-sub with u = 2t in the integration gives:

[itex]u(x) = exp(\int -csc(u)du) = exp(ln|cos(2t)|) = |cos(2t)|[/itex]

That isn't the correct antiderivative for the csc integral.
 
I did a bit of simplification, but I may have done something wrong in between:

[itex]\int -csc(u)du = -ln|csc(u) - cot(u)| = ln|csc(2t) - cot(2t)|[/itex]

[itex]=-ln|\frac{csc(2t)}{cot(2t)}| = -ln|\frac{1}{sin(2t)}*\frac{sin(2t)}{cos(2t)}|[/itex]

[itex]= -ln|sec(2t)| = ln|sec(2t)|^-1 = ln|cos(2t)|[/itex]

When exponentiating that, I get to [itex]u(x) = |cos(2t)|[/itex]

Did I do something wrong along the way?
 
cklabyrinth said:
I did a bit of simplification, but I may have done something wrong in between:

[itex]\int -csc(u)du = -ln|csc(u) - cot(u)| = ln|csc(2t) - cot(2t)|[/itex]

[itex]=-ln|\frac{csc(2t)}{cot(2t)}|[/itex]

The correct formula for logarithms is ##\ln a -\ln b = \ln \frac a b##.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K