Steply

Check a solution

Differential Equations · 20 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Find the derivatives
  2. Put them in
  3. Compare the sides
  4. Check

The steps for Is y = e^(3x) a solution of y' = 3y. Every solution names its steps, so you always know what comes next.

Worked examples

Is y = e^(3x) a solution of y' = 3y Easy

The question

Question: check if y = e^(3x) solves y′ = 3y.

y = e^(3x)

y′ = 3y is a differential equation: an equation with a derivative in it.

y′ = 3y

Its answer is not a number.

It is a function y, and it must make the equation true for every x.

differential equation: an equation with a derivative
its answer: a function y, true for every x

1 Find the derivatives

The derivative of e^(3x) is 3e^(3x).

y′ = 3e^(3x)

The rules we use: the chain rule brings the number in front down.

(e^(kx))′ = ke^(kx)

Careful!

The chain rule!

Times the inside's slope, 3.

Careful: not (e^(3x))′ = e^(3x) ✗

2 Put them in

Now put y and y′ into the equation, in place of the letters.

3e^(3x) = 3 × e^(3x)

Multiply out and add like terms.

3e^(3x) = 3e^(3x)

3 Compare the sides

Both sides are the same, for every x.

So y = e^(3x) is a solution.

= yes: y = e^(3x) is a solution

4 Check

Let's check with one number, x = 1.

A calculator gives 60.26 on both sides.

Right!

x = 1: left ≈ 60.26, right ≈ 60.26

Let's look back.

First: find the derivatives.

Then: put them in.

Then: compare the sides.

Last: check.

Answer
= yes: y = e^(3x) is a solution

▶ Watch it solved

Check that y = sin(2x) solves y'' + 4y = 0 Medium

The question

Question: check if y = sin(2x) solves y″ + 4y = 0.

y = sin(2x)

y″ + 4y = 0 is a differential equation: an equation with a derivative in it.

y″ + 4y = 0

Its answer is not a number.

It is a function y, and it must make the equation true for every x.

differential equation: an equation with a derivative
its answer: a function y, true for every x

1 Find the derivatives

The derivative of sin(2x) is 2cos(2x).

y′ = 2cos(2x)

The rules we use: the chain rule brings the number in front down.

(sin(bx))′ = b cos(bx)

Careful!

The chain rule!

Times the inside's slope, 2.

Careful: not (sin(2x))′ = cos(2x) ✗

Once more: y″ is the derivative of y′.

It is −4sin(2x).

y″ = −4sin(2x)

2 Put them in

Now put y, y′ and y″ into the equation, in place of the letters.

−4sin(2x) + 4 × sin(2x) = 0

Multiply out and add like terms.

On the left, everything cancels: 0.

0 = 0

3 Compare the sides

Both sides are the same, for every x.

So y = sin(2x) is a solution.

= yes: y = sin(2x) is a solution

4 Check

Let's check with one number, x = 1.

A calculator gives 0 on both sides.

Right!

x = 1: left ≈ −3.64 + 3.64 = 0, right ≈ 0

Let's look back.

First: find the derivatives.

Then: put them in.

Then: compare the sides.

Last: check.

Answer
= yes: y = sin(2x) is a solution

▶ Watch it solved

Is y = xe^(2x) a solution of y'' - 4y' + 4y = 0 Harder

The question

Question: check if y = xe^(2x) solves y″ − 4y′ + 4y = 0.

y = xe^(2x)

y″ − 4y′ + 4y = 0 is a differential equation: an equation with a derivative in it.

y″ − 4y′ + 4y = 0

Its answer is not a number.

It is a function y, and it must make the equation true for every x.

differential equation: an equation with a derivative
its answer: a function y, true for every x

1 Find the derivatives

The derivative of xe^(2x) is e^(2x) + 2xe^(2x).

y′ = e^(2x) + 2xe^(2x)

The rules we use.

A product needs the product rule.

