Calculus Examples

Find the Local Maxima and Minima f(x) = natural log of 4- natural log of x
f(x)=ln(4-ln(x))
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=ln(x) and g(x)=4-ln(x).
Tap for more steps...
Step 1.1.1
To apply the Chain Rule, set u as 4-ln(x).
ddu[ln(u)]ddx[4-ln(x)]
Step 1.1.2
The derivative of ln(u) with respect to u is 1u.
1uddx[4-ln(x)]
Step 1.1.3
Replace all occurrences of u with 4-ln(x).
14-ln(x)ddx[4-ln(x)]
14-ln(x)ddx[4-ln(x)]
Step 1.2
Differentiate.
Tap for more steps...
Step 1.2.1
By the Sum Rule, the derivative of 4-ln(x) with respect to x is ddx[4]+ddx[-ln(x)].
14-ln(x)(ddx[4]+ddx[-ln(x)])
Step 1.2.2
Since 4 is constant with respect to x, the derivative of 4 with respect to x is 0.
14-ln(x)(0+ddx[-ln(x)])
Step 1.2.3
Add 0 and ddx[-ln(x)].
14-ln(x)ddx[-ln(x)]
Step 1.2.4
Since -1 is constant with respect to x, the derivative of -ln(x) with respect to x is -ddx[ln(x)].
14-ln(x)(-ddx[ln(x)])
14-ln(x)(-ddx[ln(x)])
Step 1.3
The derivative of ln(x) with respect to x is 1x.
14-ln(x)(-1x)
Step 1.4
Multiply 14-ln(x) by 1x.
-1(4-ln(x))x
Step 1.5
Simplify.
Tap for more steps...
Step 1.5.1
Apply the distributive property.
-14x-ln(x)x
Step 1.5.2
Factor x out of 4x-ln(x)x.
Tap for more steps...
Step 1.5.2.1
Factor x out of 4x.
-1x4-ln(x)x
Step 1.5.2.2
Factor x out of -ln(x)x.
-1x4+x(-ln(x))
Step 1.5.2.3
Factor x out of x4+x(-ln(x)).
-1x(4-ln(x))
-1x(4-ln(x))
-1x(4-ln(x))
-1x(4-ln(x))
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Product Rule which states that ddx[f(x)g(x)] is f(x)ddx[g(x)]+g(x)ddx[f(x)] where f(x)=-1 and g(x)=1x(4-ln(x)).
f′′(x)=-ddx1x(4-ln(x))+1x(4-ln(x))ddx(-1)
Step 2.2
Rewrite 1x(4-ln(x)) as (x(4-ln(x)))-1.
f′′(x)=-ddx(x(4-ln(x)))-1+1x(4-ln(x))ddx(-1)
Step 2.3
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x-1 and g(x)=x(4-ln(x)).
Tap for more steps...
Step 2.3.1
To apply the Chain Rule, set u as x(4-ln(x)).
f′′(x)=-(ddu(u-1)ddx(x(4-ln(x))))+1x(4-ln(x))ddx(-1)
Step 2.3.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=-1.
f′′(x)=-(-u-2ddx(x(4-ln(x))))+1x(4-ln(x))ddx(-1)
Step 2.3.3
Replace all occurrences of u with x(4-ln(x)).
f′′(x)=-(-(x(4-ln(x)))-2ddx(x(4-ln(x))))+1x(4-ln(x))ddx(-1)
f′′(x)=-(-(x(4-ln(x)))-2ddx(x(4-ln(x))))+1x(4-ln(x))ddx(-1)
Step 2.4
Multiply.
Tap for more steps...
Step 2.4.1
Multiply -1 by -1.
f′′(x)=1((x(4-ln(x)))-2ddx(x(4-ln(x))))+1x(4-ln(x))ddx(-1)
Step 2.4.2
Multiply (x(4-ln(x)))-2 by 1.
f′′(x)=(x(4-ln(x)))-2ddx(x(4-ln(x)))+1x(4-ln(x))ddx(-1)
f′′(x)=(x(4-ln(x)))-2ddx(x(4-ln(x)))+1x(4-ln(x))ddx(-1)
Step 2.5
Differentiate using the Product Rule which states that ddx[f(x)g(x)] is f(x)ddx[g(x)]+g(x)ddx[f(x)] where f(x)=x and g(x)=4-ln(x).
f′′(x)=(x(4-ln(x)))-2(xddx(4-ln(x))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.6
Differentiate.
Tap for more steps...
Step 2.6.1
By the Sum Rule, the derivative of 4-ln(x) with respect to x is ddx[4]+ddx[-ln(x)].
f′′(x)=(x(4-ln(x)))-2(x(ddx(4)+ddx(-ln(x)))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.6.2
Since 4 is constant with respect to x, the derivative of 4 with respect to x is 0.
f′′(x)=(x(4-ln(x)))-2(x(0+ddx(-ln(x)))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.6.3
Add 0 and ddx[-ln(x)].
f′′(x)=(x(4-ln(x)))-2(xddx(-ln(x))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.6.4
Since -1 is constant with respect to x, the derivative of -ln(x) with respect to x is -ddx[ln(x)].
f′′(x)=(x(4-ln(x)))-2(x(-ddxln(x))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
f′′(x)=(x(4-ln(x)))-2(x(-ddxln(x))+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.7
The derivative of ln(x) with respect to x is 1x.
f′′(x)=(x(4-ln(x)))-2(x(-1x)+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.8
Differentiate.
Tap for more steps...
Step 2.8.1
Combine x and 1x.
f′′(x)=(x(4-ln(x)))-2(-xx+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.8.2
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 2.8.2.1
Cancel the common factor of x.
Tap for more steps...
Step 2.8.2.1.1
Cancel the common factor.
f′′(x)=(x(4-ln(x)))-2(-xx+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.8.2.1.2
Rewrite the expression.
f′′(x)=(x(4-ln(x)))-2(-11+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
f′′(x)=(x(4-ln(x)))-2(-11+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.8.2.2
Multiply -1 by 1.
f′′(x)=(x(4-ln(x)))-2(-1+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
f′′(x)=(x(4-ln(x)))-2(-1+(4-ln(x))ddx(x))+1x(4-ln(x))ddx(-1)
Step 2.8.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=(x(4-ln(x)))-2(-1+(4-ln(x))1)+1x(4-ln(x))ddx(-1)
Step 2.8.4
Simplify the expression.
Tap for more steps...
Step 2.8.4.1
Multiply 4-ln(x) by 1.
f′′(x)=(x(4-ln(x)))-2(-1+4-ln(x))+1x(4-ln(x))ddx(-1)
Step 2.8.4.2
Add -1 and 4.
f′′(x)=(x(4-ln(x)))-2(3-ln(x))+1x(4-ln(x))ddx(-1)
f′′(x)=(x(4-ln(x)))-2(3-ln(x))+1x(4-ln(x))ddx(-1)
Step 2.8.5
Since -1 is constant with respect to x, the derivative of -1 with respect to x is 0.
f′′(x)=(x(4-ln(x)))-2(3-ln(x))+1x(4-ln(x))0
Step 2.8.6
Simplify the expression.
Tap for more steps...
Step 2.8.6.1
Multiply 1x(4-ln(x)) by 0.
f′′(x)=(x(4-ln(x)))-2(3-ln(x))+0
Step 2.8.6.2
Add (x(4-ln(x)))-2(3-ln(x)) and 0.
f′′(x)=(x(4-ln(x)))-2(3-ln(x))
f′′(x)=(x(4-ln(x)))-2(3-ln(x))
f′′(x)=(x(4-ln(x)))-2(3-ln(x))
Step 2.9
Simplify.
Tap for more steps...
Step 2.9.1
Rewrite the expression using the negative exponent rule b-n=1bn.
f′′(x)=1(x(4-ln(x)))2(3-ln(x))
Step 2.9.2
Apply the product rule to x(4-ln(x)).
f′′(x)=1x2(4-ln(x))2(3-ln(x))
Step 2.9.3
Reorder the factors of 1x2(4-ln(x))2(3-ln(x)).
f′′(x)=(3-ln(x))(1x2(4-ln(x))2)
Step 2.9.4
Multiply 3-ln(x) by 1x2(4-ln(x))2.
f′′(x)=3-ln(x)x2(4-ln(x))2
f′′(x)=3-ln(x)x2(4-ln(x))2
f′′(x)=3-ln(x)x2(4-ln(x))2
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
-1x(4-ln(x))=0
Step 4
Since there is no value of x that makes the first derivative equal to 0, there are no local extrema.
No Local Extrema
Step 5
No Local Extrema
Step 6
 [x2  12  π  xdx ]