Linear Differential Equation in x: dx/dy + P₁x = Q₁
On this page· 13 sections
Source & scope. This article continues NCERT Class 12 Mathematics, Chapter 9, Section 9.4.3, covering the alternate form of a first order linear differential equation where x, rather than y, is treated as the dependent variable. It builds on Linear Differential Equation: dy/dx + Py = Q and precedes...
Source & scope. This article continues NCERT Class 12 Mathematics, Chapter 9, Section 9.4.3, covering the alternate form of a first order linear differential equation where x, rather than y, is treated as the dependent variable. It builds on Linear Differential Equation: dy/dx + Py = Q and precedes Step-by-Step Method to Solve a Linear Differential Equation, which unifies the solving algorithm for both forms.
When an equation is more naturally written as dx/dy + P₁x = Q₁, with P₁ and Q₁ functions of y only (never of x), it is still a first order linear differential equation — just with x treated as the dependent variable and y as the independent variable, mirroring the dy/dx + Py = Q form exactly.
At a glance
- Standard form: , with P₁, Q₁ functions of y only (or constants).
- This is the exact mirror image of dy/dx + Py = Q, with x and y's roles exchanged.
- Example: dx/dy + x = cos y (here P₁ = 1, Q₁ = cos y).
- Example: dx/dy − 2x/y = (here P₁ = −2/y, Q₁ = .
- Use this form when the equation is more naturally arranged with x's derivative isolated, rather than forcing it into dy/dx form.
Learning objectives
- Recognise when a linear differential equation is more naturally written in the dx/dy + P₁x = Q₁ form.
- Identify P₁ and Q₁ correctly in a given equation of this type.
- Solve a complete worked example using this alternate form, from standard form through to the final general solution.
- Understand how this form mirrors dy/dx + Py = Q exactly, with x and y's roles swapped.
Prerequisite knowledge
The reader should already know the standard dy/dx + Py = Q form (see Linear Differential Equation: dy/dx + Py = Q), since this article presents the exact mirror-image concept.
Core explanation
The alternate standard form
NCERT notes: "Another form of first order linear differential equation is dx/dy + P₁x = Q₁, where P₁ and Q₁ are constants or functions of y only." Examples given:
- (here P₁ = 1, Q₁ = cos y)
- (here P₁ = −2/y, Q₁ =
The structure is identical to dy/dx + Py = Q, with every role swapped: x is now the dependent variable, y is the independent variable, and the coefficients P₁, Q₁ must depend only on y (never on x) — exactly as P, Q in the original form had to depend only on x.
Recognising when to use this form
If an equation does not separate or fit a homogeneous pattern, and attempting to isolate dy/dx produces an awkward expression, try instead isolating dx/dy. If the result can be arranged as dx/dy + (function of y)·x = (function of y), the equation is linear in x, and this alternate form applies.
Fully worked example: y dx − (x + 2y²)dy = 0
This is NCERT's Example 16. Rearranging:
Dividing both sides by y dy (to isolate dx/dy):
Rearranging to standard form:
Comparing with dx/dy + P₁x = Q₁: here and — both functions of y only, confirming this is linear in x.
(The full solving continuation — finding the integrating factor and the resulting general solution — is carried out in detail in Step-by-Step Method to Solve a Linear Differential Equation, which uses this exact example. For completeness here: the integrating factor turns out to be I.F. = = = 1/y, and the solution proceeds to .)
Key terms
- Linear differential equation in x — an equation of the form dx/dy + P₁x = Q₁, with P₁, Q₁ functions of y only, mirroring dy/dx+Py=Q with x and y's roles exchanged.
- — the coefficient of x, a function of y only.
- — the term on the right-hand side, a function of y only.
Diagram / figure guidance
A side-by-side mirror table: left column "dy/dx + Py = Q" with rows "dependent variable: y", "independent variable: x", "P,Q depend on: x only"; right column "dx/dy + P₁x = Q₁" with rows "dependent variable: x", "independent variable: y", "P₁,Q₁ depend on: y only" — visually emphasising the exact role-swap between the two forms.
Worked example
Rearrange y dx − (x + 2y²)dy = 0 into the standard linear-in-x form, and identify P₁ and Q₁.
(Full working shown above in Core explanation.) Dividing through appropriately gives dx/dy − x/y = 2y, so comparing with dx/dy + P₁x = Q₁ gives and .
Common misconceptions
- "dx/dy + P₁x = Q₁ is a fundamentally different kind of equation from dy/dx + Py = Q." False — it is the exact same linear concept, with the roles of the dependent and independent variable swapped; the solving method (integrating factor) is identical in structure.
- "P₁ and Q₁ can depend on x." False — exactly as P, Q must depend only on x in the standard form, P₁, Q₁ must depend only on y in this alternate form.
- "You should always try to force an equation into dy/dx form, even if dx/dy is more natural." False — recognising when dx/dy + P₁x = Q₁ is the more natural arrangement (as in the y dx − (x+2y²)dy = 0 example) avoids unnecessary algebraic complication.
- "The integrating factor for this form uses ∫P dx like the other form." False — for this alternate form, the integrating factor is (an integral with respect to y), not with respect to x.
Exam application (JEE)
JEE occasionally presents an equation in the "mixed" differential form (like y dx − (x+2y²)dy = 0) specifically to test whether a student recognises it is more easily handled as linear in x rather than forcing a dy/dx rearrangement — correctly identifying P₁ and Q₁ here is the gateway skill before applying the integrating factor.
Frequently asked questions
- What is the alternate form of a linear differential equation? dx/dy + P₁x = Q₁, where P₁ and Q₁ are functions of y only, treating x as the dependent variable.
- How do I know when to use dx/dy + P₁x = Q₁ instead of dy/dx + Py = Q? When rearranging the given equation to isolate dx/dy produces a clean linear form in x (coefficients depending only on y), rather than a clean linear form in y.
- What are P₁ and Q₁ in y dx − (x + 2y²)dy = 0? After rearranging to dx/dy − x/y = 2y, P₁ = −1/y and Q₁ = 2y.
- Is the solving method for this form different from the usual integrating-factor method? No — it uses the same integrating-factor idea, just with the integrating factor computed as instead of .
- Can dx/dy + P₁x = Q₁ equations arise from "accidentally" rearranged dy/dx equations? Yes — many equations that look awkward in dy/dx form (like y dx − (x+2y²)dy = 0) turn out to be cleanly linear once rearranged in terms of dx/dy instead.
Practice questions (original practice questions)
- In dx/dy + 3x = sin y, what are P₁ and Q₁? (a) P₁=3, Q₁=sin y (b) P₁=sin y, Q₁=3 (c) P₁=3x, Q₁=sin y (d) P₁=1, Q₁=3 sin y Ans (a). Comparing directly with dx/dy+P₁x=Q₁, P₁=3 and Q₁=sin y.
- The equation y dx + x dy = y² dy can be rearranged to the linear-in-x form as: (a) dx/dy + x/y = y (b) dx/dy − x/y = y (c) dx/dy + y/x = y (d) dx/dy = y² − x Ans (a). Dividing through by y dy: dx/dy = (y² dy − x dy)/(y dy)... rearranging y dx = (y²−x) dy gives dx/dy = y − x/y, i.e. dx/dy + x/y = y.
- For dx/dy + P₁x = Q₁, which of the following must be true? (a) P₁, Q₁ must be functions of x only (b) P₁, Q₁ must be functions of y only (c) P₁ must be constant (d) Q₁ must be zero Ans (b). By definition of this alternate linear form, P₁ and Q₁ must depend only on y, mirroring how P, Q depend only on x in the usual form.
- What integrating factor is used to solve dx/dy + P₁x = Q₁? (a) (b) (c) (d) Ans (b). The integrating factor for this form is computed as an integral of P₁ with respect to y, i.e. .
- Rearranging y dx − (x+2y²)dy = 0, what is the correct standard linear-in-x form? (a) dx/dy − x/y = 2y (b) dx/dy + x/y = 2y (c) dx/dy − 2x/y = y (d) dx/dy + 2x/y = y Ans (a). Dividing (x+2y²)dy = y dx by y dy gives dx/dy = x/y + 2y, i.e. dx/dy − x/y = 2y.
Quick revision
- Alternate form: dx/dy + P₁x = Q₁, with P₁, Q₁ functions of y only — x is now the dependent variable.
- It is the exact mirror of dy/dx + Py = Q, with x and y's roles swapped.
- Recognise it when isolating dx/dy (rather than dy/dx) gives the cleaner linear arrangement.
- NCERT's example: y dx − (x+2y²)dy = 0 rearranges to dx/dy − x/y = 2y, giving P₁=−1/y, Q₁=2y.
- The integrating factor for this form is , an integral with respect to y.
Related articles
- Builds on: Linear Differential Equation: dy/dx + Py = Q
- Next: Integrating Factor of a Linear Differential Equation: Derivation
- Next: Step-by-Step Method to Solve a Linear Differential Equation
- Related topics: Degree of a Differential Equation, Differential Equations with Variables Separable, Exponential Growth: The Law of Natural Growth (Continuous Compounding), Finding the Equation of a Curve from Its Differential Equation, General Solution of a Differential Equation, Historical Note: Leibniz, the Bernoullis, and the Origin of Differential Equations