Derivative of xy
The derivative of xy, where y is a function of x (implicit differentiation) is y + x·dy/dx, by the product rule with implicit differentiation.
📐 The product rule with implicit differentiation
d/dx (xy) = y + x·(dy/dx) when y depends on x.
d/dx xy = y + x·dy/dx.
✍️ Differentiating xy
- If y is a function of x, xy is a product of two functions of x: u = x and v = y.
- Product rule: (uv)′ = u′v + uv′ = 1·y + x·(dy/dx).
- So d/dx (xy) = y + x·dy/dx (often written y + xy′).
- If y is a constant, dy/dx = 0 and the derivative is just y.
🔍 Where the rule comes from
This is the step inside implicit differentiation of curves like xy = 1 or x2 + xy + y2 = 7: differentiate every term, treating y as y(x), then solve for dy/dx. For xy = 1: y + x·y′ = 0, so y′ = −y/x = −1/x2 (which agrees with y = 1/x). The calculator on this page uses y = 2x as its example, so xy = 2x2 and the derivative is 4x.
📍 The slope of xy at a point, and the tangent line
f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | xy | y + x·dy/dx | Tangent line |
|---|---|---|---|
| x = −2 | 8 | −8 | y = −8x − 8 |
| x = −1 | 2 | −4 | y = −4x − 2 |
| x = −0.5 | 0.5 | −2 | y = −2x − 0.5 |
| x = 0 | 0 | 0 | y = 0 |
| x = 0.5 | 0.5 | 2 | y = 2x − 0.5 |
| x = 1 | 2 | 4 | y = 4x − 2 |
| x = 2 | 8 | 8 | y = 8x − 8 |
| x = 3 | 18 | 12 | y = 12x − 18 |
👪 Rules and special cases: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
⚠️ The mistakes that lose the marks
- Writing 1 or y alone: both factors vary.
- Forgetting dy/dx on the y term.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate xy = 1 implicitly and solve for dy/dx.
Answer: y + xy′ = 0, so y′ = −y/x
2. Differentiate x^2 y with respect to x.
Answer: 2xy + x^2 y′
3. Differentiate xy^2.
Answer: y^2 + 2xy·y′
4. If y = x^2, what is d/dx (xy)?
Answer: 3x^2
5. Differentiate x + xy = 5 implicitly.
Answer: 1 + y + xy′ = 0, so y′ = −(1 + y)/x
📚 The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
