Question:

The general solution of the differential equation $\frac {dy}{dx}+\frac {y}{x}=3x$ is

Updated On: May 19, 2024
  • $y=x+ \frac {c}{x}$
  • $y=x^2 + \frac {c}{x}$
  • $y=x- \frac {c}{x}$
  • $y=x^2 - \frac {c}{x}$
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Given differential equation is $\frac{d y}{d x}+\frac{y}{x}=3 x$ It is a linear differential equation of the form $\frac{d Y}{d x}+P y=Q$ $\therefore P=\frac{1}{x} \text { and } Q=3 x$ $\therefore IF =e^{\int P d x}=e^{\int \frac{1}{x} d x}$ $=e^{\log x}=x$ $\therefore$ Complete solution is $y x=\int 3 x \times x d x +C$...(i) $\Rightarrow y x=3\left[\frac{x^{3}}{3}\right]+C$ $\Rightarrow y=x^{2}+\frac{C}{x}$ Also, E (i) can be written as $y x=\int 3 x \times x dx-C$ $\Rightarrow y x=x^{3}-C$ $\Rightarrow y= x^{2}-\frac{C}{x}$
Was this answer helpful?
1
0

Concepts Used:

Homogeneous Differential Equation

A differential equation having the formation f(x,y)dy = g(x,y)dx is known to be homogeneous differential equation if the degree of f(x,y) and g(x, y) is entirely same. A function of form F(x,y), written in the formation of kF(x,y) is called a homogeneous function of degree n, for k≠0. Therefore, f and g are the homogeneous functions of the same degree of x and y. Here, the change of variable y = ux directs to an equation of the form;

dx/x = h(u) du which could be easily desegregated.

To solve a homogeneous differential equation go through the following steps:-

Given the differential equation of the type