DiffEQ: Determining the largest interval of a solution

  • Thread starter Thread starter Kaylee!
  • Start date Start date
  • Tags Tags
    Diffeq Interval
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:

cosx \frac{dy}{dx} + (sinx)y=1



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

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

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:
\frac{d}{dx}[(secx)y]= sex^{2}x

(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?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top