Chalk−1

Math · Calculus I · Worked example

Solve an initial-value problem

Find f⁡(x) if f′(x)=3x2+2 and f⁡(1)=5.

f′(x)=3x2+2,f⁡(1)=5

Write the givens

Write the condition f⁡(1)=5 as the first row, then f′(x)=3x2+2 under it. With the condition on a row above, the row that puts it in can be checked.

f⁡(1)=5f′(x)=3x2+2

Antidifferentiate

Every antiderivative of 3x2+2 has the form x3+2⁢x+C. The condition hasn’t been used yet, so C is still unknown. Written as the integral of f′, the row can be checked by differentiating x3+2⁢x+C.

∫(3x2+2)d⁢x=x3+2⁢x+C

Use the condition

Substitute x=1 into the family and set the result equal to the given value 5. f⁡(1) =13+2⁢(1)+C =1+2+C.

1+2+C=5

Solve for C

3+C=5, so C=2. Only this constant puts the curve through the point (1,5). Every other constant shifts it up or down, off the point.

C=2

Write the function

Put C=2 back into the family.

f⁡(x)=x3+2⁢x+2

Check both conditions

The derivative of x3+2⁢x+2 is 3x2+2, and f⁡(1)=1+2+2=5. Both conditions hold.

f⁡(1)=1+2+2=5

Result

f⁡(x)=x3+2⁢x+2.

f⁡(x)=x3+2⁢x+2

Your turn

1. One like the example

Find f⁡(x) if f′(x)=6x2−4⁢x and f⁡(1)=3.

Show the answer and explanation

f⁡(x)=2x3−2x2+3.

Antidifferentiating gives f⁡(x)=2x3−2x2+C. Then f⁡(1)=2−2+C=C, which must be 3. Differentiating 2x3−2x2+3 gives back 6x2−4⁢x.

f⁡(1)=3f′(x)=6x2−4⁢x∫(6x2−4⁢x)d⁢x=2x3−2x2+C2−2+C=3C=3f⁡(x)=2x3−2x2+3f⁡(1)=3

2. A variation

Find f⁡(x) if f′⁢′(x)=12⁢x, f′(0)=1 and f⁡(0)=2. This time there are two constants to find.

Show the answer and explanation

f⁡(x)=2x3+x+2.

Antidifferentiating once gives f′(x)=6x2+C, and f′(0)=C=1. Antidifferentiating 6x2+1 gives f⁡(x)=2x3+x+D, and f⁡(0)=D=2. Each antiderivative brings its own constant, and each condition fixes one.

f′(0)=1f⁡(0)=2f′′(x)=12⁢xf′(x)=6x2+CC=1f′(x)=6x2+1f⁡(x)=2x3+x+DD=2f⁡(x)=2x3+x+2

3. Somewhere new

A ball is thrown upward at 20 m⁢/⁢s from a height of 2 m, so its velocity is h′(t)=20−9.8⁢t m⁢/⁢s. Find its height h⁢(t), and its height after 2 s.

Show the answer and explanation

h⁢(t)=2+20⁢t−4.9t2 meters, and h⁢(2)=22.4 m.

Height is an antiderivative of velocity, h⁢(t)=20⁢t−4.9t2+C. The starting height h⁢(0)=0−0+C=2 gives C=2. Then h⁢(2) =2+40−19.6 =22.4 m. The ball is near its highest point, which comes at t=20⁢/9.8≈2.04 s.

h⁢(0)=2h′(t)=20−9.8⁢t∫(20−9.8⁢t)d⁢t=20⁢t−4.9t2+C0−0+C=2C=2h⁢(t)=2+20⁢t−4.9t2h⁢(2)=22.4

Keep exploring

In Math, change the last row to f⁡(1)=6 and the box marks it wrong. Only C=2 fits: every other constant shifts the curve up or down, off the point (1,5).

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the function in Math Study the 5 key terms Open worked example on a board Antiderivative power rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.