All courses › Mathematics R2 › Separable equation

Separable equation

A separable equation can be written so that the derivative is a product of something that depends only on xx and something that depends only on yy. You gather yy on one side and xx on the other, and integrate both. The constant is determined by an initial value. For y′=6xy' = 6x the right-hand side does not depend on yy, and integration gives a polynomial. Insert the starting point before you calculate a later value.

∫1g(y) dy=∫f(x) dx\int \frac{1}{g(y)}\,dy = \int f(x)\,dxseparation
y′=6x⇒y=3x2+Cy' = 6x \Rightarrow y = 3x^2 + Ca simple case

Symbols

CCthe constant
f, gf,\ gthe functions of one variable

Example

y′=6xy' = 6x and y(1)=4y(1) = 4. Then y=3x2+Cy = 3x^2 + C, and 3+C=43 + C = 4 gives C=1C = 1. Therefore y(2)=12+1=13y(2) = 12 + 1 = 13.

Integrate both sides before you insert the initial value. The constant comes from the integration.
Practise differential equations for free →

← Equilibrium in a linear equation · Period and amplitude →

Part of Mathematics R2: Differential equations.