document.write( "Question 61512: Use calculus to determine the relative extrema of f(x)=x-lnx\r
\n" ); document.write( "\n" ); document.write( "Find the equation of the tangent line at x=1\r
\n" ); document.write( "\n" ); document.write( "please help, i'm so confused!
\n" ); document.write( "

Algebra.Com's Answer #42393 by funmath(2933)\"\" \"About 
You can put this solution on YOUR website!
Use calculus to determine the relative extrema of f(x)=x-lnx\r
\n" ); document.write( "\n" ); document.write( "Find the equation of the tangent line at x=1
\n" ); document.write( "To find the relative extrema take the first derivative and find the numbers that make it 0 or undefined as long as the original function is defined there.
\n" ); document.write( "f'(x)=\"1-1%2Fx\"
\n" ); document.write( "\"0=1-1%2Fx\"
\n" ); document.write( "\"-1=-1%2Fx\"
\n" ); document.write( "\"1=1%2Fx\"
\n" ); document.write( "\"x=1\"
\n" ); document.write( "It's undefined at 0, but so is the original function, so we can't have a relative extrema there.
\n" ); document.write( "f(1)=1-ln(1)
\n" ); document.write( "f(1)=1-0
\n" ); document.write( "f(1)=1
\n" ); document.write( "There is a relative extrema at (1,1)
\n" ); document.write( "f''(x)=\"1%2Fx%5E2\"
\n" ); document.write( "f''(1)=\"1%2F1%5E2\"
\n" ); document.write( "f''(1)=1 The second derivative is positive, so it's a local min.
\n" ); document.write( ":
\n" ); document.write( "f'(1)=1-1/1
\n" ); document.write( "f'(1)=1-1
\n" ); document.write( "f'(1)=0 The slope of the tangent line is 0.
\n" ); document.write( ":
\n" ); document.write( "We already found that f(1)=1
\n" ); document.write( "The equation of line with the slope of 0 going through the point (1,1) is \"highlight%28y=1%29\"
\n" ); document.write( "Happy Calculating!!!
\n" ); document.write( "
\n" );