Wize University Calculus 1 Textbook > Integrals
Initial Conditions

Initial Conditions
We don't always get unique answers for ∫f(x)dx. Instead we get F(x)+C. If we are given some initial conditions for the function, we can find this constant by substituting the coordinates and solving for C .
Finding f(x) from f'(x)
To recover f(x) from f′(x), givenf(a)=b:
- Antiderive f′(x)to obtain f(x). (Don't forget +C)
- Substitute f(a)=b to solve for C.
- Rewrite f(x) with the value ofC.
Finding f(x) from f''(x)
To recover f(x) from f′′(x), given two initial conditions, we have to integrate twice:
- Antiderive f′′(x) to obtain f′(x). (Don't forget +C)
- Antiderive f′(x) to obtain f(x).
- The second time we antiderive we pick up another constant of integration D , and we get Cx+D.
- Substitute the given conditions to find C and D.
- Rewrite f(x)with the values of C and D.

Example: Initial Conditions
Find f(x) if f(0)=1 and f′(x)=x2+x.
f(x)=∫(x2+x)dx
f(x)=3x3+2x2+C
Now substitutte the intial condition f(0)=1
⟹303+202+C=1
⟹C=1
f(x)=3x3+2x2+1