Download ArticleDownload Article

In calculus, when you have an equation for y written in terms of x (like y = x2 -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 x2 + y2 - 5x + 8y + 2xy2 = 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!

Method 1
Method 1 of 2:

Differentiating Simple Equations Quickly

Download Article
  1. How.com.vn English: Step 1 Differentiate the x terms as normal.
    When trying to differentiate a multivariable equation like x2 + y2 - 5x + 8y + 2xy2 = 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.[1]
    • Let's try our hand at differentiating the simple example equation above. x2 + y2 - 5x + 8y + 2xy2 = 19 has two x terms: x2 and -5x. If we want to differentiate the equation, we'll deal with these first, like this:
      x2 + y2 - 5x + 8y + 2xy2 = 19
      (Bring the "2" exponent in x2 down as a coefficient, remove the x in -5x, and change the 19 to 0)
      2x + y2 - 5 + 8y + 2xy2 = 0
  2. Step 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 y2, it becomes 2y(dy/dx). Ignore terms with both x and y for now.[2]
    • In our running example, our equation now looks like this: 2x + y2 - 5 + 8y + 2xy2 = 0. We would perform this next y-differentiating step as follows:
      2x + y2 - 5 + 8y + 2xy2 = 0
      (Bring the "2" exponent in y2 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) + 2xy2= 0
    Advertisement
  3. How.com.vn English: Step 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)/g2), substituting the numerator term for f and the denominator term for g.[3]
    • In our example, 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2xy2 = 0, we only have one term with both x and y — 2xy2. Since the x and y are multiplied by each other, we would use the product rule to differentiate as follows:
      2xy2 = (2x)(y2)— set 2x = f and y2 = g in (f × g)' = f' × g + g' × f
      (f × g)' = (2x)' × (y2) + (2x) × (y2)'
      (f × g)' = (2) × (y2) + (2x) × (2y(dy/dx))
      (f × g)' = 2y2 + 4xy(dy/dx)
    • Adding this back into our main equation, we get 2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2y2 + 4xy(dy/dx) = 0
  4. How.com.vn English: Step 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.[4] 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) + 2y2 + 4xy(dy/dx) = 0 as follows:
      2x + 2y(dy/dx) - 5 + 8(dy/dx) + 2y2 + 4xy(dy/dx) = 0
      (2y + 8 + 4xy)(dy/dx) + 2x - 5 + 2y2 = 0
      (2y + 8 + 4xy)(dy/dx) = -2y2 - 2x + 5
      (dy/dx) = (-2y2 - 2x + 5)/(2y + 8 + 4xy)
      (dy/dx) = (-2y2 - 2x + 5)/(2(2xy + y + 4)
  5. Advertisement
Method 2
Method 2 of 2:

Using Advanced Techniques

Download Article
  1. How.com.vn English: Step 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).[5]
    • 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) = (-2y2 - 2x + 5)/(2(2xy + y + 4)
      (dy/dx) = (-2(-4)2 - 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. How.com.vn English: Step 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.[6]
    • As a simple example, let's say that we need to find the derivative of sin(3x2 + x) as part of a larger implicit differentiation problem for the equation sin(3x2 + x) + y3 = 0. If we think of sin(3x2 + x) as "f(x)" and 3x2 + x as "g(x)", we can find the differentiation as follows:
      f'(g(x))g'(x)
      (sin(3x2 + x))' × (3x2 + x)'
      cos(3x2 + x) × (6x + 1)
      (6x + 1)cos(3x2 + x)
  3. How.com.vn English: Step 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).[7]
    • For example, let's say that we're trying to differentiate x3z2 - 5xy5z = x2 + y3.
    • First, let's differentiate with respect to x and insert (dz/dx). Don't forget to apply the product rule where appropriate!
      x3z2 - 5xy5z = x2 + y3
      3x2z2 + 2x3z(dz/dx) - 5y5z - 5xy5(dz/dx) = 2x
      3x2z2 + (2x3z - 5xy5)(dz/dx) - 5y5z = 2x
      (2x3z - 5xy5)(dz/dx) = 2x - 3x2z2 + 5y5z
      (dz/dx) = (2x - 3x2z2 + 5y5z)/(2x3z - 5xy5)
    • Now, let's do the same for (dz/dy)
      x3z2 - 5xy5z = x2 + y3
      2x3z(dz/dy) - 25xy4z - 5xy5(dz/dy) = 3y2
      (2x3z - 5xy5)(dz/dy) = 3y2 + 25xy4z
      (dz/dy) = (3y2 + 25xy4z)/(2x3z - 5xy5)
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

      • Always look for any part which needs the Quotient or Product rule, as it's very easy to forget.
      Advertisement

      About This Article

      How.com.vn English: Joseph Meyer
      Reviewed by:
      Math Teacher
      This article was reviewed by Joseph Meyer. Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University. This article has been viewed 159,020 times.
      54 votes - 85%
      Co-authors: 17
      Updated: August 17, 2023
      Views: 159,020
      Categories: Calculus
      Article SummaryX

      To differentiate simple equations quickly, start by differentiating the x terms according to normal rules. Next, differentiate the y terms the same way you did the x terms, but this time add (dy/dx) next to each y term. If you have terms with x and y, use the product rule if x and y are multiplied. However, if the x and y terms are divided by each other, use the quotient rule. Finally, solve for (dy/dx) by finding the terms on the opposite side of the parenthesis, then divide them by the terms in parenthesis next to (dy/dx). To learn how to use advanced techniques, keep reading!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 159,020 times.

      Reader Success Stories

      • How.com.vn English: Jordan B.

        Jordan B.

        Oct 19, 2018

        "This was the most helpful article I've ever read to help with differential calculus. Khan Academy, tutors,..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement