Solving Inhomogeneous equation

  • Thread starter Thread starter darkspym7
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 7K views
darkspym7
Messages
10
Reaction score
0

Homework Statement


Solve the inhomogeneous equation y'' + 4y = 4 with y(0)=0 and y'(0)=0.


The Attempt at a Solution



let Y(t) = A, A being some constant
Y'(t) = 0
Y''(t) = 0

Y''(t)+4Y(t)=4
=> 4Y(t)=4
=> 4A=4
=> A=1
=> y(t)=1
But y(0)=0, so that cannot be correct.

Any tips?
 
Physics news on Phys.org
EnumaElish said:
It looks like y is not a constant function; but a variable function that satisfies y'' + 4y = 4 with y(0)=0 and y'(0)=0.

Yeah, I saw that, but how could I go about solving it if the right hand side is constant?
 
The function [itex]y(t)=1[/itex] is a particular solution. You have to add this to the general solution of the homogeneous equation. Can you find it?