Solving First Order Linear ODE: dy/dx = y/x + tan(y/x)

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
3 replies · 1K views
whatisreality
Messages
286
Reaction score
1

Homework Statement


Solve dy/dx = y/x + tan(y/x)

Homework Equations

The Attempt at a Solution


Not separable, as far as I can tell. It's not homogeneous, since for the tan term f(λx,λy) = tan(λy/λx) = tan(y/x) ≠ λtan(y/x). It's also not of the form dy/dx + P(x)y = Q(x), because I don't think Q(x) should involve y. And that completes the list of methods I know, none of which I can use! How do you solve this?! Is there a substitution I should make?
 
Physics news on Phys.org
Even though this is not homogeneous, seeing that "y/x" my first thought would be to try the substitution u= y/x.

Then y= xu so that dy/dx= u+ x du/dx. The differential equation becomes u+ x du/dx= u+ tan(u) so that x du/dx= tan(u).

That is separable.
 
OK, that substitution works! I thought it was only for homogeneous equations. Thanks :)