Navigation

Computing derivatives

4.5 Implicit differentiation

20 problems · hints, answers and solutions shown beside each one

Stage 1 · Conceptual

Q1Stage 1

If we implicitly differentiate x2+y2=1x^2+y^2=1, we get the equation 2x+2yy=02x+2yy'=0. In the step where we differentiate y2y^2 to obtain 2yy2yy', which rule(s) below are we using?

(a) power rule (b) chain rule (c) quotient rule
(d) derivatives of exponential functions

Hint

Where did the yy' come from?

Answer

(a) and (b)

Full solution

We use the power rule (a) and the chain rule (b): the power rule tells us to “bring down the 2", and the chain rule tells us to multiply by yy'. There is no need for the quotient rule here, as there are no quotients. Exponential functions have the form (constant)function(\text{constant})^{\text{function}}, but our function has the form (function)constant(\text{function})^{\text{constant}}, so we did not use (d).

Q2Stage 1

Using the picture below, estimate dydx\ds\diff{y}{x} at the three points where the curve crosses the yy-axis.

Figure from prob_s2.11, line 2

Figure from prob_s2.11, line 2

Remark: for this curve, one value of xx may correspond to multiple values of yy. So, we cannot express this curve as y=f(x)y=f(x) for any function xx. This is one typical situation where we might use implicit differentiation.

Hint

The three points to look at are (0,4)(0,-4), (0,0)(0,0), and (0,4)(0,4). What does the slope of the tangent line look like there?

Answer

At (0,4)(0,4) and (0,4)(0,-4), dydx\ds\diff{y}{x} is 0; at (0,0)(0,0), dydx\ds\diff{y}{x} does not exist.

Full solution

At (0,4)(0,4) and (0,4)(0,-4), the curve looks to be horizontal, if you zoom in: a tangent line here would have derivative zero. At the origin, the curve looks like its tangent line is vertical, so dydx\ds\diff{y}{x} does not exist.

Figure from prob_s2.11, line 2

Figure from prob_s2.11, line 2

Q3Stage 1

Consider the unit circle, formed by all points (x,y)(x,y) that satisfy x2+y2=1x^2+y^2=1.

Figure from prob_s2.11, line 1

Figure from prob_s2.11, line 1

  1. Is there a function f(x)f(x) so that y=f(x)y=f(x) completely describes the unit circle? That is, so that the points (x,y)(x,y) that make the equation y=f(x)y=f(x) true are exactly the same points that make the equation x2+y2=1x^2+y^2=1 true?

  2. Is there a function f(x)f'(x) so that y=f(x)y=f'(x) completely describes the slope of the unit circle? That is, so that for every point (x,y)(x,y) on the unit circle, the slope of the tangent line to the circle at that point is given by f(x)f'(x)?

  3. Use implicit differentiation to find an expression for dydx\ds\diff{y}{x}. Simplify until the expression is a function in terms of xx only (not yy), or explain why this is impossible.

Hint

A function must pass the vertical line test: one input cannot result in two different outputs.

Answer

(a) no (b) no
dydx=xy\ds\diff{y}{x}=-\dfrac{x}{y}. It is not possible to write dydx\ds\diff{y}{x} as a function of xx, because (as stated in (b)) one value of xx may give two values of dydx\ds\diff{y}{x}. For instance, when x=π/4x=\pi/4, at the point (π4,12)\left(\dfrac{\pi}{4},\dfrac{1}{\sqrt{2}}\right) the circle has slope dydx=1\ds\diff{y}{x}=-1, while at the point (π4,12)\left(\dfrac{\pi}{4},\dfrac{-1}{\sqrt{2}}\right) the circle has slope dydx=1\ds\diff{y}{x}=1.

Full solution

(a) No. A function must pass the vertical line test: one input cannot result in two (or more) outputs. Since one value of xx sometimes corresponds to two values of yy (for example, when x=π/4x=\pi/4, yy is ±1/2\pm 1/\sqrt{2}), there is no function f(x)f(x) so that y=f(x)y=f(x) captures every point on the circle.

Remark: y=±1x2y=\pm\sqrt{1-x^2} does capture every point on the unit circle. However, since one input xx sometimes results in two outputs yy, this expression is not a function.

