2nd order differential equations

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order differential equation of the form y'' - 3y' + 2y = e^t with initial conditions y(0) = 0 and y'(0) = -1. Participants are exploring the implications of finding a trivial solution for the homogeneous part of the equation.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the solutions to the homogeneous equation and the particular solution, noting the need to adjust the particular solution due to overlap with the homogeneous solution. Questions arise regarding the implications of finding constants C and A equal to zero, leading to a trivial homogeneous solution.

Discussion Status

Some participants suggest verifying that the general solution satisfies both the initial conditions and the differential equation. There is acknowledgment that the particular solution may also serve as the general solution in this case, raising questions about the validity of the approach used to derive the solution.

Contextual Notes

Participants are considering the implications of the trivial solution in relation to the initial conditions and the structure of the differential equation. There is an ongoing examination of whether the method used could overlook potential errors in the homogeneous equation setup.

pyroknife
Messages
611
Reaction score
4
y''-3y'+2y=e^t y(0)=0 y'(0)=-1

yh=solution to homogeneous equation (y''-3y'+2y=0) = Ce^t+Ae^(2t)
C and A are constants

yp=solution to particular solution (e^t)
yp=ae^t where a is a constant. It turns out that this solves the homogenuous solution so I had to multiply it by a factor of t giving
yp=a*t*e^t
yp'=a(e^t+te^t)
yp''=a(e^t+e^t+te^2)=a(2e^2+te^2)
subsitution this into the original equation gives a=-1. Thus yp=-te^t

the solution is then y(t)=yh+yp=Ce^t+Ae^(2t)-te^t
Now I solve for C and A

0=C+A C=-A
y'(t)=Ce^t+2Ae^(2t)-e^t-te^2
-1=C+2A-1 -1=-A+2A-1 A=0 C=0


The problem with this is when I solve it I get that C=A=0 which means that the homogenuous solution was a TRIVIAL solution. I've never experienced a problem like this yet. Would that just mean the solution is y=yp=-te^2?
 
Physics news on Phys.org
pyroknife said:
y''-3y'+2y=e^t y(0)=0 y'(0)=-1

yh=solution to homogeneous equation (y''-3y'+2y=0) = Ce^t+Ae^(2t)
C and A are constants

yp=solution to particular solution (e^t)
yp=ae^t where a is a constant. It turns out that this solves the homogenuous solution so I had to multiply it by a factor of t giving
yp=a*t*e^t
yp'=a(e^t+te^t)
yp''=a(e^t+e^t+te^2)=a(2e^2+te^2)
subsitution this into the original equation gives a=-1. Thus yp=-te^t

the solution is then y(t)=yh+yp=Ce^t+Ae^(2t)-te^t
Now I solve for C and A

0=C+A C=-A
y'(t)=Ce^t+2Ae^(2t)-e^t-te^2
-1=C+2A-1 -1=-A+2A-1 A=0 C=0


The problem with this is when I solve it I get that C=A=0 which means that the homogenuous solution was a TRIVIAL solution. I've never experienced a problem like this yet. Would that just mean the solution is y=yp=-te^2?

You can check for yourself.
First, verify that your general solution satisifies the initial conditions.
Second, verify that your general solution satisfies the differential equation.

If both check out, you're golden.
 
Mark44 said:
You can check for yourself.
First, verify that your general solution satisifies the initial conditions.
Second, verify that your general solution satisfies the differential equation.

If both check out, you're golden.

Yes, I know that, but in this case the particular solution is also the general solution. The particular solution always solves the differential equation and its initial conditions. Checking that would only prove the particular solution solves the diff eq. If I made a mistake where the homogenuous equation was not = 0, then this method will not let me see that.
 
That all comes out in the wash, so to speak. Again, if your general solution satisfies the initial conditions and the differential equation, it's good.

The complementary function, which is the solution to the homogeneous equation, is a solution to the homogeneous equation for any values of the constants, including the case where both are zero. For your problem, the complementary function was the trivial solution because of the initial conditions.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
Replies
6
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 7 ·
Replies
7
Views
4K