# How to Solve a Math Problem

There are three steps to solving a math problem.

1. Figure out what the problem is asking.

2. Solve the problem.

## Sample Problem

Find

1. Figure out what the problem is asking.

The problem is asking us to find the family of all functions with derivative x3 sin x. That means we need to use some of our integration techniques.

2. Solve the problem.

We can't use substitution, we can't use partial fractions, and we certainly can't just think backwards from this. That leaves integration by parts.

We want u' to be simpler than u, so take

u = x3

v' = sin x.

Then

u' = 3x2

v = -cos x

Apply the magic formula:

To find

we need to use integration by parts again. We still want u' to be simpler than u, so take

u = x2

v' = cos x

u' = 2x

v = sin x

Apply the magic formula:

To find

we need to use integration by parts yet again. Take

u = x

v' = sin x

u' = 1

v = -cos x

Then apply the formula again:

Now we can go up a step and finish our second integration by parts.

Finally we go back up to the first integration by parts: