Chapter 2: Differentiation
Section 2.5: Implicit Differentiation
Example 2.5.3
The curve y=yx defined implicitly by the equation x3+y3=3 a x y is called the Folium of Descartes.
Obtain a graph of this curve. In particular, explore the effect of a on the curve.
Obtain y′x by implicit differentiation.
Find all points on this curve where its tangent line is horizontal.
Find all points on this curve where its tangent line is vertical.
Working numerically in the case a=3, find all points on the curve where its slope is 1. Obtain and graph the corresponding tangent lines.
Solve for yx explicitly in the case a=3. Graph the resulting branches.
Solution
Part (a)
Figure 2.5.3(a) contains an animation in which the slider in the animation toolbar controls the value of a.
Figure 2.5.3(a) Folium of Descartes and its dependence on the parameter a
At a=0, the curve degenerates to the line y=−x. For a≠0, there are regions where, for a single value of x, there are three points on the curve; and where there is a single point. This is to be expected because every cubic equation with real coefficients has three real roots, or one real root and a pair of complex conjugate roots.
Part (b)
Solution by Context Panel
Control-drag the equation of the Folium.
Context Panel: Differentiate≻Implicitly (Set y as the dependent variable)
x3+y3=3 a x y→implicit differentiationa⁢y−x2−a⁢x+y2
Interactively implemented stepwise solution
Control-drag the equation of the Folium and press the Enter key.
Context Panel: Evaluate at a Point≻y=yx
Context Panel: Differentiate≻Implicitly (Set y as the dependent variable.)
Context Panel: Solve≻Isolate Expression for≻diffyx,x
x3+y3=3 a x y
x3+y3=3⁢a⁢x⁢y
→evaluate at point
x3+y⁡x3=3⁢a⁢x⁢y⁡x
→differentiate w.r.t. x
3⁢x2+3⁢y⁡x2⁢ⅆⅆx⁢y⁡x=3⁢a⁢y⁡x+3⁢a⁢x⁢ⅆⅆx⁢y⁡x
→isolate for diff(y(x),x)
ⅆⅆx⁢y⁡x=−3⁢x2+3⁢a⁢y⁡x3⁢y⁡x2−3⁢a⁢x
Solution via the implicitdiff command
implicitdiffx3+y3=3 a x y,y,x = a⁢y−x2−a⁢x+y2
Stepwise solution via the ImplicitDiffSolution command
Student:-Calculus1:-ImplicitDiffSolutionx3+y3=3 a x y,y ,x
Implicit Differentiation Stepsx3+y3=3⁢a⁢x⁢y•Rewriteyas a functiony⁡x:x3+y⁡x3=3⁢a⁢x⁢y⁡x•Differentiate the left sideⅆⅆxx3+y⁡x3▫1. Apply thesumrule◦Recall the definition of thesumruleⅆⅆxf⁡x+g⁡x=ⅆⅆxf⁡x+ⅆⅆxg⁡xf⁡x=x3g⁡x=y⁡x3This gives:ⅆⅆxx3+ⅆⅆxy⁡x3▫2. Apply thepowerrule to the termⅆⅆxx3◦Recall the definition of thepowerrule∂∂xxn=n⁢xn−1◦This means:ⅆⅆxx3=3⋅x2We can rewrite the derivative as:3⁢x2+ⅆⅆxy⁡x3▫3. Apply thechainrule to the termy⁡x3◦Recall the definition of thechainruleⅆⅆxf⁡g⁡x=f'⁡g⁡x⁢ⅆⅆxg⁡x◦Outside functionf⁡v=v3◦Inside functiong⁡x=y⁡x◦Derivative of outside functionⅆⅆvf⁡v=3⁢v2◦Apply compositionf'⁡g⁡x=3⁢y⁡x2◦Derivative of inside functionⅆⅆxg⁡x=ⅆⅆxy⁡x◦Put it all togetherⅆⅆxf⁡g⁡x⁢ⅆⅆxg⁡x=3⁢y⁡x2⋅ⅆⅆxy⁡xThis gives:3⁢x2+3⁢y⁡x2⁢ⅆⅆxy⁡x•The final result is3⁢x2+3⋅y⁡x2⋅ⅆⅆxy⁡x•Differentiate the right side∂∂x3⁢a⁢x⁢y⁡x▫1. Apply theconstant multiplerule to the term∂∂x3⁢a⁢x⁢y⁡x◦Recall the definition of theconstant multiplerule∂∂xC⁢f⁡x=C⁢ⅆⅆxf⁡x◦This means:∂∂x3⁢a⁢x⁢y⁡x=3⁢a⋅ⅆⅆxx⁢y⁡xWe can rewrite the derivative as:3⁢a⁢ⅆⅆxx⁢y⁡x▫2. Apply theproductrule◦Recall the definition of theproductruleⅆⅆxf⁡x⁢g⁡x=ⅆⅆxf⁡x⁢g⁡x+f⁡x⁢ⅆⅆxg⁡xf⁡x=xg⁡x=y⁡xThis gives:3⁢a⁢ⅆxⅆx⁢y⁡x+x⁢ⅆⅆxy⁡x▫3. Apply thepowerrule to the termⅆxⅆx◦Recall the definition of thepowerrule∂∂xxn=n⁢xn−1◦This means:ⅆⅆxx1=1⋅x0◦So,ⅆxⅆx=1We can rewrite the derivative as:3⋅a⋅y⁡x+x⁢ⅆⅆxy⁡x•The final result is3⋅a⋅y⁡x+x⋅ⅆⅆxy⁡x•Rewriteⅆⅆxy⁡xasy'and solve fory'3⁢x2+3⋅y2⋅y'=3⋅a⋅y+x⋅y'•Subtract3⋅a⋅y+x⋅y'from both sides3⋅x2+3⋅y2⋅y'−3⋅a⋅y+x⋅y'=3⋅a⋅y+x⋅y'−3⋅a⋅y+x⋅y'•Simplify3⋅x2+3⋅y2⋅y'−3⋅a⋅y+x⋅y'=0•Subtract3⋅x2from both sides3⋅x2+3⋅y2⋅y'−1⋅3⋅a⋅y+x⋅y'−3⋅x2=0−3⋅x2•Simplify3⋅y2⋅y'−1⋅3⋅a⋅y+x⋅y'=−3⋅x2•Reorder terms3⁢y2⁢y'−1⋅3⋅a⋅x⁢y'+y=−3⋅x2•Distributive multiply3⁢y2⁢y'−1⋅3⋅a⋅x⁢y'+3⋅a⋅y=−3⋅x2•Distributive multiply3⁢y2⁢y'+−1⋅3⁢a⁢x⁢y'−1⋅3⁢a⁢y=−3⋅x2•Multiply constants3⁢y2⁢y'+−3⋅a⋅x⋅y'−1⋅3⁢a⁢y=−3⋅x2•Multiply constants3⁢y2⁢y'+−3⁢a⁢x⁢y'−3⋅a⋅y=−3⋅x2•Reorder terms−3⁢a⁢x⁢y'+3⁢y2⁢y'−3⁢a⁢y=−3⋅x2•Add3⁢a⁢yto both sides−3⁢a⁢x⁢y'+3⁢y2⁢y'−3⁢a⁢y+3⁢a⁢y=−3⋅x2+3⁢a⁢y•Simplify−3⁢a⁢x⁢y'+3⁢y2⁢y'=−3⋅x2+3⁢a⁢y•Reorder terms−3⁢a⁢x⁢y'+3⁢y2⁢y'=3⁢a⁢y−3⁢x2•Factory'⋅−3⁢a⁢x+3⁢y2=3⁢a⁢y−3⁢x2•Divide both sides by−3⁢a⁢x+3⁢y2y'⋅−3⁢a⁢x+3⁢y2−3⁢a⁢x+3⁢y2=3⁢a⁢y−3⁢x2−3⁢a⁢x+3⁢y2•Simplifyy'=3⁢a⁢y−3⁢x2−3⁢a⁢x+3⁢y2•Solutiony'=−a⁢y−x2a⁢x−y2
To launch the Differentiation Methods tutor with the Folium embedded, press .
Alternatively, to access the Implicit Differentiation task template, click here.
Part (c)
Horizontal Tangents
The derivative at a point where there is a horizontal tangent is zero, that is, y′c=0 if c,yc is the point of contact with such a tangent. Hence, find y′x by implicit differentiation, and simultaneously solve the equation of the Folium and y′x=0 for the c,yc pair satisfying both equations. Setting the numerator of y′ to zero, instead of y′ itself, simplifies the algebra.
Control-drag (or type) the equation of the Folium, and press the Enter key.
Context Panel: Numerator
→implicit differentiation
a⁢y−x2−a⁢x+y2
→numerator
−a⁢y+x2
Using equation labels, form the sequence of two equations: the Folium, and the numerator set to zero. Context Menu: Label≻Label Reference
Context Panel: Solve≻Solve for Variables≻x,y
Context Panel: Conversions≻To Radical
,=0
x3+y3=3⁢a⁢x⁢y,−a⁢y+x2=0
→solve (specified)
x=0,y=0,x=RootOf⁡_Z3−2⁢a,y=RootOf⁡_Z3−22⁢a
= radical form
x=0,y=0,x=21/3⁢a,y=22/3⁢a
Figures 2.5.3(a-b) show the Folium and the horizontal tangents when a=±1, respectively.
Figure 2.5.3(a) Folium and horizontal tangents with a=−1
Figure 2.5.3(b) Folium and horizontal tangents with a=1
Part (d)
Vertical Tangents
The derivative at a point where there is a vertical tangent is not defined, that is, y′c=∞ if c,yc is the point of contact with such a tangent. Alternatively, the denominator of y′ becomes zero at a point of contact with a vertical tangent. Hence, find y′x by implicit differentiation, and simultaneously solve the equation of the Folium and the denominator of y′x set to zero for the c,yc pair satisfying both equations.
Context Panel: Denominator
→denominator
a⁢x−y2
Using equation labels, form the sequence of two equations: the Folium, and the denominator set to zero. Context Menu: Label≻Label Reference
x3+y3=3⁢a⁢x⁢y,a⁢x−y2=0
x=0,y=0,x=RootOf⁡_Z3−22⁢a,y=RootOf⁡_Z3−2⁢a
x=0,y=0,x=22/3⁢a,y=21/3⁢a
Figures 2.5.3(c-d) show the Folium and the horizontal tangents when a=±1, respectively.
Figure 2.5.3(c) Folium and vertical tangents with a=−1
Figure 2.5.3(d) Folium and vertical tangents with a=1
Part (e)
Tangent Lines with Slope 1
Type the equation of the Folium, setting a=3. Press the Enter key.
x3+y3=9 x y
x3+y3=9⁢x⁢y
−x2+3⁢yy2−3⁢x
Using equation labels, form the sequence of equations consisting of the equation of the Folium and the implicit derivative set equal to 1.
Context Panel: Evaluate at a Point≻x→u,y→v
Context Panel: Solve≻Numerically Solve
,=1
x3+y3=9⁢x⁢y,−x2+3⁢yy2−3⁢x=1
u3+v3=9⁢u⁢v,−u2+3⁢vv2−3⁢u=1
→solve
u=3.619951269,v=1.576201153
Using the equation label, reference the sequence of equations written in terms of u and v. Press the Enter key.
Context Panel: Solve≻ Numerically Solve from point≻ u=1,v=3 (See Figure 2.5.3(e).)
u=1.576201153,v=3.619951269
Write the point-slope form of the line through u,v and with slope 1. Press the Enter key.
Expression palette: Evaluation template Evaluate the line at the first u,v solution. Press the Enter key.
Repeat for the second u,v solution.
y=1⋅x−u+v
y=x−u+v
x=a|f(x)
y=x−2.043750116
y=x+2.043750116
Code for Figure 2.5.3(e) is hidden in the cell containing the graph.
Construct Figure 2.5.3(e) interactively via the Plot Builder, launched from the Context Panel applied to a sequence of (5), (the equation of the Folium with a=3), and the equations of the two tangent lines.
The relevant options are then the setting of the ranges for both x and y to −5,5.
Figure 2.5.3(e) Folium and tangent lines of slope 1
Part (f)
Table 2.5.3(a) lists the three branches of the Folium when a=3. Figure 2.5.3(f) color-codes the graphs of the three branches.
A=−4 x3+4⁢−108⁢x3+x61/3
Branch
Color
y1=12⁢A+6⁢xA
black
y2=−14⁢A−3⁢xA+12⁢I⁢3⁢12⁢A−6⁢xA
red
y3=−14⁢A−3⁢xA−12⁢I⁢3⁢12⁢A−6⁢xA
green
Table 2.5.3(a) Three explicit branches of the Folium
plot([solve(x^3+y^3=9*x*y,y)],x=-5..5,y=-5..5,color=[black,red,green],scaling=constrained,thickness=2);
Figure 2.5.3(f) Folium branches
Branch y1 is real for −∞<x≤3⋅22/3, the right endpoint being the point where the tangent line is vertical. Branch y2 is real for 0≤x<∞, while branch y3 is real for 0≤x≤3⋅22/3.
Table 2.5.3(b) lists the interactive steps by which a figure comparable to Figure 2.5.3(f) could be obtained. Since the conversion to a list repeats the display of the solutions, just the steps leading to the solutions are implemented.
Type the equation of the Folium when a=3, the press the Enter key. Context Panel: Solve≻Obtain Solutions for≻y
Context Panel: Plots≻2-D Implicit Plot≻x,y
Control-drag onto graph of the folium the expressions for the tangent lines
→solutions for y
12⁢−4⁢x3+4⁢x6−108⁢x31/3+6⁢x−4⁢x3+4⁢x6−108⁢x31/3,−14⁢−4⁢x3+4⁢x6−108⁢x31/3−3⁢x−4⁢x3+4⁢x6−108⁢x31/3+12⁢I⁢3⁢12⁢−4⁢x3+4⁢x6−108⁢x31/3−6⁢x−4⁢x3+4⁢x6−108⁢x31/3,−14⁢−4⁢x3+4⁢x6−108⁢x31/3−3⁢x−4⁢x3+4⁢x6−108⁢x31/3−12⁢I⁢3⁢12⁢−4⁢x3+4⁢x6−108⁢x31/3−6⁢x−4⁢x3+4⁢x6−108⁢x31/3
Table 2.5.3(b) Interactive steps for obtaining Figure 2.5.3(f)
The complexity of the explicit expressions for yx suggests that differentiating after solving is far more tedious than implicit differentiation.
<< Previous Example Section 2.5 Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document