Calculus Examples

Find the Tangent Line at x=-π/4 f(x)=-5cot(x)-(5pi)/2-4 at x=-pi/4
f(x)=-5cot(x)-5π2-4f(x)=5cot(x)5π24 at x=-π4x=π4
Step 1
Find the corresponding yy-value to x=-π4x=π4.
Tap for more steps...
Step 1.1
Substitute -π4π4 in for xx.
y=-5cot(-π4)-5π2-4y=5cot(π4)5π24
Step 1.2
Solve for yy.
Tap for more steps...
Step 1.2.1
Remove parentheses.
y=-5cot(-π4)-5π2-4y=5cot(π4)5π24
Step 1.2.2
Simplify -5cot(-π4)-5π2-45cot(π4)5π24.
Tap for more steps...
Step 1.2.2.1
Simplify each term.
Tap for more steps...
Step 1.2.2.1.1
Add full rotations of 2π2π until the angle is greater than or equal to 00 and less than 2π2π.
y=-5cot(7π4)-5π2-4y=5cot(7π4)5π24
Step 1.2.2.1.2
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cotangent is negative in the fourth quadrant.
y=-5(-cot(π4))-5π2-4y=5(cot(π4))5π24
Step 1.2.2.1.3
The exact value of cot(π4)cot(π4) is 11.
y=-5(-11)-5π2-4y=5(11)5π24
Step 1.2.2.1.4
Multiply -5(-11)5(11).
Tap for more steps...
Step 1.2.2.1.4.1
Multiply -11 by 11.
y=-5-1-5π2-4y=515π24
Step 1.2.2.1.4.2
Multiply -55 by -11.
y=5-5π2-4y=55π24
y=5-5π2-4y=55π24
y=5-5π2-4y=55π24
Step 1.2.2.2
Subtract 44 from 55.
y=1-5π2y=15π2
y=1-5π2y=15π2
y=1-5π2y=15π2
y=1-5π2y=15π2
Step 2
Find the first derivative and evaluate at x=-π4x=π4 and y=1-5π2y=15π2 to find the slope of the tangent line.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of -5cot(x)-5π2-45cot(x)5π24 with respect to xx is ddx[-5cot(x)]+ddx[-5π2]+ddx[-4]ddx[5cot(x)]+ddx[5π2]+ddx[4].
ddx[-5cot(x)]+ddx[-5π2]+ddx[-4]ddx[5cot(x)]+ddx[5π2]+ddx[4]
Step 2.2
Evaluate ddx[-5cot(x)]ddx[5cot(x)].
Tap for more steps...
Step 2.2.1
Since -55 is constant with respect to xx, the derivative of -5cot(x)5cot(x) with respect to xx is -5ddx[cot(x)]5ddx[cot(x)].
-5ddx[cot(x)]+ddx[-5π2]+ddx[-4]5ddx[cot(x)]+ddx[5π2]+ddx[4]
Step 2.2.2
The derivative of cot(x)cot(x) with respect to xx is -csc2(x)csc2(x).
-5(-csc2(x))+ddx[-5π2]+ddx[-4]5(csc2(x))+ddx[5π2]+ddx[4]
Step 2.2.3
Multiply -11 by -55.
5csc2(x)+ddx[-5π2]+ddx[-4]5csc2(x)+ddx[5π2]+ddx[4]
5csc2(x)+ddx[-5π2]+ddx[-4]5csc2(x)+ddx[5π2]+ddx[4]
Step 2.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.3.1
Since -5π25π2 is constant with respect to xx, the derivative of -5π25π2 with respect to xx is 00.
5csc2(x)+0+ddx[-4]5csc2(x)+0+ddx[4]
Step 2.3.2
Since -44 is constant with respect to xx, the derivative of -44 with respect to xx is 00.
5csc2(x)+0+05csc2(x)+0+0
5csc2(x)+0+05csc2(x)+0+0
Step 2.4
Combine terms.
Tap for more steps...
Step 2.4.1
Add 5csc2(x)5csc2(x) and 00.
5csc2(x)+05csc2(x)+0
Step 2.4.2
Add 5csc2(x)5csc2(x) and 00.
5csc2(x)5csc2(x)
5csc2(x)5csc2(x)
Step 2.5
Evaluate the derivative at x=-π4x=π4.
5csc2(-π4)5csc2(π4)
Step 2.6
Simplify.
Tap for more steps...
Step 2.6.1
Add full rotations of 2π2π until the angle is greater than or equal to 00 and less than 2π2π.
5csc2(7π4)5csc2(7π4)
Step 2.6.2
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosecant is negative in the fourth quadrant.
5(-csc(π4))25(csc(π4))2
Step 2.6.3
The exact value of csc(π4)csc(π4) is 22.
5(-2)25(2)2
Step 2.6.4
Simplify the expression.
Tap for more steps...
Step 2.6.4.1
Apply the product rule to -22.
5((-1)222)5((1)222)
Step 2.6.4.2
Raise -11 to the power of 22.
5(122)5(122)
Step 2.6.4.3
Multiply 2222 by 11.
522522
522522
Step 2.6.5
Rewrite 2222 as 22.
Tap for more steps...
Step 2.6.5.1
Use nax=axnnax=axn to rewrite 22 as 212212.
5(212)25(212)2
Step 2.6.5.2
Apply the power rule and multiply exponents, (am)n=amn(am)n=amn.
5212252122
Step 2.6.5.3
Combine 1212 and 22.
52225222
Step 2.6.5.4
Cancel the common factor of 22.
Tap for more steps...
Step 2.6.5.4.1
Cancel the common factor.
5222
Step 2.6.5.4.2
Rewrite the expression.
521
521
Step 2.6.5.5
Evaluate the exponent.
52
52
Step 2.6.6
Multiply 5 by 2.
10
10
10
Step 3
Plug the slope and point values into the point-slope formula and solve for y.
Tap for more steps...
Step 3.1
Use the slope 10 and a given point (-π4,1-5π2) to substitute for x1 and y1 in the point-slope form y-y1=m(x-x1), which is derived from the slope equation m=y2-y1x2-x1.
y-(1-5π2)=10(x-(-π4))
Step 3.2
Simplify the equation and keep it in point-slope form.
y-1+5π2=10(x+π4)
Step 3.3
Solve for y.
Tap for more steps...
Step 3.3.1
Simplify 10(x+π4).
Tap for more steps...
Step 3.3.1.1
Rewrite.
y-1+5π2=0+0+10(x+π4)
Step 3.3.1.2
Simplify by adding zeros.
y-1+5π2=10(x+π4)
Step 3.3.1.3
Apply the distributive property.
y-1+5π2=10x+10π4
Step 3.3.1.4
Cancel the common factor of 2.
Tap for more steps...
Step 3.3.1.4.1
Factor 2 out of 10.
y-1+5π2=10x+2(5)π4
Step 3.3.1.4.2
Factor 2 out of 4.
y-1+5π2=10x+25π22
Step 3.3.1.4.3
Cancel the common factor.
y-1+5π2=10x+25π22
Step 3.3.1.4.4
Rewrite the expression.
y-1+5π2=10x+5π2
y-1+5π2=10x+5π2
Step 3.3.1.5
Combine 5 and π2.
y-1+5π2=10x+5π2
y-1+5π2=10x+5π2
Step 3.3.2
Move all terms not containing y to the right side of the equation.
Tap for more steps...
Step 3.3.2.1
Add 1 to both sides of the equation.
y+5π2=10x+5π2+1
Step 3.3.2.2
Subtract 5π2 from both sides of the equation.
y=10x+5π2+1-5π2
Step 3.3.2.3
Combine the opposite terms in 10x+5π2+1-5π2.
Tap for more steps...
Step 3.3.2.3.1
Combine the numerators over the common denominator.
y=10x+5π-5π2+1
Step 3.3.2.3.2
Subtract 5π from 5π.
y=10x+02+1
y=10x+02+1
Step 3.3.2.4
Divide 0 by 2.
y=10x+0+1
Step 3.3.2.5
Add 10x and 0.
y=10x+1
y=10x+1
y=10x+1
y=10x+1
Step 4
 [x2  12  π  xdx ]