- Foundation
- About 14 min
- 5 practice questions
Finding a curve or a motion from a given rate
Use an indefinite integral and a starting condition to recover a curve from its slope, velocity and position from acceleration, and a cost function from its marginal cost.
If something looks wrong, please tell us.
Differentiation takes a quantity and gives its rate of change. Integration goes the other way: if you know the rate, you can recover the quantity. The constant C in an indefinite integral stands for everything the rate cannot tell you, and one extra piece of information, called an initial or boundary condition, fixes it. This lesson shows three common settings: curves, motion and cost.
Recovering a curve from its slope
If dy/dx = f(x), then y = ∫ f(x) dx = F(x) + C. Many curves have the same slope at every x, differing only by a vertical shift; the condition that the curve passes through a given point selects one of them.
Worked example 1: a curve through a point
A curve has slope dy/dx = 2x + 3 at every point and passes through (1, 6). Integrating, y = x² + 3x + C. Putting x = 1 and y = 6: 6 = 1 + 3 + C, so C = 2. The curve is y = x² + 3x + 2. Check: at x = 1, y = 1 + 3 + 2 = 6.
Motion: acceleration to velocity to position
Position s, velocity v and acceleration a are related by v = ds/dt and a = dv/dt. So going backwards, v = ∫ a dt and s = ∫ v dt. Each integration brings a constant, and you need a condition for each, usually the starting velocity and the starting position.
Worked example 2: from acceleration
A particle has acceleration a = 6t (in suitable units), starts with velocity 2 and starts at position 0 when t = 0. Then v = ∫ 6t dt = 3t² + C₁. With v(0) = 2, C₁ = 2, so v = 3t² + 2. Next s = ∫ (3t² + 2) dt = t³ + 2t + C₂, and s(0) = 0 gives C₂ = 0. So s = t³ + 2t. At t = 2, the velocity is 3(4) + 2 = 14 and the position is 8 + 4 = 12.
Integrate once for each step, and fix each constant with its condition. y′ = f(x) and a point on the curve gives y. a gives v when v(0) is known, and v gives s when s(0) is known.
Worked example 3: two integrations
A curve satisfies d²y/dx² = 6x. At x = 0 its slope is 0 and y = 1. First dy/dx = ∫ 6x dx = 3x² + C₁. The slope is 0 at x = 0, so C₁ = 0. Then y = ∫ 3x² dx = x³ + C₂, and y(0) = 1 gives C₂ = 1. The curve is y = x³ + 1. At x = 2, y = 9.
Worked example 4: marginal cost
Suppose, as an illustration only, the marginal cost of making x items is C′(x) = 20 + 0.2x rupees per item, and the fixed cost is ₹500, meaning C(0) = 500. Then C(x) = 20x + 0.1x² + K. Since C(0) = 500, K = 500, and the total cost is C(x) = 500 + 20x + 0.1x². For x = 10, this is 500 + 200 + 10 = ₹710. The fixed cost is the constant of integration.
Why the constant matters
Without a condition, ∫ f(x) dx is a whole family of curves. For dy/dx = 2x + 3, the curves y = x² + 3x, y = x² + 3x + 2 and y = x² + 3x − 10 are all correct antiderivatives. They are parallel in the sense that you can move one onto another by sliding up or down. A single point fixes which one you mean.
Key takeaways: integrate the rate and use the given condition to find C. For motion integrate twice, fixing a constant at each step. For a cost, the constant is the fixed cost. Check the final formula against the condition and by differentiating.
Check your understanding
-
1. A curve has slope dy/dx = 2x + 3 and passes through (1, 6). What is its equation?
- y = x² + 3x + 2
- y = x² + 3x + 6
- y = x² + 3x
- y = x² + 3x − 2
Show answer
Answer: A. y = x² + 3x + C. At (1, 6): 6 = 1 + 3 + C, so C = 2.
-
2. A particle has acceleration a = 6t, and velocity 2 at t = 0. What is its velocity at t = 2?
- 12
- 26
- 14
- 16
Show answer
Answer: C. v = ∫ 6t dt = 3t² + C. With v(0) = 2, C = 2, so v = 3t² + 2. At t = 2, v = 12 + 2 = 14.
-
3. With a = 6t, v(0) = 2 and s(0) = 0, what is the position at t = 2?
- 8
- 12
- 16
- 20
Show answer
Answer: B. v = 3t² + 2, so s = t³ + 2t + C with C = 0. At t = 2, s = 8 + 4 = 12.
-
4. A curve has d²y/dx² = 6x, slope 0 at x = 0 and y = 1 at x = 0. What is y at x = 2?
- 8
- 7
- 12
- 9
Show answer
Answer: D. dy/dx = 3x² (the constant is 0), so y = x³ + C and y(0) = 1 gives C = 1. At x = 2, y = 8 + 1 = 9.
-
5. Suppose, as an illustration, the marginal cost is C′(x) = 20 + 0.2x rupees and the fixed cost is ₹500. What is the total cost of 10 items?
- ₹700
- ₹710
- ₹220
- ₹720
Show answer
Answer: B. C(x) = 500 + 20x + 0.1x². At x = 10 this is 500 + 200 + 10 = 710 rupees.
Sign in to keep track of the lessons you finish.