(b) No, for the same reasons as (a). If f(x)f'(x) is a function, then it can give at most one slope corresponding to one value of xx. Since one value of xx can correspond to two points on the circle with different slopes, f(x)f'(x) cannot give the slope of every point on the circle. For example, fix any 0<a<10<a<1. There are two points on the circle with xx-coordinate equal to aa. At the upper one, the slope is strictly negative. At the lower one, the slope is strictly positive.

(c) We differentiate:

2x+2ydydx=0\begin{align*}2x+2y\diff{y}{x}&=0\end{align*}

and solve for dydx\ds\diff{y}{x}

dydx=xy\begin{align*}\diff{y}{x}&=-\frac{x}{y}\end{align*}

But there is a yy in the right-hand side of this equation, and it's not clear how to get it out. Our answer in (b) tells us that, actually, we can't get it out, if we want the right-hand side to be a function of xx. The derivative cannot be expressed as a function of xx, because one value of xx corresponds to multiple points on the circle.

Remark: since y=±1x2y=\pm\sqrt{1-x^2}, we could try writing

dydx=xy=±x1x2\diff{y}{x}=-\frac{x}{y}=\pm\frac{x}{\sqrt{1-x^2}}

but this is not a function of xx. Again, in a function, one input leads to at most one output, but here one value of xx will usually lead to two values of dydx\diff{y}{x}.

Q4Stage 1

Find the mistake(s) in the following work, and provide a corrected answer.

Suppose 14x2+2xy+y2=1-14x^2+2xy+y^2=1. We find d2ydx2\ds\ddiff{2}{y}{x} at the point (1,3)\left(1,3\right). Differentiating implicitly:

28x+2y+2xy+2yy=0\begin{align*}-28x+2y+2xy'+2yy'&=0\end{align*}

Plugging in x=1x=1, y=3y=3:

28+6+2y+6y=0y=114\begin{align*}-28+6+2y'+6y'&=0\\ y'&=\frac{11}{4}\end{align*}

Differentiating:

y=0\begin{align*}y''&=0\end{align*}
Hint

The problem isn't with any of the algebra.

Answer

The derivative dydx\ds\diff{y}{x} is 114\dfrac{11}{4} only at the point (1,3)(1,3): it is not constantly 114\dfrac{11}{4}, so it is wrong to differentiate the constant 114\dfrac{11}{4} to find d2ydx2\ds\ddiff{2}{y}{x}. Below is a correct solution.

28x+2y+2xy+2yy=0\begin{align*}-28x+2y+2xy'+2yy'&=0\end{align*}

Plugging in x=1x=1, y=3y=3:

28+6+2y+6y=0y=114 at the point (1,3)\begin{align*}-28+6+2y'+6y'&=0\\ y'&=\frac{11}{4} \quad\text{\textcolor{red}{ at the point }(1,3)\text{}}\end{align*}

Differentiating the equation 28x+2y+2xy+2yy=0-28x+2y+2xy'+2yy'=0:

28+2y+2y+2xy+2yy+2yy=04y+2(y)2+2xy+2yy=28\begin{align*}-28+2y'+2y'+2xy''+2y'y'+2yy''&=0\\ 4y'+2(y')^2+2xy''+2yy''&=28\end{align*}

At the point (1,3)(1,3), y=114y'=\dfrac{11}{4}. Plugging in:

4(114)+2(114)2+2(1)y+2(3)y=28y=1564\begin{align*}4\left(\frac{11}{4}\right)+2\left(\frac{11}{4}\right)^2+2(1)y''+2(3)y''&=28\\ y''&=\frac{15}{64}\end{align*}
Full solution

The derivative dydx\ds\diff{y}{x} is 114\dfrac{11}{4} only at the point (1,3)(1,3): it is not constantly 114\dfrac{11}{4}, so it is wrong to differentiate the constant 114\dfrac{11}{4} to find d2ydx2\ds\ddiff{2}{y}{x}. Below is a correct solution.

28x+2y+2xy+2yy=0\begin{align*}-28x+2y+2xy'+2yy'&=0\end{align*}

Plugging in x=1x=1, y=3y=3:

28+6+2y+6y=0y=114 at the point (1,3)\begin{align*}-28+6+2y'+6y'&=0\\ y'&=\frac{11}{4} \quad\text{\textcolor{red}{ at the point }(1,3)\text{}}\end{align*}

Differentiating the equation 28x+2y+2xy+2yy=0-28x+2y+2xy'+2yy'=0:

