Find sol'n of nonhomogenous differential equation

Click For Summary
SUMMARY

The discussion focuses on solving a nonhomogeneous differential equation represented by y'' + y = 3x, with initial conditions y(0) = 2 and y'(0) = -2. The complementary solution is given as yc = c1cos(x) + c2sin(x), while the particular solution is yp = 3x. The user successfully combines these solutions to find the complete solution y = 2cos(x) - 5sin(x) + 3x, confirming that no further work on the roots is necessary since the solutions are provided.

PREREQUISITES
  • Understanding of nonhomogeneous differential equations
  • Familiarity with complementary and particular solutions
  • Knowledge of initial conditions in differential equations
  • Basic concepts of complex numbers in the context of differential equations
NEXT STEPS
  • Study the method of undetermined coefficients for finding particular solutions
  • Learn about the Wronskian and its role in solving differential equations
  • Explore the Laplace transform for solving nonhomogeneous differential equations
  • Review complex roots and their implications in differential equations
USEFUL FOR

Students studying differential equations, educators teaching advanced mathematics, and anyone looking to deepen their understanding of solving nonhomogeneous differential equations.

accountkiller
Messages
118
Reaction score
0

Homework Statement


A nonhomogeneous differential equation, a complimentary solution yc, and a particular solution yp are given. Find a solution satisfying the initial conditions.

y'' + y = 3x, y(0) = 2, y'(0) = -2, yc = c1cos(x) + c2sin(x), yp = 3x.

Homework Equations


y = yp + c1y1 + ... + cnyn


The Attempt at a Solution


So I first tried solving for the associated homogenous equation y'' + y = 0.
Guessing that y = erx, y' = rerx and y'' = r2erx, so
y'' + y = r2erx + erx = erx(r2+1) = 0, so
r2 + 1 = 0...
but that gives me a square root of a negative number for r?

For complex numbers, all I have in my notes from lecture is this example:
y1 = er1x and y2 = er2x with r1 = A + Bi. Solve the DE.
y'' - 2Ay' + (A2 + B2)y = 0.

I'm not sure how to use that.
 
Physics news on Phys.org
Wait, since y = yp + c1y1 + c2y2 and I know what yp and y1 and y2 are, I can just plug it in, use the initial conditions to solve for c1 and c2, and I get the correct answer, which is y = 2cos(x) - 5sin(x) + 3x.

I don't have to do anything with the roots?
In a similar example problem the teacher did, he used roots (although not complex roots like this one has).
 
mbradar2 said:
Wait, since y = yp + c1y1 + c2y2 and I know what yp and y1 and y2 are, I can just plug it in, use the initial conditions to solve for c1 and c2, and I get the correct answer, which is y = 2cos(x) - 5sin(x) + 3x.
Right - they have already told you what the solutions are, so there's no point in doing the work to find them.
mbradar2 said:
I don't have to do anything with the roots?
In a similar example problem the teacher did, he used roots (although not complex roots like this one has).
 

Similar threads

Replies
3
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K