What happens when a boundary condition is included?

In summary: In fact, for all values of σ, f(x) = cos(σx) satisfies the condition f(0) = 0. Sorry for the confusion. The correct summary would be: "In summary, sines and cosines are solutions of the differential equation f''(x) = (-σ^2)f(x). With a boundary condition of g(0) = 0, only the solution f(x) = sin(σx) will work, as cos(σx) does not satisfy this condition. However, for all values of σ, the solution f(x) = cos(σx) satisfies the condition f(0) = 0."
  • #1
cytochrome
166
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
  • #2
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 σ.
 
  • #3
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 ?
 
  • #4
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.
 

FAQ: What happens when a boundary condition is included?

What are differential equations?

Differential equations are mathematical equations that describe how a physical quantity changes over time with respect to other variables. They involve derivatives, which represent the rate of change of the quantity being studied.

Why are differential equations important?

Differential equations are important because they are used to model and understand a wide range of phenomena in science and engineering, from population growth to the behavior of electrical circuits. They also provide a powerful tool for making predictions and solving problems in various fields.

What are some common methods for solving differential equations?

There are several methods for solving differential equations, including separation of variables, using integrating factors, and using power series. Other techniques such as Laplace transforms and numerical methods are also commonly used.

Are there applications of differential equations in everyday life?

Yes, there are many applications of differential equations in everyday life. Some examples include predicting population growth, modeling the spread of diseases, predicting weather patterns, and designing electrical circuits.

What are some challenges in solving differential equations?

Solving differential equations can be challenging due to their complex nature and the fact that there is no one-size-fits-all method for solving them. It often requires a combination of analytical and numerical methods, and the solutions can be sensitive to initial conditions and parameters. Additionally, some differential equations may not have an exact analytical solution, requiring approximations or numerical methods to find a solution.

Back
Top