Learning Outcomes
- Find the derivative of an implicit function by using implicit differentiation
- Write the equation of a line using slope and a point on the line
In the Chain Rule section, we will learn how to apply the chain rule to functions of several variables. Here we will review implicit differentiation and how to write the equation of a line.
What is Implicit Differentiation?
Implicit differentiation allows us to find slopes of tangents to curves that are clearly not functions (they fail the vertical line test). We are using the idea that portions of y are functions that satisfy the given equation, but that y is not actually a function of x.
To perform implicit differentiation on an equation that defines a function y implicitly in terms of a variable x, use the following steps:
- Take the derivative of both sides of the equation. Keep in mind that y is a function of x. Consequently, whereas ddx(sinx)=cosx,ddx(siny)=cosydydx because we must use the Chain Rule to differentiate siny with respect to x.
- Rewrite the equation so that all terms containing dydx are on the left and all terms that do not contain dydx are on the right.
- Factor out dydx on the left.
- Solve for dydx by dividing both sides of the equation by an appropriate algebraic expression.
Example: Using Implicit Differentiation
Assuming that y is defined implicitly by the equation x2+y2=25, find dydx.
Show Solution
Follow the steps in the problem-solving strategy.
ddx(x2+y2)=ddx(25)Step 1. Differentiate both sides of the equation.ddx(x2)+ddx(y2)=0Step 1.1. Use the sum rule on the left.On the right,ddx(25)=0.2x+2ydydx=0Step 1.2. Take the derivatives, soddx(x2)=2xandddx(y2)=2ydydx.2ydydx=−2xStep 2. Keep the terms withdydxon the left.Move the remaining terms to the right.dydx=−xyStep 4. Divide both sides of the equation by2y.(Step 3 does not apply in this case.)
Analysis
Note that the resulting expression for dydx is in terms of both the independent variable x and the dependent variable y. Although in some cases it may be possible to express dydx in terms of x only, it is generally not possible to do so.
Example: Using Implicit Differentiation and the Product Rule
Assuming that y is defined implicitly by the equation x3siny+y=4x+3, find dydx.
Show Solution
ddx(x3siny+y)=ddx(4x+3)Step 1: Differentiate both sides of the equation.ddx(x3siny)+ddx(y)=4Step 1.1: Apply the sum rule on the left.On the right,ddx(4x+3)=4.(ddx(x3)⋅siny+ddx(siny)⋅x3)+dydx=4Step 1.2: Use the product rule to findddx(x3siny).Observe thatddx(y)=dydx.3x2siny+(cosydydx)⋅x3+dydx=4Step 1.3: We knowddx(x3)=3x2.Use thechain rule to obtainddx(siny)=cosydydx.x3cosydydx+dydx=4−3x2sinyStep 2: Keep all terms containingdydxon theleft. Move all other terms to the right.dydx(x3cosy+1)=4−3x2sinyStep 3: Factor outdydxon the left.dydx=4−3x2sinyx3cosy+1Step 4: Solve fordydxby dividing both sides ofthe equation byx3cosy+1.
Try It
Find dydx for y defined implicitly by the equation 4x5+tany=y2+5x.
Hint
Follow the problem solving strategy, remembering to apply the chain rule to differentiate tany and y2.
Show Solution
dydx=5−20x4sec2y−2y
Write the Equation of a Line
(also in Module 1, Skills Review for Parametric Equations and Calculus of Parametric Equations)
The slope of a line refers to the ratio of the vertical change in y over the horizontal change in x between any two points on a line.
A General Note: The Slope of a Line
The slope of a line, m, represents the change in y over the change in x. Given two points, (x1,y1) and (x2,y2), the following formula determines the slope of a line containing these points:
m=y2−y1x2−x1
Example: Finding the Slope of a Line Given Two Points
Find the slope of a line that passes through the points (2,−1) and (−5,3).
Show Solution
We substitute the y-values and the x-values into the formula.
m=3−(−1)−5−2=4−7=−47
The slope is −47.
Analysis of the Solution
It does not matter which point is called (x1,y1) or (x2,y2). As long as we are consistent with the order of the y terms and the order of the x terms in the numerator and denominator, the calculation will yield the same result.
Try It
Find the slope of the line that passes through the points (−2,6) and (1,4).
Show Solution
slope=m=−23=−23
To write the equation of a line, the line’s slope and a point the line goes through must be known. Perhaps the most familiar form of a linear equation is slope-intercept form written as y=mx+b, where m=slope and b=y-intercept. Let us begin with the slope.
Often, the starting point to writing the equation of a line is to use point-slope formula. Given the slope and one point on a line, we can find the equation of the line using point-slope form shown below.
y−y1=m(x−x1)
We need only one point and the slope of the line to use the formula. After substituting the slope and the coordinates of one point into the formula, we simplify it and write it in slope-intercept form.
A General Note: The Point-Slope Formula
Given one point and the slope, using point-slope form will lead to the equation of a line:
y−y1=m(x−x1)
Example: Finding the Equation of a Line Given the Slope and One Point
Write the equation of the line with slope m=−3 and passing through the point (4,8). Write the final equation in slope-intercept form.
Show Solution
Using point-slope form, substitute −3 for m and the point (4,8) for (x1,y1).
y−y1=m(x−x1)y−8=−3(x−4)y−8=−3x+12y=−3x+20
Analysis of the Solution
Note that any point on the line can be used to find the equation. If done correctly, the same final equation will be obtained.
Try It
Given m=4, find the equation of the line in slope-intercept form passing through the point (2,5).
Candela Citations
CC licensed content, Shared previously