The Principle of Superposition for Homogeneous Equations (DiffEq)

_N3WTON_
Messages
350
Reaction score
3

Homework Statement


Verify that [itex]e^x[/itex] and [itex]e^-x[/itex] and any linear combination [itex]c_1e^x + c_2e^{-x}[/itex] are all solutions of the differential equation:
[itex]y'' - y = 0[/itex]
Show that the hyperbolic sine and cosine functions, sinhx and coshx are also solutions

Homework Equations


Principle of Superposition for Homogeneous Equations
[itex]y'' + p(x)y' + q(x)y = 0[/itex]
[itex]y(x) = c_1y_1(x) = c_2y_2(x)[/itex]

The Attempt at a Solution


I am not having any trouble on the first part, here is my solution:
[itex]y_1(x) = e^x[/itex]
[itex]y_2(x) = e^{-x}[/itex]
[itex]y'' - y = 0[/itex]
[itex]y = c_1e^x + c_2e^{-x}[/itex]
[itex]y' = c_1e^x - c_2e^{-x}[/itex]
[itex]y'' = c_1e^x + c_2e^{-x}[/itex]
[itex](c_1e^x + c_2e^{-x}) - (c_1e^x + c_2e^{-x}) = 0[/itex]
[itex]0 = 0[/itex]
Now, on the second part of the problem I run into problems, here is what I have so far:
[itex]y_1(x) = sinh(x)[/itex]
[itex]y_2(x) = cosh(x)[/itex]
[itex]y = c_1cosh(x) + c_2sinh(x)[/itex]
[itex]y' = -c_1sinh(x) + c_2cosh(x)[/itex]
[itex]y'' = -c_1cosh(x) - c_2sinh(x)[/itex]
[itex](-c_1cosh(x) - c_2sinh(x)) - (c_1cosh(x) + c_2sinh(x)) = 0[/itex]
However, the last equation is not true and I am not sure where I went wrong...
 
Last edited:
Physics news on Phys.org
_N3WTON_ said:

Homework Statement


Verify that [itex]e^x[/itex] and [itex]e^-x[/itex] and any linear combination [itex]c_1e^x + c_2e^{-x}[/itex] are all solutions of the differential equation:
[itex]y'' - y = 0[/itex]
Show that the hyperbolic sine and cosine functions, sinhx and coshx are also solutions

Homework Equations


Principle of Superposition for Homogeneous Equations
[itex]y'' + p(x)y' + q(x)y = 0[/itex]
[itex]y(x) = c_1y_1(x) = c_2y_2(x)[/itex]

The Attempt at a Solution


I am not having any trouble on the first part, here is my solution:
[itex]y_1(x) = e^x[/itex]
[itex]y_2(x) = e^{-x}[/itex]
[itex]y'' - y = 0[/itex]
[itex]y = c_1e^x + c_2e^{-x}[/itex]
[itex]y' = c_1e^x - c_2e^{-x}[/itex]
[itex]y'' = c_1e^x + c_2e^{-x}[/itex]
[itex](c_1e^x + c_2e^{-x}) - (c_1e^x + c_2e^{-x}) = 0[/itex]
[itex]0 = 0[/itex]
Now, on the second part of the problem I run into problems, here is what I have so far:
[itex]y_1(x) = sinh(x)[/itex]
[itex]y_2(x) = cosh(x)[/itex]
[itex]y = c_1cosh(x) + c_2sinh(x)[/itex]
[itex]y' = -c_1sinh(x) + c_2cosh(x)[/itex]
[itex]y'' = -c_1cosh(x) - c_2sinh(x)[/itex]
[itex](-c_1cosh(x) - c_2sinh(x)) - (c_1cosh(x) + c_2sinh(x)) = 0[/itex]
However, the last equation is not true and I am not sure where I went wrong...
Your derivative for cosh(x) is wrong. d/dx(cosh(x)) = sinh(x).
 
The derivatives of hyperbolic sinh cosh functions don't have a minus sign like the ordinary sines and cosines do.
 
thank you both...I was so confused for a moment XD
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
981
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K