Navigation

Concept Review

Differential Calculus

Implicit Differentiation

Most curves worth studying are not graphs of functions: a circle, an ellipse, the folium x3+y3=6xyx^3+y^3=6xy. Implicit differentiation computes slopes on such curves without ever solving for yy — you differentiate the whole equation with respect to xx while treating yy as an unknown differentiable function of xx. It is nothing more than the chain rule applied inside an equation, and it is the machinery behind related rates, logarithmic differentiation, and the derivatives of inverse functions later in the course.

Explicit versus implicit

A function is given explicitly when it is written y=f(x)y=f(x), with yy already isolated. An equation in xx and yy — write it F(x,y)=0F(x,y)=0 — is said to define yy implicitly as a function of xx near a point (a,b)(a,b) if there is an open interval II containing aa and a function ff on II with

f(a)=bandF(x,f(x))=0for all xI.f(a)=b \qquad \text{and} \qquad F\left(x,f(x)\right)=0 \quad \text{for all } x \in I .

One equation can define many functions. The circle x2+y2=25x^2+y^2=25 contains both y=25x2y=\sqrt{25-x^2} (upper semicircle) and y=25x2y=-\sqrt{25-x^2} (lower semicircle); near (3,4)(3,4) only the first one applies, near (3,4)(3,-4) only the second. Near (5,0)(5,0) neither works: no interval around x=5x=5 carries a function on the curve at all. That failure is not an accident, and the next theorem says exactly when it can happen.

Why implicit differentiation works

Theorem (Implicit Function Theorem, one-variable form). Let F(x,y)F(x,y) have partial derivatives FxF_x and FyF_y that exist and are continuous on an open disc around (a,b)(a,b). Suppose

  1. F(a,b)=0F(a,b)=0 (the point is on the curve), and
  2. Fy(a,b)0F_y(a,b)\ne 0.

Then there are an open interval II containing aa and a unique differentiable function ff on II with f(a)=bf(a)=b and F(x,f(x))=0F(x,f(x))=0 on II, and

f(x)=Fx(x,f(x))Fy(x,f(x)).f'(x)=-\frac{F_x\left(x,f(x)\right)}{F_y\left(x,f(x)\right)} .

(Here FxF_x means "differentiate FF treating yy as a constant" and FyF_y means "differentiate FF treating xx as a constant".)

Where the formula comes from. Granted that such a differentiable ff exists, the function g(x)=F(x,f(x))g(x)=F(x,f(x)) is identically 00 on II, so g(x)=0g'(x)=0. The chain rule for a function of two variables gives g(x)=Fx+Fyf(x)g'(x)=F_x+F_y f'(x), hence Fx+Fyf=0F_x+F_y f'=0 and f=Fx/Fyf'=-F_x/F_y whenever Fy0F_y\ne 0.

Two consequences you must respect:

  • Implicit differentiation assumes differentiability. Hypothesis 2 is what supplies it. Where Fy=0F_y=0 the method can produce a meaningless expression (division by zero) or the curve can genuinely fail to be a function of xx — a vertical tangent, a cusp, or a self-crossing.
  • The answer normally contains both xx and yy. That is correct and expected: the slope depends on which branch of the curve you are standing on.

The mechanics