28+2y+2y+2xy+2yy+2yy=04y+2(y)2+2xy+2yy=28\begin{align*}-28+2y'+2y'+2xy''+2y'y'+2yy''&=0\\ 4y'+2(y')^2+2xy''+2yy''&=28\end{align*}

At the point (1,3)(1,3), y=114y'=\dfrac{11}{4}. Plugging in:

4(114)+2(114)2+2(1)y+2(3)y=28y=1564\begin{align*}4\left(\frac{11}{4}\right)+2\left(\frac{11}{4}\right)^2+2(1)y''+2(3)y''&=28\\ y''&=\frac{15}{64}\end{align*}

Stage 2 · Procedural

Q5Stage 2Past exam · 2009H

Find dydx\ds\diff{y}{x} if xy+ex+ey=1xy + e^x + e^y = 1.

Hint

Remember that yy is a function of xx. Use implicit differentiation, then collect all the terms containing dydx\ds\diff{y}{x} on one side of the equation to solve for dydx\ds\diff{y}{x}.

Answer

dydx=ex+yey+x\ds\diff{y}{x}=-\dfrac{e^x+y}{e^y+x}

Full solution

Remember that yy is a function of xx. We begin with implicit differentiation.

xy+ex+ey=1y+xdydx+ex+eydydx=0\begin{align*}xy + e^x + e^y &= 1\\ y+x\diff{y}{x}+e^x+e^y\diff{y}{x}&=0\end{align*}

Now, we solve for dydx\ds\diff{y}{x}.

xdydx+eydydx=(ex+y)(x+ey)dydx=(ex+y)dydx=ex+yey+x\begin{align*}x\diff{y}{x}+e^y\diff{y}{x}&=-(e^x+y)\\ (x+e^y)\diff{y}{x}&=-(e^x+y)\\ \diff{y}{x}&=-\frac{e^x+y}{e^y+x}\end{align*}
Q6Stage 2Past exam · 2015Q

If ey=xy2+xe^y=xy^2+x, compute dydx\ds\diff{y}{x}.

Hint

Differentiate implicitly, then solve for yy'.

Answer

dydx=y2+1ey2xy\ds\diff{y}{x} = \dfrac{y^2+1}{e^y-2xy}

Full solution

Differentiate both sides of the equation with respect to xx:

eydydx=x2ydydx+y2+1\begin{align*}e^y\diff{y}{x}&=x\cdot2y\diff{y}{x}+y^2+1\end{align*}

Now, get the derivative on one side and solve

eydydx2xydydx=y2+1dydx(ey2xy)=y2+1dydx=y2+1ey2xy\begin{align*}e^y\diff{y}{x}-2xy\diff{y}{x}&=y^2+1\\ \diff{y}{x}\left(e^y-2xy\right)&=y^2+1\\ \diff{y}{x}&=\frac{y^2+1}{e^y-2xy}\end{align*}
Q7Stage 2Past exam · 2015Q

If x2tan(πy/4)+2xlog(y)=16x^2\tan(\pi y/4)+2x\log(y) = 16, then find yy' at the points where y=1y=1.

Hint

Remember that yy is a function of xx. You can determine explicitly the values of xx for which y(x)=1y(x)=1.

Answer

At (x,y)=(4,1)(x,y)=(4,1), $y' = -\dfrac{1}{\pi + 1}$. At (x,y)=(4,1)(x,y)=(-4,1), y=1π1y' = \dfrac{1}{\pi-1}.

