What happens when a boundary condition is included?

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 · 1K views
cytochrome
Messages
163
Reaction score
3

Homework Statement


Show that sines and cosines are the solutions of the differential equation

f''(x) = (-σ^2)f(x)

What if a boundary condition is included that g(0) = 0?


Homework Equations


f''(x) = (-σ^2)f(x)


The Attempt at a Solution


Plugging in sin(σx) and cos(σx) yields an equality therefore the expression is true.

I'm just confused about the boundary condition.

If g(0) = 0 then only the sin(σx) works, correct?
 
Physics news on Phys.org
I am assuming that g(0) = 0 stands for f(0) = 0.

The solution f(x) = sin(σx) satisfies the condition that f(0) = 0 for all values of σ. But the solution f(x) = cos(σx) satisfies the given condition only for particular values of σ.
 
cytochrome said:

Homework Statement


Show that sines and cosines are the solutions of the differential equation

f''(x) = (-σ^2)f(x)

What if a boundary condition is included that g(0) = 0?

Homework Equations


f''(x) = (-σ^2)f(x)

The Attempt at a Solution


Plugging in sin(σx) and cos(σx) yields an equality therefore the expression is true.

I'm just confused about the boundary condition.

If g(0) = 0 then only the sin(σx) works, correct?
I hope you mean f(0) = 0 .

Yes, if f(0) = 0, then only sin(σx) works.

cos(σx) does not work for that boundary condition.

grzz said:
I am assuming that g(0) = 0 stands for f(0) = 0.

The solution f(x) = sin(σx) satisfies the condition that f(0) = 0 for all values of σ. But the solution f(x) = cos(σx) satisfies the given condition only for particular values of σ.
@grzz,

For what value of σ will cos(σ∙0) = 0 ?
 
Thanks SammyS for pointing out my mistake.

The last part of my post i.e.'But the solution f(x) = cos(σx) satisfies the given condition only for particular values of σ' is not correct.