Skip to content

Search topics

Practise for free Sign in

Calculator Differentiation

Separable differential equation solver

In one sentence

Solves dy/dx = ky with an initial value.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Separable differential equation solver

Formula ref
y = y₀e^(k(x − x₀))
Topic
Differentiation

Inputs

  • k, x₀, y₀

Worked input

  • Input dy/dx = 0.5y, y = 8 at x = 0.
  • y = 8e^(0.5x).
  • At x = 3: y = 35.854.
  • Take dy/dx = 2y with y = 3 at x = 0, the plain exponential case. The solution is y = 3e^(2x), and at x = 1 it gives y = 22.1672. Separating the variables and integrating gives an exponential, and the initial condition fixes the constant, so the solution passes through the given point exactly. Check: at x = 0 the formula returns 3, the starting value, and the growth is faster than doubling per unit because e² is above 7.
  • Take dy/dx = −0.3y with y = 50 at x = 0, where k is negative, so y decays. The solution is y = 50e^(−0.3x), and at x = 5 it gives y = 11.1565. A negative constant of proportionality makes the solution decay towards zero without ever reaching it, and the value at a later point is the starting value times a decay factor. Check: the solution falls from 50 towards zero but never reaches it, and e^(−1.5) is about 0.22, so the value is a little over a fifth of 50.
  • Take dy/dx = 0.5y with y = 4 at x = 2, where the initial condition is not at x = 0, so the exponent uses x − 2. The solution is y = 4e^(0.5(x − 2)), and at x = 6 it gives y = 29.5562. When the initial condition is not at x equal to zero the exponent uses the difference from that point, and forgetting to shift it is a standard mistake in this type of question. Check: at x = 2 the exponent is zero and y = 4, and at x = 6 the exponent is 2, so y = 4e², which is the value shown.

How to use it

  • Enter k and the initial condition.

Separable differential equation solver for your study of A-level maths, with its source.

Related pages include Solve e^(kx) = b, Solve aˣ = b, Exponential growth and decay calculator and Logarithm change of base calculator.

Study brief

  • Students studying for the a level maths must learn to evaluate analytical solutions for simple first order differential equations with continued separable variables. This process involves separation of variables, which may necessitate factorisation using a common factor. A key part of this topic is finding particular solutions and sketching members of the family of solution curves. When solving these equations, it is important to consider the validity of the solution for large values. Differential equations can be constructed in pure mathematics or in various contexts, such as kinematics or population growth. For instance, a model might describe the rate of decrease of the radius of a mint being inversely proportional to the square of the radius. When performing indefinite integration, remember that a constant of integration is required. Specific integration techniques include using partial fractions for rational expressions where the denominator is linear, such as 2/(3x + 5). Other rational expressions, like 2/(x + 5)(2x − 1), also require integration. Mastery of these methods is essential for interpreting solutions within a given problem and identifying potential limitations.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction