# Proving the general solution of a differential equation

• December 19th 2011, 12:49 AM
Punch
Proving the general solution of a differential equation
Prove that the general solution to the differential equation, $\frac{dy}{dx}=\frac{k}{xhy}$ is $y^2=lnCx^n$ where $k, h, C and n$ are constants.

$\frac{dy}{dx}=\frac{k}{xhy}$

$\int{y}dy=\int\frac{A}{x}dx$ where $A=\frac{k}{h}$

$\frac{1}{2}y^2=Alnx+C$

how can I twit the equation further?
• December 19th 2011, 01:07 AM
FernandoRevilla
Re: Proving the general solution of a differential equation
Quote:

Originally Posted by Punch
$\frac{1}{2}y^2=Alnx+C$ how can I twit the equation further?

$y^2=2A\ln x+2C=\ln x^{2A}+\ln K=\ln (Kx^{2A})=\ln (Kx^n)$
• December 19th 2011, 01:09 AM
Punch
Re: Proving the general solution of a differential equation
Quote:

Originally Posted by FernandoRevilla
Express the equation in the form $hy\;dy-\frac{kdx}{x}=0$ (separated variables) .

Alright, then i get $h\frac{y^2}{2}=klnx + C$ which I still dont see how I can further transform this
• December 19th 2011, 01:10 AM
Punch
Re: Proving the general solution of a differential equation
Quote:

Originally Posted by FernandoRevilla
$y^2=2A\ln x+2C=\ln x^{2A}+\ln K=\ln (Kx^{2A})=\ln (Kx^n)$

Oh! I see, so I just have to insert a lnC' to replace C and that does the trick!