AllRounder.ai
Chapters in this course

Enrol to start learning

Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.

Enrol free

7.4. Illustrative Examples

Interactive Audio Lesson

Session 1: Exponential Forcing Function

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

Let's start with our first example which is y′′−3y′+2y = e^x. The first step is to solve the homogeneous part of the equation. Can anyone tell me how to find the complementary function?

Noah
Noah

We need to solve the auxiliary equation, right?

Sarah
SarahInstructor

Exactly! The auxiliary equation is r²−3r+2=0. Now, can anyone factor this equation for me?

Isabella
Isabella

(r−1)(r−2)=0, so the roots are r=1 and r=2.

Sarah
SarahInstructor

Well done! Thus, the complementary function is y_c = C₁ e^x + C₂ e^(2x). Now, for the particular solution, what form do you think we should guess?

Akash
Akash

Since we have e^x, we should try y_p = A x e^x to avoid duplication.

Sarah
SarahInstructor

Right! Now, let’s substitute y_p into the original equation and gather like terms. How do we do that?

Ananya
Ananya

We need to compute the derivatives and substitute them into the left-hand side, then simplify.

Sarah
SarahInstructor

Exactly! After substitution, we find that -Ae^x = e^x, leading to A = -1. Thus, our particular solution is y_p = -x e^x.

Sarah
SarahInstructor

To summarize, our final solution is y(x) = C₁ e^x + C₂ e^(2x) - x e^x. Well done everyone!

Session 2: Polynomial Forcing Function

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Robert
RobertInstructor

Now, let’s look at the second example, y′′ + y = x². What do we do first again?

Noah
Noah

We find the complementary function by solving the homogeneous part.

Robert
RobertInstructor

Correct! The auxiliary equation is r² + 1 = 0. Who can tell me the roots?

Isabella
Isabella

The roots are complex: r = ±i.

Robert
RobertInstructor

Right! So, the complementary function becomes y_c = C₁ cos(x) + C₂ sin(x). Now, for our particular solution, which form will we try?

Akash
Akash

We should guess y_p = Ax² + Bx + C because it’s a polynomial of degree 2.

Robert
RobertInstructor

Exactly! After substituting and simplifying, what do we find when we compare coefficients?

Ananya
Ananya

We find A = 1, B = 0, and C = -2. So y_p = x² - 2.

Robert
RobertInstructor

Exactly! Therefore, our final solution is y(x) = C₁ cos(x) + C₂ sin(x) + x² - 2. Great job!

Session 3: Trigonometric Forcing Function

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

Finally, let’s tackle y′′ + 4y = cos(2x). What’s our first step?

Noah
Noah

We start with the complementary function by solving the homogeneous part.

Sarah
SarahInstructor

Correct again! The auxiliary equation is r² + 4 = 0. What does that give us?

Isabella
Isabella

The roots are r = ±2i.

Sarah
SarahInstructor

Right! So our complementary function is y_c = C₁ cos(2x) + C₂ sin(2x). Now for the particular solution, what should we try?

Akash
Akash

Since cos(2x) is already in y_c, we can try y_p = x(A cos(2x) + B sin(2x)).

Sarah
SarahInstructor

Exactly! Now substitute this into the original equation. What will we have on the left side?

Ananya
Ananya

We’ll differentiate our guess and substitute both derivatives into the equation.

Sarah
SarahInstructor

Right again! After substitution, we will compare coefficients and solve for A and B. This is key to finding our final solution.

Sarah
SarahInstructor

In summary, we need to account for overlaps with y_c and adjust accordingly to solve this trigonometrically infused equation.