4.1 Implicit Differentiation
4.1 Implicit Differentiation
Implicit Relation
Implicit Differentiation
Definition 1:
The general form of an explicit function ) (دالة صريحةis given by the form
𝑦 = 𝑓(𝑥)
Example:
𝑓(𝑥) = 2𝑥 3 + cos 𝑥
Implicit Relation
Definition 2:
When an equation defines a relation between the variables 𝑥 and 𝑦 and the
dependent variable is not explicitly isolated on either side of the equation then the
equation becomes an implicit relation )(عالقة ضمنية.
The general form of an implicit relation is given by the form
𝑓(𝑥, 𝑦) = 0
Example:
𝑥 3 𝑦 2 − 𝑥 2𝑦 − 2𝑦 = 0
• We begin with an example involving familiar equations that we can solve for 𝑦
𝑑𝑦
as a function of 𝑥 to calculate in the usual way.
𝑑𝑥
Example 1
𝑑𝑦
Find 𝑑𝑥 if 𝑥𝑦 + 𝑦 + 1 = 𝑥.
Solution
𝑥𝑦 + 𝑦 + 1 = 𝑥 (1)
𝑥−1
𝑦=
𝑥+1
𝑥−1
𝑓(𝑥) =
𝑥+1
Therefore,
𝑑𝑦 (1)(𝑥 + 1) − (𝑥 − 1)(1) 2
= =
𝑑𝑥 (𝑥 + 1)2 (𝑥 + 1)2
• Although it was easy in the Example above to solve the equation (1) for 𝑦 in
terms of 𝑥, it is difficult or impossible to do this for some equations.
𝑥 3 + 𝑦 3 = 3𝑥𝑦
can be solved for 𝑦 in terms of 𝑥, but the resulting formulas are too complicated to
be practical.
𝑥𝑦 + 𝑦 + 1 = 𝑥.
𝑑𝑦 2
= .
𝑑𝑥 (𝑥 + 1)2
• Another way to obtain this derivative is to differentiate both sides of the equation
• 𝑥𝑦 + 𝑦 + 1 = 𝑥
• before solving for 𝑦 in terms of 𝑥, treating 𝑦 as a (temporarily unspecified)
differentiable function of 𝑥.
𝑦𝑥 + 𝑦 + 1 = 𝑥
𝑥𝑦 + 𝑦 + 1 = 𝑥
𝑑 𝑑
[𝑥𝑦 + 𝑦 + 1] = [𝑥 ]
𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑 𝑑
[𝑥𝑦] + [𝑦 ] + [ 1] = [𝑥 ]
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑 𝑑 𝑑
(𝑦 [𝑥] + 𝑥 [𝑦]) + [𝑦 ] + [ 1] = [𝑥 ]
⏟ 𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
Apply the chain Rule
𝑦 + 𝑥𝑦 ′ + 𝑦 ′ = 1
𝑥𝑦 ′ + 𝑦 ′ = 1 − 𝑦
𝑦 ′ (𝑥 + 1) = 1 − 𝑦
1−𝑦
𝑦′ = (2)
𝑥+1
𝑥−1
Now, substitute 𝑦 = 𝑥+1 into (2), we obtain
𝑥−1
1−𝑥+1 2
𝑦′ = = .
𝑥+1 (𝑥 + 1)2
Steps for finding the derivative using the Implicit Differentiation Method:
Step1: Differentiate both sides of the equation with respect to the independent
variable (usually 𝑥 ).
Remember to treat 𝑦 as a function of 𝑥 (i.e., 𝑦(𝑥) ) and apply the chain rule when
differentiating terms involving 𝑦.
𝑑𝑦
Step3: Collect all terms involving 𝑑𝑥 on one side of the equation.
𝑑𝑦
Step4: Solve for by isolating it, which gives you the derivative of 𝑦 with respect
𝑑𝑥
to 𝑥.
differentiation method.
Note that:
In the examples and exercises, it is always assumed that the given equation
𝑑𝑦
determines 𝑦 implicitly as a differentiable function of 𝑥 so that 𝑑𝑥 exists.
Example 2
Find 𝑦′ if 𝑦 2 = 𝑥 2 + sin 𝑥𝑦
Solution
𝑦 2 = 𝑥 2 + sin 𝑥𝑦
𝑑 2 𝑑 2 𝑑
(𝑦 ) = (𝑥 ) + (sin 𝑥𝑦)
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑
2𝑦𝑦 ′ = 2𝑥 + (cos 𝑥𝑦) (𝑥𝑦)
𝑑𝑥
2𝑥 + 𝑦cos 𝑥𝑦
𝑦′ =
2𝑦 − 𝑥cos 𝑥𝑦
Answer:
𝑑𝑦 2𝑥
(a) 𝑑𝑥 = 10𝑦+cos 𝑦
Solution
Find the slopes of the tangent lines to the curve 𝑦 2 − 𝑥 + 1 = 0 at the points (2, −1)
and (2,1).
Solution
𝑑 2 𝑑
[ 𝑦 − 𝑥 + 1] = [0]
𝑑𝑥 𝑑𝑥
𝑑 2 𝑑 𝑑 𝑑
[𝑦 ] − [𝑥] + [1] = [0]
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
2𝑦𝑦′ − 1 = 0
1
𝑦′ =
2𝑦
At (2, −1) we have 𝑦 = −1, and at (2,1) we have 𝑦 = 1, so the slopes of the tangent
lines to the curve at those points are (See the Figure below)
1 1
𝑦′| 𝑥=2 = − and 𝑦 ′ |𝑥=2 = .
𝑦=−1 2 𝑦=1 2
3 3
(a) Find the slope of the tangent line to the curve 𝑥 3 + 𝑦 3 = 3𝑥𝑦 at the points (2 , 2).
(b) At what point(s) in the first quadrant is the tangent line to the curve 𝑥 3 + 𝑦 3 =
3𝑥𝑦 horizontal?
Answer:
(a) 𝑚𝑡𝑎𝑛 = −1
Solution
Example 4
Find 𝑑 2 𝑦/𝑑𝑥 2 if 2𝑥 3 − 3𝑦 2 = 8.
Solution
To start, we differentiate both sides of the equation with respect to 𝑥 in order to find
𝑦 ′ = 𝑑𝑦/𝑑𝑥.
𝑑 𝑑
(2𝑥 3 − 3𝑦 2 ) = (8)
𝑑𝑥 𝑑𝑥
6𝑥 2 − 6𝑦𝑦 ′ = 0
′
𝑥2
𝑦 = , when 𝑦 ≠ 0
𝑦
′′
𝑑 𝑥2 2𝑥𝑦 − 𝑥 2 𝑦 ′ 2𝑥 𝑥 2 ′
𝑦 = ( )= = − ⋅𝑦
𝑑𝑥 𝑦 𝑦2 𝑦 𝑦2
𝑥2
Finally, we substitute 𝑦 ′ = to express 𝑦 ′′ in terms of 𝑥 and 𝑦.
𝑦
′′
2𝑥 𝑥 2 𝑥 2 2𝑥 𝑥 4
𝑦 = − ( )= − , when 𝑦 ≠ 0
𝑦 𝑦2 𝑦 𝑦 𝑦3
Answer:
9
𝑦′′ = − 3
𝑦
Solution