NEETJEE.guru
MathematicsJEE

Linear Differential Equation: dy/dx + Py = Q

By Admin 13 November 2026 Updated 27 November 2026 10 min read 17 views
On this page· 13 sections
Overview

Source & scope. This article opens NCERT Class 12 Mathematics, Chapter 9, Section 9.4.3 — the third and final solving method of this chapter (after variable separable and homogeneous equations, covered in sibling articles). It is followed by Linear Differential Equation in x: dx/dy + P₁x = Q₁ (the a...

Source & scope. This article opens NCERT Class 12 Mathematics, Chapter 9, Section 9.4.3 — the third and final solving method of this chapter (after variable separable and homogeneous equations, covered in sibling articles). It is followed by Linear Differential Equation in x: dx/dy + P₁x = Q₁ (the alternate form), Integrating Factor of a Linear Differential Equation: Derivation (how to actually solve it), and Step-by-Step Method to Solve a Linear Differential Equation (the complete algorithm).

A differential equation of the form dy/dx + Py = Q, where P and Q are either constants or functions of x only (never of y), is called a first order linear differential equation. The defining feature is that y and its derivative appear only to the first power and are never multiplied together — the equation is "linear" in y and dy/dx.

At a glance

  • Standard form: , with P, Q functions of x only (or constants).
  • "Linear" means y and dy/dx each appear to the first power, with no products like y·(dy/dx) or y².
  • Example: dy/dx + y = sin x (here P = 1, Q = sin x).
  • Example: dy/dx + (1/x)y = eˣ (here P = 1/x, Q = eˣ).
  • This is a genuinely different equation type from both variable-separable and homogeneous equations — it requires its own dedicated technique (the integrating factor), covered in the sibling articles.

Learning objectives

  • State the standard form of a first order linear differential equation.
  • Identify P and Q correctly in a given linear differential equation.
  • Distinguish a linear differential equation from a variable-separable or homogeneous one.
  • Recognise why "linear" specifically refers to y and dy/dx appearing to the first power only.

Prerequisite knowledge

The reader should already understand the order of a differential equation (this is always a first-order equation) and be comfortable identifying functions of a single variable (to correctly separate "function of x only" from "function of both x and y").

Core explanation

The standard form

NCERT states: "A differential equation of the form dy/dx + Py = Q, where P and Q are constants or functions of x only, is known as a first order linear differential equation." NCERT gives three illustrative examples:

  • (here P = 1, a constant, and Q = sin x, a function of x)
  • (here P = 1/x, a function of x, and Q = eˣ, a function of x)
  • (here P = 1/(x log x) and Q = 1/x, both functions of x)

Why "linear"

The term "linear" refers specifically to how y and its derivative dy/dx appear in the equation: each appears only to the first power, and they are never multiplied by each other (no y·dy/dx term) or by any other power of y (no y², y³, etc.). The coefficients P and Q, however, are allowed to be any function of x — this flexibility in P and Q (while keeping y and dy/dx strictly to the first power, unmultiplied) is exactly what "linear in y" means.

Why this is a genuinely different method

A linear equation of this form generally cannot be separated into a function of x times a function of y (ruling out the variable-separable method of Differential Equations with Variables Separable), and the right-hand side Py − Q is not typically homogeneous of degree zero in x and y (ruling out the y=vx or x=vy substitutions of the homogeneous-equation articles). This is precisely why NCERT introduces a dedicated third technique — multiplying through by a cleverly chosen integrating factor — covered in full in Integrating Factor of a Linear Differential Equation: Derivation.

Quick identification practice

Given dy/dx + y = sin x: comparing against dy/dx + Py = Q, read off P = 1 and Q = sin x directly — no rearrangement needed, since the equation is already in standard form.

Given x(dy/dx) + 2y = x² (which appears in NCERT's worked examples): this is NOT yet in standard form, because the coefficient of dy/dx is x, not 1. Dividing throughout by x gives dy/dx + (2/x)y = x, now matching the standard form with P = 2/x and Q = x. Always divide through so the coefficient of dy/dx is exactly 1 before reading off P and Q.

Key terms

  • First order linear differential equation — an equation of the form dy/dx + Py = Q, where P, Q are functions of x only (or constants), and y, dy/dx appear only to the first power, unmultiplied by each other.
  • — the coefficient of y, a function of x only.
  • — the term on the right-hand side, a function of x only.
  • Standard form — the equation rearranged so the coefficient of dy/dx is exactly 1, which is required before reading off P and Q.

Diagram / figure guidance

A labelled equation box: "dy/dx + P(x)·y = Q(x)", with an arrow from "P(x)" reading "any function of x only — the coefficient of y" and an arrow from "Q(x)" reading "any function of x only — the term with no y at all," plus a crossed-out box showing "y·(dy/dx)" and "y²" labelled "NOT allowed in a linear equation."

Worked example

Identify P and Q in the differential equation x(dy/dx) + 2y = x² (x ≠ 0).

The equation is not yet in standard form, since the coefficient of dy/dx is x, not 1. Divide every term by x:

Comparing with dy/dx + Py = Q: and . Both P and Q are functions of x only, confirming this is a valid first order linear differential equation in standard form. (The full solving process for this exact equation, using the integrating factor, is worked out in Step-by-Step Method to Solve a Linear Differential Equation.)

Common misconceptions

  • "P and Q can be functions of both x and y." False — by definition, P and Q must be functions of x only (or plain constants); if either depended on y, the equation would not be of this linear type.
  • "Any equation containing dy/dx and y is automatically linear." False — dy/dx + y² = x or y(dy/dx) + y = x are NOT linear in this sense, because y appears squared, or y multiplies dy/dx.
  • "You can read off P and Q before dividing to make the coefficient of dy/dx equal to 1." False — the standard form specifically requires the coefficient of dy/dx to be exactly 1; always divide through first if it is not.
  • "A linear differential equation can always also be solved by separating variables." False in general — most linear equations of this form do not separate into a pure function of x times a pure function of y, which is exactly why they need the dedicated integrating-factor method.

Exam application (JEE)

JEE frequently gives an equation not in standard form (with some coefficient other than 1 in front of dy/dx) and expects the student to correctly rearrange it before identifying P and Q — this rearrangement step is a common, low-effort place to lose marks through a careless division error. Always perform the division carefully across every term, including the right-hand side.

Frequently asked questions

  • What is a first order linear differential equation? It is an equation of the form dy/dx + Py = Q, where P and Q are functions of x only (or constants), and y, dy/dx appear to the first power only.
  • How do you identify P and Q in a linear differential equation? First ensure the coefficient of dy/dx is exactly 1 (dividing through if necessary), then P is the coefficient of y and Q is the remaining term on the right-hand side.
  • Is dy/dx + y² = x a linear differential equation? No — y appears squared, which violates the requirement that y appear only to the first power.
  • What are P and Q in x(dy/dx) + 2y = x²? Dividing through by x gives dy/dx + (2/x)y = x, so P = 2/x and Q = x.
  • Why can't most linear differential equations be solved by simple separation of variables? Because the terms Py and Q generally cannot be rearranged into a product of a pure function of x and a pure function of y, so a dedicated method (the integrating factor) is needed instead.

Practice questions (original practice questions)

  1. In the equation dy/dx + 3y = , what are P and Q? (a) P=3, Q= (b) P=, Q=3 (c) P=3y, Q= (d) P=1, Q= Ans (a). Comparing directly with dy/dx+Py=Q, P=3 (a constant) and Q=.
  2. Which of the following is NOT a linear differential equation of this type? (a) dy/dx + y/x = x² (b) dy/dx + y·(dy/dx) = x (c) dy/dx + 2y = sin x (d) dy/dx + y cot x = x Ans (b). The term y·(dy/dx) multiplies y by its own derivative, which is not allowed in a linear equation.
  3. For 2(dy/dx) + 6y = 4x, what is the correct standard form, and what are P, Q? (a) dy/dx+3y=2x; P=3,Q=2x (b) dy/dx+6y=4x; P=6,Q=4x (c) dy/dx+3y=4x; P=3,Q=4x (d) dy/dx+2y=x; P=2,Q=x Ans (a). Dividing every term by 2 gives dy/dx + 3y = 2x, so P=3 and Q=2x.
  4. Which statement correctly describes P and Q in dy/dx + Py = Q? (a) They must both be constants (b) They must be functions of x only, though constants are also allowed as a special case (c) They can be functions of y as well (d) Q must always equal zero Ans (b). P and Q are functions of x only; being constant is simply a special case of "function of x."
  5. Is x dy/dx − y = x² log x (x ≠ 0) linear in y and dy/dx? (a) No, because of the log x term (b) Yes, since after dividing by x it becomes dy/dx − (1/x)y = x log x, with y, dy/dx to the first power (c) No, because y is squared (d) No, because log x makes it homogeneous instead Ans (b). The log x term is part of Q (a function of x), which is allowed; y and dy/dx each appear to the first power, so it is linear once rearranged.

Quick revision

  • Standard form: dy/dx + Py = Q, with P, Q functions of x only (or constants).
  • "Linear" means y and dy/dx appear only to the first power, never multiplied together or squared.
  • Always divide through so the coefficient of dy/dx is exactly 1 before reading off P and Q.
  • This is a distinct method from variable separable and homogeneous equations — it needs the integrating factor technique.
  • Example identifications: dy/dx+y=sin x → P=1,Q=sin x; dy/dx+(1/x)y=eˣ → P=1/x, Q=eˣ.

Related articles

NCERTMathematicsClass 12
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Linear Differential Equation dy/dx+Py=Q — JEE Notes | NEETJEE.guru