# Making a substitution in a differential equation.

• May 6th 2009, 08:49 AM
Nyoxis
Making a substitution in a differential equation.
The variables x and y are related by the differential equation:

$\frac{dy}{dx} = \frac{x^2 - y^2}{xy}$

Use the substitution y=xz, where z is a function of x, to obtain the differential equation:

$x\frac{dz}{dx} = \frac{1-az^2}{z}$

My questions sheet has 2 instead of the a, but I get a=1, which is correct?

Cheers. (Happy)
• May 6th 2009, 09:50 AM
Jester
Quote:

Originally Posted by Nyoxis
The variables x and y are related by the differential equation:

$\frac{dy}{dx} = \frac{x^2 - y^2}{xy}$

Use the substitution y=xz, where z is a function of x, to obtain the differential equation:

$x\frac{dz}{dx} = \frac{1-az^2}{z}$

My questions sheet has 2 instead of the a, but I get a=1, which is correct?

Cheers. (Happy)

The a should be a 2.

$x \frac{dz}{dx} + z = \frac{x^2 - x^2z^2}{x^2z}$

and isloating z' gives

$x \frac{dz}{dx} = \frac{1 - 2z^2}{z}$.
• May 6th 2009, 09:56 AM
Nyoxis
Quote:

Originally Posted by danny arrigo
The a should be a 2.

$x \frac{dz}{dx} + z = \frac{x^2 - x^2z^2}{x^2z}$

Ah I see where I went wrong, I forgot to use the product rule when differentiating y=xz, thanks for the help. :)