Skip to content
NCERT Exemplar · Q2

Q.Find the differential equation of all non-vertical lines in a plane.

Haryana BsehShort· 3mImportance★★★★★
Appeared in past exams:COMEDK 2023· Set 2023-M· 1mexact
55% · 122/222 Questions
✓ Free question

The key idea is that a non-vertical line has exactly one parameter (its slope) after fixing the intercept, so the differential equation must be second-order to eliminate two arbitrary constants. The result is d2ydx2=0\frac{d^2 y}{dx^2} = 0.

The problem asks for the differential equation satisfied by every non-vertical straight line in the plane. That means we start with the general equation of such a line, which contains arbitrary constants, and then differentiate to eliminate those constants. The result is a relation involving only derivatives — the differential equation.

Why does this work? A differential equation is essentially a constraint on the rate of change of a function. If a family of curves (here, all non-vertical lines) shares a common geometric property, that property translates into a condition on derivatives. For a straight line, the defining property is constant slope. That constant slope is the first derivative, but it varies from line to line — so it's still an arbitrary constant. To get rid of both constants (the slope and the intercept), we need to go one step further: the second derivative.

Let’s do it step by step.

  1. Write the general equation of a non-vertical line. Any non-vertical line can be written as

y=mx+cy = mx + c

where mm is the slope and cc is the yy-intercept. Both mm and cc are arbitrary constants (they can be any real numbers). The condition "non-vertical" simply means mm is finite — we don't need to worry about vertical lines (x=constantx = \text{constant}) because their slope is undefined.

  1. Differentiate once with respect to xx. Since yy is a function of xx,

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

The slope mm is still present. So one differentiation hasn't eliminated all arbitrary constants — mm remains.

  1. Differentiate a second time. Differentiate dydx=m\frac{dy}{dx} = m with respect to xx:

d2ydx2=0\frac{d^2 y}{dx^2} = 0

The constant mm disappears because the derivative of a constant is zero. The constant cc also vanished after the first differentiation. So now we have an equation involving only the second derivative — no arbitrary constants left.

  1. Interpret the result. The equation d2ydx2=0\frac{d^2 y}{dx^2} = 0 says: the rate of change of the slope is zero. That is, the slope is constant. This is exactly the geometric property of a straight line. Every non-vertical line satisfies this, and conversely, any function whose second derivative is zero is a straight line (since integrating twice gives y=Ax+By = Ax + B).
Watch out

A common mistake is to stop at dydx=m\frac{dy}{dx} = m and call that the differential equation. But that still contains the arbitrary constant mm, so it's not a differential equation of the family — it's just the derivative of a particular line. The differential equation must be free of all arbitrary constants.

Tip

Notice that the order of the differential equation equals the number of arbitrary constants in the general equation. Here we had two constants (mm and cc), so we needed a second-order equation. This is a useful rule of thumb: to eliminate nn independent arbitrary constants, you generally need an nnth-order differential equation.

✓Final answer

The differential equation of all non-vertical lines in a plane is d2ydx2=0\boxed{\frac{d^2 y}{dx^2} = 0}.

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.