Full solution
  • First we find the xx-coordinates where y=1y=1.

    x2tan(π4)+2xlog(1)=16x21+2x0=16x2=16\begin{align*} x^2\tan\left(\frac{\pi}{4}\right)+2x\log(1) &= 16 \\ x^2\cdot 1 +2x\cdot 0 &=16\\ x^2 &= 16\\ \end{align*}

    So x=±4x=\pm 4.

  • Now we use implicit differentiation to get yy' in terms of x,yx,y:

    x2tan(πy/4)+2xlog(y)=162xtan(πy/4)+x2π4sec2(πy/4)y+2log(y)+2xyy=0.\begin{align*} x^2\tan(\pi y/4)+2x\log(y) &= 16\\ 2x\tan(\pi y/4) + x^2 \frac{\pi}{4}\sec^2(\pi y/4)\cdot y' + 2\log(y) + \frac{2x}{y} \cdot y' &= 0\,.\\ \end{align*}
  • Now set y=1y=1 and use tan(π/4)=1,sec(π/4)=2\tan(\pi/4)=1\,, \sec(\pi/4)=\sqrt{2} to get

    2xtan(π/4)+x2π4sec2(π/4)y+2log(1)+2xy=02x+π2x2y+2xy=0y=2xx2π/2+2x=4πx+4\begin{align*} 2x\tan(\pi/4) + x^2 \frac{\pi}{4} \sec^2(\pi/4)y' + 2\log(1) + 2x\cdot y' &= 0\\ 2x + \frac{\pi}{2} x^2 y' +2x y' &= 0 \\ y' = -\frac{2x}{x^2 \pi/2 + 2x} &= -\frac{4}{\pi x + 4} \\ \end{align*}
  • So at (x,y)=(4,1)(x,y)=(4,1) we have $y' = -\dfrac{4}{4\pi+4} = -\dfrac{1}{\pi + 1}$

  • and at (x,y)=(4,1)(x,y)=(-4,1) we have y=1π1y' = \dfrac{1}{\pi-1}

Q8Stage 2

Suppose a curve is defined implicitly by

x2+x+y=sin(xy)x^2+x+y=\sin(xy)

What is d2ydx2\ds\ddiff{2}{y}{x} at the point (0,0)(0,0)?

Hint

You don't need to solve for yy'' in general–only when x=y=0x=y=0. To do this, you also need to find yy' at the point (0,0)(0,0).

Answer

4-4

Full solution
x2+x+y=sin(xy)\begin{align*}x^2+x+y&=\sin(xy)\end{align*}

We differentiate implicitly. For ease of notation, we write yy' for dydx\ds\diff{y}{x}.

2x+1+y=cos(xy)(y+xy)\begin{align*}2x+1+y'&=\cos(xy)(y+xy')\end{align*}

We're interested in yy'', so we implicitly differentiate again.

2+y=sin(xy)(y+xy)2+cos(xy)(2y+xy)\begin{align*}2+y''&=-\sin(xy)(y+xy')^2+\cos(xy)(2y'+xy'')\end{align*}

We want to know what yy'' is when x=y=0x=y=0. Plugging these in yields the following:

2+y=2y\begin{align*}2+y''&=2y'\end{align*}

So, we need to know what yy' is when x=y=0x=y=0. We can get this from the equation 2x+1+y=cos(xy)(y+xy)2x+1+y'=\cos(xy)(y+xy'), which becomes 1+y=01+y'=0 when x=y=0x=y=0. So, at the origin, y=1y'=-1, and

2+y=2(1)y=4\begin{align*}2+y''&=2(-1)\\ y''&=-4\end{align*}

Remark: a common mistake is to stop at the equation 2x+1+y=cos(xy)(y+xy)2x+1+y'=\cos(xy)(y+xy'), plug in x=y=0x=y=0, find y=1y'=-1, and decide y=ddx{1}=0y''=\ds\diff{}{x}\{-1\}=0. This is due to a slight sloppiness in the usual notation. When we wrote y=1y'=1, what we meant is that at the point (0,0)(0,0), dydx=1\ds\diff{y}{x}=-1. More properly written: dydxx=0, y=0=1\left.\ds\diff{y}{x}\right|_{x=0,~y=0}=-1. This is not the same as saying y=1y'=1 everywhere (in which case, indeed, yy'' would be 0 everywhere).

Q9Stage 2Past exam · 2015Q

If x3+y4=cos(x2+y)x^3+y^4 = \cos(x^2+y) compute dydx\diff{y}{x}.

Answer

2xsin(x2+y)+3x24y3+sin(x2+y)-\ds\frac{2x\sin(x^2+y)+3x^2}{4y^3+\sin(x^2+y)}

Full solution

Differentiate the equation and solve:

3x2+4y3dydx=sin(x2+y)(2x+dydx)dydx=2xsin(x2+y)+3x24y3+sin(x2+y)\begin{align*} 3x^2 + 4y^3 \diff{y}{x} &= -\sin(x^2+y) \cdot\left(2x + \diff{y}{x}\right) \\ \diff{y}{x} &= -\frac{2x\sin(x^2+y)+3x^2}{4y^3+\sin(x^2+y)} \end{align*}
Q10Stage 2Past exam · 2015Q

