Step by step
The question
Question: check if y = x² + 2x solves xy′ = 2y.
xy′ = 2y is a differential equation: an equation with a derivative in it.
Its answer is not a number.
It is a function y, and it must make the equation true for every x.
1 Find the derivatives
The derivative of x² + 2x is 2x + 2.
The rule we use: the power rule.
2 Put them in
Now put y and y′ into the equation, in place of the letters.
Multiply out and add like terms.
3 Compare the sides
The sides are different.
One number shows it: at x = 1, the left side is 4 and the right side is 6.
Careful!
A solution must work for every x.
One x where it fails is enough to say no.
So y = x² + 2x is not a solution.
4 Check
Let's check with another number, x = 0.5: 1.5 and 2.5.
Different again.
Right!
Let's look back.
First: find the derivatives.
Then: put them in.
Then: compare the sides.
Last: check.