document.write( "Question 1143624: Find the general solution of this linear differential equation:
\n" ); document.write( " (x^4 +2y)dx-xdy=0
\n" ); document.write( "

Algebra.Com's Answer #764486 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
\"%28x%5E4+%2B2y%29dx-xdy=0\"
\n" ); document.write( "
\r\n" );
document.write( "We cannot separate the variables, so we hope that it is linear.\r\n" );
document.write( "It is linear if we can get it in the form\r\n" );
document.write( "\r\n" );
document.write( "\"dy%2BP%28x%29y%2Adx=Q%28x%29%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "then we can solve it by multiplying by the\r\n" );
document.write( "integrating factor \"matrix%282%2C1%2C%22%22%2Ce%5Eint%28P%28x%29%2Adx%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "So let's try to get it in that form:\r\n" );
document.write( "\r\n" );
document.write( "\"%28x%5E4+%2B2y%29dx-xdy=0\"\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E4%2Adx%2B2y%2Adx-xdy=0\"\r\n" );
document.write( "\r\n" );
document.write( "\"-xdy%2B2y%2Adx=-x%5E4%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "Divide through by -x\r\n" );
document.write( "\r\n" );
document.write( "\"-xdy%2F%28-x%29%2B2y%2Adx%2F%28-x%29=%28-x%5E4%2Adx%29%2F%28-x%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"dy%2B%28-2%2Fx%29y%2Adx=x%5E3%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "So it is a linear differential equation with \"P%28x%29=%28-2%2Fx%29=-2x%5E%28-1%29\" and \"Q%28x%29=x%5E3\"\r\n" );
document.write( "\r\n" );
document.write( "Linear differential equations are usually easier if we can\r\n" );
document.write( "avoid denominators by using negative exponents:\r\n" );
document.write( "\r\n" );
document.write( "\"dy%2B%28-2x%5E%28-1%29%29y%2Adx=x%5E3%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "We calculate the integrating factor\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%282%2C1%2C%22%22%2Ce%5Eint%28P%28x%29%5E%22%22%2Adx%29%29\"\"matrix%282%2C1%2C%22%22%2C%22%22=%22%22%29\"\"matrix%282%2C1%2C%22%22%2Ce%5Eint%28%28-2x%5E%28-1%29%29%2Adx%29%29\"\"matrix%282%2C1%2C%22%22%2C%22%22=%22%22%29\"\"matrix%282%2C1%2C%22%22%2Ce%5E%28-2%2Aint%28%281%2Fx%29%2Adx%29%29%29\"\"matrix%282%2C1%2C%22%22%2C%22%22=%22%22%29\"\"matrix%282%2C1%2C%22%22%2Ce%5E%28-2%2Aln%28x%29%29%29\"\"matrix%282%2C1%2C%22%22%2C%22%22=%22%22%29\"\"matrix%282%2C1%2C%22%22%2Ce%5E%28ln%28x%5E%28-2%29%29%29%29\"\"matrix%282%2C1%2C%22%22%2C%22%22=%22%22%29\"\"matrix%282%2C1%2C%22%22%2Cx%5E%28-2%29%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "We multiply through by the integrating factor \"x%5E%28-2%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E%28-2%29%2Ady%2Bx%5E%28-2%29%28-2x%5E%28-1%29%29y%2Adx=x%5E%28-2%29%2A%28x%5E3%2Adx%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E%28-2%29%2Ady%2B%28-2x%5E%28-3%29%29y%2Adx=x%2Adx%29\"\r\n" );
document.write( "\r\n" );
document.write( "We integrate both sides:\r\n" );
document.write( "\r\n" );
document.write( "\"int%28%28x%5E%28-2%29%2Ady%2B%28-2x%5E%28-3%29%29%5E%22%22y%2Adx%29%29\"\"%22%22=%22%22\"\"int%28x%5E%22%22%5E%22%22%2Adx%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "The right side is easy to integrate.  The left side requires a little\r\n" );
document.write( "more thinking since we cannot integrate the terms separately.  On the left \r\n" );
document.write( "side, we have the integral of the differential of a product \r\n" );
document.write( "d(u*v) = u*dv+v*du, where \"u=x%5E%28-2%29\" and \"v=y\", so the left side\r\n" );
document.write( "integrates to the product \"u%2Av\" or \"x%5E%28-2%29%2Ay\" and so the general\r\n" );
document.write( "solution is\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E%28-2%29y=x%5E2%2F2%5E%22%22%2BC\"\r\n" );
document.write( "\r\n" );
document.write( "Multiply both sides by x²\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E2%2Ax%5E%28-2%29y=x%5E2%2Aexpr%28x%5E2%2F2%5E%22%22%29%2Bx%5E2%2AC\"\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E0%2Ay=expr%28x%5E4%2F2%5E%22%22%29%2BCx%5E2\"\r\n" );
document.write( "\r\n" );
document.write( "\"y=x%5E4%2F2%5E%22%22%2BCx%5E2\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );