ELI5: Explain Like I'm 5

Method of undetermined coefficients

When you want to solve a math problem that involves adding, subtracting, multiplying or dividing, you can use methods you already know to find the answer. But sometimes, you will find math problems that are a bit trickier, and you can't solve them using the normal methods.

For these problems, there's something called the "method of undetermined coefficients." This is a way to figure out the answer using a set of rules that is specifically designed for these tricky problems.

Here's how it works: let's say you have a problem that says "solve for y: 2y + 3y' = 4x + 1." This is what we call a "differential equation" because it involves derivatives (those little apostrophes after the y).

To use the method of undetermined coefficients, you start by guessing what you think the answer will look like. So for our example problem, we might guess that the answer looks like this: y = Ax + B.

Now, we're going to use some rules to figure out what the values of A and B should be. First, we take the derivative of our guess (that's y' = A). Then, we plug both our guess and the derivative into the original equation.

When we do this, we get:

2(Ax + B) + 3(A) = 4x + 1.

We simplify by multiplying everything out:

2Ax + 2B + 3A = 4x + 1.

Now, here's where the rules come in. We need to find values of A and B that will make this equation true for all x values. So we look at the coefficients (the numbers in front of the x and the numbers with no x) and set up a system of equations:

2A = 4
2B + 3A = 1

We solve this system of equations (using the skills we learned in algebra class) to find A = 2 and B = -5/2.

Now we know that the solution to our original differential equation is y = 2x - 5/2.

To sum it up: the method of undetermined coefficients is a way to solve tricky math problems by making an educated guess about what the answer looks like, plugging it back into the original equation, and using a set of rules to find the right values for the variables in the guess.