# What is a solution to the differential equation dy/dx=2y−1?

What is a solution to the differential equation $\frac{dy}{dx}=2y-1$?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Zackary Galloway
Substituting $z=2y-1$ in $\frac{dy}{dx}=2y-1$
and considering
$\frac{dz}{dx}=2\frac{dy}{dx}$ we have
$\frac{1}{2}\frac{dz}{dx}=z$. Grouping variables
$\frac{dz}{z}=2dx$ and integrating
${\mathrm{log}}_{e}z=2x+{C}_{1}$ or equivalently
$z={C}_{2}{e}^{2x}=2y-1$ and finally
$y=\frac{{C}_{2}{e}^{2x}+1}{2}$
###### Did you like this example?

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee