Troubleshooting Initial Value Problems for Differential Equations

  • Thread starter Thread starter robbondo
  • Start date Start date
  • Tags Tags
    Initial Value
robbondo
Messages
90
Reaction score
0

Homework Statement


Solve the Given initial value problem

Homework Equations



y' = tan ( x ), y ( pi / 4 ) = 3

The Attempt at a Solution



Well I got the answer

y = sec^2 ( x ) + 5 / 2

The books answer is

y = 3 - ln (sqrt(2) cos(x) )

Where did I got wrong? Or is the book screwed up?
 
Physics news on Phys.org
you integrated wrong, i don't know how they got sqrt(2) but you need to change tan(x) to sin(x)/cos(x) and do a substitution to get the log
 
What do YOU believe is the integral of tan(x)??
 
I am no expert, but I get the books answer, based on y=- ln (cos x)+C, and C =3 - ln[(sqrt2) /2)] , which = 3+ ln (sqrt 2).

Or y=-ln (cos x) -ln ( sqrt 2 ) +3

y= - ln [ (cos x) sqrt 2] +3

Dont bet your life on it. Jim
 
sheesh... I differentiated instead of integrated. It's been a long summer. Thanks for your time guys, appreciate it.
 
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