Analyitical solution to function and second deritive of function

  • Context: Graduate 
  • Thread starter Thread starter munkifisht
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Discussion Overview

The discussion revolves around finding an analytical solution to a boundary value problem (BVP) related to a diffusion reaction equation. Participants are exploring the formulation of the differential equation and its boundary conditions, as well as the implications of these conditions on the solution.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a boundary value problem involving a differential equation of the form v - kv'' = sin(πx) with specified boundary conditions.
  • Another participant clarifies the form of the differential equation as -kv'' + v = sin(πx) and suggests a general solution involving exponential or hyperbolic functions.
  • This second participant proposes looking for a specific solution of the form Asin(πx) + Bcos(πx) and expresses concern about the validity of the boundary conditions given the specified interval.
  • A later reply acknowledges a mistake regarding the interval of the differential equation, confirming it holds between x=0 and x=1, and expresses gratitude for the correction.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the implications of the boundary conditions and the correct formulation of the problem. There is acknowledgment of a mistake regarding the interval, but the overall discussion remains unresolved regarding the analytical solution.

Contextual Notes

There are limitations regarding the assumptions made about the boundary conditions and the behavior of the function outside the specified interval. The discussion highlights the need for clarity on the conditions under which the differential equation is valid.

munkifisht
Messages
5
Reaction score
0
I have the following (fairly simple) boundary value problem and I am trying to find an analytical solution to it, but for the life of me it's not working out. This is part of a larger thing where I'm trying to understand FEM and BVPs. Essentially this is a diffusion reaction problem.

My problem is I have the following (π=pi)

v-kv''=f(x)=sin(πx), x is between 1 and 2
v@x=0 = 0 and v@x=1 = 0

I have some plots but they are not matching my analytical solution (I think my brain has just broken tonight), but if anyone can steer me right I'd be grateful.
 
Physics news on Phys.org
I should also have mentioned k is a constant
 
The differential equation is [itex]-kv''+ v= sin(\pi x)[/itex]? That's a linear equation with constant coefficents. Its characteristic equation is [itex]-kr^2+ 1= 0[/itex] so that [itex]r= \pm 1[/itex] and the general solution is [itex]C_1e^x+ C_2e^{-x}[/itex] (it could also be written as [itex]C_1cosh(x)+ C_2sinh(x)[/itex]).

Look for a specific solution to the entire equation of the form [itex]Asin(\pi x)+ B cos(\pi x)[/itex].

But I am concerned about the information that the differential equation only holds between x= 1 and x= 2, so that the previous solution is valid only between x= 1 and x= 2, while we are given the value of v at x= 0. Not knowing what v is like between 0 and 1, it is impossible to use that information. I suggest you recheck that- either the d.e. holds between 0 and 1 or the boundary values are given at 1 and 2.
 
#sorry, mistake on my part, yes, the equation holds between 0 and 1. Thanks for that, so rusty on differential calculus
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K