If x2ey+4xcos(y)=5x^2e^y + 4x\cos(y) = 5, then find yy' at the points where y=0y=0.

Hint

Plug in y=0y=0 at a strategic point in your work to simplify your computation.

Answer

At (x,y)=(1,0)(x,y)=(1,0), y=6y' = -6, and at (x,y)=(5,0)(x,y)=(-5,0), y=625y' = \frac{6}{25}.

Full solution
  • First we find the xx-coordinates where y=0y=0.

    x2e0+4xcos(0)=5x2+4x5=0(x+5)(x1)=0\begin{align*} x^2e^0+4x\cos(0) &= 5 \\ x^2 +4x - 5 &=0\\ (x+5)(x-1)&=0 \end{align*}

    So x=1,5x=1,-5.

  • Now we use implicit differentiation to get yy' in terms of x,yx,y:

    x2ey+4xcos(y)=5differentiate both sidesx2eyy+2xey+4x(sin(y))y+4cos(y)=0\begin{align*} x^2e^y+4x\cos(y) &= 5 & \text{differentiate both sides} \\ x^2 \cdot e^y \cdot y' + 2x e^y + 4x(-\sin(y)) \cdot y' + 4\cos(y) &= 0 \end{align*}
  • Now set y=0y=0 to get

    x2e0y+2xe0+4x(sin(0))y+4cos(0)=0x2y+2x+4=0y=4+2xx2.\begin{align*} x^2 \cdot e^0 \cdot y' + 2x e^0 + 4x(-\sin(0)) \cdot y' + 4\cos(0) &= 0 \\ x^2y' + 2x + 4 &=0 \\ y' &= - \frac{4+2x}{x^2}. \end{align*}
  • So at (x,y)=(1,0)(x,y)=(1,0) we have y=6y' = -6,

  • and at (x,y)=(5,0)(x,y)=(-5,0) we have y=625y' = \frac{6}{25}.

Q11Stage 2

The unit circle consists of all point x2+y2=1x^2+y^2=1. Give an expression for d2ydx2\ds\ddiff{2}{y}{x} in terms of yy.

Hint

Use implicit differentiation.

Answer

d2ydx2=1y3\ds\ddiff{2}{y}{x}=\dfrac{-1}{y^3}

Full solution

We use implicit differentiation, twice.

2x+2yy=02+(2y)y+(2y)y=0y=(y)2+1y\begin{align*}2x+2yy'&=0\\ 2+(2y)y''+(2y')y'&=0\\ y''&=-\frac{(y')^2+1}{y}\end{align*}

So, we need an expression for yy'. We use the equation 2x+2yy=02x+2yy'=0 to conclude y=xyy'=-\dfrac{x}{y}:

y=(xy)2+1y=x2y2+1y=x2+y2y3=1y3\begin{align*}y''&=-\frac{\left(-\frac{x}{y}\right)^2+1}{y}\\ &=-\frac{\frac{x^2}{y^2}+1}{y}\\ &=-\frac{x^2+y^2}{y^3}\\ &=-\frac{1}{y^3}\end{align*}
Q12Stage 2Past exam · 2015Q

If x2+y2=sin(x+y)x^2+y^2 = \sin(x+y) compute dydx\diff{y}{x}.

Answer

dydx=cos(x+y)2x2ycos(x+y)\diff{y}{x} = \dfrac{\cos(x+y)-2x}{2y-\cos(x+y)}

Full solution

Differentiate the equation and solve:

2x+2ydydx=cos(x+y)(1+dydx)dydx=cos(x+y)2x2ycos(x+y)\begin{align*} 2x + 2y \diff{y}{x} &= \cos(x+y) \cdot\left(1 + \diff{y}{x}\right) \\ \diff{y}{x} &= \frac{\cos(x+y)-2x}{2y-\cos(x+y)} \end{align*}
Q13Stage 2Past exam · 2015Q

If x2cos(y)+2xey=8x^2\cos(y)+2xe^y = 8, then find yy' at the points where y=0y=0.

Hint

Plug in y=0y = 0 at a strategic point in your work to simplify your computation.

Answer

At (x,y)=(2,0)(x,y)=(2,0) we have y=32y' = -\frac{3}{2}, and at (x,y)=(4,0)(x,y)=(-4,0) we have y=34y' = -\frac{3}{4}.

