DiffEQ: Determining the largest interval of a solution

  • Thread starter Thread starter Kaylee!
  • Start date Start date
  • Tags Tags
    Diffeq Interval
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
Kaylee!
Messages
5
Reaction score
0
The question is to determine the solution to the following 1st order linear DE, along with the largest interval the solution is valid on:

[tex]cosx \frac{dy}{dx} + (sinx)y=1[/tex]



Rewriting it shows it to be linear:
[tex]\frac{dy}{dx} + (tanx)y = secx[/tex]

The intergrating factor is: [tex]e^{\int{tanx dx}} = e^{-ln|cosx|} = secx[/tex]

Multiplying both sides of the DE by the integrating factor, and rewriting the LHS as a derivative of the product of the integrating factor and y:
[tex]\frac{d}{dx}[(secx)y]= sex^{2}x[/tex]

(secx)y = tanx+c

y = sinx + c(cosx)

------------------

Now how do I determine the interval?
 
Physics news on Phys.org
I'm multiplying both sides of the equation by secx, which has a domain of (-pi/2, pi/2), so that's the interval. Is this reasoning correct?