# Solving the Differential Equation (y^2+xy^2)y'=1

In this tutorial we shall solve a differential equation of the form $\left( {{y^2} + x{y^2}} \right)y' = 1$, by using the separating the variables method.

Given the differential equation of the form

This differential equation can also be written as

Separating the variables, the given differential equation can be written as

Keep in mind that in the separating variable technique the terms $dy$ and $dx$ are placed in the numerator with their respective variables.

Now integrating both sides of the equation (i), we have

Using the formulas of integration $\int {\frac{{f'\left( x \right)}}{{f\left( x \right)}}dx = \ln f\left( x \right)}$ and $\int {\frac{1}{x}dx = \ln x}$, we get

This is the required solution of the given differential equation.