Solving an Exact Differential Equation (#1)

5 replies · 2K views · last reply
r-soy
Messages
170
Reaction score
1
Attachments
  • Handwritten solution on lined paper to the exercise 'solve (x+y)dy = (y-x)dx': N = x+y and M = -y+x, partial derivatives shown, then an integrating factor 1/(x^2+y^2) applied, leading to an integral and the result ln|x+y| = ... + C.
    866864662.jpg
    72.3 KB · Views: 141
Re: show exat or not and solve

the same idea here as well ,but i don't understand what you are doing exactly !
 
Re: show exat or not and solve

Welcome to MHB, rsoy! :)

Your problem seems to be that you assume $\dfrac{x+y}{x^2+y^2} = \dfrac 1 {x+y}$.
But this is not true.So instead your next step for the first part of the expression would be (edited):
$$\begin{aligned} \int^y \frac{x+y}{x^2+y^2}dy &= \int^y \frac{x}{x^2+y^2}dy &&+ \int^y \frac{y}{x^2+y^2}dy &\\
&= \arctan \left(\frac y x \right) &&+ \frac 1 2 \ln(x^2+y^2) &+ C(x) \end{aligned}$$
 
Last edited:
Re: show exat or not and solve

I like Serena said:
Welcome to MHB, rsoy! :)

Your problem seems to be that you assume $\dfrac{x+y}{x^2+y^2} = \dfrac 1 {x+y}$.
But this is not true.So instead your next step for the first part of the expression would be:
$$\begin{aligned} \int^y \frac{x+y}{x^2+y^2}dy &= \int^y \frac{x}{x^2+y^2}dy &&+ \int^y \frac{y}{x^2+y^2}dy &\\
&= \arctan \left(\frac y x \right) &&+ \frac 1 2 \ln(x^2+y^2) &+ C \end{aligned}$$

Shouldn't the resultant constant be a function of x !
 
Re: show exat or not and solve

ZaidAlyafey said:
Shouldn't the resultant constant be a function of x !

Good point!
Edited.