How to Solve a PDE with an External Function?

In summary, the given partial differential equation involves a boundary value problem and an initial value problem. The solution is sought when $g(t)=\cos wt$ and $f(x)=0.$ The concept of primitive is used to show that $v=u-G(t)$ does not satisfy the initial value boundary problem.
  • #1
Markov2
149
0
Consider the equation

$\begin{aligned} & {{u}_{t}}=K{{u}_{xx}}+g(t),\text{ }0<x<L,\text{ }t>0, \\
& {{u}_{x}}(0,t)={{u}_{x}}(L,t)=0,\text{ }t>0 \\
& u(x,0)=f(x), \\
\end{aligned}
$

a) Show that $v=u-G(t)$ satisfies the initial value boundary problem where $G(t)$ is the primitive of $g(t)$ with $g(0)=0$

b) Find the solution when $g(t)=\cos wt$ and $f(x)=0.$

Attempts:

Okay so I have $g(t)=\displaystyle\int_0^t G(t)\,ds,$ is that how do I need to proceed?
 
Physics news on Phys.org
  • #2
Markov said:
Consider the equation

$\begin{aligned} & {{u}_{t}}=K{{u}_{xx}}+g(t),\text{ }0<x<L,\text{ }t>0, \\
& {{u}_{x}}(0,t)={{u}_{x}}(L,t)=0,\text{ }t>0 \\
& u(x,0)=f(x), \\
\end{aligned}
$

a) Show that $v=u-G(t)$ satisfies the initial value boundary problem where $G(t)$ is the primitive of $g(t)$ with $g(0)=0$

b) Find the solution when $g(t)=\cos wt$ and $f(x)=0.$

Attempts:

Okay so I have $g(t)=\displaystyle\int_0^t G(t)\,ds,$ is that how do I need to proceed?

Hi Markov, :)

"Primitive" means the anti-derivative(Refer this). Therefore, \(G'(t)=g(t)\).

\[v=u-G(t)\]

\[\Rightarrow v_{t}=u_{t}-g(t)\mbox{ and }v_{xx}=u_{xx}\]

Substituting these in the original equation we get, \(v_{t}=Kv_{xx}+2g(t)\). Therefore \(v=u-G(t)\) is not a solution of the given partial differential equation.

Kind Regards,
Sudharaka.
 

FAQ: How to Solve a PDE with an External Function?

What is a PDE with extern function?

A PDE with extern function is a partial differential equation that involves a function which is defined externally and not within the equation itself. This external function can be a known solution, a boundary condition, or a source term.

How is a PDE with extern function different from a regular PDE?

In a regular PDE, all of the functions involved in the equation are explicitly stated within the equation. In a PDE with extern function, at least one of the functions is defined externally and not within the equation itself.

What is the purpose of using an extern function in a PDE?

An extern function allows for more flexibility in solving a PDE, as it allows for the incorporation of known solutions, boundary conditions, or source terms that may not be explicitly stated within the equation. It also simplifies the notation and can make the equation more compact.

Can any PDE be written with an extern function?

Yes, any PDE can be written with an extern function. However, the external function must be compatible with the equation and must satisfy any necessary boundary conditions.

How is an extern function typically incorporated into a PDE?

An extern function is typically incorporated into a PDE by replacing the function within the equation with its external definition. This can simplify the notation and make the equation more compact. However, it is important to ensure that the external function is compatible with the equation and satisfies any necessary boundary conditions.

Similar threads

Replies
3
Views
1K
Replies
7
Views
1K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
3
Views
3K
Replies
5
Views
2K
Replies
2
Views
1K
Back
Top