How to solve an initial value problem by integrating
A derivative tells us how a function changes, but it leaves out any constant. If we also know one value of the function, we can use it to pick out the antiderivative that fits.
Integrate to get the family of solutions
Suppose . Integrating gives . Every choice of gives a line with slope , so we need another piece of information to find the line we want.
Use the initial condition to find C
If , the graph has to pass through . Substitute that input and output into .
The derivative of is , and the value at zero is . Both parts of the initial value problem are satisfied.
Use the same idea when the derivative has several terms
If and , integrate each term. At , the exponential contributes , and the two terms with powers of are zero.
Read dy/dx as the derivative of y
If and , the derivative is already given as a function of . Integrate to get . At , the condition gives .
Differentiate to check , and substitute zero to check .