# Parametric Differentiation and Implicit Differentiation

As well as basic differentiation and differentiation using the product, quotient or chain rule there is parametric differentiation and implicit differentiation. In the former, we can apply parametric differentiation when two functions are defined parametrically. In the latter, we can apply implicit differentiation when a function is defined implicitly.

## Parametric Differentiation

Recall that parametric equations may look as follows:

$x=f(t),\hspace{20pt}y=g(t),\hspace{20pt}t_1\leq t\leq t_2$,

where $t$ is the parameter. See more on parametric equations. In order to find the derivative $\frac{dy}{dx}$, we can first find the Cartesian equation or we can use parametric differentiation. We can perform parametric differentiation by noting that $\frac{dy}{dx}=\frac{dy}{dt}\times\frac{dt}{dx}$ and using the derivatives of the parametric equations:

$\frac{dy}{dx}=\frac{dy}{dt}\div\frac{dx}{dt}=\frac{df}{dt}\div\frac{dg}{dt}$

Hence, we find the derivative of $y$ with respect to $x$ by dividing the derivatives of the original parametric equations. For example, suppose $x=\frac{1}{t}$ and $y=2t$ for $0<t\leq 5$. In this case, $\frac{dx}{dt}=\frac{-1}{t^2}$ and $\frac{dy}{dt}=2$. It follows that $\frac{dy}{dx}=\frac{dy}{dt}\div\frac{dx}{dt}=2\div \frac{-1}{t^2}=-2t^2=-\frac{2}{x^2}$ (since $t=\frac{1}{x}$) . This can also be seen when we find the Cartesian equation first. The Cartesian equation is $y=\frac{2}{x}$ and so $\frac{dy}{dx}=-\frac{2}{x^2}$ as before (more on differentiating polynomials). See Examples 1 and 2 for more parametric differentiation.

## Implicit Differentiation

If a Cartesian equation is defined implicitly, we can use implicit differentiation to find an expression for $\frac{dy}{dx}$. In these cases, we must treat $y$ as an unknown function of $x$. For example, consider the implicit equation $xy=4$. We could find the explicit equation $y=\frac{4}{x}$ and so $\frac{dy}{dx}=-\frac{4}{x^2}$ (see more on differentiating polynomials). However, we can also differentiate implicitly by differentiating both sides of $xy=4$ with respect to $x$ as it is. The right hand side becomes 0 but the left hand side is a product (treating $y$ as an unknown function of $x$) and so the product rule should be used:

$\frac{d}{dx}\left(xy\right)=1\times y+x\times \frac{dy}{dx}=y+x\frac{dy}{dx}$

It follows that $y+x\frac{dy}{dx}=0$ which we can rearrange to get $\frac{dy}{dx}=-\frac{y}{x}=-\frac{4}{x^2}$. This is the same expression that we obtained finding the Cartesian equation first. In most cases at this level it is much more complicated to find the explicit equation so using implicit differentiation makes more sense.

Consider finding an expression for $\frac{dy}{dx}$ in a second example of an implicit equation: $x^2y-xy^2=x^3$. Both terms on the left are product whereas the right hand side is a polynomial term. Differentiating both sides with respect to $x$ gives $2xy+x^2\frac{dy}{dx}-y^2-2xy\frac{dy}{dx}=3x^2$. Note that $y^2$ is a chain: $y$ is an unknown function of $x$ that is then squared. Hence, we use the chain rule and the derivative of $y^2$ is $2y\frac{dy}{dx}$. In order ot obtain an expression for the derivative we rearrange to make $\frac{dy}{dx}$ the subject: $\frac{dy}{dx}=\frac{3x^2-2xy+y^2}{x^2-2xy}$. We obtain this by keeping all derivative terms on the left and then factorising. See Examples 3 and 4.

## Examples

Find an expression for $\frac{dy}{dx}$ given the parametric equations $x=\frac{t}{t-2}$ and $y=\frac{1}{t+1}$ for $t>2$. Verify your result from the Cartesian equation.

Find the equation of the tangent to the curve defined by the parametric equations $x=3\sin(\theta)$ and $y=2\cos(\theta)$ at the points where $\theta=\frac{\pi}{4}$.

Find the value of the gradient of the curve given implicitly by $\frac{3x}{y^2}-\sqrt{xy}=2+(x-y)^3$ at the point $(1,1)$.

Find the exact equation of the normal to the curve defined implicitly by $1-ye^{4x}=3x\ln(2y)$ at the point where $x=0$.