Full solution
  • First we find the xx-coordinates where y=0y=0.

    x2cos(0)+2xe0=8x2+2x8=0(x+4)(x2)=0\begin{align*} x^2\cos(0)+2xe^0 &= 8 \\ x^2 +2x - 8 &=0\\ (x+4)(x-2)&=0 \end{align*}

    So x=2,4x=2,-4.

  • Now we use implicit differentiation to get yy' in terms of x,yx,y:

    x2cos(y)+2xey=8differentiate both sidesx2(siny)y+2xcosy+2xeyy+2ey=0\begin{align*} x^2\cos(y)+2xe^y &= 8 & \text{differentiate both sides} \\ x^2 \cdot (-\sin y) \cdot y' + 2x \cos y + 2xe^y \cdot y' + 2e^y &= 0 \end{align*}
  • Now set y=0y=0 to get

    x2(sin0)y+2xcos0+2xe0y+2e0=00+2x+2xy+2=0y=2+2x2x=1+xx\begin{align*} x^2 \cdot (-\sin 0) \cdot y' + 2x \cos 0 + 2xe^0 \cdot y' + 2e^0 &= 0 \\ 0 + 2x + 2xy' + 2 &=0 \\ y' &= - \frac{2+2x}{2x} = -\frac{1+x}{x} \end{align*}
  • So at (x,y)=(2,0)(x,y)=(2,0) we have y=32y' = -\frac{3}{2},

  • and at (x,y)=(4,0)(x,y)=(-4,0) we have y=34y' = -\frac{3}{4}.

Q14Stage 2

At what points on the ellipse x2+3y2=1x^2+3y^2=1 is the tangent line parallel to the line y=xy=x?

Hint

If the tangent line has slope yy', and it is parallel to y=xy=x, then y=1y'=1.

Answer

(32,123)\left(\dfrac{\sqrt{3}}{2},\dfrac{-1}{2\sqrt{3}}\right), (32,123)\left(\dfrac{-\sqrt{3}}{2},\dfrac{1}{2\sqrt{3}}\right)

Full solution

The question asks at which points on the ellipse dydx=1\ds\diff{y}x{}=1. So, we begin by differentiating, implicitly:

2x+6ydydx=0\begin{align*}2x+6y\diff{y}{x}&=0\end{align*}

We could solve for dydx\ds\diff{y}{x} at this point, but it's not necessary. We want to know when dydx\ds\diff{y}{x} is equal to one:

2x+6y(1)=0x=3y\begin{align*}2x+6y(1)&=0\\ x&=-3y\end{align*}

That is, dydx=1\ds\diff{y}{x}=1 at those points along the ellipse where x=3yx=-3y. We plug this into the equation of the ellipse to find the coordinates of these points.

(3y)2+3y2=112y2=1y=±112=±123\begin{align*}\left(-3y\right)^2+3y^2&=1\\ 12y^2&=1\\ y=\pm\frac{1}{\sqrt{12}}=\pm\frac{1}{2\sqrt{3}}\end{align*}

So, the points along the ellipse where the tangent line is parallel to the line y=xy=x occur when y=123y=\dfrac{1}{2\sqrt{3}} and x=3yx=-3y, and when y=123y=\dfrac{-1}{2\sqrt{3}} and x=3yx=-3y. That is, the points (32,123)\left(\dfrac{-\sqrt{3}}{2},\dfrac{1}{2\sqrt{3}}\right) and (32,123)\left(\dfrac{\sqrt{3}}{2},\dfrac{-1}{2\sqrt{3}}\right).

Q15Stage 2Past exam · 2007H

For the curve defined by the equation xy=x2y2\sqrt{xy} = x^2y-2, find the slope of the tangent line at the point (1,4)(1, 4).

Hint

You don't need to solve for yy' in general: only at a single point.

Answer

283-\dfrac{28}{3}

Full solution

First, we differentiate implicitly with respect to xx.

xy=x2y212xyddx{xy}=(2x)y+x2dydxy+xdydx2xy=2xy+x2dydx\begin{align*}\sqrt{xy} &= x^2y-2\\ \frac{1}{2\sqrt{xy}}\cdot \diff{}{x}\{xy\}&=(2x)y+x^2\ds\diff{y}{x}\\ \frac{y+x\diff{y}{x}}{2\sqrt{xy}}&=2xy+x^2\diff{y}{x}\end{align*}

