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

Solve the following differential equations
`(y- sin x)dx + tan x dy=0, y(0)=0`.

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \((y - \sin x)dx + \tan x \, dy = 0\) with the initial condition \(y(0) = 0\), we will follow these steps: ### Step 1: Rearranging the Equation We start with the given equation: \[ (y - \sin x)dx + \tan x \, dy = 0 \] We can rearrange it as: \[ (y - \sin x)dx = -\tan x \, dy \] Dividing both sides by \(\tan x\): \[ \frac{dy}{dx} = \frac{y - \sin x}{-\tan x} = \frac{\sin x - y}{\tan x} \] ### Step 2: Simplifying the Equation We know that \(\tan x = \frac{\sin x}{\cos x}\), so: \[ \frac{dy}{dx} = \frac{\sin x - y}{\frac{\sin x}{\cos x}} = (\sin x - y) \cdot \frac{\cos x}{\sin x} \] This simplifies to: \[ \frac{dy}{dx} + y \cdot \cot x = \cos x \] where \(\cot x = \frac{\cos x}{\sin x}\). ### Step 3: Identifying p and q We can see that this is a linear first-order differential equation in the standard form: \[ \frac{dy}{dx} + p(x)y = q(x) \] where \(p(x) = \cot x\) and \(q(x) = \cos x\). ### Step 4: Finding the Integrating Factor The integrating factor \(I(x)\) is given by: \[ I(x) = e^{\int p(x) \, dx} = e^{\int \cot x \, dx} \] The integral of \(\cot x\) is \(\ln |\sin x|\), so: \[ I(x) = e^{\ln |\sin x|} = |\sin x| \] Since \(\sin x\) is positive in the interval we are considering, we can write: \[ I(x) = \sin x \] ### Step 5: Multiplying the Equation by the Integrating Factor Now we multiply the entire differential equation by the integrating factor: \[ \sin x \frac{dy}{dx} + y \sin x \cot x = \sin x \cos x \] This simplifies to: \[ \frac{d}{dx}(y \sin x) = \sin x \cos x \] ### Step 6: Integrating Both Sides Now we integrate both sides with respect to \(x\): \[ \int \frac{d}{dx}(y \sin x) \, dx = \int \sin x \cos x \, dx \] The left side gives: \[ y \sin x = \int \sin x \cos x \, dx \] Using the identity \(\sin x \cos x = \frac{1}{2} \sin(2x)\): \[ \int \sin x \cos x \, dx = \frac{1}{2} \int \sin(2x) \, dx = -\frac{1}{4} \cos(2x) + C \] Thus, we have: \[ y \sin x = -\frac{1}{4} \cos(2x) + C \] ### Step 7: Solving for y Now, we can solve for \(y\): \[ y = \frac{-\frac{1}{4} \cos(2x) + C}{\sin x} \] ### Step 8: Applying the Initial Condition We apply the initial condition \(y(0) = 0\): \[ 0 = \frac{-\frac{1}{4} \cos(0) + C}{\sin(0)} \] Since \(\sin(0) = 0\), we need to evaluate the limit as \(x\) approaches \(0\): \[ \lim_{x \to 0} y = \lim_{x \to 0} \frac{-\frac{1}{4} \cos(2x) + C}{\sin x} \] Using L'Hôpital's Rule: \[ \lim_{x \to 0} \frac{-\frac{1}{4}(-2 \sin(2x))}{\cos x} = \lim_{x \to 0} \frac{\frac{1}{2} \sin(2x)}{\cos x} = 0 \] This implies: \[ C = \frac{1}{4} \] ### Final Solution Substituting \(C\) back into our equation: \[ y = \frac{-\frac{1}{4} \cos(2x) + \frac{1}{4}}{\sin x} = \frac{1 - \cos(2x)}{4 \sin x} \] Using the identity \(1 - \cos(2x) = 2 \sin^2 x\): \[ y = \frac{2 \sin^2 x}{4 \sin x} = \frac{\sin x}{2} \] Thus, the solution to the differential equation is: \[ \boxed{y = \frac{\sin x}{2}} \]
Promotional Banner

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise SIX MARK QUESTIONS|4 Videos
  • DIFFERENTIAL EQUATIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise TWO MARK QUESTIONS|6 Videos
  • CONTINUITY AND DIFFERENTIABILTY

    CBSE COMPLEMENTARY MATERIAL|Exercise 4 Marks Questions|36 Videos
  • INTEGRALS

    CBSE COMPLEMENTARY MATERIAL|Exercise SIX MARK QUESTIONS|20 Videos

Similar Questions

Explore conceptually related problems

Solve the following differential equations. dy // dx + y tan x = sin x

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

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

Solve the following differential equations y sec^(2)x dx+(y+7)tanx dy=0

Solve the following differential equations: (dy)/(dx)=y tan x-2sin x

Solve the following differential equations ydx+(x-y^3)dy=0 .

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

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

Solve the following differential equations (x^2-y^2)dx+2xy""dy=0, y(1)=1 .

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

CBSE COMPLEMENTARY MATERIAL-DIFFERENTIAL EQUATIONS-FOUR MARK QUESTIONS
  1. Form the differential equation of the family of parabolas having ve...

    Text Solution

    |

  2. From the differential equation of the family of all parabolas having v...

    Text Solution

    |

  3. Find the differential equation of all the circles which pass thorou...

    Text Solution

    |

  4. From the differential equation of the family of all circles in first q...

    Text Solution

    |

  5. Show that the differential equation (x-y)(dy)/(dx)=x+2yis homogeneous...

    Text Solution

    |

  6. Show that the differential equation (x^2+2xy-y^2)dx+(y^2+2xy-x^2)dy=0 ...

    Text Solution

    |

  7. Solve the following differential equations (dy)/(dx)-2y= cos 3x.

    Text Solution

    |

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

    Text Solution

    |

  9. Solve the following differential equations log((dy)/(dx))=ax+by

    Text Solution

    |

  10. Solve the following differential equations (x^3+y^3)dx= (x^2y+xy^2)d...

    Text Solution

    |

  11. Solve the differential equation x dy-y dx=sqrt(x^(2)+y^(2)) dx.

    Text Solution

    |

  12. Solve the following differential equations y{x cos (y/x)+y sin (y/x)...

    Text Solution

    |

  13. Solve the differential equation x^2dy+y(x+y)dx=0, given that y=1\ w h ...

    Text Solution

    |

  14. Solve the following differential equations xe^(y/x)-y+x(dy)/(dx)=0" ...

    Text Solution

    |

  15. Solve the following differential equations (x^3-3xy^2)dx=(y^3-3x^2y)...

    Text Solution

    |

  16. Solve the differential equation (dy)/(dx)-y/x+cosecy/x=0, given that y...

    Text Solution

    |

  17. Solve the following differential equation: cos^2\ x(dy)/(dx)+y=tan\ x

    Text Solution

    |

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

    Text Solution

    |

  19. Solve the following differential equation: (1+e^(x//y))dx+e^(x//y)(1-x...

    Text Solution

    |

  20. Solve the following differential equations (y- sin x)dx + tan x dy=0...

    Text Solution

    |