Can anyone check if my answer for this ODE is correct?

  • Thread starter Thread starter ronaldor9
  • Start date Start date
  • Tags Tags
    Ode
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
4 replies · 2K views
ronaldor9
Messages
91
Reaction score
1

Homework Statement


[tex](x+2y-4)\,dx - (2x-4y)\,dy=0[/tex]

The Attempt at a Solution


My answer,
[tex]\mathrm{ln}[4(y-1)^2+(x-2)^2] + 2\mathrm{arctan}\frac{x-2}{2y-2}=C[/tex]
Textbook's answer,
[tex]\mathrm{ln}[4(y-1)^2+(x-2)^2] - 2\mathrm{arctan}\frac{2y-2}{x-2}=C[/tex]
 
Last edited:
Physics news on Phys.org
Hey, sorry i meant to place a constant instead of the zero.
Does that identity work for arctan?
 
ronaldor9 said:
Hey, sorry i meant to place a constant instead of the zero.
Does that identity work for arctan?

oh come on

if tan(a) = 1/tan(π/2 - a),

then putting T = tan(a) gives 1/T = tan(π/2 - a),

so arctanT = a = π/2 - arctan(1/T)