document.write( "Question 1199306: Question\r
\n" ); document.write( "\n" ); document.write( "(a) Determine whether the differential equation
\n" ); document.write( "ydx - xdy =0 is exact:
\n" ); document.write( "(b) If not, convert it into an exact differential equation_ (c) Solve this differential equation.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #833194 by Edwin McCravy(20054)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "\r\n" );
document.write( "\"y%2Adx+-+x%2Ady\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "That is easily solvable by separating the variables.  Its solution is y = Cx\r\n" );
document.write( "\r\n" );
document.write( "But your professor wants you to tackle it as either an exact differential \r\n" );
document.write( "equation or one solvable by using an integrating factor to convert it to\r\n" );
document.write( "an exact differential equation. \r\n" );
document.write( "\r\n" );
document.write( "First we check to see if the differential equation is exact:\r\n" );
document.write( "\r\n" );
document.write( "We write it in the form \"M%2Adx%2BN%2Ady\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%281%2C5%2C%28y%29%2Adx%2C%22%22%2B%22%22%2C%28-x%29%2Ady%2C%22%22=%22%22%2C0%29\"\r\n" );
document.write( "\r\n" );
document.write( "So M(x,y) = y,   N(x,y) = -x\r\n" );
document.write( "\r\n" );
document.write( "We form the partial derivatives:\r\n" );
document.write( "\r\n" );
document.write( "\"M%5By%5D=1\", \"N%5Bx%5D=-1\"\r\n" );
document.write( "\r\n" );
document.write( "Those are not equal, so the differential equation is not exact.\r\n" );
document.write( "\r\n" );
document.write( "So we can try one of these integrating factors to multiply through by to\r\n" );
document.write( "see if it comes out to be an exact differential equation:\r\n" );
document.write( "\r\n" );
document.write( "\"mu\"\"%22%22=%22%22\"\"or\"\"mu\"\"%22%22=%22%22\"\r\n" );
document.write( "\r\n" );
document.write( "Trying the first one:\r\n" );
document.write( "\r\n" );
document.write( "\"mu\"\"%22%22=%22%22\"\"%22%22=%22%22\"\"matrix%282%2C1%2C%22%22%2Ce%5Eint%28-2%2Cdx%29%29\"\"%22%22=%22%22\"\"matrix%282%2C1%2C%22%22%2Ce%5E%28-2int%28dx%29%29%29\"\"%22%22=%22%22\"\"e%5E%28-2x%29\"\r\n" );
document.write( "\r\n" );
document.write( "So we multiply the original differential equation\r\n" );
document.write( "\r\n" );
document.write( "\"y%2Adx+-+x%2Ady\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( " through by \"mu=e%5E%28-2x%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28e%5E%28-2x%29y%29dx\"\"%22%22%2B%22%22\"\"%28-e%5E%28-2x%29x%29dy\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "Let's see if that is exact.\r\n" );
document.write( "\r\n" );
document.write( "Taking the partial of \"%28e%5E%28-2x%29y%29dx\" with respect to y givss \"e%5E%28-2x%29\"\r\n" );
document.write( "\r\n" );
document.write( "Taking the partial of \"%28-e%5E%28-2x%29x%29dy\" with respect to x \r\n" );
document.write( "gives \"-e%5E%28-2x%29%281%29%2Bx%282e%5E%28-2x%29%29\"\"%22%22=%22%22\"\"e%5E%28-2x%29%282x-1%29\"\r\n" );
document.write( "\r\n" );
document.write( "They are not equal so this integrating factor did not work.  There is no\r\n" );
document.write( "use to try the other one because the equation is symmetrical in x and y,\r\n" );
document.write( "and it would be the same with the x's and y's swapped.\r\n" );
document.write( "\r\n" );
document.write( "So we can't convert the given differential equation to an exact one by\r\n" );
document.write( "the usual method.  That's because the method assumes it's possible to\r\n" );
document.write( "find an integrating factor in terms of one variable only.  So it's not\r\n" );
document.write( "possible.  So we can't do what your professor asked you to do.\r\n" );
document.write( "\r\n" );
document.write( "So let's just solve it by separating the variables:\r\n" );
document.write( "\r\n" );
document.write( "\"y%2Adx+-+x%2Ady\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "I like my dy to be at the first:\r\n" );
document.write( "\r\n" );
document.write( "\"-x%2Ady\"\"%22%22=%22%22\"\"-y%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "\"x%2Ady\"\"%22%22=%22%22\"\"y%2Adx\"\r\n" );
document.write( "\r\n" );
document.write( "Divide both sides by \"x%2Ay\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28x%2Ady%29%2F%28x%2Ay%29\"\"%22%22=%22%22\"\"%28y%2Adx%29%2F%28x%2Ay%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28cross%28x%29%2Ady%29%2F%28cross%28x%29%2Ay%29\"\"%22%22=%22%22\"\"%28cross%28y%29%2Adx%29%2F%28x%2Across%28y%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"dy%2Fy\"\"%22%22=%22%22\"\"dx%2Fx\"\r\n" );
document.write( "\r\n" );
document.write( "\"int%28dy%2Fy%29\"\"%22%22=%22%22\"\"int%28dx%2Fx%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"ln%28y%29\"\"%22%22=%22%22\"\"ln%28x%29%2Bln%28C%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"ln%28y%29\"\"%22%22=%22%22\"\"ln%28Cx%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"y\"\"%22%22=%22%22\"\"Cx\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );