First order differentials: separating variables

  • Thread starter raincheck
  • Start date
  • #1
38
0
"Find the general solution to the differential equation by separating variables:
3tany - dy/dx(secx) = 0"

This is what I set up:

3tany dx = secx dy
1/secx dx = 1/3tany dy
cosx dx = 1/3tany dy
[int] cosx dx = [int] 1/3tany dy
sinx = (1/3)ln|sinx|

I'm stuck as to what to do next, how to solve the equation.. did I mess up in the beginning or what am I doing wrong?
 

Answers and Replies

  • #2
1,235
1
you have to seperate the same variables. So:

[tex] 3\tan y \; dx = \sec x \; dy [/tex]

Multiply by [tex] \frac{1}{dy\cdot dx} [/tex]. Then you get:

[tex] \frac{dx}{\sec x} = \frac{dy}{3\tan y} [/tex]

[tex] \int \cos x \; dx = \frac{1}{3}\int \cot y + C [/tex]

[tex] \sin x = \frac{1}{3}\ln|\sin y| [/tex]

[tex] 3\sin x = \ln|\sin y| [/tex]

[tex] \sin y = e^{3\sin x} [/tex]

[tex] y = \arcsin(e^{3\sin x}) + C [/tex]
 
Last edited:
  • #3
18
0
raincheck said:
[int] cosx dx = [int] 1/3tany dy
sinx = (1/3)ln|sinx|

It looks like the y's became x's between these two steps :)
 
  • #4
HallsofIvy
Science Advisor
Homework Helper
41,847
965
raincheck said:
"Find the general solution to the differential equation by separating variables:
3tany - dy/dx(secx) = 0"

This is what I set up:

3tany dx = secx dy
1/secx dx = 1/3tany dy
cosx dx = 1/3tany dy
[int] cosx dx = [int] 1/3tany dy
Every thing exactly right up to here.

sinx = (1/3)ln|sinx|

No, sin x= (1/3) ln |cos(y)|+ C. You accidently wrote x instead of y and forgot the constant of integeration.

[/quote]I'm stuck as to what to do next, how to solve the equation.. did I mess up in the beginning or what am I doing wrong?[/QUOTE]
What exactly do you mean by "solve the equation". In general you cannot solve for y. What you have, with the corrections, is the general solution.
 

Related Threads on First order differentials: separating variables

  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
5
Views
919
  • Last Post
Replies
3
Views
946
Replies
4
Views
2K
Replies
3
Views
1K
Replies
4
Views
1K
Replies
3
Views
2K
Replies
2
Views
3K
Replies
2
Views
1K
  • Last Post
Replies
5
Views
3K
Top