Question on initial value problem

Click For Summary
SUMMARY

The discussion centers on solving the initial value problem (IVP) defined by the differential equation y'' + 4y = 4 with initial conditions y(0) = 1 and y'(0) = 1. The correct approach involves using the complementary solution y = A cos(2x) + B sin(2x) and a particular solution leading to the final answer y(x) = 1 + sin(2x). The confusion arises from incorrect assumptions about the coefficients A and B, particularly the misstatement that A = 1 instead of A = 0, and the incorrect application of initial conditions.

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with initial value problems (IVPs)
  • Knowledge of trigonometric functions and their derivatives
  • Experience with solving differential equations using complementary and particular solutions
NEXT STEPS
  • Review methods for solving second-order linear differential equations
  • Study the method of undetermined coefficients for finding particular solutions
  • Learn about the role of initial conditions in determining constants in differential equations
  • Explore applications of initial value problems in physics and engineering contexts
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are working with differential equations, particularly those focusing on initial value problems and their applications.

cue928
Messages
129
Reaction score
0
I am working on the following initial value problem:

y'' + 4y = 4, y(0) = 1, y'(0) = 1

The method they show is:
(1): y = A cos x + B sin x
A = 1, (2): y = 1 + A cos x + B sin x
y(0) = 1 + A = 0
y'(0) = B = 1
Final answer is y(x) = 1 + sin(x)

The problem I don't see is the first equation (1). I had y = A cos(2x) + B sin(2x) by solving the LHS. The, I am confused on how they proceed with writing the equation (2). I've done IVP's before without problems, so I am confused what I am missing here.
 
Physics news on Phys.org
I'm happy to help out if you correct a few errors first.

In (1): you have written 'A = 1.' But in fact your final answer has A = 0. Are you using 'A' to mean different things?

In (2): we know that y(0) = 1, so it can't be the case that 1 + A = 0.

Finally, your answer y(x) = 1 + sin (x) does not satisfy the equation y'' + 4y = 4.
 
Last edited:
hi cue928! :wink:
cue928 said:
y'' + 4y = 4, y(0) = 1, y'(0) = 1
(2): y = 1 + A cos x + B sin x

yes you're right :smile:

clearly, (2) should be y = 1 + A cos 2x + B sin 2x :redface:
 

Similar threads

Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K