document.write( "Question 236092: why the log function graph doesn't go negative?
\n" ); document.write( "what will be the graph of 1/((x^2)-5x+6)?
\n" ); document.write( "

Algebra.Com's Answer #173991 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
why the log function graph doesn't go negative?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the log of a number cannot be negative or 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this is because the base of the exponential form which is the inverse of the log has to be positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assuming the base of the exponential form has to be positive, it is impossible for the log to be 0 or negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a negative base in the exponential form leads to problems when dealing with exponents that are less than 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-2^(.5) is equivalent to the square root of (-2) which is not a valid numbers so allowing the base to be negative leads to inconsistencies which are avoided byt making the base having to be positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I don't believe you can have a base of 0 for similar reasons. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "0^0 = 1 because anything to the 0 power = 1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "0^1 = 0\r
\n" ); document.write( "\n" ); document.write( "0^2 = 0*0 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this also leads to problem that I think are the reasons why the rule is that the base has to be positive.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assuming the base has to be positive, then the answer to your question becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the definition of a log is that it is the inverse function of an exponent.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = log(b,x) if and only if x = b^y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the reverse is also true.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = b^y if and only if log(b,x) = y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you take the equation x = b^y, then you should be able to see that x will never be able to be 0 or negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "let's try to make it happen.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = b^y is the equation we have to work with.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if y = 0 then x = b^0 = 1 because anything to the 0 power is equal to 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if y = any positive number greater than 0, then x = b^y becomes a positive number because b has to be positive as stated earlier.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if -y = any negative number, then by the laws of exponents, x = b^(-y) becomes x = 1/b^y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x is still a positive number even though the exponent is negative because of this rule.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this means that the log of a number can never be 0 or negative because:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "log(b,x) = y if and only if b^y = x and b^y will always be positive assuming that b has to be positive which is the underlying assumption.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "what will be the graph of 1/((x^2)-5x+6)?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "easiest way to find out is to graph it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"graph%28600%2C600%2C-5%2C10%2C-50%2C50%2C1%2F%28x%5E2-5x%2B6%29%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "it looks like you have a couple of asymptotes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "looking at your equation in the denominator of (x^2-5x+6), it appears that it can be factored as:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(x-2)*x-3)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "multiply these factors out and you get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 - 3x - 2x + 6 which becomes:
\n" ); document.write( "x^2 - 5x + 6 which is the same asthe original equation so the factors are good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the factors of (x-2) * (x-3) set to 0 yield:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = 2 and x = 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this means that the denominator of the equation will be 0 when x = 2 and when x = 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this means you have 2 asymptotes at x = 2 and x = 3 as can be seen fairly clearly in the graph.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "draw a vertical line at x = 2 and x = 3 and you will see that the equation will try to reach - infinity and infinity at those points which makes them the asymptotes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 1.9999 y equals 9999 + a fraction.
\n" ); document.write( "when x = 2.0001, y equals -10001 - a fraction.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "before the asymptote, the equation is looking to reach infinity the closer it gets to 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "after the asymptote, the equation is looking to reach minus infinity the closer it gets to 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "same happens around x = 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );