>
Exams
>
Mathematics
>
Differential Equations
>
the general solution of the differential equation
Question:
The general solution of the differential equation \(\frac{dy}{dx} + xy = 4x - 2y + 8\) is
Show Hint
Always try to reduce the given differential equation to linear form and use the integrating factor method.
AP EAPCET - 2025
AP EAPCET
Updated On:
Sep 17, 2025
\(y = 4 - ce^{-\frac{(x+2)^2}{2}}\)
\(y = 8 + ce^{-\frac{x^2}{2} - 2x}\)
\(y = ce^{-(x+2)^2} + x\)
\(y + 2x = ce^{-\frac{x}{2} - 2x}\)
Hide Solution
Verified By Collegedunia
The Correct Option is
A
Solution and Explanation
Rewriting the given equation: \(\frac{dy}{dx} + xy = 4x - 2y + 8\). Rearranging terms: \(\frac{dy}{dx} + xy + 2y = 4x + 8\)
\(\Rightarrow \frac{dy}{dx} + y(x+2) = 4(x+2)\). Now use integrating factor (IF): \(IF = e^{\int (x+2)dx} = e^{\frac{x^2}{2} + 2x}\)
Multiplying through: \(\frac{d}{dx}(ye^{\frac{x^2}{2} + 2x}) = 4(x+2)e^{\frac{x^2}{2} + 2x}\)
Integrating both sides: \(y e^{\frac{x^2}{2} + 2x} = \int 4(x+2)e^{\frac{x^2}{2} + 2x} dx\)
Use substitution \(u = \frac{x^2}{2} + 2x\), so \(du = (x+2)dx\)
Solving the integral yields: \(y = 4 - ce^{-\frac{(x+2)^2}{2}}\)
Download Solution in PDF
Was this answer helpful?
1
0
Top Questions on Differential Equations
Let $ f(x) = x - 1 $ and $ g(x) = e^x $ for $ x \in \mathbb{R} $. If
$\frac{dy}{dx} = \left( e^{-2\sqrt{x}} g\left(f\left(f(x)\right)\right) - \frac{y}{\sqrt{x}} \right), \, y(0) = 0,$
then $ y(1) $ is
JEE Main - 2025
Mathematics
Differential Equations
View Solution
Consider the differential equation \(\frac{dy}{dx} + \frac{y}{x} = 0\). Choose the CORRECT option(s) for the solution \(y\).
GATE CH - 2025
Engineering Mathematics
Differential Equations
View Solution
Write the order of the differential equation \[ \sqrt{1 + \left( \frac{dy}{dx} \right)^2} = \left( \frac{d^2y}{dx^2} \right)^{\frac{3}{2}}. \]
Maharashtra Class XII - 2025
Mathematics & Statistics
Differential Equations
View Solution
If \( y = \sin^{-1} x \), then prove that \( (1 - x^2) \frac{d^2y}{dx^2} - x \frac{dy}{dx} = 0 \).
UP Board XII - 2025
Mathematics
Differential Equations
View Solution
Solve: \( (1 + x^2)\frac{dy}{dx} + 2xy - 4x^2 = 0 \).
UP Board XII - 2025
Mathematics
Differential Equations
View Solution
View More Questions
Questions Asked in AP EAPCET exam
Which of the following enzymatic reaction is not correctly matched with enzyme shown against it in brackets?
AP EAPCET - 2025
Catalysis
View Solution
Which method is used to purify liquids having very high boiling points and liquids which decompose at or below their boiling point?
AP EAPCET - 2025
Organic Chemistry
View Solution
Three blocks A, B and C are arranged as shown in the figure such that the distance between two successive blocks is 10 m. Block A is displaced towards block B by 2 m and block C is displaced towards block B by 3 m. The distance through which the block B should be moved so that the centre of mass of the system does not change is
AP EAPCET - 2025
Centre of mass
View Solution
\[ \left( \sqrt{2} + 1 + i \sqrt{2} - 1 \right)^8 = ? \]
AP EAPCET - 2025
Complex numbers
View Solution
For all $n \in \mathbb{N}$, if $n(n^2+3)$ is divisible by $k$, then the maximum value of $k$ is
AP EAPCET - 2025
Number Systems
View Solution
View More Questions