MHB Speeeed's question at Yahoo Answers regarding special integrating factors

AI Thread Summary
The equation y + (2x - ye^y)y' = 0 is determined to be non-exact by checking the conditions for exactness, revealing that ∂M/∂y ≠ ∂N/∂x. An integrating factor, μ(y) = y, is identified to make the equation exact. After applying this integrating factor, the equation becomes exact, allowing for the integration process to find the function F(x,y). The implicit solution is expressed as xy^2 - ∫y^2e^y dy = C, with further integration by parts yielding a more explicit form. This discussion emphasizes the importance of integrating factors in solving non-exact differential equations.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Show that the given equation is not exact and find the right integrating factor to make this equation exact?

Show that the given equation is not exact and find the right integrating factor to make this equation exact (Hint : this integrating factor μ(y) is a function of y only).
Then solve the equation (you can leave the constant of integration for ψ under its integral form).

y+(2x−ye^y)y′ =0

Correct answer is μ = y
(y^2)x − integral of (y^2)e^y dy=c

I need a step by step answer please..

Here is a link to the question:

Show that the given equation is not exact and find the right integrating factor to make this equation exact? - Yahoo! Answers

I have posted a link there to this topic so the OP can find my response.
 
Mathematics news on Phys.org
Hello speeeed,

We are given to solve:

$$y+\left(2x-ye^y \right)y'=0$$

First, let's express the ODE in the differential form $$M(x,y)\,dx+N(x,y)\,dy=0$$:

$$(y)\,dx+\left(2x-ye^y \right)\,dy=0$$

An equation is exact iff $$\frac{\delta M}{\delta y}=\frac{\delta N}{\delta x}$$. Checking for exactness, we find:

$$\frac{\delta}{\delta y}(y)=1$$

$$\frac{\delta}{\delta x}\left(2x-ye^y \right)=2$$

Since in this case $$\frac{\delta M}{\delta y}\ne\frac{\delta N}{\delta x}$$ we may conclude the ODE is not exact.

Next we want to consider:

$$\frac{\frac{\delta M}{\delta y}-\frac{\delta N}{\delta x}}{N}=-\frac{1}{2x-ye^y}$$

Since this is not a function of just $x$, we next consider:

$$\frac{\frac{\delta N}{\delta x}-\frac{\delta M}{\delta y}}{M}=\frac{1}{y}$$

Since this is a function of just $y$, then an integrating factor is given by:

$$\mu(y)=e^{\int\frac{dy}{y}}=y$$

Multiplying the ODE in differential form by this integrating factor, we get:

$$\left(y^2 \right)\,dx+\left(2xy-y^2e^y \right)\,dy=0$$

Now, we can verify that we have an exact equation as:

$$\frac{\delta}{\delta y}\left(y^2 \right)=\frac{\delta}{\delta x}\left(2xy-y^2e^y \right)=2y$$

Since the equation is exact, then there must be a function $F(x,y)$ satisfying:

$$\frac{\delta F}{\delta x}(x,y)=y^2$$

Integrating with respect to $x$, we find:

$$F(x,y)=\int y^2\,dx=xy^2+g(y)$$

To determine $g(y)$, we now take the partial derivative with respect to $y$ and substitute $$2xy-y^2e^y=\frac{\delta F}{\delta y}$$:

$$2xy-y^2e^y=2xy+g'(y)$$

$$g'(y)=-y^2e^y$$

Integrating with respect to $y$, we have:

$$g(y)=-\int y^2e^y\,dy$$

And so we have:

$$F(x,y)=xy^2-\int y^2e^y\,dy$$

Since the solution is given implicitly by $F(x,y)=C$, we may give the solution as:

$$xy^2-\int y^2e^y\,dy=C$$

If we wish to evaluate the integral in the result, we may use integration by parts. Let:

$$I=\int y^2e^y\,dy$$

Using:

$$u=y^2\,\therefore\,du=2y\,dy$$

$$dv=e^y\,\therefore\,v=e^y$$

we now have:

$$I=y^2e^y-2\int ye^y\,dy$$

Using IBP again:

$$u=y\,\therefore\,du=\,dy$$

$$dv=e^y\,\therefore\,v=e^y$$

we now have:

$$I=y^2e^y-2\left(ye^y-\int e^y\,dy \right)=e^y\left(y^2-2y+2 \right)+C$$

Since the constant of integration here is not important, and could just be combined with the constant in the solution above, the solution to the ODE can be expressed implicitly as:

$$xy^2-e^y\left(y^2-2y+2 \right)=C$$

To speeeed and any other guests viewing this topic, I invite and encourage you to post other differential equations problems here in our http://www.mathhelpboards.com/f17/ forum.

Best Regards,

Mark.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top