1.07s - Implicit and parametric differentiation

1.07s - Implicit and parametric differentiation

Can you find a tangent without first writing the curve as y=f(x)y=f(x)? Use 1.07s to differentiate relations between coordinates and equations in a shared parameter. Find first derivatives, tangents, normals and special tangent points while keeping the correct branch and point.

Differentiating a relation with a changing y

What is the tangent to x2+xy+y2=7x^2+xy+y^2=7 at (1,2)(1,2)? Rearranging as a quadratic in yy would introduce a square root and a branch choice. Differentiating the relation directly is much cleaner.

You already know

The chain rule differentiates a changing input: (y2)′=2y y′(y^2)'=2y\,y', when yy depends on xx. The product rule gives (xy)′=y+xy′(xy)'=y+xy'. A tangent uses a numerical gradient at a point on the curve.

A letter is not constant just because it differs from xx. Along a differentiable branch, yy changes as xx changes.

Implicit differentiation

Implicit differentiation finds a derivative from a relation involving xx and yy, treating yy as a function of xx locally, without first isolating yy. For example, differentiating x2+y2=25x^2+y^2=25 gives 2x+2y y′=02x+2y\,y'=0.

The chain and product rules used here are not in the formula sheet: learn them. Collect every term containing y′y' before dividing.

Worked example 1: a mixed quadratic relation

Question. Differentiate x2+xy+y2=7x^2+xy+y^2=7 implicitly.

Plan. Differentiate every term with respect to xx, then solve the resulting equation for y′y'.

