Step by step
The question
Question: find y, if dy/dx = x² + 1 and y = 0 when x = 3.
1 Find the antiderivative
Go backwards: the antiderivative.
Add 1 to each power, divide by the new power.
And + C.
Now we have y = x³ over 3 + x + C.
Every antiderivative has + C.
The point will tell us what C is.
2 Find C
Put in x = 3 and y = 0.
Work it out: 12 + C.
It must equal 0.
Take away 12 on both sides: C = −12.
Careful!
C is not just the y value.
The other terms at x = 3 are not 0 here.
3 Write the function
So y = x³ over 3 + x − 12.
4 Check
Let's check: its derivative is x² + 1, the slope we were given.
And at x = 3 it gives 0.
Right!
Let's look back.
First: find the antiderivative.
Then: find C.
Then: write the function.
Last: check.