G5 - Implicit and parametric differentiation

G5 - Implicit and parametric differentiation

Find first derivatives when a curve is given by a relation between its coordinates or by a parameter. Use them for tangents, normals and horizontal tangent points, checking the original relation and allowed parameters before interpreting a gradient.

Differentiating an implicit relation

How can we find a tangent when a curve has not been rearranged into y=f(x)y=f(x)? For x2+y2=25x^2+y^2=25, points above and below the horizontal axis have different yy-values at the same xx. We can still follow a local branch and differentiate its equation.

You already know

The chain rule differentiates a function of another function. The product rule differentiates both changing factors. Both rules are recalled; the quotient rule is supplied in the formula booklet.

An implicit relation links xx and yy without necessarily isolating yy. Locally, where a branch gives a differentiable y(x)y(x), every occurrence of yy changes with xx. For example,

ddx(y2)=2ydydx,ddx(xy)=y+xdydx\frac{d}{dx}(y^2)=2y\frac{dy}{dx},\qquad \frac{d}{dx}(xy)=y+x\frac{dy}{dx}

These implicit derivative results follow from the recalled chain and product rules; they are not supplied as separate formulae. For ln⁡y\ln y, the derivative is y′/yy'/y, with y>0y>0, also a recall consequence. For x/yx/y, where y≠0y\ne0, the supplied quotient rule gives (y−xy′)/y2(y-xy')/y^2.

Differentiate every term, collect the terms containing y′y', then divide only when its coefficient is nonzero.

Worked example 1: an implicit quadratic

Question. For x2+xy+y2=7x^2+xy+y^2=7, find dy/dxdy/dx and its value at (1,2)(1,2).

Plan. Use product and chain rules, collect dy/dxdy/dx, then verify and substitute the point.

2x+y+xy′+2yy′=0differentiate each term(x+2y)y′=−(2x+y)collect y′y′=−2x+yx+2yx+2y≠0dydx∣(1,2)=−2+21+4=−45substitute\begin{aligned} 2x+y+xy'+2yy'&=0 && \text{differentiate each term}\\ (x+2y)y'&=-(2x+y) && \text{collect }y'\\ y'&=-\frac{2x+y}{x+2y} && x+2y\ne0\\ \left.\frac{dy}{dx}\right|_{(1,2)}&=-\frac{2+2}{1+4}=-\frac45 && \text{substitute} \end{aligned}

Why does xyxy give two terms? Both xx and y(x)y(x) vary, so it needs the product rule.

Answer. dy/dx=−(2x+y)/(x+2y)dy/dx=-(2x+y)/(x+2y), where x+2y≠0x+2y\ne0, with gradient −4/5-4/5 at (1,2)(1,2).

Check. 1+2+4=71+2+4=7, so the point is on the curve. Substitution in the differentiated equation gives 4+5(−4/5)=04+5(-4/5)=0.

Change only the power of the final yy-term from a square to a cube; choose the constant so that the same point remains on the curve. The chain derivative now includes 3y23y^2.

Worked example 2: a different power

Question. For x2+xy+y3=11x^2+xy+y^3=11, find dy/dxdy/dx and its value at (1,2)(1,2).

Plan. Differentiate the cubic yy-term by the chain rule and collect the gradient terms.

2x+y+xy′+3y2y′=0product and chain rules(x+3y2)y′=−(2x+y)collect y′y′=−2x+yx+3y2x+3y2≠0dydx∣(1,2)=−413evaluate\begin{aligned} 2x+y+xy'+3y^2y'&=0 && \text{product and chain rules}\\ (x+3y^2)y'&=-(2x+y) && \text{collect }y'\\ y'&=-\frac{2x+y}{x+3y^2} && x+3y^2\ne0\\ \left.\frac{dy}{dx}\right|_{(1,2)}&=-\frac4{13} && \text{evaluate} \end{aligned}

Why retain y′y' after differentiating y3y^3? The derivative is with respect to xx, rather than with respect to yy.

Answer. dy/dx=−(2x+y)/(x+3y2)dy/dx=-(2x+y)/(x+3y^2), with gradient −4/13-4/13 at (1,2)(1,2).

Check. 1+2+8=111+2+8=11, and the differentiated equation gives 4+13(−4/13)=04+13(-4/13)=0.

A simpler relation follows the same rule: x2+y3=9x^2+y^3=9 gives 2x+3y2y′=02x+3y^2y'=0, hence y′=−2x/(3y2)y'=-2x/(3y^2) where y≠0y\ne0. No rearrangement into cube roots is needed.

Watch out

