Calculus Examples

Find the Tangent Line at x=2 y=x^2+x-1 ; x=2
y=x2+x-1y=x2+x1 ; x=2x=2
Step 1
Find the corresponding yy-value to x=2x=2.
Tap for more steps...
Step 1.1
Substitute 22 in for xx.
y=(2)2+2-1y=(2)2+21
Step 1.2
Solve for yy.
Tap for more steps...
Step 1.2.1
Remove parentheses.
y=(2)2+2-1y=(2)2+21
Step 1.2.2
Remove parentheses.
y=22+2-1y=22+21
Step 1.2.3
Remove parentheses.
y=(2)2+2-1y=(2)2+21
Step 1.2.4
Simplify (2)2+2-1(2)2+21.
Tap for more steps...
Step 1.2.4.1
Raise 22 to the power of 22.
y=4+2-1y=4+21
Step 1.2.4.2
Add 44 and 22.
y=6-1y=61
Step 1.2.4.3
Subtract 11 from 66.
y=5y=5
y=5y=5
y=5y=5
y=5y=5
Step 2
Find the first derivative and evaluate at x=2x=2 and y=5y=5 to find the slope of the tangent line.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of x2+x-1x2+x1 with respect to xx is ddx[x2]+ddx[x]+ddx[-1]ddx[x2]+ddx[x]+ddx[1].
ddx[x2]+ddx[x]+ddx[-1]ddx[x2]+ddx[x]+ddx[1]
Step 2.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn1 where n=2n=2.
2x+ddx[x]+ddx[-1]2x+ddx[x]+ddx[1]
Step 2.3
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn1 where n=1n=1.
2x+1+ddx[-1]2x+1+ddx[1]
Step 2.4
Since -11 is constant with respect to xx, the derivative of -11 with respect to xx is 00.
2x+1+02x+1+0
Step 2.5
Add 2x+12x+1 and 00.
2x+12x+1
Step 2.6
Evaluate the derivative at x=2x=2.
2(2)+12(2)+1
Step 2.7
Simplify.
Tap for more steps...
Step 2.7.1
Multiply 22 by 22.
4+14+1
Step 2.7.2
Add 44 and 11.
55
55
55
Step 3
Plug the slope and point values into the point-slope formula and solve for yy.
Tap for more steps...
Step 3.1
Use the slope 55 and a given point (2,5)(2,5) to substitute for x1x1 and y1y1 in the point-slope form y-y1=m(x-x1)yy1=m(xx1), which is derived from the slope equation m=y2-y1x2-x1.
y-(5)=5(x-(2))
Step 3.2
Simplify the equation and keep it in point-slope form.
y-5=5(x-2)
Step 3.3
Solve for y.
Tap for more steps...
Step 3.3.1
Simplify 5(x-2).
Tap for more steps...
Step 3.3.1.1
Rewrite.
y-5=0+0+5(x-2)
Step 3.3.1.2
Simplify by adding zeros.
y-5=5(x-2)
Step 3.3.1.3
Apply the distributive property.
y-5=5x+5-2
Step 3.3.1.4
Multiply 5 by -2.
y-5=5x-10
y-5=5x-10
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 5 to both sides of the equation.
y=5x-10+5
Step 3.3.2.2
Add -10 and 5.
y=5x-5
y=5x-5
y=5x-5
y=5x-5
Step 4
 [x2  12  π  xdx ]