Home
Class 12
MATHS
Solve the following differential equati...

Solve the following differential equations :
`x (dy)/(dx)=y-x`

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \( x \frac{dy}{dx} = y - x \), we will follow these steps: ### Step 1: Rearranging the Equation We start with the given equation: \[ x \frac{dy}{dx} = y - x \] We can rearrange this to express \(\frac{dy}{dx}\): \[ \frac{dy}{dx} = \frac{y}{x} - 1 \] ### Step 2: Homogeneous Differential Equation The equation \(\frac{dy}{dx} = \frac{y}{x} - 1\) is a homogeneous differential equation. We can use the substitution \(y = tx\), where \(t = \frac{y}{x}\). ### Step 3: Differentiating the Substitution Differentiating \(y = tx\) with respect to \(x\) using the product rule gives: \[ \frac{dy}{dx} = x \frac{dt}{dx} + t \] ### Step 4: Substitute into the Equation Substituting \(\frac{dy}{dx}\) and \(y\) into the rearranged equation: \[ x \frac{dt}{dx} + t = t - 1 \] This simplifies to: \[ x \frac{dt}{dx} = -1 \] ### Step 5: Separating Variables We can separate the variables: \[ dt = -\frac{1}{x} dx \] ### Step 6: Integrating Both Sides Now we integrate both sides: \[ \int dt = -\int \frac{1}{x} dx \] This results in: \[ t = -\log|x| + C \] ### Step 7: Substituting Back Recall that \(t = \frac{y}{x}\), so we substitute back: \[ \frac{y}{x} = -\log|x| + C \] Multiplying through by \(x\) gives: \[ y = -x \log|x| + Cx \] ### Final Solution Thus, the solution to the differential equation is: \[ y = -x \log|x| + Cx \]
Doubtnut Promotions Banner Mobile Dark
|

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (i) Long Answer Type Questions (II)|7 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (j) Long Answer Type Questions (I)|11 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (i) Short Answer Type Questions|12 Videos
  • DETERMINANTS

    MODERN PUBLICATION|Exercise Chapter test 4|12 Videos
  • INTEGRALS

    MODERN PUBLICATION|Exercise COMPETITION FILE|24 Videos

Similar Questions

Explore conceptually related problems

Solve the following differential equations: x(dy)/(dx)=x+y

Solve the following differential equations : (dy)/(dx)+y=x .

Solve the following differential equation: (x+y)(dy)/(dx)=4x+y

Solve the following differential equation: (x-y)(dy)/(dx)=x+2y

Solve the following differential equations : x (dy)/(dx)+2y=x^(2)(x !=0)

Solve the following differential equations x cos x (dy)/(dx)+y(x sin x+ cos x)=1 .

Solve the following differential equations : cos x (dy)/(dx)+y= sin x .

Solve the following differential equations : tan x (dy)/(dx)+2y= cos x .

Solve the following differential equation: x(dy)/(dx)=y=y^(2)

Solve the following differential equations : (dy)/(dx)+3y=2x .