Wrong: (y3)′=3y2(y^3)'=3y^2 when differentiating with respect to xx. This omits the changing inner function y(x)y(x). Right: (y3)′=3y2y′(y^3)'=3y^2y'.

Change the final power once more. Verify the supplied point before interpreting the derivative.

Valid points, tangents and zero denominators

The original equation decides which points exist; the local geometry decides whether a finite gradient is available.

For a valid point (a,b)(a,b) with finite gradient mm, the tangent is y−b=m(x−a)y-b=m(x-a). If m≠0m\ne0, the normal has gradient −1/m-1/m. A horizontal tangent has a vertical normal; a vertical tangent has a horizontal normal. These line and perpendicular-gradient rules are not supplied in the formula booklet: learn them.

For the circle x2+y2=25x^2+y^2=25, differentiation gives

2x+2yy′=0,y′=−xy(y≠0)2x+2yy'=0,\qquad y'=-\frac xy\quad(y\ne0)

This first-derivative formula is derived using recall rules; it is not supplied. It cannot be evaluated with y=0y=0.

Worked example 3: a finite gradient

Question. Find the tangent and normal to x2+y2=25x^2+y^2=25 at (3,4)(3,4).

Plan. Verify the point, evaluate the implicit gradient and use the two line gradients.

32+42=25point lies on the circlem=−34y′=−x/yy−4=−34(x−3)tangenty−4=43(x−3)normal\begin{aligned} 3^2+4^2&=25 && \text{point lies on the circle}\\ m&=-\frac34 && y'=-x/y\\ y-4&=-\frac34(x-3) && \text{tangent}\\ y-4&=\frac43(x-3) && \text{normal} \end{aligned}

Why take the negative reciprocal for the normal? It is perpendicular to the tangent, and the tangent gradient here is finite and nonzero.

Answer. Tangent y−4=−3(x−3)/4y-4=-3(x-3)/4; normal y−4=4(x−3)/3y-4=4(x-3)/3.

Check. Both lines contain (3,4)(3,4), and their gradients multiply to −1-1.

Change only the point on the same circle to (5,0)(5,0). The finite-gradient formula now divides by zero, so use the circle's geometry or regard xx as a function of yy.

Worked example 4: an axis-aligned tangent

Question. Find the tangent and normal to x2+y2=25x^2+y^2=25 at (5,0)(5,0).

Plan. Check the point and use x=25−y2x=\sqrt{25-y^2} near it.

52+02=25valid pointx=25−y2positive branch near the pointdxdy=−y25−y2=0(y=0)chain rulex=5vertical tangenty=0horizontal normal\begin{aligned} 5^2+0^2&=25 && \text{valid point}\\ x&=\sqrt{25-y^2} && \text{positive branch near the point}\\ \frac{dx}{dy}&=-\frac{y}{\sqrt{25-y^2}}=0\quad(y=0) && \text{chain rule}\\ x&=5 && \text{vertical tangent}\\ y&=0 && \text{horizontal normal} \end{aligned}

Why reverse the dependent coordinate? xx has a finite derivative with respect to yy here, while yy has no finite derivative with respect to xx.

Answer. Tangent x=5x=5; normal y=0y=0.

Check. The radius at (5,0)(5,0) is horizontal, so its perpendicular tangent is vertical.

More generally, differentiation may give A(x,y)+B(x,y)y′=0A(x,y)+B(x,y)y'=0. Where B≠0B\ne0, division gives a finite candidate slope. If B=0B=0 and A≠0A\ne0, no finite slope can satisfy that equation; at a regular smooth curve point this indicates a vertical tangent. If both coefficients vanish, this equation alone says nothing about the slope. For example, y2−x2=0y^2-x^2=0 gives zero coefficients at the origin, yet consists of the two lines y=xy=x and y=−xy=-x. There is no unique tangent there. This reasoning is not a supplied formula.

Watch out

Wrong: “Every zero denominator means a vertical tangent.” If numerator and denominator both vanish, the quotient is indeterminate. Right: check the original curve and another local representation; only conclude a vertical tangent when the geometry supports it.

Move to one more point on the same circle. This time the tangent is horizontal, so the normal must be written without a gradient.

Using a parameter to find the gradient

A parameter determines both coordinates, so the curve gradient compares the two coordinate rates at the same parameter value.

For x=t+1x=t+1, y=t2−2ty=t^2-2t, increasing tt changes both xx and yy. The chain rule gives dy/dt=(dy/dx)(dx/dt)dy/dt=(dy/dx)(dx/dt). Dividing is valid only when dx/dt≠0dx/dt\ne0.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account