Every time a yy is differentiated, the chain rule attaches a factor dydx\dfrac{dy}{dx} (written yy' below).

Term appearing in the equationIts derivative with respect to xx
xnx^nnxn1nx^{n-1}
constant cc00
yyyy'
yny^nnyn1yny^{n-1}y'
y\sqrt{y}y2y\dfrac{y'}{2\sqrt{y}} (needs y>0y>0)
siny\sin ycosyy\cos y \cdot y'
tany\tan ysec2yy\sec^2 y \cdot y' (needs yπ2+kπy \ne \frac{\pi}{2}+k\pi)
xyxyy+xyy+xy' (product rule)
xmynx^m y^nmxm1yn+nxmyn1ymx^{m-1}y^n+nx^m y^{n-1}y'
sin(xy)\sin(xy)cos(xy)(y+xy)\cos(xy)\left(y+xy'\right)
xy\dfrac{x}{y}yxyy2\dfrac{y-xy'}{y^2} (quotient rule)
(x2+y2)2(x^2+y^2)^22(x2+y2)(2x+2yy)2(x^2+y^2)(2x+2yy')

The four-step recipe. (1) Differentiate both sides with respect to xx, applying the chain rule to every yy. (2) Move every term containing yy' to one side and everything else to the other. (3) Factor out yy'. (4) Divide, and record which points make the divisor zero — those are exactly the candidates for vertical tangents and singular points.

Worked example 1 — circle: tangent line and second derivative

Curve x2+y2=25x^2+y^2=25 at the point (3,4)(3,4), which is on the curve since 9+16=259+16=25.

ddx(x2+y2)=ddx(25)2x+2yy=02yy=2xy=xy(y0).\begin{aligned} \frac{d}{dx}\left(x^2+y^2\right) &= \frac{d}{dx}(25) \\ 2x+2y\,y' &= 0 \\ 2y\,y' &= -2x \\ y' &= -\frac{x}{y} \qquad (y \ne 0). \end{aligned}

At (3,4)(3,4): y=34y'=-\dfrac{3}{4}, so the tangent line is

y4=34(x3)3x+4y=25.y-4=-\frac{3}{4}(x-3) \quad \Longrightarrow \quad 3x+4y=25 .

Independent check. Near (3,4)(3,4) the branch is y=25x2y=\sqrt{25-x^2}, whose derivative is x25x2=xy\dfrac{-x}{\sqrt{25-x^2}}=-\dfrac{x}{y} — the same formula. Also, the distance from the origin to the line 3x+4y=253x+4y=25 is 2532+42=5\dfrac{25}{\sqrt{3^2+4^2}}=5, the radius, as a tangent to a circle must be.

Now the second derivative. Differentiate y=x/yy'=-x/y again with the quotient rule, remembering yy is a function of xx:

y=(1)(y)(x)(y)y2=yx(xy)y2=y2+x2yy2=x2+y2y3=25y3,\begin{aligned} y'' &= -\frac{(1)(y)-(x)(y')}{y^2} = -\frac{y-x\left(-\dfrac{x}{y}\right)}{y^2} = -\frac{\dfrac{y^2+x^2}{y}}{y^2} = -\frac{x^2+y^2}{y^3} = -\frac{25}{y^3}, \end{aligned}

using the original equation in the last step. At (3,4)(3,4), y=2564<0y''=-\dfrac{25}{64}<0: the upper semicircle is concave down, as it should be.

Worked example 2 — folium of Descartes

Curve x3+y3=6xyx^3+y^3=6xy. The point (3,3)(3,3) lies on it: 27+27=54=63327+27=54=6\cdot 3\cdot 3.

3x2+3y2y=6y+6xy3y2y6xy=6y3x2y(3y26x)=6y3x2y=6y3x23y26x=2yx2y22x(y22x).\begin{aligned} 3x^2+3y^2y' &= 6y+6xy' \\ 3y^2y'-6xy' &= 6y-3x^2 \\ y'\left(3y^2-6x\right) &= 6y-3x^2 \\ y' &= \frac{6y-3x^2}{3y^2-6x}=\frac{2y-x^2}{y^2-2x} \qquad (y^2 \ne 2x). \end{aligned}

At (3,3)(3,3): y=6996=1y'=\dfrac{6-9}{9-6}=-1, so the tangent is y3=(x3)y-3=-(x-3), i.e. x+y=6x+y=6.

Horizontal tangent. Need 2yx2=02y-x^2=0 and y22x0y^2-2x\ne 0 and the point on the curve. From y=x22y=\frac{x^2}{2}, substitute into x3+y3=6xyx^3+y^3=6xy:

x3+x68=6xx22=3x3x68=2x3x3(x316)=0.x^3+\frac{x^6}{8}=6x\cdot\frac{x^2}{2}=3x^3 \quad \Longrightarrow \quad \frac{x^6}{8}=2x^3 \quad \Longrightarrow \quad x^3\left(x^3-16\right)=0 .

So x=0x=0 or x=161/3=24/3x=16^{1/3}=2^{4/3}, giving y=25/3y=2^{5/3}. At (24/3,25/3)(2.520,3.175)\left(2^{4/3},2^{5/3}\right)\approx(2.520,3.175) the denominator is y22x=210/327/3=27/30y^2-2x=2^{10/3}-2^{7/3}=2^{7/3}\ne 0, so there is a genuine horizontal tangent there. Because swapping xx and yy leaves the equation unchanged, the vertical tangent sits at the mirror point (25/3,24/3)\left(2^{5/3},2^{4/3}\right).

The origin. At (0,0)(0,0) both numerator and denominator vanish, and Fy=3y26x=0F_y=3y^2-6x=0: the Implicit Function Theorem does not apply. The curve genuinely crosses itself there (a node) with two tangent lines, x=0x=0 and y=0y=0. No single value of yy' exists.

Horizontal and vertical tangents

Write the implicit derivative as a quotient y=N(x,y)D(x,y)y'=\dfrac{N(x,y)}{D(x,y)} and test only points that satisfy the original equation:

Situation at a point on the curveConclusion
N=0N=0, D0D\ne 0horizontal tangent
N0N\ne 0, D=0D=0vertical tangent (dxdy=DN=0\frac{dx}{dy}=\frac{D}{N}=0)
N=0N=0, D=0D=0inconclusive: cusp, node, or isolated point — investigate separately

The step students skip is substituting back into F(x,y)=0F(x,y)=0. Solving N=0N=0 alone gives a curve of candidates, most of which are nowhere near the graph.

Second derivative implicitly

Differentiate the expression for yy' with respect to xx (product/quotient rule, chain rule on every yy), then substitute the known yy' and finally use the original equation to simplify. Example: for x3+y3=1x^3+y^3=1, y=x2y2y'=-\dfrac{x^2}{y^2} and

y=2xy2x2(2yy)y4=2x(yxy)y3=2x(y+x3y2)y3=2x(x3+y3)y5=2xy5.y''=-\frac{2xy^2-x^2\left(2yy'\right)}{y^4}=-\frac{2x\left(y-xy'\right)}{y^3}=-\frac{2x\left(y+\dfrac{x^3}{y^2}\right)}{y^3}=-\frac{2x\left(x^3+y^3\right)}{y^5}=-\frac{2x}{y^5}.

Common mistakes

WrongRightWhy
ddxy3=3y2\dfrac{d}{dx}y^3=3y^23y2y3y^2y'yy is a function of xx; the chain rule is not optional.
ddx(xy)=y\dfrac{d}{dx}(xy)=y' or =1y=1\cdot y'y+xyy+xy'xyxy is a product of two functions of xx.
ddx(x2+y2)=2x+2y\dfrac{d}{dx}(x^2+y^2)=2x+2y2x+2yy2x+2yy'Same omission, most often on circles.
Differentiating only the left sideDifferentiate both sidesAn equation stays an equation only if both sides get the same operator; ddx(25)=0\frac{d}{dx}(25)=0, not 2525.
Leaving yy' scattered on both sidesCollect, factor, then divide2yy6xy=2yy'-6xy'=\dots must become y(2y6x)=y'(2y-6x)=\dots
Reporting y=2yx2y22xy'=\dfrac{2y-x^2}{y^2-2x} as "wrong because it has yy in it"It is the correct formImplicit derivatives legitimately depend on both coordinates.
Setting the numerator to 00 and reporting those pointsAlso substitute into F(x,y)=0F(x,y)=0Candidates must lie on the curve; the folium's horizontal tangent is at (24/3,25/3)\left(2^{4/3},2^{5/3}\right), not at every point with y=x2/2y=x^2/2.
y=ddx(xy)=1yy''=\dfrac{d}{dx}\left(-\dfrac{x}{y}\right)=-\dfrac{1}{y}x2+y2y3-\dfrac{x^2+y^2}{y^3}The denominator contains y=y(x)y=y(x), so the quotient rule applies.
Using y=x/yy'=-x/y at (5,0)(5,0) on x2+y2=25x^2+y^2=25The tangent is vertical, x=5x=5Fy=2y=0F_y=2y=0: the theorem's hypothesis fails and no yy' exists.
Differentiating x2+y2=1x^2+y^2=-1 and reporting y=x/yy'=-x/yThe equation has no real solutionsThe method presupposes a real curve with a differentiable branch; formal symbol pushing proves nothing.

Key terms

  • implicitly defined function
  • explicit form
  • chain rule
  • product rule
  • Implicit Function Theorem
  • partial derivative
  • branch of a curve
  • tangent line
  • horizontal tangent
  • vertical tangent
  • singular point (cusp, node)
  • second derivative
  • folium of Descartes
  • lemniscate
  • astroid
  • rotated ellipse

Practice Problems

For the circle x2+y2=169x^2+y^2=169, find dydx\dfrac{dy}{dx} by implicit differentiation, then give the slope of the curve and the equation of the tangent line at the point (5,12)(5,-12).

Show hint

Differentiate both sides with respect to xx; the y2y^2 term needs the chain rule, so a factor of dydx\frac{dy}{dx} appears.

Show answer

First confirm the point is on the curve: 52+(12)2=25+144=1695^2+(-12)^2=25+144=169. Good.

Differentiate both sides with respect to xx, treating yy as a function of xx:

ddx(x2+y2)=ddx(169)2x+2ydydx=02ydydx=2xdydx=xy(y0).\begin{aligned} \frac{d}{dx}\left(x^2+y^2\right) &= \frac{d}{dx}(169) \\ 2x+2y\frac{dy}{dx} &= 0 \\ 2y\frac{dy}{dx} &= -2x \\ \frac{dy}{dx} &= -\frac{x}{y} \qquad (y \ne 0). \end{aligned}

At (5,12)(5,-12):

dydx=512=512.\frac{dy}{dx}=-\frac{5}{-12}=\frac{5}{12}.

Tangent line through (5,12)(5,-12) with slope 512\frac{5}{12}:

y+12=512(x5)12y+144=5x255x12y=169.y+12=\frac{5}{12}(x-5) \quad \Longrightarrow \quad 12y+144=5x-25 \quad \Longrightarrow \quad 5x-12y=169 .

Check. Near (5,12)(5,-12) the curve is the lower semicircle y=169x2y=-\sqrt{169-x^2}, whose derivative is x169x2\dfrac{x}{\sqrt{169-x^2}}; at x=5x=5 this is 512\dfrac{5}{12}. Also the distance from the origin to 5x12y=1695x-12y=169 is 16925+144=16913=13\dfrac{169}{\sqrt{25+144}}=\dfrac{169}{13}=13, the radius — exactly what a tangent line to this circle must satisfy.

Answer: dydx=xy\dfrac{dy}{dx}=-\dfrac{x}{y}; slope 512\dfrac{5}{12}; tangent line 5x12y=1695x-12y=169.

The equation xy=12xy=12 defines yy implicitly as a function of xx for x0x \ne 0. (a) Find dydx\dfrac{dy}{dx} by implicit differentiation. (b) Solve for yy explicitly, differentiate, and confirm the two answers agree.

Show hint

On the left-hand side you have a product of two functions of xx, so the product rule comes before anything else.

Show answer

(a) Implicitly. Differentiate both sides with respect to xx. The left side is a product of xx and y=y(x)y=y(x), so use the product rule (uv)=uv+uv(uv)'=u'v+uv':

ddx(xy)=ddx(12)(1)y+xdydx=0xdydx=ydydx=yx(x0).\begin{aligned} \frac{d}{dx}(xy) &= \frac{d}{dx}(12) \\ (1)\cdot y+x\cdot\frac{dy}{dx} &= 0 \\ x\frac{dy}{dx} &= -y \\ \frac{dy}{dx} &= -\frac{y}{x} \qquad (x \ne 0). \end{aligned}

(b) Explicitly. From xy=12xy=12 with x0x\ne 0 we get y=12x=12x1y=\dfrac{12}{x}=12x^{-1}, so by the power rule

dydx=12x2=12x2.\frac{dy}{dx}=-12x^{-2}=-\frac{12}{x^2}.

Agreement. Substitute y=12xy=\dfrac{12}{x} into the implicit answer:

yx=12/xx=12x2.-\frac{y}{x}=-\frac{12/x}{x}=-\frac{12}{x^2}.

The two expressions are identical. This is the whole point of the method: the implicit answer is the same derivative, just written in terms of both coordinates.

Numerical spot check at (3,4)(3,4): implicit gives 431.3333-\frac{4}{3}\approx-1.3333; explicit gives 129=43-\frac{12}{9}=-\frac{4}{3}. A centred difference on y=12/xy=12/x with step 0.010.01 gives 12/3.0112/2.990.021.33335\dfrac{12/3.01-12/2.99}{0.02}\approx-1.33335.

Answer: dydx=yx=12x2\dfrac{dy}{dx}=-\dfrac{y}{x}=-\dfrac{12}{x^2}; the two methods agree.

Find dydx\dfrac{dy}{dx} for the curve x3+y3=9x^3+y^3=9, and evaluate it at the point (1,2)(1,2).

Show hint

Differentiate term by term; the y3y^3 term picks up a dydx\frac{dy}{dx} from the chain rule, and the right-hand side is a constant.

Show answer

Check the point first: 13+23=1+8=91^3+2^3=1+8=9, so (1,2)(1,2) is on the curve.

Differentiate both sides with respect to xx:

3x2+3y2dydx=03y2dydx=3x2dydx=x2y2(y0).\begin{aligned} 3x^2+3y^2\frac{dy}{dx} &= 0 \\ 3y^2\frac{dy}{dx} &= -3x^2 \\ \frac{dy}{dx} &= -\frac{x^2}{y^2} \qquad (y \ne 0). \end{aligned}

At (1,2)(1,2):

dydx=1222=14.\frac{dy}{dx}=-\frac{1^2}{2^2}=-\frac{1}{4}.

Independent check. Here yy can be isolated: y=(9x3)1/3y=\left(9-x^3\right)^{1/3}. By the chain rule,

dydx=13(9x3)2/3(3x2)=x2(9x3)2/3.\frac{dy}{dx}=\frac{1}{3}\left(9-x^3\right)^{-2/3}\left(-3x^2\right)=-x^2\left(9-x^3\right)^{-2/3}.

At x=1x=1 this is 182/3=14-1\cdot 8^{-2/3}=-\dfrac{1}{4}, matching.

Note also that dydx=x2/y20\frac{dy}{dx}=-x^2/y^2 \le 0 everywhere the formula is defined, so the curve is decreasing — sensible, since x3x^3 and y3y^3 must trade off to keep the sum equal to 99.

Answer: dydx=x2y2\dfrac{dy}{dx}=-\dfrac{x^2}{y^2}, which equals 14-\dfrac{1}{4} at (1,2)(1,2).

The curve x+y=4\sqrt{x}+\sqrt{y}=4 passes through (4,4)(4,4). Find dydx\dfrac{dy}{dx}, give the tangent line at (4,4)(4,4), and state where on the curve the formula is valid.

Show hint

Write the square roots as powers, x1/2x^{1/2} and y1/2y^{1/2}, before differentiating; then think about which points make a denominator zero.

Show answer

Check the point: 4+4=2+2=4\sqrt{4}+\sqrt{4}=2+2=4. Good.

Write x1/2+y1/2=4x^{1/2}+y^{1/2}=4 and differentiate with respect to xx:

12x1/2+12y1/2dydx=012ydydx=12xdydx=yx.\begin{aligned} \frac{1}{2}x^{-1/2}+\frac{1}{2}y^{-1/2}\frac{dy}{dx} &= 0 \\ \frac{1}{2\sqrt{y}}\frac{dy}{dx} &= -\frac{1}{2\sqrt{x}} \\ \frac{dy}{dx} &= -\frac{\sqrt{y}}{\sqrt{x}} . \end{aligned}

At (4,4)(4,4):

dydx=44=1,\frac{dy}{dx}=-\frac{\sqrt{4}}{\sqrt{4}}=-1,

so the tangent line is y4=1(x4)y-4=-1(x-4), that is

y=x+8orx+y=8.y=-x+8 \qquad \text{or} \qquad x+y=8 .

Validity. The curve lives in 0x160 \le x \le 16 (since x4\sqrt{x} \le 4) with y=(4x)2y=\left(4-\sqrt{x}\right)^2. The derivative formula requires x>0x>0 (division by x\sqrt{x}) and the differentiation of y\sqrt{y} requires y>0y>0, i.e. x<16x<16. So dydx=y/x\dfrac{dy}{dx}=-\sqrt{y/x} is valid exactly on 0<x<160<x<16. At the endpoint (0,16)(0,16) the tangent is vertical; at (16,0)(16,0) it is horizontal, and neither is covered by the formula.

Independent check. Explicitly, y=(4x)2=168x+xy=\left(4-\sqrt{x}\right)^2=16-8\sqrt{x}+x, so dydx=4x+1\dfrac{dy}{dx}=-\dfrac{4}{\sqrt{x}}+1. At x=4x=4 this is 2+1=1-2+1=-1, matching. In general 4x+1=4xx=yx-\dfrac{4}{\sqrt{x}}+1=-\dfrac{4-\sqrt{x}}{\sqrt{x}}=-\dfrac{\sqrt{y}}{\sqrt{x}}, so the two forms agree everywhere on 0<x<160<x<16.

Answer: dydx=yx\dfrac{dy}{dx}=-\dfrac{\sqrt{y}}{\sqrt{x}}; tangent at (4,4)(4,4) is x+y=8x+y=8; valid for 0<x<160<x<16.

Find dydx\dfrac{dy}{dx} for the curve x2y+xy2=6x^2y+xy^2=6 and compute the slope of the tangent line at (1,2)(1,2).

Show hint

Both terms are products of a power of xx with a power of yy, so each one needs the product rule and the chain rule.

Show answer

Check the point: 122+122=2+4=61^2\cdot 2+1\cdot 2^2=2+4=6. Good.

Differentiate each term with respect to xx. For x2yx^2y use the product rule with u=x2u=x^2, v=yv=y:

ddx(x2y)=2xy+x2dydx.\frac{d}{dx}\left(x^2y\right)=2xy+x^2\frac{dy}{dx}.

For xy2xy^2 use u=xu=x, v=y2v=y^2 (and the chain rule on y2y^2):

ddx(xy2)=y2+x2ydydx=y2+2xydydx.\frac{d}{dx}\left(xy^2\right)=y^2+x\cdot 2y\frac{dy}{dx}=y^2+2xy\frac{dy}{dx}.

Adding, and setting the result equal to ddx(6)=0\frac{d}{dx}(6)=0:

2xy+x2dydx+y2+2xydydx=0dydx(x2+2xy)=(2xy+y2)dydx=2xy+y2x2+2xy=y(2x+y)x(x+2y)(x2+2xy0).\begin{aligned} 2xy+x^2\frac{dy}{dx}+y^2+2xy\frac{dy}{dx} &= 0 \\ \frac{dy}{dx}\left(x^2+2xy\right) &= -\left(2xy+y^2\right) \\ \frac{dy}{dx} &= -\frac{2xy+y^2}{x^2+2xy}=-\frac{y(2x+y)}{x(x+2y)} \qquad (x^2+2xy \ne 0). \end{aligned}

At (1,2)(1,2):

dydx=2(1)(2)+2212+2(1)(2)=4+41+4=85=1.6.\frac{dy}{dx}=-\frac{2(1)(2)+2^2}{1^2+2(1)(2)}=-\frac{4+4}{1+4}=-\frac{8}{5}=-1.6 .

Numerical check. Solving x2y+xy2=6x^2y+xy^2=6 for yy near 22: at x=1.01x=1.01 the quadratic 1.01y2+1.0201y6=01.01y^2+1.0201y-6=0 gives y1.9841001y\approx 1.9841001; at x=0.99x=0.99 the quadratic 0.99y2+0.9801y6=00.99y^2+0.9801y-6=0 gives y2.0161016y\approx 2.0161016. The centred slope is 1.98410012.01610160.021.60008\dfrac{1.9841001-2.0161016}{0.02}\approx-1.60008, agreeing with 85=1.6-\dfrac{8}{5}=-1.6 to the accuracy of the step size.

Answer: dydx=y(2x+y)x(x+2y)\dfrac{dy}{dx}=-\dfrac{y(2x+y)}{x(x+2y)}; the slope at (1,2)(1,2) is 85-\dfrac{8}{5}.

Find the equation of the tangent line to the ellipse x216+y29=1\dfrac{x^2}{16}+\dfrac{y^2}{9}=1 at the point (2,332)\left(2,\dfrac{3\sqrt{3}}{2}\right).

Show hint

The constants 1616 and 99 just ride along as denominators; differentiate as usual and then isolate dydx\frac{dy}{dx}.

Show answer

Check the point: 2216+(33/2)29=416+27/49=14+34=1\dfrac{2^2}{16}+\dfrac{\left(3\sqrt{3}/2\right)^2}{9}=\dfrac{4}{16}+\dfrac{27/4}{9}=\dfrac{1}{4}+\dfrac{3}{4}=1. Good.

Differentiate both sides with respect to xx:

2x16+2y9dydx=0x8+2y9dydx=02y9dydx=x8dydx=9x16y(y0).\begin{aligned} \frac{2x}{16}+\frac{2y}{9}\frac{dy}{dx} &= 0 \\ \frac{x}{8}+\frac{2y}{9}\frac{dy}{dx} &= 0 \\ \frac{2y}{9}\frac{dy}{dx} &= -\frac{x}{8} \\ \frac{dy}{dx} &= -\frac{9x}{16y} \qquad (y \ne 0). \end{aligned}

At (2,332)\left(2,\dfrac{3\sqrt{3}}{2}\right):

dydx=9(2)16332=18243=343=3312=340.4330.\frac{dy}{dx}=-\frac{9(2)}{16\cdot\dfrac{3\sqrt{3}}{2}}=-\frac{18}{24\sqrt{3}}=-\frac{3}{4\sqrt{3}}=-\frac{3\sqrt{3}}{12}=-\frac{\sqrt{3}}{4}\approx-0.4330 .

Tangent line:

y332=34(x2)y=34x+32+332y=34x+23.\begin{aligned} y-\frac{3\sqrt{3}}{2} &= -\frac{\sqrt{3}}{4}(x-2) \\ y &= -\frac{\sqrt{3}}{4}x+\frac{\sqrt{3}}{2}+\frac{3\sqrt{3}}{2} \\ y &= -\frac{\sqrt{3}}{4}x+2\sqrt{3}. \end{aligned}

Independent check. The standard tangent formula for x2a2+y2b2=1\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}=1 at (x0,y0)(x_0,y_0) is xx0a2+yy0b2=1\dfrac{xx_0}{a^2}+\dfrac{yy_0}{b^2}=1. Here that reads 2x16+(33/2)y9=1\dfrac{2x}{16}+\dfrac{(3\sqrt{3}/2)y}{9}=1, i.e. x8+36y=1\dfrac{x}{8}+\dfrac{\sqrt{3}}{6}y=1. Solving for yy: y=63(1x8)=2334xy=\dfrac{6}{\sqrt{3}}\left(1-\dfrac{x}{8}\right)=2\sqrt{3}-\dfrac{\sqrt{3}}{4}x — the same line. Substituting x=2x=2 gives 2332=3322\sqrt{3}-\dfrac{\sqrt{3}}{2}=\dfrac{3\sqrt{3}}{2}, so the line does pass through the point.

Answer: y=34x+23y=-\dfrac{\sqrt{3}}{4}x+2\sqrt{3}, with slope 34-\dfrac{\sqrt{3}}{4}.

The curve sin(x+y)=2x2y\sin(x+y)=2x-2y passes through (π,π)(\pi,\pi). Find dydx\dfrac{dy}{dx} and the tangent line there. Explain why this curve has no vertical tangent lines.

Show hint

Differentiate the left side with the chain rule: the inside function is x+yx+y, whose derivative is 1+dydx1+\frac{dy}{dx}.

Show answer

Check the point: sin(π+π)=sin(2π)=0\sin(\pi+\pi)=\sin(2\pi)=0 and 2π2π=02\pi-2\pi=0. Good.

Differentiate both sides with respect to xx. On the left, the chain rule with inner function x+yx+y gives an inner derivative 1+y1+y':

cos(x+y)(1+dydx)=22dydxcos(x+y)+cos(x+y)dydx=22dydxcos(x+y)dydx+2dydx=2cos(x+y)dydx(cos(x+y)+2)=2cos(x+y)dydx=2cos(x+y)2+cos(x+y).\begin{aligned} \cos(x+y)\left(1+\frac{dy}{dx}\right) &= 2-2\frac{dy}{dx} \\ \cos(x+y)+\cos(x+y)\frac{dy}{dx} &= 2-2\frac{dy}{dx} \\ \cos(x+y)\frac{dy}{dx}+2\frac{dy}{dx} &= 2-\cos(x+y) \\ \frac{dy}{dx}\left(\cos(x+y)+2\right) &= 2-\cos(x+y) \\ \frac{dy}{dx} &= \frac{2-\cos(x+y)}{2+\cos(x+y)} . \end{aligned}

At (π,π)(\pi,\pi) we have cos(2π)=1\cos(2\pi)=1, so

dydx=212+1=13,\frac{dy}{dx}=\frac{2-1}{2+1}=\frac{1}{3},

and the tangent line is

yπ=13(xπ)y=x3+2π3.y-\pi=\frac{1}{3}(x-\pi) \quad \Longrightarrow \quad y=\frac{x}{3}+\frac{2\pi}{3}.

No vertical tangents. A vertical tangent needs the denominator 2+cos(x+y)2+\cos(x+y) to vanish. But 1cos(x+y)1-1 \le \cos(x+y) \le 1, so 12+cos(x+y)31 \le 2+\cos(x+y) \le 3: the denominator is never 00. Hence dydx\frac{dy}{dx} is defined at every point of the curve, and in fact it is trapped between 212+1=13\frac{2-1}{2+1}=\frac{1}{3} and 2+121=3\frac{2+1}{2-1}=3, so the curve is strictly increasing with slope in [13,3]\left[\frac{1}{3},3\right] — no horizontal tangents either.

Numerical check. Take x=π+0.01x=\pi+0.01 and solve sin(x+y)=2x2y\sin(x+y)=2x-2y for yy near π\pi. Writing y=π+ty=\pi+t and s=0.01s=0.01, the equation becomes sin(2π+s+t)=sin(s+t)=2(st)\sin(2\pi+s+t)=\sin(s+t)=2(s-t). With s=0.01s=0.01: sin(0.01+t)0.01+t\sin(0.01+t)\approx 0.01+t, so 0.01+t0.022t0.01+t\approx 0.02-2t, giving t0.00333t\approx 0.00333. (Solving sin(0.01+t)=2(0.01t)\sin(0.01+t)=2(0.01-t) numerically gives t=0.0033335t=0.0033335.) Then ΔyΔx0.00333350.01=0.3333513\dfrac{\Delta y}{\Delta x}\approx\dfrac{0.0033335}{0.01}=0.33335\approx\dfrac{1}{3}, confirming the slope.

Answer: dydx=2cos(x+y)2+cos(x+y)\dfrac{dy}{dx}=\dfrac{2-\cos(x+y)}{2+\cos(x+y)}; at (π,π)(\pi,\pi) the slope is 13\dfrac{1}{3} and the tangent is y=x3+2π3y=\dfrac{x}{3}+\dfrac{2\pi}{3}; no vertical tangents because 2+cos(x+y)1>02+\cos(x+y)\ge 1>0.

For the curve x3+y3=1x^3+y^3=1, show that d2ydx2=2xy5\dfrac{d^2y}{dx^2}=-\dfrac{2x}{y^5}.

Show hint

Find dydx\frac{dy}{dx} first, then differentiate that quotient again — and remember to substitute the expression you already found for dydx\frac{dy}{dx} before simplifying.

Show answer

Step 1: first derivative. Differentiate x3+y3=1x^3+y^3=1 with respect to xx:

3x2+3y2dydx=0dydx=x2y2(y0).3x^2+3y^2\frac{dy}{dx}=0 \quad \Longrightarrow \quad \frac{dy}{dx}=-\frac{x^2}{y^2} \qquad (y \ne 0).

Step 2: differentiate again. Apply the quotient rule to x2y2-\dfrac{x^2}{y^2}, treating yy as a function of xx (so ddxy2=2yy\frac{d}{dx}y^2=2yy'):

d2ydx2=(2x)(y2)(x2)(2yy)(y2)2=2xy22x2yyy4=2y(xyx2y)y4=2x(yxy)y3.\begin{aligned} \frac{d^2y}{dx^2} &= -\frac{\left(2x\right)\left(y^2\right)-\left(x^2\right)\left(2yy'\right)}{\left(y^2\right)^2} \\ &= -\frac{2xy^2-2x^2yy'}{y^4} \\ &= -\frac{2y\left(xy-x^2y'\right)}{y^4} \\ &= -\frac{2x\left(y-xy'\right)}{y^3}. \end{aligned}

Step 3: substitute y=x2y2y'=-\dfrac{x^2}{y^2}.

yxy=yx(x2y2)=y+x3y2=y3+x3y2.y-xy'=y-x\left(-\frac{x^2}{y^2}\right)=y+\frac{x^3}{y^2}=\frac{y^3+x^3}{y^2}.

Step 4: use the original equation. Since x3+y3=1x^3+y^3=1,

yxy=1y2,y-xy'=\frac{1}{y^2},

and therefore

d2ydx2=2xy31y2=2xy5(y0),\frac{d^2y}{dx^2}=-\frac{2x}{y^3}\cdot\frac{1}{y^2}=-\frac{2x}{y^5}\qquad (y \ne 0),

which is what we wanted.

Numerical check at x=0.5x=0.5. Then y3=10.125=0.875y^3=1-0.125=0.875, so y0.9564656y\approx 0.9564656 and y50.8004731y^5\approx 0.8004731, giving y10.80047311.24926y''\approx-\dfrac{1}{0.8004731}\approx-1.24926. Directly from y=(1x3)1/3y=\left(1-x^3\right)^{1/3} we get y(0.49)0.9591366y(0.49)\approx 0.9591366, y(0.50)0.9564656y(0.50)\approx 0.9564656, y(0.51)0.9536696y(0.51)\approx 0.9536696, so the second difference is y(0.49)2y(0.50)+y(0.51)(0.01)21.2494\dfrac{y(0.49)-2y(0.50)+y(0.51)}{(0.01)^2}\approx-1.2494, consistent.

Answer: dydx=x2y2\dfrac{dy}{dx}=-\dfrac{x^2}{y^2} and d2ydx2=2xy5\dfrac{d^2y}{dx^2}=-\dfrac{2x}{y^5}.

The rotated ellipse x2+xy+y2=3x^2+xy+y^2=3 is a closed curve. Find every point on it where the tangent line is horizontal and every point where the tangent line is vertical.

Show hint

Get dydx\frac{dy}{dx} as a single fraction, then handle numerator =0=0 and denominator =0=0 separately — and in each case remember the point must also satisfy the original equation.

Show answer

Step 1: the implicit derivative. Differentiate x2+xy+y2=3x^2+xy+y^2=3, using the product rule on xyxy:

2x+(y+xdydx)+2ydydx=0dydx(x+2y)=(2x+y)dydx=2x+yx+2y(x+2y0).\begin{aligned} 2x+\left(y+x\frac{dy}{dx}\right)+2y\frac{dy}{dx} &= 0 \\ \frac{dy}{dx}\left(x+2y\right) &= -\left(2x+y\right) \\ \frac{dy}{dx} &= -\frac{2x+y}{x+2y} \qquad (x+2y \ne 0). \end{aligned}

Step 2: horizontal tangents need numerator =0=0 and denominator 0\ne 0. From 2x+y=02x+y=0 we get y=2xy=-2x. Substituting into the curve:

x2+x(2x)+(2x)2=x22x2+4x2=3x2=3x=±1.x^2+x(-2x)+(-2x)^2=x^2-2x^2+4x^2=3x^2=3 \quad \Longrightarrow \quad x=\pm 1 .

This gives (1,2)(1,-2) and (1,2)(-1,2). Check the denominators: at (1,2)(1,-2), x+2y=14=30x+2y=1-4=-3\ne 0; at (1,2)(-1,2), x+2y=1+4=30x+2y=-1+4=3\ne 0. Both are genuine horizontal tangents, namely the lines y=2y=-2 and y=2y=2.

Step 3: vertical tangents need denominator =0=0 and numerator 0\ne 0. From x+2y=0x+2y=0 we get x=2yx=-2y. Substituting:

(2y)2+(2y)y+y2=4y22y2+y2=3y2=3y=±1.(-2y)^2+(-2y)y+y^2=4y^2-2y^2+y^2=3y^2=3 \quad \Longrightarrow \quad y=\pm 1 .

This gives (2,1)(-2,1) and (2,1)(2,-1). Check the numerators: at (2,1)(-2,1), 2x+y=4+1=302x+y=-4+1=-3\ne 0; at (2,1)(2,-1), 2x+y=41=302x+y=4-1=3\ne 0. Both are genuine vertical tangents, the lines x=2x=-2 and x=2x=2.

Equivalently, at these points dxdy=x+2y2x+y=0\dfrac{dx}{dy}=-\dfrac{x+2y}{2x+y}=0, which is the precise statement that the tangent is vertical.

Verification that all four points are on the curve. (1,2)(1,-2): 12+4=31-2+4=3. (1,2)(-1,2): 12+4=31-2+4=3. (2,1)(-2,1): 42+1=34-2+1=3. (2,1)(2,-1): 42+1=34-2+1=3. All correct. Note that the numerator and denominator never vanish simultaneously on the curve (that would force x=y=0x=y=0, which does not satisfy x2+xy+y2=3x^2+xy+y^2=3), so there are no singular points.

Answer: horizontal tangents at (1,2)(1,-2) and (1,2)(-1,2); vertical tangents at (2,1)(2,-1) and (2,1)(-2,1).

Find the equation of the tangent line to the lemniscate 2(x2+y2)2=25(x2y2)2\left(x^2+y^2\right)^2=25\left(x^2-y^2\right) at the point (3,1)(3,1).

Show hint

The left side is a composite: differentiate the outer square first, then the inner x2+y2x^2+y^2. Substituting the numbers x=3x=3, y=1y=1 early keeps the algebra short.

Show answer

Step 0: the point is on the curve. x2+y2=9+1=10x^2+y^2=9+1=10 and x2y2=91=8x^2-y^2=9-1=8, so the left side is 2(10)2=2002(10)^2=200 and the right side is 25(8)=20025(8)=200. Good.

Step 1: differentiate. On the left, the chain rule on (x2+y2)2\left(x^2+y^2\right)^2 gives outer derivative 2(x2+y2)2\left(x^2+y^2\right) times inner derivative 2x+2yy2x+2yy':

22(x2+y2)(2x+2ydydx)=25(2x2ydydx)8(x2+y2)(x+ydydx)=50(xydydx).\begin{aligned} 2\cdot 2\left(x^2+y^2\right)\left(2x+2y\frac{dy}{dx}\right) &= 25\left(2x-2y\frac{dy}{dx}\right) \\ 8\left(x^2+y^2\right)\left(x+y\frac{dy}{dx}\right) &= 50\left(x-y\frac{dy}{dx}\right). \end{aligned}

Step 2: substitute (3,1)(3,1), where x2+y2=10x^2+y^2=10:

8(10)(3+dydx)=50(3dydx)240+80dydx=15050dydx130dydx=90dydx=90130=913.\begin{aligned} 8(10)\left(3+\frac{dy}{dx}\right) &= 50\left(3-\frac{dy}{dx}\right) \\ 240+80\frac{dy}{dx} &= 150-50\frac{dy}{dx} \\ 130\frac{dy}{dx} &= -90 \\ \frac{dy}{dx} &= -\frac{90}{130}=-\frac{9}{13}. \end{aligned}

Step 3: the tangent line.

y1=913(x3)13y13=9x+279x+13y=40,y-1=-\frac{9}{13}(x-3) \quad \Longrightarrow \quad 13y-13=-9x+27 \quad \Longrightarrow \quad 9x+13y=40,

that is y=409x13y=\dfrac{40-9x}{13}.

General formula (useful as a check). Expanding step 1 and collecting:

dydx=50x8x(x2+y2)8y(x2+y2)+50y=x(254(x2+y2))y(4(x2+y2)+25).\frac{dy}{dx}=\frac{50x-8x\left(x^2+y^2\right)}{8y\left(x^2+y^2\right)+50y}=\frac{x\left(25-4\left(x^2+y^2\right)\right)}{y\left(4\left(x^2+y^2\right)+25\right)} .

At (3,1)(3,1): 3(2540)1(40+25)=4565=9130.6923\dfrac{3(25-40)}{1(40+25)}=\dfrac{-45}{65}=-\dfrac{9}{13}\approx-0.6923.

Numerical check. Setting t=y2t=y^2 and u=x2u=x^2, the curve becomes 2t2+(4u+25)t+(2u225u)=02t^2+(4u+25)t+\left(2u^2-25u\right)=0. At x=3.01x=3.01 (u=9.0601u=9.0601) the relevant root gives y0.9930082y\approx 0.9930082; at x=2.99x=2.99 (u=8.9401u=8.9401) it gives y1.0068553y\approx 1.0068553. The centred slope is 0.99300821.00685530.020.69236\dfrac{0.9930082-1.0068553}{0.02}\approx-0.69236, matching 9130.69231-\dfrac{9}{13}\approx-0.69231.

Answer: slope 913-\dfrac{9}{13}; tangent line 9x+13y=409x+13y=40.

Find the equation of the tangent line to the astroid x2/3+y2/3=4x^{2/3}+y^{2/3}=4 at the point (33,1)\left(-3\sqrt{3},1\right). Then identify the four points where the astroid fails to have an ordinary tangent slope, and say what happens there.

Show hint

Use the power rule on x2/3x^{2/3} and y2/3y^{2/3} (the second needs the chain rule). It helps to note that 33=33/2-3\sqrt{3}=-3^{3/2}, so its cube root is exactly 3-\sqrt{3}.

Show answer

Step 0: the point is on the curve. (33)2/3=((33)2)1/3=271/3=3\left(-3\sqrt{3}\right)^{2/3}=\left(\left(-3\sqrt{3}\right)^2\right)^{1/3}=27^{1/3}=3 and 12/3=11^{2/3}=1, so the sum is 3+1=43+1=4. Good.

Step 1: differentiate.

23x1/3+23y1/3dydx=0y1/3dydx=x1/3dydx=y1/3x1/3(x0, y0).\begin{aligned} \frac{2}{3}x^{-1/3}+\frac{2}{3}y^{-1/3}\frac{dy}{dx} &= 0 \\ y^{-1/3}\frac{dy}{dx} &= -x^{-1/3} \\ \frac{dy}{dx} &= -\frac{y^{1/3}}{x^{1/3}} \qquad (x \ne 0,\ y \ne 0). \end{aligned}

Step 2: evaluate. Since 33=331/2=33/2-3\sqrt{3}=-3\cdot 3^{1/2}=-3^{3/2}, its cube root is x1/3=31/2=3x^{1/3}=-3^{1/2}=-\sqrt{3}. And y1/3=11/3=1y^{1/3}=1^{1/3}=1. Hence

dydx=13=13=330.5774.\frac{dy}{dx}=-\frac{1}{-\sqrt{3}}=\frac{1}{\sqrt{3}}=\frac{\sqrt{3}}{3}\approx 0.5774 .

Step 3: the tangent line.

y1=13(x+33)y=1+x3+333y=x3+4=33x+4.\begin{aligned} y-1 &= \frac{1}{\sqrt{3}}\left(x+3\sqrt{3}\right) \\ y &= 1+\frac{x}{\sqrt{3}}+\frac{3\sqrt{3}}{\sqrt{3}} \\ y &= \frac{x}{\sqrt{3}}+4=\frac{\sqrt{3}}{3}x+4 . \end{aligned}

Check: at x=335.1962x=-3\sqrt{3}\approx-5.1962, the line gives y=333+4=3+4=1y=\dfrac{-3\sqrt{3}}{\sqrt{3}}+4=-3+4=1. Correct.

Numerical check of the slope. On the branch y=(4x2/3)3/2y=\left(4-x^{2/3}\right)^{3/2} near x=335.19615x=-3\sqrt{3}\approx-5.19615: at x=5.20615x=-5.20615, y0.9942339y\approx 0.9942339; at x=5.18615x=-5.18615, y1.0057809y\approx 1.0057809. The centred slope is 1.00578090.99423390.020.57735\dfrac{1.0057809-0.9942339}{0.02}\approx 0.57735, matching 130.57735\dfrac{1}{\sqrt{3}}\approx 0.57735.

Step 4: the bad points. The differentiation step divides by y1/3y^{-1/3} and the resulting formula divides by x1/3x^{1/3}, so the work breaks down where x=0x=0 or y=0y=0. (Note 43/2=84^{3/2}=8, so the intercepts are at ±8\pm 8.)

  • If x=0x=0 then y2/3=4y^{2/3}=4, so y=±8y=\pm 8: the points (0,8)(0,8) and (0,8)(0,-8). There dydx\dfrac{dy}{dx} is undefined (division by x1/3=0x^{1/3}=0) while dxdy=x1/3y1/3=0\dfrac{dx}{dy}=-\dfrac{x^{1/3}}{y^{1/3}}=0, so the tangent line is vertical.
  • If y=0y=0 then x2/3=4x^{2/3}=4, so x=±8x=\pm 8: the points (8,0)(8,0) and (8,0)(-8,0). Near (8,0)(8,0) the curve consists of the two branches y=±(4x2/3)3/2y=\pm\left(4-x^{2/3}\right)^{3/2}, both defined only for x8x \le 8, so yy is not a function of xx on any interval around x=8x=8 and no two-sided derivative exists. The upper branch y=+(4x2/3)3/2y=+\left(4-x^{2/3}\right)^{3/2} approaches with slope x1/3(4x2/3)1/2-x^{-1/3}\left(4-x^{2/3}\right)^{1/2} and the lower branch y=(4x2/3)3/2y=-\left(4-x^{2/3}\right)^{3/2} with the opposite sign, +x1/3(4x2/3)1/2+x^{-1/3}\left(4-x^{2/3}\right)^{1/2}; both tend to 00 as x8x\to 8^-, so the tangent line there is horizontal, y=0y=0.

All four points are cusps. Parametrize the astroid as x=8cos3tx=8\cos^3 t, y=8sin3ty=8\sin^3 t (then x2/3+y2/3=4cos2t+4sin2t=4x^{2/3}+y^{2/3}=4\cos^2 t+4\sin^2 t=4); the velocity (dxdt,dydt)=(24cos2tsint, 24sin2tcost)\left(\frac{dx}{dt},\frac{dy}{dt}\right)=\left(-24\cos^2 t\sin t,\ 24\sin^2 t\cos t\right) vanishes exactly at t=0,π2,π,3π2t=0,\frac{\pi}{2},\pi,\frac{3\pi}{2}, i.e. exactly at these four points, and the curve reverses direction there instead of passing smoothly through. The Implicit Function Theorem is silent at all four: for F(x,y)=x2/3+y2/34F(x,y)=x^{2/3}+y^{2/3}-4 the partials Fx=23x1/3F_x=\frac{2}{3}x^{-1/3} and Fy=23y1/3F_y=\frac{2}{3}y^{-1/3} blow up at x=0x=0 and y=0y=0 respectively, so the continuity hypothesis fails.

Answer: dydx=(yx)1/3\dfrac{dy}{dx}=-\left(\dfrac{y}{x}\right)^{1/3}; the tangent at (33,1)\left(-3\sqrt{3},1\right) is y=33x+4y=\dfrac{\sqrt{3}}{3}x+4; the four cusps are (±8,0)(\pm 8,0), where the tangent line is horizontal but no two-sided dydx\dfrac{dy}{dx} exists, and (0,±8)(0,\pm 8), where the tangent is vertical.

Let r>0r>0 and let (a,b)(a,b) be a point on the circle x2+y2=r2x^2+y^2=r^2. (a) Assuming b0b \ne 0, prove that the tangent line at (a,b)(a,b) is ax+by=r2ax+by=r^2. (b) What happens when b=0b=0, and why does the implicit method not deliver an answer there? (c) Formally differentiating x2+y2=1x^2+y^2=-1 also produces dydx=x/y\frac{dy}{dx}=-x/y. Explain why this computation is meaningless.

Show hint

For (a) run the usual implicit differentiation with general letters and clear denominators at the end, using the fact that (a,b)(a,b) satisfies the equation. For (b) and (c), look back at the hypotheses of the Implicit Function Theorem.

Show answer

(a) Differentiate x2+y2=r2x^2+y^2=r^2 with respect to xx (note rr is a constant):

2x+2ydydx=0dydx=xy(y0).2x+2y\frac{dy}{dx}=0 \quad \Longrightarrow \quad \frac{dy}{dx}=-\frac{x}{y} \qquad (y \ne 0).

At (a,b)(a,b) with b0b \ne 0 the slope is ab-\dfrac{a}{b}, so the tangent line is

yb=ab(xa)b(yb)=a(xa)byb2=ax+a2ax+by=a2+b2.\begin{aligned} y-b &= -\frac{a}{b}(x-a) \\ b\left(y-b\right) &= -a(x-a) \\ by-b^2 &= -ax+a^2 \\ ax+by &= a^2+b^2 . \end{aligned}

Since (a,b)(a,b) lies on the circle, a2+b2=r2a^2+b^2=r^2, so the tangent line is

ax+by=r2.ax+by=r^2 .

Check. The distance from the origin to this line is r2a2+b2=r2r=r\dfrac{\left|r^2\right|}{\sqrt{a^2+b^2}}=\dfrac{r^2}{r}=r, so the line touches the circle exactly once — the defining property of a tangent to a circle. Also the line's direction vector (b,a)(b,-a) is perpendicular to the radius vector (a,b)(a,b), since abab=0ab-ab=0, which is the classical geometric fact.

(b) If b=0b=0 then a2=r2a^2=r^2, so the point is (r,0)(r,0) or (r,0)(-r,0) — the far left or far right of the circle. The tangent there is the vertical line x=ax=a, which has no slope. The implicit formula x/y-x/y correctly refuses to produce a number: it involves division by y=0y=0.

The deeper reason is the Implicit Function Theorem. With F(x,y)=x2+y2r2F(x,y)=x^2+y^2-r^2 we have Fy=2yF_y=2y, so Fy(a,0)=0F_y(a,0)=0 and hypothesis 2 fails. And indeed the conclusion fails too: no interval around x=rx=r carries any function whose graph lies on the circle, because for x>rx>r there are no points of the circle at all, while for xx just below rr there are two. The curve is locally a function of yy, not of xx: writing x=±r2y2x=\pm\sqrt{r^2-y^2} and differentiating gives dxdy=yx=0\dfrac{dx}{dy}=-\dfrac{y}{x}=0 at (a,0)(a,0), which is the correct statement that the tangent is vertical.

Note the tangent formula ax+by=r2ax+by=r^2 from part (a) still gives the right answer by continuity: with b=0b=0 it reads ax=r2=a2ax=r^2=a^2, i.e. x=ax=a. So the formula is valid at all points of the circle, even though the derivation required b0b\ne 0.

(c) The equation x2+y2=1x^2+y^2=-1 has no real solutions: x2+y20x^2+y^2 \ge 0 for all real x,yx,y. There is no curve, no point (a,b)(a,b), and hence no function ff with x2+f(x)2=1x^2+f(x)^2=-1 to differentiate.

Implicit differentiation is not a rule for transforming equations; it is the chain rule applied to an identity F(x,f(x))=0F(x,f(x))=0 that is assumed to hold for a real differentiable ff on an interval. When no such ff exists, every step of the manipulation is vacuous — the symbols can be pushed around, but they refer to nothing. This is precisely why the Implicit Function Theorem opens with the hypothesis F(a,b)=0F(a,b)=0 at a real point: you must know a solution exists before you may differentiate it.

Answer: (a) ax+by=r2ax+by=r^2. (b) At (±r,0)(\pm r,0) the tangent is vertical (x=±rx=\pm r) and Fy=2y=0F_y=2y=0, so the theorem's hypothesis and its conclusion both fail. (c) The equation has no real solutions, so there is no differentiable branch to differentiate and the computation is empty.