Enter a problem...
Calculus Examples
g(x)=-√4-x2g(x)=−√4−x2 , -2≤x≤1−2≤x≤1
Step 1
Step 1.1
Find the first derivative.
Step 1.1.1
Find the first derivative.
Step 1.1.1.1
Differentiate using the Constant Multiple Rule.
Step 1.1.1.1.1
Use n√ax=axnn√ax=axn to rewrite √4-x2√4−x2 as (4-x2)12(4−x2)12.
ddx[-(4-x2)12]ddx[−(4−x2)12]
Step 1.1.1.1.2
Since -1−1 is constant with respect to xx, the derivative of -(4-x2)12−(4−x2)12 with respect to xx is -ddx[(4-x2)12]−ddx[(4−x2)12].
-ddx[(4-x2)12]−ddx[(4−x2)12]
-ddx[(4-x2)12]−ddx[(4−x2)12]
Step 1.1.1.2
Differentiate using the chain rule, which states that ddx[f(g(x))]ddx[f(g(x))] is f′(g(x))g′(x) where f(x)=x12 and g(x)=4-x2.
Step 1.1.1.2.1
To apply the Chain Rule, set u as 4-x2.
-(ddu[u12]ddx[4-x2])
Step 1.1.1.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=12.
-(12u12-1ddx[4-x2])
Step 1.1.1.2.3
Replace all occurrences of u with 4-x2.
-(12(4-x2)12-1ddx[4-x2])
-(12(4-x2)12-1ddx[4-x2])
Step 1.1.1.3
To write -1 as a fraction with a common denominator, multiply by 22.
-(12(4-x2)12-1⋅22ddx[4-x2])
Step 1.1.1.4
Combine -1 and 22.
-(12(4-x2)12+-1⋅22ddx[4-x2])
Step 1.1.1.5
Combine the numerators over the common denominator.
-(12(4-x2)1-1⋅22ddx[4-x2])
Step 1.1.1.6
Simplify the numerator.
Step 1.1.1.6.1
Multiply -1 by 2.
-(12(4-x2)1-22ddx[4-x2])
Step 1.1.1.6.2
Subtract 2 from 1.
-(12(4-x2)-12ddx[4-x2])
-(12(4-x2)-12ddx[4-x2])
Step 1.1.1.7
Combine fractions.
Step 1.1.1.7.1
Move the negative in front of the fraction.
-(12(4-x2)-12ddx[4-x2])
Step 1.1.1.7.2
Combine 12 and (4-x2)-12.
-((4-x2)-122ddx[4-x2])
Step 1.1.1.7.3
Move (4-x2)-12 to the denominator using the negative exponent rule b-n=1bn.
-(12(4-x2)12ddx[4-x2])
-(12(4-x2)12ddx[4-x2])
Step 1.1.1.8
By the Sum Rule, the derivative of 4-x2 with respect to x is ddx[4]+ddx[-x2].
-12(4-x2)12(ddx[4]+ddx[-x2])
Step 1.1.1.9
Since 4 is constant with respect to x, the derivative of 4 with respect to x is 0.
-12(4-x2)12(0+ddx[-x2])
Step 1.1.1.10
Add 0 and ddx[-x2].
-12(4-x2)12ddx[-x2]
Step 1.1.1.11
Since -1 is constant with respect to x, the derivative of -x2 with respect to x is -ddx[x2].
-12(4-x2)12(-ddx[x2])
Step 1.1.1.12
Multiply.
Step 1.1.1.12.1
Multiply -1 by -1.
112(4-x2)12ddx[x2]
Step 1.1.1.12.2
Multiply 12(4-x2)12 by 1.
12(4-x2)12ddx[x2]
12(4-x2)12ddx[x2]
Step 1.1.1.13
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
12(4-x2)12(2x)
Step 1.1.1.14
Simplify terms.
Step 1.1.1.14.1
Combine 2 and 12(4-x2)12.
22(4-x2)12x
Step 1.1.1.14.2
Combine 22(4-x2)12 and x.
2x2(4-x2)12
Step 1.1.1.14.3
Cancel the common factor.
2x2(4-x2)12
Step 1.1.1.14.4
Rewrite the expression.
x(4-x2)12
Step 1.1.1.14.5
Reorder terms.
f′(x)=x(-x2+4)12
f′(x)=x(-x2+4)12
f′(x)=x(-x2+4)12
Step 1.1.2
The first derivative of g(x) with respect to x is x(-x2+4)12.
x(-x2+4)12
x(-x2+4)12
Step 1.2
Set the first derivative equal to 0 then solve the equation x(-x2+4)12=0.
Step 1.2.1
Set the first derivative equal to 0.
x(-x2+4)12=0
Step 1.2.2
Set the numerator equal to zero.
x=0
x=0
Step 1.3
Find the values where the derivative is undefined.
Step 1.3.1
Convert expressions with fractional exponents to radicals.
Step 1.3.1.1
Apply the rule xmn=n√xm to rewrite the exponentiation as a radical.
x√(-x2+4)1
Step 1.3.1.2
Anything raised to 1 is the base itself.
x√-x2+4
x√-x2+4
Step 1.3.2
Set the denominator in x√-x2+4 equal to 0 to find where the expression is undefined.
√-x2+4=0
Step 1.3.3
Solve for x.
Step 1.3.3.1
To remove the radical on the left side of the equation, square both sides of the equation.
√-x2+42=02
Step 1.3.3.2
Simplify each side of the equation.
Step 1.3.3.2.1
Use n√ax=axn to rewrite √-x2+4 as (-x2+4)12.
((-x2+4)12)2=02
Step 1.3.3.2.2
Simplify the left side.
Step 1.3.3.2.2.1
Simplify ((-x2+4)12)2.
Step 1.3.3.2.2.1.1
Multiply the exponents in ((-x2+4)12)2.
Step 1.3.3.2.2.1.1.1
Apply the power rule and multiply exponents, (am)n=amn.
(-x2+4)12⋅2=02
Step 1.3.3.2.2.1.1.2
Cancel the common factor of 2.
Step 1.3.3.2.2.1.1.2.1
Cancel the common factor.
(-x2+4)12⋅2=02
Step 1.3.3.2.2.1.1.2.2
Rewrite the expression.
(-x2+4)1=02
(-x2+4)1=02
(-x2+4)1=02
Step 1.3.3.2.2.1.2
Simplify.
-x2+4=02
-x2+4=02
-x2+4=02
Step 1.3.3.2.3
Simplify the right side.
Step 1.3.3.2.3.1
Raising 0 to any positive power yields 0.
-x2+4=0
-x2+4=0
-x2+4=0
Step 1.3.3.3
Solve for x.
Step 1.3.3.3.1
Subtract 4 from both sides of the equation.
-x2=-4
Step 1.3.3.3.2
Divide each term in -x2=-4 by -1 and simplify.
Step 1.3.3.3.2.1
Divide each term in -x2=-4 by -1.
-x2-1=-4-1
Step 1.3.3.3.2.2
Simplify the left side.
Step 1.3.3.3.2.2.1
Dividing two negative values results in a positive value.
x21=-4-1
Step 1.3.3.3.2.2.2
Divide x2 by 1.
x2=-4-1
x2=-4-1
Step 1.3.3.3.2.3
Simplify the right side.
Step 1.3.3.3.2.3.1
Divide -4 by -1.
x2=4
x2=4
x2=4
Step 1.3.3.3.3
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
x=±√4
Step 1.3.3.3.4
Simplify ±√4.
Step 1.3.3.3.4.1
Rewrite 4 as 22.
x=±√22
Step 1.3.3.3.4.2
Pull terms out from under the radical, assuming positive real numbers.
x=±2
x=±2
Step 1.3.3.3.5
The complete solution is the result of both the positive and negative portions of the solution.
Step 1.3.3.3.5.1
First, use the positive value of the ± to find the first solution.
x=2
Step 1.3.3.3.5.2
Next, use the negative value of the ± to find the second solution.
x=-2
Step 1.3.3.3.5.3
The complete solution is the result of both the positive and negative portions of the solution.
x=2,-2
x=2,-2
x=2,-2
x=2,-2
Step 1.3.4
Set the radicand in √-x2+4 less than 0 to find where the expression is undefined.
-x2+4<0
Step 1.3.5
Solve for x.
Step 1.3.5.1
Subtract 4 from both sides of the inequality.
-x2<-4
Step 1.3.5.2
Divide each term in -x2<-4 by -1 and simplify.
Step 1.3.5.2.1
Divide each term in -x2<-4 by -1. When multiplying or dividing both sides of an inequality by a negative value, flip the direction of the inequality sign.
-x2-1>-4-1
Step 1.3.5.2.2
Simplify the left side.
Step 1.3.5.2.2.1
Dividing two negative values results in a positive value.
x21>-4-1
Step 1.3.5.2.2.2
Divide x2 by 1.
x2>-4-1
x2>-4-1
Step 1.3.5.2.3
Simplify the right side.
Step 1.3.5.2.3.1
Divide -4 by -1.
x2>4
x2>4
x2>4
Step 1.3.5.3
Take the specified root of both sides of the inequality to eliminate the exponent on the left side.
√x2>√4
Step 1.3.5.4
Simplify the equation.
Step 1.3.5.4.1
Simplify the left side.
Step 1.3.5.4.1.1
Pull terms out from under the radical.
|x|>√4
|x|>√4
Step 1.3.5.4.2
Simplify the right side.
Step 1.3.5.4.2.1
Simplify √4.
Step 1.3.5.4.2.1.1
Rewrite 4 as 22.
|x|>√22
Step 1.3.5.4.2.1.2
Pull terms out from under the radical.
|x|>|2|
Step 1.3.5.4.2.1.3
The absolute value is the distance between a number and zero. The distance between 0 and 2 is 2.
|x|>2
|x|>2
|x|>2
|x|>2
Step 1.3.5.5
Write |x|>2 as a piecewise.
Step 1.3.5.5.1
To find the interval for the first piece, find where the inside of the absolute value is non-negative.
x≥0
Step 1.3.5.5.2
In the piece where x is non-negative, remove the absolute value.
x>2
Step 1.3.5.5.3
To find the interval for the second piece, find where the inside of the absolute value is negative.
x<0
Step 1.3.5.5.4
In the piece where x is negative, remove the absolute value and multiply by -1.
-x>2
Step 1.3.5.5.5
Write as a piecewise.
{x>2x≥0-x>2x<0
{x>2x≥0-x>2x<0
Step 1.3.5.6
Find the intersection of x>2 and x≥0.
x>2
Step 1.3.5.7
Divide each term in -x>2 by -1 and simplify.
Step 1.3.5.7.1
Divide each term in -x>2 by -1. When multiplying or dividing both sides of an inequality by a negative value, flip the direction of the inequality sign.
-x-1<2-1
Step 1.3.5.7.2
Simplify the left side.
Step 1.3.5.7.2.1
Dividing two negative values results in a positive value.
x1<2-1
Step 1.3.5.7.2.2
Divide x by 1.
x<2-1
x<2-1
Step 1.3.5.7.3
Simplify the right side.
Step 1.3.5.7.3.1
Divide 2 by -1.
x<-2
x<-2
x<-2
Step 1.3.5.8
Find the union of the solutions.
x<-2 or x>2
x<-2 or x>2
Step 1.3.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,x≥2
(-∞,-2]∪[2,∞)
x≤-2,x≥2
(-∞,-2]∪[2,∞)
Step 1.4
Evaluate -√4-x2 at each x value where the derivative is 0 or undefined.
Step 1.4.1
Evaluate at x=0.
Step 1.4.1.1
Substitute 0 for x.
-√4-(0)2
Step 1.4.1.2
Simplify.
Step 1.4.1.2.1
Raising 0 to any positive power yields 0.
-√4-0
Step 1.4.1.2.2
Multiply -1 by 0.
-√4+0
Step 1.4.1.2.3
Add 4 and 0.
-√4
Step 1.4.1.2.4
Rewrite 4 as 22.
-√22
Step 1.4.1.2.5
Pull terms out from under the radical, assuming positive real numbers.
-1⋅2
Step 1.4.1.2.6
Multiply -1 by 2.
-2
-2
-2
Step 1.4.2
Evaluate at x=-2.
Step 1.4.2.1
Substitute -2 for x.
-√4-(-2)2
Step 1.4.2.2
Simplify.
Step 1.4.2.2.1
Raise -2 to the power of 2.
-√4-1⋅4
Step 1.4.2.2.2
Multiply -1 by 4.
-√4-4
Step 1.4.2.2.3
Subtract 4 from 4.
-√0
Step 1.4.2.2.4
Rewrite 0 as 02.
-√02
Step 1.4.2.2.5
Pull terms out from under the radical, assuming positive real numbers.
-0
Step 1.4.2.2.6
Multiply -1 by 0.
0
0
0
Step 1.4.3
Evaluate at x=2.
Step 1.4.3.1
Substitute 2 for x.
-√4-(2)2
Step 1.4.3.2
Simplify.
Step 1.4.3.2.1
Raise 2 to the power of 2.
-√4-1⋅4
Step 1.4.3.2.2
Multiply -1 by 4.
-√4-4
Step 1.4.3.2.3
Subtract 4 from 4.
-√0
Step 1.4.3.2.4
Rewrite 0 as 02.
-√02
Step 1.4.3.2.5
Pull terms out from under the radical, assuming positive real numbers.
-0
Step 1.4.3.2.6
Multiply -1 by 0.
0
0
0
Step 1.4.4
List all of the points.
(0,-2),(-2,0),(2,0)
(0,-2),(-2,0),(2,0)
(0,-2),(-2,0),(2,0)
Step 2
Exclude the points that are not on the interval.
(0,-2),(-2,0)
Step 3
Step 3.1
Evaluate at x=-2.
Step 3.1.1
Substitute -2 for x.
-√4-(-2)2
Step 3.1.2
Simplify.
Step 3.1.2.1
Raise -2 to the power of 2.
-√4-1⋅4
Step 3.1.2.2
Multiply -1 by 4.
-√4-4
Step 3.1.2.3
Subtract 4 from 4.
-√0
Step 3.1.2.4
Rewrite 0 as 02.
-√02
Step 3.1.2.5
Pull terms out from under the radical, assuming positive real numbers.
-0
Step 3.1.2.6
Multiply -1 by 0.
0
0
0
Step 3.2
Evaluate at x=1.
Step 3.2.1
Substitute 1 for x.
-√4-(1)2
Step 3.2.2
Simplify.
Step 3.2.2.1
One to any power is one.
-√4-1⋅1
Step 3.2.2.2
Multiply -1 by 1.
-√4-1
Step 3.2.2.3
Subtract 1 from 4.
-√3
-√3
-√3
Step 3.3
List all of the points.
(-2,0),(1,-√3)
(-2,0),(1,-√3)
Step 4
Compare the g(x) values found for each value of x in order to determine the absolute maximum and minimum over the given interval. The maximum will occur at the highest g(x) value and the minimum will occur at the lowest g(x) value.
Absolute Maximum: (-2,0)
Absolute Minimum: (0,-2)
Step 5