Now, we plug in x=1x=1, y=4y=4, and solve for dydx\ds\diff{y}{x}:

4+dydx4=8+dydxdydx=283\begin{align*}\frac{4+\diff{y}{x}}{4}&=8+\diff{y}{x}\\ \diff{y}{x}&=-\frac{28}{3}\end{align*}
Q16Stage 2Past exam · 2006H

If x2y2+xsin(y)=4x^2y^2+x\sin(y)=4, find dydx\ds\diff{y}{x}.

Hint

After you differentiate implicitly, get all the terms containing yy' onto one side so you can solve for yy'.

Answer

dydx=2xy2+siny2x2y+xcosy\ds\diff{y}{x}=-\dfrac{2xy^2+\sin y}{2x^2y+x\cos y}

Full solution

Implicitly differentiating x2y(x)2+xsin(y(x))=4x^2y(x)^2+x\sin(y(x))=4 with respect to xx gives

2xy2+2x2yy+siny+xycosy=0\begin{align*}2xy^2&+2x^2yy'+\sin y+xy'\cos y=0\end{align*}

Then we gather the terms containing yy' on one side, so we can solve for yy':

2x2yy+xycosy=2xy2sinyy(2x2y+xcosy)=2xy2sinyy=2xy2+siny2x2y+xcosy\begin{align*}2x^2yy'&+xy'\cos y=-2xy^2-\sin y\\ y'(2x^2y&+x\cos y)=-2xy^2-\sin y\\ y'&=-\frac{2xy^2+\sin y}{2x^2y+x\cos y}\end{align*}
Q17Stage 2

Let f(x)=(logx1)xf(x)=(\log x-1)x. Evaluate f(x)f''(x).

Hint

Recall ddxlogx=1x\ds\diff{}{x}\log x =\ds\frac{1}{x}.

Answer

f(x)=1xf''(x)=\dfrac{1}{x}

Full solution
f(x)=xlogxxf(x)=logx+x1x1=logxf(x)=1x\begin{align*} f(x)&=x\log x -x\\ f'(x)&=\log x +x\cdot\frac{1}{x}-1\\ &=\log x\\ f''(x)&=\frac{1}{x} \end{align*}

Stage 3 · Application

Q18Stage 3Past exam · 2015Q

If x2+(y+1)ey=5x^2+(y+1)e^y = 5, then find yy' at the points where y=0y=0.

Hint

You don't need to solve for dydx\diff{y}{x} for all values of xx–only when y=0y=0.

Answer

At (x,y)=(2,0)(x,y)=(2,0), y=2y' = -2. At (x,y)=(2,0)(x,y)=(-2,0), y=2y' = 2.

Full solution
  • First we find the xx-ordinates where y=0y=0.

    x2+(1)e0=5x2+1=5x2=4\begin{align*} x^2+(1)e^0 &= 5 \\ x^2 +1 &=5\\ x^2&=4 \end{align*}

    So x=2,2x=2,-2.

  • Now we use implicit differentiation to get yy' in terms of x,yx,y:

    2x+(y+1)eydydx+eydydx=0\begin{align*} 2x+(y+1)e^y\diff{y}{x}+e^y\diff{y}{x}&=0 \end{align*}
  • Now set y=0y=0 to get

    2x+(0+1)e0dydx+e0dydx=02x+dydx+dydx=02x=2dydxx=dydx\begin{align*} 2x+(0+1)e^0\diff{y}{x}+e^0\diff{y}{x}&=0\\ 2x+\diff{y}{x}+\diff{y}{x}&=0\\ 2x&=-2\diff{y}{x}\\ x&=-\diff{y}{x} \end{align*}
  • So at (x,y)=(2,0)(x,y)=(2,0) we have y=2y' = -2,

  • and at (x,y)=(2,0)(x,y)=(-2,0) we have y=2y' = 2.

Q19Stage 3

For what values of xx do the circle x2+y2=1x^2+y^2=1 and the ellipse x2+3y2=1x^2+3y^2=1 have parallel tangent lines?

Answer

x=0x=0, x=1x=1, x=1x=-1

Full solution

The slope of the tangent line is, of course, given by the derivative, so let's start by finding dydx\diff{y}{x} of both shapes.

For the circle, we differentiate implicitly

2x+2ydydx=0\begin{align*}2x+2y\diff{y}{x}&=0\end{align*}

