Solving Differential Equations of the Form dy/dx = f(x)
Updated August 2025
Introduction to basic differential equations. Solving these involves reversing differentiation through integration. Learn to find general solutions with constants and particular solutions using boundary conditions, which is essential for solving calculus problems in the TMUA. This topic bridges the relationship between the gradient of a curve and its coordinate equation.
A differential equation is solved by integrating the function with respect to , producing a general solution where is the constant of integration.
What is a Differential Equation?
Solving an equation of the form is essentially asking: what function , when differentiated with respect to , results in the expression ? This is the simplest type of differential equation. In the TMUA, you are expected to understand that this process is the inverse of differentiation, meaning it is solved using integration.
Finding the General Solution
To find the expression for , we integrate both sides of the equation with respect to . Based on the Fundamental Theorem of Calculus, integrating the derivative returns the function . However, because the derivative of any constant value is zero, we must always add a constant of integration, denoted as , to our result.
If we integrate with respect to , we find . While the integration of the derivative returns , we combine all constants generated during the process on the side of the equation as a single constant . This gives us the general solution.
Worked Example
Solve the differential equation:
To find , we integrate the function on the right hand side with respect to :
This expression represents a family of curves that all have the same gradient function but are shifted vertically relative to one another.
Particular Solutions and Boundary Conditions
In many exam questions, additional information is provided, such as a specific point that lies on the curve. These values are known as boundary conditions or initial conditions. They allow us to calculate the specific value of , leading to a particular solution.
Worked Example
Given when and , find in terms of .
We can solve this using two equivalent methods.
Method 1: Algebraic Substitution
First, we find the general solution as shown in the previous example:
Next, we use the boundary condition when to find the value of by substitution:
, which means
Substituting this back into our general solution gives the particular solution:
Method 2: Definite Integration
Alternatively, we can treat when as the lower limits and and as the upper limits in a definite integral. This ensures that the variables correspond to each other exactly:
It is worth noting a slight technicality here: because we are integrating with respect to , the limits on the left hand side should technically be values. However, in practice, it is often easier to write the corresponding values as limits directly, as these are the values we substitute after the integration is performed. Following this through:
Both methods provide the same unique particular solution.
Key takeaways
- Solving involves integrating the function with respect to .
- The general solution must always include a constant of integration to represent the family of possible curves.
- A particular solution is found by using a boundary condition (a given point ) to solve for .
- The Fundamental Theorem of Calculus establishes that integration is the reverse process of differentiation.
- Calculus problems of this type bridge the gap between a curve's gradient and its coordinate equation.
Always check your final particular solution by differentiating it. If you do not get the original back, or if the original boundary point does not satisfy your equation, an error was made during the integration or substitution steps.
A very common mistake is to add the constant at the very end of the calculation rather than immediately after integrating. If you substitute your values before adding , you will not be able to find the correct particular solution.
The differential equation is the simplest form of a first-order differential equation. In more advanced mathematics, you will encounter equations where the derivative depends on both and , requiring more complex techniques like separation of variables.
Worked Examples
Practice Questions
Frequently asked questions
Why is the constant of integration necessary?
Because the derivative of any constant is zero, multiple functions can have the same derivative. For example, and both have the derivative . The constant accounts for all these possible vertical shifts.
What is the difference between a general and a particular solution?
A general solution contains the constant and represents an infinite family of curves. A particular solution uses a specific point to find the exact value of , representing one single, unique curve.
Can I use on both sides of the equation?
While integration on both sides technically produces two constants, they are conventionally combined into a single constant on the side of the independent variable .