Skip to content
Worked Examples · Example 22

Q.Find dydx\frac{dy}{dx} if x−y=πx - y = \pi.

Punjab PsebTextbookSubjective· 3mImportance★★★★★
23% · 66/281 Questions
✓ Free question

The equation x−y=πx - y = \pi is a linear relation between xx and yy. Differentiating both sides with respect to xx gives 1−dydx=01 - \frac{dy}{dx} = 0, so dydx=1\frac{dy}{dx} = 1.

The problem asks for dydx\frac{dy}{dx} given x−y=πx - y = \pi. At first glance, this looks like a simple linear equation — and it is. But the real point here is to see why implicit differentiation works, even when you could solve for yy directly.

If you solve for yy, you get y=x−πy = x - \pi. Differentiating that gives dydx=1\frac{dy}{dx} = 1 immediately. That’s fine. But the problem is likely designed to test implicit differentiation — a technique you’ll need when solving for yy is messy or impossible.

Implicit differentiation says: treat yy as a function of xx (even if you don’t know its explicit form), and differentiate both sides of the equation term-by-term. The chain rule handles yy: the derivative of yy with respect to xx is dydx\frac{dy}{dx}.

Let’s walk through it.

  1. Start with the given equation:

x−y=πx - y = \pi

  1. Differentiate both sides with respect to xx. The derivative of xx is 11. The derivative of yy (with respect to xx) is dydx\frac{dy}{dx}, by the chain rule. The derivative of the constant π\pi is 00. So:

ddx(x)−ddx(y)=ddx(π)\frac{d}{dx}(x) - \frac{d}{dx}(y) = \frac{d}{dx}(\pi)

1−dydx=01 - \frac{dy}{dx} = 0

  1. Solve for dydx\frac{dy}{dx}:

−dydx=−1-\frac{dy}{dx} = -1

dydx=1\frac{dy}{dx} = 1

Watch out

A common mistake is forgetting to differentiate the constant π\pi correctly — it’s 00, not 11. Another is writing ddx(y)=1\frac{d}{dx}(y) = 1 instead of dydx\frac{dy}{dx}. Remember: yy is a function, not the variable itself.

Tip

Whenever you see an equation that can be solved for yy in one step, implicit differentiation will give the same result as explicit differentiation — but it’s great practice for harder cases like x2+y2=25x^2 + y^2 = 25 or exy=xe^{xy} = x.

✓Final answer

The derivative is 1\boxed{1}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.