2x+(y+xy′)+2yy′=0product and chain rules(x+2y)y′=−(2x+y)collect y′y′=−2x+yx+2ydivide if x+2y≠0\begin{aligned} 2x+(y+xy')+2yy'&=0 &&\text{product and chain rules}\\ (x+2y)y'&=-(2x+y) &&\text{collect }y'\\ y'&=-\frac{2x+y}{x+2y} &&\text{divide if }x+2y\ne0 \end{aligned}

Why this step? Bracketing the two product terms prevents the contribution yy from disappearing.

Answer. dy/dx=−(2x+y)/(x+2y)\mathrm dy/\mathrm dx=-(2x+y)/(x+2y), on branches where x+2y≠0x+2y\ne0.

Check. At (1,2)(1,2), the relation gives 1+2+4=71+2+4=7 and the derivative gives −4/5-4/5.

Change only the coefficient of y2y^2, from one to two.

Worked example 2: changing one quadratic coefficient

Question. Differentiate x2+xy+2y2=7x^2+xy+2y^2=7 implicitly.

Plan. Keep the product calculation and update the chain-rule term.

2x+y+xy′+4yy′=0differentiate(x+4y)y′=−(2x+y)collecty′=−2x+yx+4ydivide if permitted\begin{aligned} 2x+y+xy'+4yy'&=0 &&\text{differentiate}\\ (x+4y)y'&=-(2x+y) &&\text{collect}\\ y'&=-\frac{2x+y}{x+4y} &&\text{divide if permitted} \end{aligned}

Why this step? Doubling y2y^2 doubles its derivative contribution but does not alter the xyxy terms.

Answer. y′=−(2x+y)/(x+4y)y'=-(2x+y)/(x+4y), where x+4y≠0x+4y\ne0.

Check. (1,3/2)(1,3/2) gives 1+3/2+9/2=71+3/2+9/2=7 and slope −1/2-1/2.

The method also gives (ey)′=eyy′(\mathrm e^y)'=\mathrm e^y y' and (sin⁡y)′=cos⁡y y′(\sin y)'=\cos y\,y', with radian input. For y+ln⁡y=x2y+\ln y=x^2, y>0y>0, it gives (1+1/y)y′=2x(1+1/y)y'=2x, hence y′=2xy/(y+1)y'=2xy/(y+1); the point (1,1)(1,1) has slope one. In x2+2xy+3y2=4x^2+2xy+3y^2=4, collecting the terms gives y′=−(x+y)/(x+3y)y'=-(x+y)/(x+3y).

Watch out

Wrong: differentiate y2y^2 as 2y2y or ln⁡y\ln y as 1/x1/x. Right: 2y y′2y\,y' and y′/yy'/y. Both use the actual changing input.

Change just the coefficient of y2y^2 again.

Using implicit gradients and checking special tangents

A derivative expression can contain both coordinates. A line's gradient must be evaluated at the specified point, rather than left as a changing expression.

Worked example 3: tangent and normal at the opening point

Question. Find the tangent and normal to x2+xy+y2=7x^2+xy+y^2=7 at (1,2)(1,2).

Plan. Check the point, evaluate the derivative, then use the point–gradient form.

1+2+4=7point is on the curvem=−2(1)+21+2(2)=−45tangent gradientmn=−1m=54perpendicular gradient\begin{aligned} 1+2+4&=7 &&\text{point is on the curve}\\ m&=-\frac{2(1)+2}{1+2(2)}=-\frac45 &&\text{tangent gradient}\\ m_{\mathrm n}&=-\frac1m=\frac54 &&\text{perpendicular gradient} \end{aligned}

Why this step? Both lines pass through the same point; only their gradients differ.

Answer. Tangent y−2=−45(x−1)y-2=-\tfrac45(x-1); normal y−2=54(x−1)y-2=\tfrac54(x-1).

Check. Both contain (1,2)(1,2), and their gradient product is minus one.

Change only the chosen point on the same curve, interchanging its coordinates.

Worked example 4: a second point on the same curve

Question. Find the tangent and normal at (2,1)(2,1).

Plan. Evaluate the same derivative at the new coordinate pair.

4+2+1=7check membershipm=−4+12+2=−54evaluatemn=45negative reciprocal\begin{aligned} 4+2+1&=7 &&\text{check membership}\\ m&=-\frac{4+1}{2+2}=-\frac54 &&\text{evaluate}\\ m_{\mathrm n}&=\frac45 &&\text{negative reciprocal} \end{aligned}

Why this step? The curve is unchanged, but its local gradient depends on both coordinates.

Answer. Tangent y−1=−54(x−2)y-1=-\tfrac54(x-2); normal y−1=45(x−2)y-1=\tfrac45(x-2).

Check. Interchanging coordinates reflects the curve in y=xy=x, so the tangent gradients become reciprocals.

Special directions need no infinite “gradient”. On x2+y2=25x^2+y^2=25, y′=−x/yy'=-x/y: at (0,5)(0,5), the tangent is y=5y=5 and normal x=0x=0. At (5,0)(5,0), instead use dx/dy=−y/x=0\mathrm dx/\mathrm dy=-y/x=0: the tangent is x=5x=5, normal y=0y=0.

For horizontal tangents, solve the zero-numerator condition together with the curve equation and retain a nonzero denominator. The hyperbola xy=2xy=2 has y′=−y/xy'=-y/x, but y=0y=0 contradicts its equation, so it has no horizontal tangent.

Watch out

A zero denominator alone does not establish a vertical tangent. If numerator and denominator both vanish, inspect the curve: y2=x2y^2=x^2 has two crossing lines at the origin, not one unique tangent.

Now use the same curve at the reflected point.

Finding a gradient from two parameter rates

If xx and yy depend on a parameter tt, neither coordinate needs to be eliminated first. Their two rates determine the direction of the curve.

Parametric first derivative

Where the coordinate functions are differentiable and dx/dt≠0\mathrm dx/\mathrm dt\ne0,

dydx=dy/dtdx/dt\frac{\mathrm dy}{\mathrm dx} =\frac{\mathrm dy/\mathrm dt}{\mathrm dx/\mathrm dt}

This follows from dy/dt=(dy/dx)(dx/dt)\mathrm dy/\mathrm dt=(\mathrm dy/\mathrm dx)(\mathrm dx/\mathrm dt).

Not in the formula sheet: learn it.

Continue this lesson.

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

Create free account