Initial value nonhomogeneous DE

Click For Summary

Homework Help Overview

The problem involves solving a nonhomogeneous third-order differential equation of the form (D^3 - D^2 + D - 1)y = e^x with specified initial conditions y(0) = 0, y'(0) = 1, and y''(0) = 0. The subject area is differential equations, specifically focusing on methods for solving nonhomogeneous equations and applying initial conditions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to factor the left side of the equation and apply the method of undetermined coefficients. They explore the roots of the characteristic equation and derive a particular solution. Some participants question the correctness of the approach and suggest verifying the solution by substitution back into the original equation.

Discussion Status

The discussion includes attempts to verify the solution and check the boundary conditions. Some participants express uncertainty about the correctness of the original poster's solution, while others affirm that the approach appears reasonable. There is no explicit consensus, but guidance on checking the work has been provided.

Contextual Notes

The original poster's solution process involves multiple steps and calculations, which may be subject to scrutiny. The discussion reflects a collaborative effort to ensure understanding and accuracy without providing direct solutions.

jbord39
Messages
74
Reaction score
0

Homework Statement



(D^3 - D^2 + D - 1)y = e^x

and y(0) = 0, y'(0) = 1, y"(0) = 0

Homework Equations



D = d/dx

The Attempt at a Solution



Factoring the left side of the equation gives :
(D^2 + 1)(D - 1)y = e^x

Which has roots of +/- i and 1.
So y(c) = Ae^x + Bsin(x) + Ccos(x)

The annihilator for e^x is (D-1)
and y(p) = Dxe^x = e^x[Dx]
So y(p)' = D[xe^x + e^x] = e^x[D(x+1)]
y(p)" = D[xe^x + 2e^x] = e^x[D(x+2)]
y(p)"' = D[xe^x + 3e^x] = e^x[D(x+3)]

Plugging into y"' - y" + y' -y = e^x
and dividing by e^x yields:

2D = 1 ; or D = (1/2)

So now y = Ae^x + Bsin(x) + Ccos(x) + (1/2)xe^x

Plugging into initial conditions:
y(0) = A + C = 0 ; OR A = -C

Now y' = Ae^x + Bcos(x) - Csin(x) + (1/2)(xe^x + e^x)
and y'(0) = 1 = A + B + (1/2)(0 + 1)
or A + B = (1/2)

Now y" = Ae^x - Bsin(x) - Ccos(x) + (1/2)(xe^x + 2e^x)
and y"(0) = 0 = A - C + (1/2)(0 + 2)
or A - C + 1 = 0

Solving for A, B, and C yields:
A = (-1/2)
B = 1
C = (1/2)

The solution is therefore:

y = (-1/2)e^x + sin(x) + (1/2)cos(x) + (1/2)xe^x

Does this look correct?

Thanks a bunch
 
Physics news on Phys.org
Anyone know if I'm in the right direction?
 
Bump.
 
It looks fine. You know you can check your own work by taking the y you get and substituting back into the original ODE? That is satisfies the boundary conditions isn't hard to check either?
 
Dick said:
It looks fine. You know you can check your own work by taking the y you get and substituting back into the original ODE? That is satisfies the boundary conditions isn't hard to check either?

Thanks, it makes sense but I did not think of that.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K