How Can I Solve This Differential Equation with an Initial Condition of y(1)=7?

goaliejoe35
Messages
72
Reaction score
0
Homework Statement

Find the particular solution of the differential equation xdy=(x+y-4)dx that satisfies the initial condition y(1)=7.

The attempt at a solution

Ok here's my first two steps...

dy = \frac{(x+y-4)}{x} dx
\frac{dy}{(x+y-4)} = \frac{dx}{x}

Now here's where I get messed up. How can I get the x out of the side with the dy? Could someone please explain how to finish this or If I'm headed in the right direction?
 
Physics news on Phys.org
Is "separation of variables" the only way you know to solve differential equations? This is NOT a "separable" equation.
 
Yea that's the only way I know how. But I'm looking at a different way now where they give you the standard equation y' +P(x)y = Q(x), but I don't quite understand it.
 
goaliejoe35 said:
Yea that's the only way I know how. But I'm looking at a different way now where they give you the standard equation y' +P(x)y = Q(x), but I don't quite understand it.

THat's a linear first-order differential equation. Usually, textbooks show the method for solving them. Try looking in your textbook.
 
Use a substitution of y=Vx


EDIT: nvm...now re-read your post...
 
Last edited:
y' +P(x)y = Q(x)

goaliejoe35 said:
Homework Statement

Find the particular solution of the differential equation xdy=(x+y-4)dx that satisfies the initial condition y(1)=7.
goaliejoe35 said:
Yea that's the only way I know how. But I'm looking at a different way now where they give you the standard equation y' +P(x)y = Q(x), but I don't quite understand it.

Hi goaliejoe35! :smile:

Hint: first step: get the RHS x-only:

xdy - ydx = (x - 4)dx.

Does the LHS now remind you of anything?

If so, fiddle around with it until you get something you can integrate.

If not, go back to your book and look at y' +P(x)y = Q(x) again :smile:
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top