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

8.5. Example 1

Interactive Audio Lesson

Session 1: Finding the Homogeneous Solution

Unlock the classroom podcast

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

Sarah
SarahInstructor

Today, we will solve the differential equation y′′−y=exy'' - y = e^x. The first step is to find the general solution of the associated homogeneous equation, which is y′′−y=0y'' - y = 0. Can anyone tell me how we can derive the characteristic equation?

Noah
Noah

Isn't it r2−1=0r^2 - 1 = 0?

Sarah
SarahInstructor

Correct! We factor that gives us roots r=1r = 1 and r=−1r = -1. So the general solution to the homogeneous equation is...

Isabella
Isabella

Is it yh(x)=C1ex+C2e−xy_h(x) = C_1 e^x + C_2 e^{-x}?

Sarah
SarahInstructor

Exactly! Great job. Now we have our first solution. Remember, we denote these solutions as y1y_1 and y2y_2. Now let’s move to the next step!

Session 2: Computing the Wronskian

Unlock the classroom podcast

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

Robert
RobertInstructor

Next, we need to find the Wronskian, which will help us evaluate the coefficients for the particular solution. Does anyone remember the formula for the Wronskian?

Akash
Akash

Yes, it’s W=y1y2′−y2y1′W = y_1 y_2' - y_2 y_1'.

Robert
RobertInstructor

That's right! Now can we define y1y_1 and y2y_2 to compute the Wronskian?

Ananya
Ananya

Sure, W=ex(−e−x)−e−x(ex)=−2W = e^x(-e^{-x}) - e^{-x}(e^x) = -2.

Robert
RobertInstructor

Perfect! Now we have W=−2W = -2. It's essential for our next steps.

Session 3: Finding the Particular Solution

Unlock the classroom podcast

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

Sarah
SarahInstructor

Now, onto calculating the derivatives for our particular solution! Who can recall the formulas for u1′u_1' and u2′u_2'?

Noah
Noah

I remember! It’s u1′=−y2g(x)Wu_1' = -\frac{y_2 g(x)}{W} and u2′=y1g(x)Wu_2' = \frac{y_1 g(x)}{W}.

Sarah
SarahInstructor

Exactly! Great memory! Now substituting in our functions, what do we get for u1′u_1'?

Isabella
Isabella

So we have u1′=−e−ximesex−2=12u_1' = -\frac{e^{-x} imes e^x}{-2} = \frac{1}{2}.

Sarah
SarahInstructor

Excellent! Now let's find u2′u_2' using the same steps.

Session 4: Integrating for Coefficients

Unlock the classroom podcast

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

Robert
RobertInstructor

Now, to find u1u_1 and u2u_2, we need to integrate the derivatives we calculated.

Akash
Akash

So, that means u1=∫12 dx=x2u_1 = \int \frac{1}{2} \, dx = \frac{x}{2} and u2=−∫e2x2 dx=−e2x4u_2 = -\int \frac{e^{2x}}{2} \, dx = -\frac{e^{2x}}{4}?

Robert
RobertInstructor

Exactly, nice work! Now, how do we construct the particular solution?

Ananya
Ananya

We combine them: yp=u1y1+u2y2=x2ex−e2x4e−xy_p = u_1 y_1 + u_2 y_2 = \frac{x}{2} e^x - \frac{e^{2x}}{4} e^{-x}.

Robert
RobertInstructor

That's correct! Now we can finalize it and write down the general solution.

Session 5: Finalizing the General Solution

Unlock the classroom podcast

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

Sarah
SarahInstructor

Finally, let's write the general solution for our differential equation. Does anyone want to summarize what we have?

Noah
Noah

We have y(x)=C1ex+C2e−x+x2ex−ex4y(x) = C_1 e^x + C_2 e^{-x} + \frac{x}{2} e^x - \frac{e^{x}}{4}.

Sarah
SarahInstructor

Excellent summary! This solution combines the homogeneous and particular solutions successfully.

Isabella
Isabella

I find it easier to follow the steps when we systematically break it down like this!

Sarah
SarahInstructor

I'm glad to hear that! Remember, each step is important in the method of variation of parameters!