document.write( "Question 1027848: Consider the functions
\n" ); document.write( "f(x) = sqrt((x+1)/(x-1)) and g(x) = sqrt(x+1)/sqrt(x-1)
\n" ); document.write( "Explain why f and g are not the same function.
\n" ); document.write( "

Algebra.Com's Answer #643056 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
f(x) = \"sqrt%28%28x%2B1%29%2F%28x-1%29%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "g(x) = \"sqrt%28x%2B1%29%2Fsqrt%28x-1%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "they look like the same function to me.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we'll graph both functions to see if that's true or not.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's the graph of f(x) = \"sqrt%28%28x%2B1%29%2F%28x-1%29%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's the graph of g(x) = \"sqrt%28x%2B1%29%2Fsqrt%28x-1%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "as you can see, they are not the same function.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "they are the same function when x is positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's a spreadsheet of the data for x = -5 to x +5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to make a long story short, the basic difference is as follows:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "with f(x) = \"sqrt%28%28x%2B1%29%2F%28x-1%29%29\", the numerator and divisor are within the same square root sign.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if the numerator is negative and the denominator is negative, then the result is positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the square root of a positive number is valid, so the square root is allowed and it can be graphed.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "with g(x) = \"sqrt%28x%2B1%29%2Fsqrt%28x-1%29\", the numerator is under its own square root sign and the denominator is under its own square root sign.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if either the numerator is negative, or the denominator is negative, or botth are negative, then the result will be invalid because you can't take the square root of a negative number.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in general, square root of (a/b) is equal to square root of (a) / square root of (b).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this is true when both the numerator and denominator are positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when either the numerator or denominator or both are negative, then this is not true.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you then run into square root of a negative number, which is not valid.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if a is negative and b is positive, then:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a/b) is not allowed because a/b is negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a)/sqrt(b) is not allowed because a is negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "likewise, if a is positive and b is negative, then:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a/b) is not allowed because a/b is negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a)/sqrt(b) is not allowed because b is negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if both a and b are negative, then:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a/b) is allowed because a/b is positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt(a)/sqrt(b) is not allowed because a is negative and because b is negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );