# How do you implicitly differentiate y= xy^2 + e^(x y) ?

Mar 21, 2016

$\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{y \left(y + {e}^{x y}\right)}{1 - 2 x y - x {e}^{x y}}$

#### Explanation:

In a simple function like $y = f \left(x\right)$, $y$ is expressed 'explicitly' in terms of $x$. However, in many cases the variables involved in a function are not linked to each other in an explicit way and they are rather linked through an implicit formula like the one given here.

In such cases, we differentiate both sides of the equality, say w.e.t. $x$, using normal formulas of differentiation such as product, quotient or chain formula, but whenever say $y$ is involved, its derivative is put as $\frac{\mathrm{dy}}{\mathrm{dx}}$.

The given implicit function is $y = x {y}^{2} + {e}^{x y}$ differentiating it with respect to $x$, we get

$\frac{\mathrm{dy}}{\mathrm{dx}} = {y}^{2} \times 1 + x \times 2 y \frac{\mathrm{dy}}{\mathrm{dx}} + {e}^{x y} \times \left(y + x \frac{\mathrm{dy}}{\mathrm{dx}}\right)$

or $\frac{\mathrm{dy}}{\mathrm{dx}} = {y}^{2} + 2 x y \frac{\mathrm{dy}}{\mathrm{dx}} + y {e}^{x y} + x {e}^{x y} \frac{\mathrm{dy}}{\mathrm{dx}}$

or $\frac{\mathrm{dy}}{\mathrm{dx}} \left(1 - 2 x y - x {e}^{x y}\right) = {y}^{2} + y {e}^{x y}$

or $\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{y \left(y + {e}^{x y}\right)}{1 - 2 x y - x {e}^{x y}}$