Step by step
The question
Question: solve dy/dx = 3x² + 2x, with y(2) = 10.
y(2) = 10 is the starting value: when x is 2, y is 10.
1 The idea
dy/dx is only about x.
So y is a function whose derivative is 3x² + 2x: an antiderivative.
2 Integrate both sides
Integrate both sides.
The left side, the integral of dy/dx, is just y.
The power rule backwards: add 1 to the power, divide by the new power.
Each term by its rule, and one + C: the number we cannot see after a derivative.
Tidy the numbers: y = x³ + x² + C.
Careful!
Don't forget + C.
Every number C gives another solution, and we need C to use the starting value.
3 Use the starting value
Put in x = 2 and y = 10.
Work out the numbers: 12.
To get C alone, take away 12 on both sides.
So C = −2.
Put C back.
The answer: y = x³ + x² − 2.
4 Check
Let's check: the derivative of our answer is 3x² + 2x.
The right side again.
Right!
And at x = 2, y is 10: the starting value.
Right!
Let's look back.
First: the idea.
Then: integrate both sides.
Then: use the starting value.
Last: check.