Integrals as Solutions
When the right side doesn't involve at all, as in or , solving the equation is just integrating. Each integration brings its own constant, which is why you need one starting condition per integration to land on a single answer.
What the symbols mean
- Right side
Depends only on x, never on y, which is what makes plain integration work.
- Constant of integration
One per integration, fixed by an initial condition.
What the symbols mean
- First constant
From integrating y″ once; fixed by a condition on y′, like y′(0).
- Second constant
From integrating again; fixed by a condition on y, like y(0).
Explanation
Integrals as solutions simply means the equation hands you the derivative outright, as a formula with no in it, so you find by undoing the derivative. It's the most direct kind of differential equation there is, and it's exactly what you need for motion: know the speed or acceleration over time and you can recover the position. All we're really saying with is: (the slope of the unknown function) is given as (a formula in alone), so is an antiderivative plus (the constant of integration). It's Calculus 1 wearing a new name, so bear with it.
The simplest differential equations. You've actually been solving these since Calculus 1. If the equation says and doesn't contain , then "find " is the same question as "find an antiderivative of ":
Every antiderivative works, so the general solution is a whole family of curves, each a vertical shift of the others. That makes sense: shifting a curve up or down doesn't change its slope, so the equation can't tell them apart. An initial condition picks one.
Second order: integrate twice. For , integrate once to get (constant ), then again to get (constant ). Two constants need two conditions, typically and . Use right after the first integration, before the second, so you're never solving for two unknowns at once.
A common mistake. It's tempting to integrate twice and write a single at the end, because that's what you do for one antiderivative. It isn't enough. Integrating once gives , and integrating again turns that constant into , a whole term you'd lose. Each integration gets its own constant.
Disguises. Equations rarely arrive tidy. Something like
is still this kind. Multiply through by to get , so and . The unknown function is ; the letters are just labels.
Motion. Velocity is the derivative of position, and acceleration is the derivative of velocity. So if you know the acceleration and where the object starts and how fast it's going, two integrations give its position at every time. That's exactly the case.
See it
Worked examples
Solve with .
- 1
The right side has no in it, so just integrate: .
Solve with and .
- 1
Integrate once: . Then , so .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the general solution of for . Use for the constant.
Find the general solution of , where is a function of (for ). Use for the constant.
Solve with and .
Solve with and .
A car starts from rest and accelerates at m/s² for seconds. How far does it travel in that time?
The hardest one here. Get it, and you've got this lesson.
Solve with and .
Where it's used
Engineers recover a robot arm's position from its accelerometer by integrating twice, and a rocket's altitude from its thrust profile the same way. Each integration needs a starting value, which is why sensors are zeroed before a run.