5.6 Practice: Finding a Tangent Line
Since we went through a lot of information in this topic, let’s put it all together to find the derivative of a function and then find a tangent line. We will do this for the following five equations:
-
f(x)=2x4−3x+1f(x)=2x4−3x+1
-
f(x)=√3x2+1f(x)=√3x2+1
-
f(x)=ex(2x2−3x+2)f(x)=ex(2x2−3x+2)
-
f(x)=x−2x2+2x−4f(x)=x−2x2+2x−4
-
f(x)=lnx4−2x3+3x2−xf(x)=lnx4−2x3+3x2−x
For each function, find the derivative with respect to xx, and then find the tangent line for each function that goes through x=1x=1.
1. For the first function, we can find the derivative using the power rule:
f′(x)=8x3−3x
Therefore, the slope of the tangent line is
m=f′(x=1)=8⋅13−3⋅1=5
When x=1, y is
f(x=1)=2⋅14−3⋅1+1=0
This means that the tangent line goes through the point (1, 0). Using the point-slope formula, the equation of the tangent line is
y=5(x−1)=5x−5
2. For the second function, we need to use the chain rule to find the derivative:
g(x)=√xh(x)=3x2+1
Therefore, the derivative of each function is
g′(x)=12√xh′(x)=6x
Using the chain rule, the derivative of f(x) is
f′(x)=h′(x)g′(h(x))=6x⋅12√3x2+1=3x√3x2+1
So the slope of the tangent line is
f′(x=1)=3⋅1√3⋅12+1=3√(4)=32
We need to find the point of the tangent when x=1, so
f(x=1)=√3⋅12+1=√4=2
The tangent line has a slope of 32 and goes through (1, 2). Thus, the equation of the tangent line is
y−2=32(x−1)y=32x+12
3. We need to use the product rule for the third function. Let g and h be
g(x)=exh(x)=2x2−3x+2
Then the derivatives of g and h are
g′(x)=exh′(x)=4x−3
Now we apply the product rule to find the derivative of f:
f′(x)=g′(x)h(x)+g(x)h′(x)=ex(2x2−3x+2)+ex(4x−3)=ex(2x2+x−1)
Therefore, the slope of the line is
m=f′(x=1)=e1(2⋅12+1−1)=2e
The y-coordinate of the tangent point is
f(x=1)=e1(2⋅12−3⋅1+2)=e
The tangent line has the slope of 2e and goes through (1, e):
y−e=2e(x−1)y=2ex−e
4. The fourth function is a function divided by a function, so we need to use the quotient rule. We will set g and h to be
g(x)=x−2h(x)=x2+2x−4
The derivatives of these two functions are
g′(x)=1h′(x)=2x+2
Now we can apply the quotient rule.
f′(x)=g′(x)h(x)−g(x)h′(x)[h(x)]2=1⋅(x2+2x−4)−(x−2)(2x+2)(x2+2x−4)2=(x2+2x−4)−(x−2)(2x+2)(x2+2x−4)2
Even though we could simplify the derivative, we will leave it as it is since our purpose is to find the tangent line. The slope of the tangent line is
m=f′(x=1)=(12+2⋅1−4)−(1−2)(2⋅1+2)(12+2⋅1−4)2=(−1)−(−1)(4)(−1)2=31=3
The y-coordinate of the tangent point is
f(x=1)=1−212+2⋅1−4=−1−1=1
Therefore, the function of the tangent line is
y−1=3(x−1)
y=3x−2
5. Last but not least, we need to use the chain rule for the last function. We assign functions g and h as follows:
g(x)=lnx
h(x)=x4−2x3+3x2−x
The derivative of each function is
g′(x)=1x
h′(x)=4x3−6x2+6x−1
Therefore, the derivative of the function f is
f′(x)=h′(x)g′(h(x))
=4x3−6x2+6x−1x4−2x3+3x2−x
The slope of the tangent line is
m=f′(x=1)=4⋅13−6⋅12+6⋅1−114−2⋅13+3⋅12−1
=31
=3
Now the y-coordinate of the tangent point is
f(x=1)=ln(14−2⋅13+3⋅12−1)=ln1=0
The equation of the tangent line with a slope of 3 that passes through the point (1, 0) is
y=3(x−1)
=3x−3
Want to try our built-in assessments?
Use the Request Full Access button to gain access to this assessment.