and solve for dydx\ds\diff{y}{x}

dydx=xy\begin{align*}\diff{y}{x}&=-\frac{x}{y}\end{align*}

For the ellipse, we also differentiate implicitly:

2x+6ydydx=0\begin{align*}2x+6y\diff{y}{x}&=0\end{align*}

and solve for dydx\ds\diff{y}{x}

dydx=x3y\begin{align*}\diff{y}{x}&=-\frac{x}{3y}\end{align*}

What we want is a value of xx where both derivatives are equal. However, they might have different values of yy, so let's let y1y_1 be the yy-values associated with xx on the circle, and let y2y_2 be the yy-values associated with xx on the ellipse. That is, x2+y12=1x^2+ y_1^2=1 and x2+3y22=1x^2+3y_2^2=1. For the slopes at (x,y1)(x,y_1) on the circle and (x,y2)(x,y_2) on the ellipse to be equal, we need:

xy1=x3y2x(1y113y2)=0\begin{align*}-\frac{x}{y_1}&=-\frac{x}{3y_2}\\ x\left(\frac{1}{y_1}-\frac{1}{3y_2}\right)&=0\end{align*}

So x=0x=0 or y1=3y2y_1=3y_2. Let's think about which xx-values will have a yy-coordinate of the circle be three times as large as a yy-coordinate of the ellipse. If y1=3y2y_1=3y_2, (x,y1)(x,y_1) is on the circle, and (x,y2)(x,y_2) is on the ellipse, then x2+y12=x2+(3y2)2=1x^2+y_1^2 =x^2+(3y_2)^2=1 and x2+3y22=1x^2+3y_2^2=1. In this case:

x2+9y22=x2+3y229y22=3y22y2=0x=±1\begin{align*}x^2+9y_2^2&=x^2+3y_2^2\\ 9y_2^2&=3y_2^2\\ y_2&=0\\ x&=\pm 1\end{align*}

We need to be a tiny bit careful here: when y=0y=0, yy' is not defined for either curve. For both curves, when y=0y=0, the tangent lines are vertical (and so have no real-valued slope!). Two vertical lines are indeed parallel.

So, for x=0x=0 and for x=±1x=\pm1, the two curves have parallel tangent lines.

Figure from prob_s2.11, line 1

Figure from prob_s2.11, line 1

Q20Stage 3Past exam · 1997D

The equation x3y+y3=10xx^3y+y^3=10x defines yy implicitly as a function of xx near the point (1,2)(1,2).

  1. Compute yy' at this point.

  2. It can be shown that yy'' is negative when x=1x=1. Use this fact and your answer to (a) to make a sketch showing the relationship of the curve to its tangent line at (1,2)(1,2).

Hint

For (b), you know a point where the curve and tangent line intersect, and you know what the tangent line looks like. What do the derivatives tell you about the shape of the curve?

Answer
  1. y(1)=413y'(1)=\dfrac{4}{13}

  2. Figure from prob_s2.11, line 628

    Figure from prob_s2.11, line 628

Full solution
  1. We differentiate implicitly.

    x3y(x)+y(x)3=10x3x2y(x)+x3y(x)+3y(x)2y(x)=10\begin{align*}x^3y(x)+y(x)^3&=10 x\\ 3x^2y(x)+x^3y'(x)+3y(x)^2y'(x)&=10\end{align*}

    Subbing in x=1x=1 and y(1)=2y(1)=2 gives

    (3)(1)(2)+(1)y(1)+(3)(4)y(1)=1013y(1)=4y(1)=413\begin{align*}(3)(1)( 2)+(1)y'(1)+(3)(4) y'(1)&=10\\ 13y'(1)&=4\\ y'(1)&=\frac{4}{13}\end{align*}
  2. From part (a), the slope of the curve at x=1, y=2x=1,\ y=2 is 413\dfrac{4}{13}, so the curve is increasing, but fairly slowly. The angle of the tangent line is tan1(413)17\tan^{-1}\left(\frac{4}{13}\right)\approx 17^\circ. We are also told that y(1)<0y''(1)<0. So the slope of the curve is decreasing as xx passes through 1. That is, the line is more steeply increasing to the left of x=1x=1, and its slope is decreasing (getting less sleep, then possibly the slope even becomes negative) as we move past x=1x=1.

    Figure from prob_s2.11, line 628

    Figure from prob_s2.11, line 628

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.