1
$\begingroup$

I'm self teaching and working though Cliff's quick review on Differential Equations. Asked to solve the following one

$x(1 - \sin y) \, dy = (\cos x - \cos y - y) \, dx$

The answer I got was $\sin x - x\cos y - xy = c$ the book says $xy + x\cos y - \sin x = c$

I feel like I'm asking a probably obvious question, but can someone confirm my answer is ok? My rationale is it's fine as the constant of integration could be negative, therefore negating the terms on the LHS.

  • 0
    @tentaclenorm: Thank you. I use WA most days but didn't even think about using it to check this.2012-05-02

1 Answers 1

2

It's fine. Take your answer and move every term to the other side of the equation. You'll get $ -c=xy+x\cos y -\sin x. $ But $c$ is an arbitrary constant, you can drop the negative sign on the left hand side of the above.