Calculus Examples

Find the Absolute Max and Min over the Interval f(x) = square root of x+2
f(x)=x+2f(x)=x+2
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Use nax=axn to rewrite x+2 as (x+2)12.
ddx[(x+2)12]
Step 1.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x12 and g(x)=x+2.
Tap for more steps...
Step 1.2.1
To apply the Chain Rule, set u as x+2.
ddu[u12]ddx[x+2]
Step 1.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=12.
12u12-1ddx[x+2]
Step 1.2.3
Replace all occurrences of u with x+2.
12(x+2)12-1ddx[x+2]
12(x+2)12-1ddx[x+2]
Step 1.3
To write -1 as a fraction with a common denominator, multiply by 22.
12(x+2)12-122ddx[x+2]
Step 1.4
Combine -1 and 22.
12(x+2)12+-122ddx[x+2]
Step 1.5
Combine the numerators over the common denominator.
12(x+2)1-122ddx[x+2]
Step 1.6
Simplify the numerator.
Tap for more steps...
Step 1.6.1
Multiply -1 by 2.
12(x+2)1-22ddx[x+2]
Step 1.6.2
Subtract 2 from 1.
12(x+2)-12ddx[x+2]
12(x+2)-12ddx[x+2]
Step 1.7
Combine fractions.
Tap for more steps...
Step 1.7.1
Move the negative in front of the fraction.
12(x+2)-12ddx[x+2]
Step 1.7.2
Combine 12 and (x+2)-12.
(x+2)-122ddx[x+2]
Step 1.7.3
Move (x+2)-12 to the denominator using the negative exponent rule b-n=1bn.
12(x+2)12ddx[x+2]
12(x+2)12ddx[x+2]
Step 1.8
By the Sum Rule, the derivative of x+2 with respect to x is ddx[x]+ddx[2].
12(x+2)12(ddx[x]+ddx[2])
Step 1.9
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
12(x+2)12(1+ddx[2])
Step 1.10
Since 2 is constant with respect to x, the derivative of 2 with respect to x is 0.
12(x+2)12(1+0)
Step 1.11
Simplify the expression.
Tap for more steps...
Step 1.11.1
Add 1 and 0.
12(x+2)121
Step 1.11.2
Multiply 12(x+2)12 by 1.
12(x+2)12
12(x+2)12
12(x+2)12
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Constant Multiple Rule.
Tap for more steps...
Step 2.1.1
Since 12 is constant with respect to x, the derivative of 12(x+2)12 with respect to x is 12ddx[1(x+2)12].
f′′(x)=12ddx(1(x+2)12)
Step 2.1.2
Apply basic rules of exponents.
Tap for more steps...
Step 2.1.2.1
Rewrite 1(x+2)12 as ((x+2)12)-1.
f′′(x)=12ddx(((x+2)12)-1)
Step 2.1.2.2
Multiply the exponents in ((x+2)12)-1.
Tap for more steps...
Step 2.1.2.2.1
Apply the power rule and multiply exponents, (am)n=amn.
f′′(x)=12ddx((x+2)12-1)
Step 2.1.2.2.2
Combine 12 and -1.
f′′(x)=12ddx((x+2)-12)
Step 2.1.2.2.3
Move the negative in front of the fraction.
f′′(x)=12ddx((x+2)-12)
f′′(x)=12ddx((x+2)-12)
f′′(x)=12ddx((x+2)-12)
f′′(x)=12ddx((x+2)-12)
Step 2.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x-12 and g(x)=x+2.
Tap for more steps...
Step 2.2.1
To apply the Chain Rule, set u as x+2.
f′′(x)=12(ddu(u-12)ddx(x+2))
Step 2.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=-12.
f′′(x)=12(-12u-12-1ddx(x+2))
Step 2.2.3
Replace all occurrences of u with x+2.
f′′(x)=12(-12(x+2)-12-1ddx(x+2))
f′′(x)=12(-12(x+2)-12-1ddx(x+2))
Step 2.3
To write -1 as a fraction with a common denominator, multiply by 22.
f′′(x)=12(-12(x+2)-12-122ddx(x+2))
Step 2.4
Combine -1 and 22.
f′′(x)=12(-12(x+2)-12+-122ddx(x+2))
Step 2.5
Combine the numerators over the common denominator.
f′′(x)=12(-12(x+2)-1-122ddx(x+2))
Step 2.6
Simplify the numerator.
Tap for more steps...
Step 2.6.1
Multiply -1 by 2.
f′′(x)=12(-12(x+2)-1-22ddx(x+2))
Step 2.6.2
Subtract 2 from -1.
f′′(x)=12(-12(x+2)-32ddx(x+2))
f′′(x)=12(-12(x+2)-32ddx(x+2))
Step 2.7
Combine fractions.
Tap for more steps...
Step 2.7.1
Move the negative in front of the fraction.
f′′(x)=12(-12(x+2)-32ddx(x+2))
Step 2.7.2
Combine (x+2)-32 and 12.
f′′(x)=12(-(x+2)-322ddx(x+2))
Step 2.7.3
Move (x+2)-32 to the denominator using the negative exponent rule b-n=1bn.
f′′(x)=12(-12(x+2)32ddx(x+2))
Step 2.7.4
Multiply 12 by 12(x+2)32.
f′′(x)=-12(2(x+2)32)ddx(x+2)
Step 2.7.5
Multiply 2 by 2.
f′′(x)=-14(x+2)32ddx(x+2)
f′′(x)=-14(x+2)32ddx(x+2)
Step 2.8
By the Sum Rule, the derivative of x+2 with respect to x is ddx[x]+ddx[2].
f′′(x)=-14(x+2)32(ddx(x)+ddx(2))
Step 2.9
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=-14(x+2)32(1+ddx(2))
Step 2.10
Since 2 is constant with respect to x, the derivative of 2 with respect to x is 0.
f′′(x)=-14(x+2)32(1+0)
Step 2.11
Simplify the expression.
Tap for more steps...
Step 2.11.1
Add 1 and 0.
f′′(x)=-14(x+2)321
Step 2.11.2
Multiply -1 by 1.
f′′(x)=-14(x+2)32
f′′(x)=-14(x+2)32
f′′(x)=-14(x+2)32
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
12(x+2)12=0
Step 4
Find the first derivative.
Tap for more steps...
Step 4.1
Find the first derivative.
Tap for more steps...
Step 4.1.1
Use nax=axn to rewrite x+2 as (x+2)12.
ddx[(x+2)12]
Step 4.1.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x12 and g(x)=x+2.
Tap for more steps...
Step 4.1.2.1
To apply the Chain Rule, set u as x+2.
ddu[u12]ddx[x+2]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=12.
12u12-1ddx[x+2]
Step 4.1.2.3
Replace all occurrences of u with x+2.
12(x+2)12-1ddx[x+2]
12(x+2)12-1ddx[x+2]
Step 4.1.3
To write -1 as a fraction with a common denominator, multiply by 22.
12(x+2)12-122ddx[x+2]
Step 4.1.4
Combine -1 and 22.
12(x+2)12+-122ddx[x+2]
Step 4.1.5
Combine the numerators over the common denominator.
12(x+2)1-122ddx[x+2]
Step 4.1.6
Simplify the numerator.
Tap for more steps...
Step 4.1.6.1
Multiply -1 by 2.
12(x+2)1-22ddx[x+2]
Step 4.1.6.2
Subtract 2 from 1.
12(x+2)-12ddx[x+2]
12(x+2)-12ddx[x+2]
Step 4.1.7
Combine fractions.
Tap for more steps...
Step 4.1.7.1
Move the negative in front of the fraction.
12(x+2)-12ddx[x+2]
Step 4.1.7.2
Combine 12 and (x+2)-12.
(x+2)-122ddx[x+2]
Step 4.1.7.3
Move (x+2)-12 to the denominator using the negative exponent rule b-n=1bn.
12(x+2)12ddx[x+2]
12(x+2)12ddx[x+2]
Step 4.1.8
By the Sum Rule, the derivative of x+2 with respect to x is ddx[x]+ddx[2].
12(x+2)12(ddx[x]+ddx[2])
Step 4.1.9
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
12(x+2)12(1+ddx[2])
Step 4.1.10
Since 2 is constant with respect to x, the derivative of 2 with respect to x is 0.
12(x+2)12(1+0)
Step 4.1.11
Simplify the expression.
Tap for more steps...
Step 4.1.11.1
Add 1 and 0.
12(x+2)121
Step 4.1.11.2
Multiply 12(x+2)12 by 1.
f(x)=12(x+2)12
f(x)=12(x+2)12
f(x)=12(x+2)12
Step 4.2
The first derivative of f(x) with respect to x is 12(x+2)12.
12(x+2)12
12(x+2)12
Step 5
Set the first derivative equal to 0 then solve the equation 12(x+2)12=0.
Tap for more steps...
Step 5.1
Set the first derivative equal to 0.
12(x+2)12=0
Step 5.2
Set the numerator equal to zero.
1=0
Step 5.3
Since 10, there are no solutions.
No solution
No solution
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.1
Convert expressions with fractional exponents to radicals.
Tap for more steps...
Step 6.1.1
Apply the rule xmn=nxm to rewrite the exponentiation as a radical.
12(x+2)1
Step 6.1.2
Anything raised to 1 is the base itself.
12x+2
12x+2
Step 6.2
Set the denominator in 12x+2 equal to 0 to find where the expression is undefined.
2x+2=0
Step 6.3
Solve for x.
Tap for more steps...
Step 6.3.1
To remove the radical on the left side of the equation, square both sides of the equation.
(2x+2)2=02
Step 6.3.2
Simplify each side of the equation.
Tap for more steps...
Step 6.3.2.1
Use nax=axn to rewrite x+2 as (x+2)12.
(2(x+2)12)2=02
Step 6.3.2.2
Simplify the left side.
Tap for more steps...
Step 6.3.2.2.1
Simplify (2(x+2)12)2.
Tap for more steps...
Step 6.3.2.2.1.1
Apply the product rule to 2(x+2)12.
22((x+2)12)2=02
Step 6.3.2.2.1.2
Raise 2 to the power of 2.
4((x+2)12)2=02
Step 6.3.2.2.1.3
Multiply the exponents in ((x+2)12)2.
Tap for more steps...
Step 6.3.2.2.1.3.1
Apply the power rule and multiply exponents, (am)n=amn.
4(x+2)122=02
Step 6.3.2.2.1.3.2
Cancel the common factor of 2.
Tap for more steps...
Step 6.3.2.2.1.3.2.1
Cancel the common factor.
4(x+2)122=02
Step 6.3.2.2.1.3.2.2
Rewrite the expression.
4(x+2)1=02
4(x+2)1=02
4(x+2)1=02
Step 6.3.2.2.1.4
Simplify.
4(x+2)=02
Step 6.3.2.2.1.5
Apply the distributive property.
4x+42=02
Step 6.3.2.2.1.6
Multiply 4 by 2.
4x+8=02
4x+8=02
4x+8=02
Step 6.3.2.3
Simplify the right side.
Tap for more steps...
Step 6.3.2.3.1
Raising 0 to any positive power yields 0.
4x+8=0
4x+8=0
4x+8=0
Step 6.3.3
Solve for x.
Tap for more steps...
Step 6.3.3.1
Subtract 8 from both sides of the equation.
4x=-8
Step 6.3.3.2
Divide each term in 4x=-8 by 4 and simplify.
Tap for more steps...
Step 6.3.3.2.1
Divide each term in 4x=-8 by 4.
4x4=-84
Step 6.3.3.2.2
Simplify the left side.
Tap for more steps...
Step 6.3.3.2.2.1
Cancel the common factor of 4.
Tap for more steps...
Step 6.3.3.2.2.1.1
Cancel the common factor.
4x4=-84
Step 6.3.3.2.2.1.2
Divide x by 1.
x=-84
x=-84
x=-84
Step 6.3.3.2.3
Simplify the right side.
Tap for more steps...
Step 6.3.3.2.3.1
Divide -8 by 4.
x=-2
x=-2
x=-2
x=-2
x=-2
Step 6.4
Set the radicand in x+2 less than 0 to find where the expression is undefined.
x+2<0
Step 6.5
Subtract 2 from both sides of the inequality.
x<-2
Step 6.6
The equation is undefined where the denominator equals 0, the argument of a square root is less than 0, or the argument of a logarithm is less than or equal to 0.
x-2
(-,-2]
x-2
(-,-2]
Step 7
Critical points to evaluate.
x=-2
Step 8
Evaluate the second derivative at x=-2. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
-14((-2)+2)32
Step 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Simplify the expression.
Tap for more steps...
Step 9.1.1
Add -2 and 2.
-14032
Step 9.1.2
Rewrite 0 as 02.
-14(02)32
Step 9.1.3
Apply the power rule and multiply exponents, (am)n=amn.
-1402(32)
-1402(32)
Step 9.2
Cancel the common factor of 2.
Tap for more steps...
Step 9.2.1
Cancel the common factor.
-1402(32)
Step 9.2.2
Rewrite the expression.
-1403
-1403
Step 9.3
Simplify the expression.
Tap for more steps...
Step 9.3.1
Raising 0 to any positive power yields 0.
-140
Step 9.3.2
Multiply 4 by 0.
-10
Step 9.3.3
The expression contains a division by 0. The expression is undefined.
Undefined
-10
Step 9.4
The expression contains a division by 0. The expression is undefined.
Undefined
Undefined
Step 10
Since the first derivative test failed, there are no local extrema.
No Local Extrema
Step 11
 [x2  12  π  xdx ]