Steply

Initial value problems

Calculus 1 · 22 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Find the antiderivative
  2. Find C
  3. Write the function
  4. Check

The steps for f′(x) = 2x, f(0) = 4, find f(x). Every solution names its steps, so you always know what comes next.

Worked examples

f′(x) = 2x, f(0) = 4, find f(x) Easy

The question

Question: find f(x), if f′(x) = 2x and f(0) = 4.

f′(x) = 2x

1 Find the antiderivative

Go backwards: the antiderivative.

Add 1 to each power, divide by the new power.

And + C.

f(x) = 2 × x22 + C

Now we have f(x) = x² + C.

= x2 + C

Every antiderivative has + C.

The point will tell us what C is.

+ C: we do not know it yet

2 Find C

Put in x = 0.

f(0) = 02 + C

The other terms are 0 at x = 0.

So C = 4.

C = 4

3 Write the function

So f(x) = x² + 4.

f(x) = x2 + 4

4 Check

Let's check: its derivative is 2x, the slope we were given.

f′(x) = 2x

And at x = 0 it gives 4.

Right!

x = 0: 0 + 4 = 4

Let's look back.

First: find the antiderivative.

Then: find C.

Then: write the function.

Last: check.

Answer
f(x) = x2 + 4

▶ Watch it solved

f′(x) = 3x^2 + 2, f(1) = 4, find f(x) Medium

The question

Question: find f(x), if f′(x) = 3x² + 2 and f(1) = 4.

f′(x) = 3x2 + 2

1 Find the antiderivative

Go backwards: the antiderivative.

Add 1 to each power, divide by the new power.

And + C.

f(x) = 3 × x33 + 2x + C

Now we have f(x) = x³ + 2x + C.

= x3 + 2x + C

Every antiderivative has + C.

The point will tell us what C is.

+ C: we do not know it yet

2 Find C

Put in x = 1.

f(1) = 13 + 2(1) + C

Work it out: 3 + C.

= 3 + C

It must equal 4.

3 + C = 4

Take away 3 on both sides: C = 1.

C = 4 − 3 = 1

Careful!

C is not just the f value.

The other terms at x = 1 are not 0 here.

Careful: not C = 4 ✗

3 Write the function

So f(x) = x³ + 2x + 1.

f(x) = x3 + 2x + 1

4 Check

Let's check: its derivative is 3x² + 2, the slope we were given.

f′(x) = 3x2 + 2

And at x = 1 it gives 4.

Right!

x = 1: 3 + 1 = 4

Let's look back.

First: find the antiderivative.

Then: find C.

Then: write the function.

Last: check.

Answer
f(x) = x3 + 2x + 1

▶ Watch it solved

f′(x) = 6x^2 - 4x, f(1) = 3, find f(x) Harder

The question

Question: find f(x), if f′(x) = 6x² − 4x and f(1) = 3.

f′(x) = 6x2 − 4x

1 Find the antiderivative

Go backwards: the antiderivative.

Add 1 to each power, divide by the new power.

And + C.

f(x) = 6 × x33 − 4 × x22 + C

Now we have f(x) = 2x³ − 2x² + C.

= 2x3 − 2x2 + C

Every antiderivative has + C.

The point will tell us what C is.

+ C: we do not know it yet

2 Find C

Put in x = 1.

f(1) = 2(1)3 − 2(1)2 + C

The other terms are 0 at x = 1.

So C = 3.

C = 3

3 Write the function

So f(x) = 2x³ − 2x² + 3.

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

4 Check

Let's check: its derivative is 6x² − 4x, the slope we were given.

f′(x) = 6x2 − 4x

And at x = 1 it gives 3.

Right!

x = 1: 0 + 3 = 3

Let's look back.

First: find the antiderivative.

Then: find C.

Then: write the function.

Last: check.

Answer
f(x) = 2x3 − 2x2 + 3

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. f′(x) = 2x, f(0) = 4, find f(x)
    Answer
    f(x) = x2 + 4
  2. f′(x) = 2x + 3, f(1) = 6, find f(x)
    Answer
    f(x) = x2 + 3x + 2
  3. f′(x) = 3x^2, f(2) = 10, find f(x)
    Answer
    f(x) = x3 + 2
  4. f′(x) = 4x - 1, f(2) = 9, find f(x)
    Answer
    f(x) = 2x2 − x + 3
  5. dy/dx = 2x + 1, y = 5 when x = 0, find y
    Answer
    y = x2 + x + 5
  6. dy/dx = 6x, y = 1 when x = 1, find y
    Answer
    y = 3x2 − 2
  7. dy/dx = 4x + 3, y = 2 when x = 1, find y
    Answer
    y = 2x2 + 3x − 3
  8. dy/dx = 5 - 2x, y = 7 when x = 2, find y
    Answer
    y = 5x − x2 + 1

Medium

  1. f′(x) = 3x^2 + 2, f(1) = 4, find f(x)
    Answer
    f(x) = x3 + 2x + 1
  2. f′(x) = 6x + 2, f(0) = -3, find f(x)
    Answer
    f(x) = 3x2 + 2x − 3
  3. f′(x) = 4x^3, f(1) = 5, find f(x)
    Answer
    f(x) = x4 + 4
  4. f′(x) = x^2, f(3) = 10, find f(x)
    Answer
    f(x) = x33 + 1
  5. dy/dx = 3x^2 - 2x, y = 4 when x = 2, find y
    Answer
    y = x3 − x2
  6. dy/dx = 10x^4, y = 3 when x = 1, find y
    Answer
    y = 2x5 + 1
  7. dy/dx = x^2 + 1, y = 0 when x = 3, find y
    Answer
    y = x33 + x − 12

Harder

  1. f′(x) = 6x^2 - 4x, f(1) = 3, find f(x)
    Answer
    f(x) = 2x3 − 2x2 + 3
  2. f′(x) = 3x^2 - 4x + 1, f(2) = 5, find f(x)
    Answer
    f(x) = x3 − 2x2 + x + 3
  3. f′(x) = 12x^2 - 2x, f(1) = 1, find f(x)
    Answer
    f(x) = 4x3 − x2 − 2
  4. f′(x) = 8x^3 + 6x, f(-1) = 2, find f(x)
    Answer
    f(x) = 2x4 + 3x2 − 3
  5. dy/dx = 6x^2 - 6x + 5, y = 1 when x = 0, find y
    Answer
    y = 2x3 − 3x2 + 5x + 1
  6. f′(x) = 9x^2 - 4, f(1) = -2, find f(x)
    Answer
    f(x) = 3x3 − 4x − 1
  7. f′(x) = 1 - 3x^2, f(2) = 0, find f(x)
    Answer
    f(x) = x − x3 + 6