(e^(kx))′ = ke^(kx)
(xⁿ)′ = nxⁿ⁻¹
(uv)′ = u′v + uv′

Careful!

The chain rule!

Times the inside's slope, 2.

Careful: not (e^(2x))′ = e^(2x) ✗

Once more: y″ is the derivative of y′.

It is 4e^(2x) + 4xe^(2x).

y″ = 4e^(2x) + 4xe^(2x)

2 Put them in

Now put y, y′ and y″ into the equation, in place of the letters.

4e^(2x) + 4xe^(2x) − 4(e^(2x) + 2xe^(2x)) + 4 × xe^(2x) = 0

Multiply out and add like terms.

On the left, everything cancels: 0.

0 = 0

3 Compare the sides

Both sides are the same, for every x.

So y = xe^(2x) is a solution.

= yes: y = xe^(2x) is a solution

4 Check

Let's check with one number, x = 1.

A calculator gives 0 on both sides.

Right!

x = 1: left ≈ 59.11 − 88.67 + 29.56 = 0, right ≈ 0

Let's look back.

First: find the derivatives.

Then: put them in.

Then: compare the sides.

Last: check.

Answer
= yes: y = xe^(2x) is a solution

▶ Watch it solved

Practice

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

Easy

  1. is y = e^(3x) a solution of y' = 3y
    Answer
    = yes: y = e^(3x) is a solution
  2. is y = e^(-2x) a solution of y' = -2y
    Answer
    = yes: y = e^(−2x) is a solution
  3. is y = x^2 + 3 a solution of y' = 2x
    Answer
    = yes: y = x² + 3 is a solution
  4. is y = x^3 + 5 a solution of y' = 3x^2
    Answer
    = yes: y = x³ + 5 is a solution
  5. is y = x^2 a solution of y' = 2y
    Answer
    = no: y = x² is not a solution
  6. is y = 4e^(5x) a solution of y' = 5y
    Answer
    = yes: y = 4e^(5x) is a solution
  7. is y = e^(2x) a solution of y' = 3y
    Answer
    = no: y = e^(2x) is not a solution
  8. is y = 3x^2 - 1 a solution of y' = 6x
    Answer
    = yes: y = 3x² − 1 is a solution

Medium

  1. check that y = sin(2x) solves y'' + 4y = 0
    Answer
    = yes: y = sin(2x) is a solution
  2. check that y = cos(3x) solves y'' + 9y = 0
    Answer
    = yes: y = cos(3x) is a solution
  3. is y = cos(3x) a solution of y'' + 4y = 0
    Answer
    = no: y = cos(3x) is not a solution
  4. is y = 2e^(-x) + 3 a solution of y' + y = 3
    Answer
    = yes: y = 2e^(−x) + 3 is a solution
  5. does y = x^3 solve xy' = 3y
    Answer
    = yes: y = x³ is a solution
  6. is y = e^(2x) a solution of y'' - 5y' + 6y = 0
    Answer
    = yes: y = e^(2x) is a solution
  7. is y = e^(4x) a solution of y'' - 5y' + 6y = 0
    Answer
    = no: y = e^(4x) is not a solution
  8. is y = x^4 a solution of xy' = 4y
    Answer
    = yes: y = x⁴ is a solution

Harder

  1. is y = xe^(2x) a solution of y'' - 4y' + 4y = 0
    Answer
    = yes: y = xe^(2x) is a solution
  2. is y = e^(-x)sin(2x) a solution of y'' + 2y' + 5y = 0
    Answer
    = yes: y = e^(−x)sin(2x) is a solution
  3. is y = 3e^(2x) - e^(3x) a solution of y'' - 5y' + 6y = 0
    Answer
    = yes: y = 3e^(2x) − e^(3x) is a solution
  4. is y = x^2 + 2x a solution of xy' = 2y
    Answer
    = no: y = x² + 2x is not a solution