Find the general solution of the differential equation \(x\dfrac{dy}{dx}+2y=x^2(x\ne 0).\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy recipe and you want to tidy it up before cooking. This equation is like that messy recipe. We tidy it by dividing every part by a small number, making it neat and ready. A special helper number, called an integrating factor, is then multiplied across so both sides become easy to work with. Once tidy, we simply "undo" the operation using integration, like unwrapping a gift to reveal the answer hidden inside.
Answer: The general solution is \[ y = \frac{x^2}{4} + \frac{C}{x^2}, \quad x \ne 0 \] where \( C \) is an arbitrary constant.
A first-order linear differential equation is one that can be written in the standard form \( \frac{dy}{dx} + Py = Q \), where \( P \) and \( Q \) are functions of \( x \) only. The given equation is \( x\frac{dy}{dx} + 2y = x^2 \). It is not yet in standard form because of the coefficient \( x \) in front of \( \frac{dy}{dx} \), so our first job is to divide throughout by \( x \). Once it is in standard form, we compute the integrating factor \( \text{I.F.} = e^{\int P \, dx} \). Multiplying by this factor makes the left side an exact derivative, so we can integrate both sides directly to obtain the general solution.
For \( \frac{dy}{dx} + Py = Q \), the integrating factor is \( \text{I.F.} = e^{\int P \, dx} \), and the solution is \( y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.}) \, dx + C \).
The general solution is \[ y = \frac{x^2}{4} + \frac{C}{x^2}, \quad x \ne 0 \] where \( C \) is an arbitrary constant.
A frequent error is computing the integrating factor before converting to standard form, i.e. using \( P = 2 \) instead of \( P = \frac{2}{x} \). Always divide by the coefficient of \( \frac{dy}{dx} \) first so that \( P \) and \( Q \) are read correctly.
The general solution is \[ y = \frac{x^2}{4} + \frac{C}{x^2}, \quad x \ne 0 \] where \( C \) is an arbitrary constant.
One common mistake: forgetting to divide the entire equation by \( x \) before identifying \( P \) and \( Q \). If you read off \( P = 2 \) and \( Q = x^2 \) directly from \( x\frac{dy}{dx} + 2y = x^2 \) without first dividing by \( x \), you get a wrong integrating factor and an incorrect solution.
Answer: The general solution is \[ y = \frac{x^2}{4} + \frac{C}{x^2}, \quad x \ne 0 \] where \( C \) is an arbitrary constant.
Question: Find the general solution of the differential equation \( x\,\frac{dy}{dx} - 3y = x^4 \), where \( x \ne 0 \).
Solution: Divide throughout by \( x \) to write the equation in standard linear form: \[ \frac{dy}{dx} - \frac{3}{x}\,y = x^3 \] Here \( P(x) = -\dfrac{3}{x} \) and \( Q(x) = x^3 \). Compute the integrating factor: \[ \mu = e^{\int -\frac{3}{x}\,dx} = e^{-3\ln|x|} = e^{\ln|x|^{-3}} = x^{-3} \] Multiply both sides by \( x^{-3} \): \[ x^{-3}\frac{dy}{dx} - 3x^{-4}\,y = 1 \] The left side is the derivative of \( y \cdot x^{-3} \): \[ \frac{d}{dx}\left(y \cdot x^{-3}\right) = 1 \] Integrate both sides with respect to \( x \): \[ y \cdot x^{-3} = \int 1\,dx = x + C \] Multiply through by \( x^3 \) to solve for \( y \): \[ y = x^4 + C\,x^3 \]
Answer: \( y = x^4 + C\,x^3 \)
Question: Find the general solution of the differential equation \( x\,\frac{dy}{dx} + 3y = x^3\ln x \), where \( x > 0 \).
Solution: Divide throughout by \( x \) to write the equation in standard linear form: \[ \frac{dy}{dx} + \frac{3}{x}\,y = x^2\ln x \] Here \( P(x) = \dfrac{3}{x} \) and \( Q(x) = x^2\ln x \). Compute the integrating factor: \[ \mu = e^{\int \frac{3}{x}\,dx} = e^{3\ln x} = x^3 \] Multiply both sides by \( x^3 \): \[ x^3\frac{dy}{dx} + 3x^2\,y = x^5\ln x \] The left side is the derivative of \( y \cdot x^3 \): \[ \frac{d}{dx}\left(y \cdot x^3\right) = x^5\ln x \] Integrate both sides with respect to \( x \): \[ y\,x^3 = \int x^5\ln x\,dx \] Use integration by parts with \( u = \ln x \) and \( dv = x^5\,dx \), so \( du = \dfrac{1}{x}\,dx \) and \( v = \dfrac{x^6}{6} \): \[ \int x^5\ln x\,dx = \frac{x^6}{6}\ln x - \int \frac{x^6}{6}\cdot\frac{1}{x}\,dx = \frac{x^6}{6}\ln x - \frac{1}{6}\int x^5\,dx \] \[ = \frac{x^6}{6}\ln x - \frac{x^6}{36} + C \] Therefore: \[ y\,x^3 = \frac{x^6}{6}\ln x - \frac{x^6}{36} + C \] Divide through by \( x^3 \): \[ y = \frac{x^3}{6}\ln x - \frac{x^3}{36} + C\,x^{-3} \]
Answer: \( y = \dfrac{x^3}{6}\ln x - \dfrac{x^3}{36} + C\,x^{-3} \)
Question: Find the general solution of the differential equation \[ x\,\frac{dy}{dx} - 3y = x^4, \quad x \ne 0. \]
Answer: The general solution is \[ y = x^4 + C\,x^3, \quad x \ne 0, \] where \( C \) is an arbitrary constant.