Troubleshooting Initial Value Problems for Differential Equations

  • Thread starter Thread starter robbondo
  • Start date Start date
  • Tags Tags
    Initial Value
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
robbondo
Messages
90
Reaction score
0

Homework Statement


Solve the Given initial value problem

Homework Equations



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

The Attempt at a Solution



Well I got the answer

[tex]y = sec^2 ( x ) + 5 / 2[/tex]

The books answer is

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

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
 
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.