Solving Differential Equations of the Form dy/dx = f(x)
Updated July 2026
This topic introduces the process of finding a function y given its derivative dxdy=f(x). This is a core skill for the ESAT that requires applying the Fundamental Theorem of Calculus to reverse differentiation, managing constants of integration, and using boundary conditions to find particular solutions.
To solve dxdy=f(x) is to find a function y in terms of x such that its derivative is f(x). This is achieved by integrating f(x) with respect to x, resulting in the solution y=∫f(x)dx+c.
Understanding the Problem
When you are asked to solve an expression of the form dxdy=f(x), you are being asked to find what y is when expressed in terms of x. Specifically, you are looking for a function y that, when differentiated, results in f(x). In simpler terms, you must determine what function you would differentiate to arrive at f(x).
Solving Without Additional Conditions
To find y, we integrate both sides of the equation with respect to x. This process relies on the Fundamental Theorem of Calculus, which establishes that integration and differentiation are inverse operations. If you differentiate y and then integrate the result, you return to y (plus a constant).
Example
Solve dxdy=3x2+4x−3
To solve this, we integrate both sides with respect to x:
- Integrating the left-hand side, ∫dxdydx, gives us y.
- Integrating the right-hand side, ∫(3x2+4x−3)dx, gives us x3+2x2−3x+c.
Therefore, the general solution is: y=x3+2x2−3x+c
In this solution, we assume that all constants generated during the integration process are combined into a single constant, written as c on the side of the independent variable x.
Solving With Additional Conditions
In many exam problems, you will be given additional information, such as specific values for y at a given x. These are often referred to as boundary conditions or initial conditions. These values allow you to find the specific value of the constant c. There are two equivalent methods for doing this.
Example
Given y=5 when x=1 and dxdy=3x2+4x−3, find y in terms of x.
Method 1: Using the Constant of Integration
In this method, we first find the general solution as we did above and then substitute the given values to find c.
- From our previous work, we know the general solution is y=x3+2x2−3x+c.
- Substitute x=1 and y=5 into this equation: 5=(1)3+2(1)2−3(1)+c 5=1+2−3+c 5=0+c c=5
- Substitute the value of c back into the general solution: y=x3+2x2−3x+5
Method 2: Definite Integration with Corresponding Limits
Alternatively, we can use the given conditions as limits in a definite integral. We set the bottom limits as the known pair (x=1,y=5) and the top limits as the variables (x=x,y=y).
∫y=5y=ydxdydx=∫x=1x=x(3x2+4x−3)dx
While the notation on the left-hand side is slightly informal (as we are integrating with respect to x but using y limits), it is a practical way to reach the solution. This leads to:
[y]5y=[x3+2x2−3x]1x
Evaluating the limits gives: y−5=(x3+2x2−3x)−(13+2(1)2−3(1)) y−5=(x3+2x2−3x)−(0) y=x3+2x2−3x+5
Both methods are entirely equivalent and will lead to the same particular solution.
Key takeaways
- Solving dxdy=f(x) requires integrating f(x) with respect to x to find y.
- A general solution must always include a constant of integration, c, which represents all possible vertical translations of the function.
- Boundary conditions (specific x and y values) allow you to solve for a unique value of c.
- You can solve for the particular solution either by finding c through substitution or by using definite integration with corresponding limits.
Always perform a quick differentiation of your final answer to ensure it returns the original dxdy expression; this is a foolproof way to check your integration.
The most frequent error is forgetting to write +c in a general solution. Without it, you are only providing one specific case rather than the full set of possible functions.
This process is the simplest form of solving differential equations. It highlights the Fundamental Theorem of Calculus: the integral of a rate of change gives the total change in the function. In Method 2, the expression y−y1=∫x1xf(t)dt explicitly shows y as the accumulation of change from a starting point.
Frequently asked questions
What is the difference between a general solution and a particular solution?
A general solution includes an arbitrary constant c and represents a family of curves. A particular solution is the specific curve found by using given boundary conditions to calculate the exact value of c.
Why do we only add one constant c to the entire equation?
Technically, integrating both sides produces a constant on each side, such as y+c1=f(x)+c2. However, we can subtract c1 from both sides to get y=f(x)+(c2−c1). Since the difference between two constants is just another constant, we write it simply as c on the right-hand side.
Are boundary conditions and initial conditions the same thing?
In the context of the ESAT, they are used interchangeably to describe numerical values provided to find the constant c. Strictly speaking, initial conditions refer to values at x=0 (often representing time t=0), while boundary conditions can be values at any point.
Ready to test your knowledge?
You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.