How to Do Implicit Differentiation

Опубликовал Admin
11-05-2021, 14:10
632
0
In calculus, when you have an equation for y written in terms of x (like y = x -3x), it's easy to use basic differentiation techniques (known by mathematicians as "explicit differentiation" techniques) to find the derivative. However, for equations that are difficult to rearrange with y by itself on one side of the equals sign (like x + y - 5x + 8y + 2xy = 19), a different approach is needed. With a technique called implicit differentiation, it's simple to find the derivatives of multi-variable equations as long as you already know the basics of explicit differentiation!

Differentiating Simple Equations Quickly

  1. Differentiate the x terms as normal. When trying to differentiate a multivariable equation like x + y - 5x + 8y + 2xy = 19, it can be difficult to know where to start. Luckily, the first step of implicit differentiation is its easiest one. Simply differentiate the x terms and constants on both sides of the equation according to normal (explicit) differentiation rules to start off. Ignore the y terms for now.
    • Let's try our hand at differentiating the simple example equation above. x + y - 5x + 8y + 2xy = 19 has two x terms: x and -5x. If we want to differentiate the equation, we'll deal with these first, like this: x + y - 5x + 8y + 2xy = 19 (Bring the "2" exponent in x down as a coefficient, remove the x in -5x, and change the 19 to 0) 2x + y - 5 + 8y + 2xy = 0
  2. Differentiate the y terms and add "(dy/dx)" next to each. As your next step, simply differentiate the y terms the same way as you differentiated the x terms. This time, however, add "(dy/dx)" next to each the same way as you'd add a coefficient. For instance, if you differentiate y, it becomes 2y(dy/dx). Ignore terms with both x and y for now.
    • In our running example, our equation now looks like this: 2x + y - 5 + 8y + 2xy = 0. We would perform this next y-differentiating step as follows: 2x + y - 5 + 8y + 2xy = 0 (Bring the "2" exponent in y down as a coefficient, remove the y in 8y, and place a "dy/dx" next to each). 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2xy= 0
  3. Use the product rule or quotient rule for terms with x and y. Dealing with terms that have both x and y in them is a little tricky, but if you know the product and quotient rules for differentiating, you're in the clear. If the x and y terms are multiplied, use the product rule ((f × g)' = f' × g + g' × f), substituting the x term for f and the y term for g. On the other hand, if the x and y terms are divided by each other, use the quotient rule ((f/g)' = (g × f' - g' × f)/g), substituting the numerator term for f and the denominator term for g.
    • In our example, 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2xy = 0, we only have one term with both x and y — 2xy. Since the x and y are multiplied by each other, we would use the product rule to differentiate as follows: 2xy = (2x)(y)— set 2x = f and y = g in (f × g)' = f' × g + g' × f (f × g)' = (2x)' × (y) + (2x) × (y)' (f × g)' = (2) × (y) + (2x) × (2y(dy/dx)) (f × g)' = 2y + 4xy(dy/dx)
    • Adding this back into our main equation, we get 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2y + 4xy(dy/dx) = 0
  4. Isolate (dy/dx). You're almost there! Now, all you need to do is solve the equation for (dy/dx). This looks difficult, but it's usually not — keep in mind that any two terms a and b that are multiplied by (dy/dx) can be written as (a + b)(dy/dx) due to the distributive property of multiplication. This tactic can make it easy to isolate (dy/dx) — just get all the other terms on the opposite side of the parentheses, then divide them by the terms in parentheses next to (dy/dx).
    • In our example, we might simplify 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2y + 4xy(dy/dx) = 0 as follows: 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2y + 4xy(dy/dx) = 0 (2y + 8 + 4xy)(dy/dx) + 2x - 5 + 2y = 0 (2y + 8 + 4xy)(dy/dx) = -2y - 2x + 5 (dy/dx) = (-2y - 2x + 5)/(2y + 8 + 4xy) (dy/dx) = (-2y - 2x + 5)/(2(2xy + y + 4)

Using Advanced Techniques

  1. Plug in (x, y) values to find (dy/dx) for any point. Congratulations! You've differentiated your equation implicitly — not an easy task for first-timers! Using this equation to find the slope (dy/dx) for any (x, y) point is as simple as plugging in the x and y values for your point into the right side of the equation, then solving for (dy/dx).
    • For example, let's say that we want to find the slope at the point (3, -4) for our example equation above. To do this, we would substitute 3 for x and -4 for y, solving as follows: (dy/dx) = (-2y - 2x + 5)/(2(2xy + y + 4) (dy/dx) = (-2(-4) - 2(3) + 5)/(2(2(3)(-4) + (-4) + 4) (dy/dx) = (-2(16) - 6 + 5)/(2(2(3)(-4)) (dy/dx) = (-32) - 6 + 5)/(2(2(-12)) (dy/dx) = (-33)/(2(2(-12)) (dy/dx) = (-33)/(-48) = 3/48, or 0.6875.
  2. Use the chain rule for functions-within-functions. The chain rule is an important piece of knowledge to have when dealing with calculus problems (including implicit differentiation problems). The chain rule states that for a function F(x) which can be written as (f o g)(x), the derivative of F(x) is equal to f'(g(x))g'(x). For difficult implicit differentiation problems, this means that it's possible to differentiate different individual "pieces" of the equation, then piece together the result.
    • As a simple example, let's say that we need to find the derivative of sin(3x + x) as part of a larger implicit differentiation problem for the equation sin(3x + x) + y = 0. If we think of sin(3x + x) as "f(x)" and 3x + x as "g(x)", we can find the differentiation as follows: f'(g(x))g'(x) (sin(3x + x))' × (3x + x)' cos(3x + x) × (6x + 1) (6x + 1)cos(3x + x)
  3. For equations with x, y, and z variables, find (dz/dx) and (dz/dy). Though it's not common in basic calculus, some advanced applications may require the implicit differentiation of more than two variables. For each extra variable, you'll need to find an extra derivative with respect to x. For instance, if you're working with x, y, and z, you'll need to find both (dz/dy) and (dz/dx). We can do this by differentiating the equation with respect x twice — the first time, we'll insert a (dz/dx) every time we differentiate a term with z, and the second time, we'll insert a (dz/dy) every time we differentiate a z. After this, it's just a matter of solving for (dz/dx) and (dz/dy).
    • For example, let's say that we're trying to differentiate xz - 5xyz = x + y.
    • First, let's differentiate with respect to x and insert (dz/dx). Don't forget to apply the product rule where appropriate! xz - 5xyz = x + y 3xz + 2xz(dz/dx) - 5yz - 5xy(dz/dx) = 2x 3xz + (2xz - 5xy)(dz/dx) - 5yz = 2x (2xz - 5xy)(dz/dx) = 2x - 3xz + 5yz (dz/dx) = (2x - 3xz + 5yz)/(2xz - 5xy)
    • Now, let's do the same for (dz/dy) xz - 5xyz = x + y 2xz(dz/dy) - 25xyz - 5xy(dz/dy) = 3y (2xz - 5xy)(dz/dy) = 3y + 25xyz (dz/dy) = (3y + 25xyz)/(2xz - 5xy)

Tips

Warnings

  • Always look for any part which needs the Quotient or Product rule, as it's very easy to forget.
Теги:
Information
Users of Guests are not allowed to comment this publication.