2.4 Green’s Functions
Green's functions for second-order boundary value problems: construction from two one-sided solutions, the jump condition, symmetry, the solution formula $u=\int G f$ and when it exists, the Fredholm alternative and the modified Green's function, eigenfunction expansions of $G$, and Green's functions for initial value problems and higher-order equations.
Hang a weight on a taut string at the point $t$: the string bends into a tent, straight on either side of the load, with a kink under it. Load the string everywhere with force density $f(x)$ and, because the deflection depends linearly on the load, the result is the superposition of tents — one for each element $f(t)\,dt$ of the load: $$u(x)=\int_0^1G(x,t)\,f(t)\,dt,$$ where $G(x,t)$ is the deflection at $x$ caused by a unit load at $t$. This kernel is the Green's function of the boundary value problem, named after George Green, a self-taught miller from Nottingham who introduced it in 1828 for electrostatics. It is the continuous analogue of an inverse matrix: if the boundary value problem is "$Au=f$", then $G$ is the matrix of $A^{-1}$, with $x$ the row index and $t$ the column index.
Green's functions turn a differential equation with boundary conditions into an explicit integral formula, valid for every right-hand side at once. They exist exactly when the homogeneous problem has only the trivial solution (§2.3, Theorem 2.21); they are symmetric when the problem is self-adjoint; and their expansions in eigenfunctions connect them with Sturm–Liouville theory and with the integral equations of Chapter 7. In CSIR NET you are asked to construct $G$ for a given problem, to evaluate it at a point, to recognise which of several kernels is the Green's function (continuity, jump, boundary conditions, symmetry), to solve a problem through $G$, and to decide when no Green's function exists and what replaces it.
A First Example: the Loaded String
Consider $-u''=f$ on $[0,1]$ with $u(0)=u(1)=0$, $f$ continuous. Integrating twice from $0$, $$u'(x)=u'(0)-\int_0^xf(t)\,dt,\qquad u(x)=u'(0)\,x-\int_0^x(x-t)f(t)\,dt$$ (the double integral $\int_0^x\int_0^sf$ equals $\int_0^x(x-t)f(t)\,dt$ by interchanging the order of integration). The condition $u(1)=0$ gives $u'(0)=\int_0^1(1-t)f(t)\,dt$, so $$u(x)=\int_0^1x(1-t)f(t)\,dt-\int_0^x(x-t)f(t)\,dt=\int_0^xt\,(1-x)\,f(t)\,dt+\int_x^1x\,(1-t)\,f(t)\,dt,$$ since $x(1-t)-(x-t)=t(1-x)$. That is, $u(x)=\int_0^1G(x,t)f(t)\,dt$ with $$G(x,t)=\begin{cases}x\,(1-t),&0\le x\le t\le1,\\ t\,(1-x),&0\le t\le x\le1,\end{cases}\qquad\text{i.e.}\qquad G(x,t)=\min(x,t)\,\big(1-\max(x,t)\big).$$ Read off its properties, all of which will become the definition below:
- $G$ is continuous on the square $[0,1]^2$;
- for fixed $t$, $x\mapsto G(x,t)$ is linear on $[0,t]$ and on $[t,1]$, so it solves $-u''=0$ for $x\ne t$, and it satisfies both boundary conditions;
- $\partial_xG$ jumps at $x=t$: it equals $1-t$ just left of $t$ and $-t$ just right of it, a jump of $-1$ — the unit point force (formally, $-\partial_x^2G=\delta(x-t)$);
- $G(x,t)=G(t,x)$ (the deflection at $x$ due to a load at $t$ equals the deflection at $t$ due to a load at $x$ — Maxwell's reciprocity);
- $G\ge0$, with maximum $G(t,t)=t(1-t)\le\tfrac14$; hence $f\ge0$ implies $u\ge0$, and since $\int_0^1G(x,t)\,dt=\tfrac{x(1-x)}{2}\le\tfrac18$, every solution obeys $\max|u|\le\tfrac18\max|f|$.
Green's Functions for Second-Order Boundary Value Problems
We work with the self-adjoint operator $L[u]=(p\,u')'+q\,u$ of §2.3 on $[a,b]$, where $p\in C^1[a,b]$, $p\gt0$, $q\in C[a,b]$, and with separated homogeneous boundary conditions $$B_a[u]:=\alpha_1u(a)+\alpha_2u'(a)=0,\qquad B_b[u]:=\beta_1u(b)+\beta_2u'(b)=0.$$ (Any equation $a_2u''+a_1u'+a_0u=g$ with $a_2\gt0$ is brought to this form by Theorem 2.22; the right-hand side becomes $f=\frac{p}{a_2}\,g$.)
- $x\mapsto G(x,t)$ is continuous on $[a,b]$, twice continuously differentiable on $[a,t)$ and on $(t,b]$, and satisfies $L_x[G(\cdot,t)]=0$ there;
- $B_a[G(\cdot,t)]=0$ and $B_b[G(\cdot,t)]=0$;
- (jump condition) $\ \partial_xG(t^+,t)-\partial_xG(t^-,t)=\dfrac{1}{p(t)}$.
- $u_1,u_2$ are linearly independent, and $C:=p(x)\,W(u_1,u_2)(x)=p\,(u_1u_2'-u_1'u_2)$ is a nonzero constant;
- the unique Green's function is $$G(x,t)=\begin{cases}\dfrac{u_1(x)\,u_2(t)}{C},&a\le x\le t\le b,\\[2mm]\dfrac{u_1(t)\,u_2(x)}{C},&a\le t\le x\le b;\end{cases}$$
- $G(x,t)=G(t,x)$ for all $x,t$;
- for every $f\in C[a,b]$, $$u(x)=\int_a^bG(x,t)\,f(t)\,dt=\frac{1}{C}\left[u_2(x)\int_a^xu_1(t)f(t)\,dt+u_1(x)\int_x^bu_2(t)f(t)\,dt\right]$$ is the unique solution of $L[u]=f$, $B_a[u]=B_b[u]=0$.
Proof. Existence of $u_1,u_2$. The solution of $L[u]=0$ with $u(a)=\alpha_2$, $u'(a)=-\alpha_1$ is nontrivial (its data are not both $0$) and $B_a[u]=\alpha_1\alpha_2-\alpha_2\alpha_1=0$; similarly at $b$.
(1) By Lagrange's identity (§2.3, Theorem 2.23), $\big(p\,W(u_1,u_2)\big)'=u_1L[u_2]-u_2L[u_1]=0$, so $C$ is constant. If $u_1,u_2$ were dependent, $u_2=cu_1$, then $u_1$ would satisfy both boundary conditions — a nontrivial solution of the homogeneous problem, which is excluded. Hence $W\ne0$ (Theorem 2.4) and $C\ne0$.
(2) For fixed $t$, $G(\cdot,t)$ is a constant multiple of $u_1$ on $[a,t]$ and of $u_2$ on $[t,b]$: it solves $L=0$ there, satisfies $B_a$ (because $u_1$ does) and $B_b$ (because $u_2$ does), and the two formulas agree at $x=t$. The jump is $$\partial_xG(t^+,t)-\partial_xG(t^-,t)=\frac{u_1(t)u_2'(t)-u_1'(t)u_2(t)}{C}=\frac{W(t)}{p(t)W(t)}=\frac1{p(t)}.$$ Uniqueness. If $\tilde G$ is another Green's function, $D=G(\cdot,t)-\tilde G(\cdot,t)$ is continuous with a continuous derivative at $x=t$ (the jumps cancel), and solves $L[D]=0$ on $[a,t)$ and on $(t,b]$. The solution of $L=0$ on $[t,b]$ with the data $D(t),D'(t)$ coincides, by uniqueness for the initial value problem at $t$, with the continuation of the left piece, so $D$ solves $L[D]=0$ on all of $[a,b]$ and satisfies both boundary conditions: $D\equiv0$.
(3) Swapping $x$ and $t$ exchanges the two lines of the formula.
(4) Write $u=\frac1C\big[u_2(x)A(x)+u_1(x)B(x)\big]$ with $A=\int_a^xu_1f$, $B=\int_x^bu_2f$, so $A'=u_1f$, $B'=-u_2f$. Then $$u'=\tfrac1C\big[u_2'A+u_1'B\big]+\tfrac1C\big[u_2u_1f-u_1u_2f\big]=\tfrac1C\big[u_2'A+u_1'B\big],$$ $$(pu')'=\tfrac1C\big[(pu_2')'A+(pu_1')'B\big]+\tfrac{p}{C}\big[u_2'u_1-u_1'u_2\big]f=-q\,u+\frac{pW}{C}\,f=-q\,u+f,$$ using $(pu_i')'=-qu_i$. So $L[u]=f$. At $x=a$: $A(a)=0$, so $u=\frac{B(a)}{C}u_1$ and $u'=\frac{B(a)}{C}u_1'$ there, giving $B_a[u]=\frac{B(a)}{C}B_a[u_1]=0$; similarly $B_b[u]=\frac{A(b)}{C}B_b[u_2]=0$. Uniqueness: the difference of two solutions solves the homogeneous problem. ∎
Notice how the construction mirrors variation of parameters (§2.2, Theorem 2.16): the same two integrals appear, but the lower limits are now chosen so that the boundary conditions hold automatically — $\int_a^x$ goes with the solution adapted to the right end, $\int_x^b$ with the one adapted to the left end.
- Write the operator in self-adjoint form $(pu')'+qu=f$ (Theorem 2.22), and remember that $f$ is the new right-hand side. For $-u''=f$ use $L[u]=u''$ with right side $-f$ (or keep $-u''$ and take jump $-1$).
- Check that $G$ exists: the homogeneous problem must have only $u\equiv0$ (otherwise see Theorem 2.31).
- Find $u_1$ satisfying the left condition and $u_2$ satisfying the right condition; compute $C=p\,(u_1u_2'-u_1'u_2)$ — it must come out constant (a free check).
- Write $G$ = $u_1(\text{smaller})\,u_2(\text{larger})/C$. Verify continuity, the conditions, the jump $1/p(t)$, and symmetry.
- Solve by splitting $\int_a^b=\int_a^x+\int_x^b$. For non-homogeneous boundary values, add the solution of $L[w]=0$ with those boundary values.
When the Homogeneous Problem Has Nontrivial Solutions
If the homogeneous problem has a solution $\varphi\not\equiv0$, there is no Green's function: the construction of Theorem 2.30 breaks down because $u_1$ and $u_2$ become proportional. Theorem 2.21 says the problem $L[u]=f$ is then solvable for some $f$ and not for others. Self-adjointness tells us exactly which.
- every solution of the homogeneous problem is a constant multiple of $\varphi$;
- for $f\in C[a,b]$, the problem $L[u]=f$, $B_a[u]=B_b[u]=0$ has a solution if and only if $$\int_a^bf(x)\,\varphi(x)\,dx=0;$$
- in that case the solutions are exactly $u^*+c\,\varphi$ ($c$ arbitrary), where $u^*$ is any one of them.
Proof. (1) Two solutions of the homogeneous problem both satisfy the condition at $a$, so their Wronskian vanishes at $a$ and they are dependent (as in Theorem 2.24(3)). (2) Necessity. If $u$ solves the problem, Green's formula (Theorem 2.23(3)) gives $\int_a^b\varphi f=\int_a^b\varphi L[u]=\int_a^buL[\varphi]=0$. Sufficiency. Let $u_0$ be the solution of $L[u_0]=f$ with $u_0(a)=u_0'(a)=0$ (Theorem 2.1). The solutions of $L[u]=f$ satisfying $B_a[u]=0$ are $u_0+c\varphi$: indeed $u-u_0$ solves $L=0$ with $B_a=0$, and these solutions form the one-dimensional space spanned by $\varphi$ (the condition $\alpha_1u(a)+\alpha_2u'(a)=0$ cuts out a line in the space of initial data). Since $B_b[\varphi]=0$, the problem is solvable iff $B_b[u_0]=0$. Now apply Green's formula to $u_0$ and $\varphi$: the terms at $a$ vanish because $u_0(a)=u_0'(a)=0$, so $$\int_a^b\varphi f\,dx=\int_a^b\big(\varphi L[u_0]-u_0L[\varphi]\big)dx=p(b)\big(\varphi(b)u_0'(b)-\varphi'(b)u_0(b)\big).$$ If $\beta_2\ne0$, then $\varphi'(b)=-\frac{\beta_1}{\beta_2}\varphi(b)$ and $\varphi(b)\ne0$ (otherwise $\varphi(b)=\varphi'(b)=0$ and $\varphi\equiv0$), so the right side is $\frac{p(b)\varphi(b)}{\beta_2}B_b[u_0]$. If $\beta_2=0$, then $\varphi(b)=0\ne\varphi'(b)$ and the right side is $-\frac{p(b)\varphi'(b)}{\beta_1}B_b[u_0]$. In both cases it is a nonzero multiple of $B_b[u_0]$, so $\int\varphi f=0$ iff $B_b[u_0]=0$ iff the problem is solvable. (3) Theorem 2.21(2) together with (1). ∎
When the problem is solvable, one particular solution can still be written with a kernel, provided the null solution is "projected out" of the source:
Proof (sketch). The source $\delta(\cdot-t)-\varphi(\cdot)\varphi(t)$ is orthogonal to $\varphi$, so by Theorem 2.31 (applied piecewise, with the jump condition handled as in Theorem 2.30) the defining problem is solvable; the solution is determined up to adding $c(t)\varphi(x)$, and the normalisation fixes $c(t)$. Symmetry follows from Green's formula applied to $G_M(\cdot,s)$ and $G_M(\cdot,t)$ exactly as for symmetric kernels. Finally $L_x\int G_M(x,t)f(t)\,dt=f(x)-\varphi(x)\int\varphi f=f(x)$ when $\int\varphi f=0$, and $\int u\varphi=\int f(t)\int G_M(x,t)\varphi(x)\,dx\,dt=0$. ∎
Green's Functions and Eigenfunctions
Green's function and the Sturm–Liouville eigenfunctions of §2.3 are two descriptions of the same operator. In matrix language: if $A=\sum\lambda_nv_nv_n^T$ is symmetric with orthonormal eigenvectors, then $A^{-1}=\sum\lambda_n^{-1}v_nv_n^T$. The analogue for $G$ is the bilinear (Mercer) expansion.
- The problem $L[u]+\mu\,r\,u=f$, $B_a[u]=B_b[u]=0$ has the Green's function $$G(x,t;\mu)=\sum_{n=1}^{\infty}\frac{\varphi_n(x)\,\varphi_n(t)}{\mu-\lambda_n},$$ the series converging absolutely and uniformly on $[a,b]^2$. In particular ($\mu=0$, when $0$ is not an eigenvalue) the Green's function of $L[u]=f$ is $G=-\sum_n\varphi_n(x)\varphi_n(t)/\lambda_n$.
- As a function of $\mu$, $G(x,t;\mu)$ has a simple pole at each eigenvalue $\lambda_n$, with residue $\varphi_n(x)\varphi_n(t)$; at $\mu=\lambda_n$ no Green's function exists (Theorem 2.31).
- (Trace identities.) $\displaystyle\int_a^bG(x,x;\mu)\,r(x)\,dx=\sum_n\frac{1}{\mu-\lambda_n}$ and $\displaystyle\int_a^b\!\!\int_a^bG(x,t;\mu)^2\,r(x)r(t)\,dx\,dt=\sum_n\frac{1}{(\mu-\lambda_n)^2}$.
Proof (sketch). Let $u$ solve $L[u]+\mu ru=f$ with the boundary conditions. By Green's formula, $$\int_a^b\varphi_nf=\int_a^b\varphi_n\,(L[u]+\mu ru)=\int_a^bu\,(L[\varphi_n]+\mu r\varphi_n)=(\mu-\lambda_n)\int_a^bru\varphi_n,$$ so the coefficients of $u$ are $c_n=\frac{\int\varphi_nf}{\mu-\lambda_n}$, and by the expansion theorem (§2.3, Theorem 2.28) $$u(x)=\sum_n\frac{\varphi_n(x)}{\mu-\lambda_n}\int_a^b\varphi_n(t)f(t)\,dt=\int_a^b\Big(\sum_n\frac{\varphi_n(x)\varphi_n(t)}{\mu-\lambda_n}\Big)f(t)\,dt.$$ The interchange is justified by uniform convergence: for a regular problem the normalised $\varphi_n$ are uniformly bounded and $\lambda_n\sim cn^2$ (§2.3, Theorem 2.26(4)), so the series is dominated by a constant times $\sum n^{-2}$. Comparing with $u=\int Gf$ for all $f$ identifies the kernel. (2) is read off from (1): only the $n$-th term is singular at $\mu=\lambda_n$. (3) Integrate the uniformly convergent series termwise, using $\int r\varphi_n\varphi_m=\delta_{nm}$. ∎
Initial Value Problems and Higher-Order Equations
The same idea — a kernel that solves the homogeneous equation away from the diagonal and has a prescribed jump on it — works for initial value problems and for equations of any order. For an IVP the kernel is the impulse response $K(x,t)$ of §2.2 (Duhamel's principle), switched on at $x=t$.
- (Causal Green's function.) The solution of $L[u]=f$, $u(a)=u'(a)=\dots=u^{(n-1)}(a)=0$ is $u(x)=\int_a^bG(x,t)f(t)\,dt$ with $$G(x,t)=\begin{cases}K(x,t),&t\le x,\\0,&t\gt x,\end{cases}$$ where $K(\cdot,t)$ solves $L=0$ with $K=\partial_xK=\dots=\partial_x^{n-2}K=0$ and $\partial_x^{n-1}K=1$ at $x=t$. For constant coefficients $K(x,t)=k(x-t)$.
- ($n$-th order BVP.) Suppose $n$ homogeneous boundary conditions (each a linear combination of $u,\dots,u^{(n-1)}$ at $a$ or at $b$) are given and the homogeneous problem has only the trivial solution. Then there is a unique $G$ such that for each $t\in(a,b)$: $G(\cdot,t)$ solves $L=0$ on $[a,t)$ and $(t,b]$ and satisfies the boundary conditions; $G,\partial_xG,\dots,\partial_x^{n-2}G$ are continuous at $x=t$; and $\partial_x^{n-1}G$ jumps by $1$ there. Then $u=\int_a^bG(x,t)f(t)\,dt$ is the unique solution of $L[u]=f$ with these conditions. (If the leading coefficient is $a_n(x)$ instead of $1$, the jump is $1/a_n(t)$.)
Proof (sketch). (1) is the kernel form of variation of parameters (§2.2, Theorem 2.16(2)–(3)): $u(x)=\int_a^xK(x,t)f(t)\,dt$, and cutting the kernel off for $t\gt x$ writes the variable upper limit as a fixed one. (2) Write $G(x,t)=G_c(x,t)+\sum_{j=1}^nc_j(t)y_j(x)$, where $G_c$ is the causal kernel and $\{y_j\}$ a fundamental set. The sum is smooth in $x$, so continuity and the jump are inherited from $G_c$; the $n$ boundary conditions give an $n\times n$ linear system for $c_1(t),\dots,c_n(t)$ whose matrix is the same as for the homogeneous problem — nonsingular by the analogue of Theorem 2.21. Uniqueness and the solution formula follow as in Theorem 2.30. ∎
A causal Green's function is not symmetric — the future does not influence the past — and that is consistent with the theory: an initial value problem is not self-adjoint. Symmetry of $G$ is the fingerprint of a self-adjoint boundary value problem, of any order.
- A Green's function need not exist. $-u''=f$ with $u'(0)=u'(1)=0$ (constants solve the homogeneous problem), $u''+\pi^2u=f$ with $u(0)=u(1)=0$ ($\sin\pi x$), and $u''=f$ with periodic conditions have none. Then the problem is solvable only for $f$ orthogonal to the null solution (Theorem 2.31).
- Sign conventions differ by a minus sign. For $u''=f$, $u(0)=u(1)=0$ the Green's function is $-\min(x,t)(1-\max(x,t))\le0$ (jump $+1$); for $-u''=f$ it is $+\min(x,t)(1-\max(x,t))\ge0$ (jump $-1$). Read the problem.
- The jump is $1/p(t)$ only in self-adjoint form — and then $G$ acts on the transformed right-hand side. For $a_2u''+a_1u'+a_0u=g$ in normal form the jump is $1$ and the kernel acts on $g/a_2$. Mixing the two (Example 3) gives a function that satisfies the boundary conditions but not the equation.
- $G$ is symmetric only for self-adjoint problems. For $u''+u'=f$, $u(0)=u(1)=0$: $G(0.3,0.6)\approx-0.1352$ but $G(0.6,0.3)\approx-0.1001$. Its self-adjoint form $(e^xu')'=e^xf$ has a symmetric kernel $G_s$, and $G(x,t)=G_s(x,t)\,e^t$.
- The causal Green's function of an IVP is never symmetric: it vanishes for $t\gt x$ but not for $t\lt x$.
- $G$ is continuous but not $C^1$. $\partial_xG$ jumps on the diagonal; a candidate kernel with continuous $\partial_xG$ (or a discontinuous $G$) is not a Green's function of a second-order problem. Yet $u=\int Gf$ is $C^2$.
- Positivity of $G$ is not automatic. $G\ge0$ for $-u''+qu$ with $q\ge0$ and Dirichlet conditions (a maximum principle), but for $u''+k^2u$ the kernel changes sign once $k\gt\pi$ (Example 6(d)).
- $u=\int Gf$ satisfies homogeneous boundary conditions only. For $u(0)=A$, $u(1)=B$ add the solution of the homogeneous equation with those boundary values (for $-u''=f$: $A(1-x)+Bx$).
- The order of the arguments matters when $G$ is not symmetric: $u(x)=\int G(x,t)f(t)\,dt$, integrating over the second variable.
- The modified Green's function gives one solution, not the solution. It produces the solution orthogonal to the null space; all others differ by multiples of $\varphi$.
Exercises
- 1 $-u''=f$, $u'(0)=0$, $u(1)=0$.
- 2 $-u''=f$, $u(0)=0$, $u(1)+u'(1)=0$.
- 3 $u''+4u=f$, $u(0)=0$, $u(\tfrac{\pi}{4})=0$.
- 4 $u''-u=f$, $u(0)=u(1)=0$. Is $G$ of one sign?
- 5 $(xu')'=f$ on $[1,e]$, $u(1)=u(e)=0$.
- 6 $x^2u''+2xu'=f$ on $[1,2]$, $u(1)=u(2)=0$.
- 7 Prove directly from Definition 2.14 that a Green's function, if it exists, is unique, and that it can exist only if the homogeneous problem has only the trivial solution.
- 8 Use the Green's function of $-u''=f$, $u(0)=u(1)=0$ to solve $-u''=x$, and compute $u(\tfrac12)$.
- 1 Solve $u''+u=1$, $u(0)=u(\tfrac{\pi}{2})=0$ with the Green's function of Example 2.
- 2 Solve $-u''=1$, $u(0)=1$, $u(1)=2$ using the Green's function plus a correction for the boundary values.
- 3 For which of $f=1$, $f=\cos\pi x$, $f=x-\tfrac12$ is $u''+\pi^2u=f$, $u(0)=u(1)=0$ solvable?
- 4 Show that $u''=f$ with periodic conditions $u(0)=u(1)$, $u'(0)=u'(1)$ is solvable iff $\int_0^1f=0$, and that the solution is then unique up to an additive constant.
- 5 With the modified Green's function of Example 4, solve $-u''=\cos\pi x$, $u'(0)=u'(1)=0$.
- 6 Let $p\gt0$, $q\ge0$. Prove that the Green's function of $-(pu')'+qu=f$, $u(a)=u(b)=0$ is positive on $(a,b)^2$; deduce that $f\ge0$ implies $u\ge0$.
- 7 Find the Green's function of $u''+u'=f$, $u(0)=u(1)=0$ and show that it is not symmetric. What is its relation to the Green's function of $(e^xu')'=g$?
- 8 Show that $y''+\lambda y=0$, $y(0)=y(1)=0$ is equivalent to the integral equation $y(x)=\lambda\int_0^1G(x,t)y(t)\,dt$ with $G=\min(x,t)(1-\max(x,t))$.
- 1 Use the bilinear series of Example 5 at $x=t=\tfrac14$ to evaluate $\sum_{n\ge1}\frac{\sin^2(n\pi/4)}{n^2}$.
- 2 For $-u''=f$, $u(0)=0$, $u'(1)=0$ (Green's function $\min(x,t)$), use the trace identity to evaluate $\sum_{n\ge1}\frac1{(2n-1)^2}$.
- 3 Use $\int\!\!\int\min(x,t)^2$ to evaluate $\sum_{n\ge1}\frac1{(2n-1)^4}$.
- 4 Verify directly from the closed form of Example 6 that $(k^2-\pi^2)G(x,t;k)\to2\sin\pi x\sin\pi t$ as $k\to\pi$.
- 5 Solve $u''+\frac{\pi^2}{4}u=1$, $u(0)=u(1)=0$, and confirm that $u\le0$.
- 6 Show that for $k=\tfrac{3\pi}2$ the solution of $u''+k^2u=1$, $u(0)=u(1)=0$ is nonnegative on $[0,1]$.
- 7 Let $G$ be continuous and symmetric on $[a,b]^2$ and $(Tf)(x)=\int_a^bG(x,t)f(t)\,dt$. Prove $\int_a^b(Tf)\,g=\int_a^bf\,(Tg)$ for continuous $f,g$, and deduce that eigenfunctions of $T$ for distinct eigenvalues are orthogonal.
- 1 Find the causal Green's function of $u''+3u'+2u=f$, $u(0)=u'(0)=0$, and solve for $f\equiv1$.
- 2 Find the causal Green's function of $x^2u''-2xu'+2u=g$ on $[1,\infty)$, $u(1)=u'(1)=0$ (normal form first!), and solve for $g=x^3$.
- 3 Show that the Green's function of $u'''=f$, $u(0)=u'(0)=u''(0)=0$ is $\tfrac12(x-t)^2$ for $t\le x$ and $0$ otherwise, and recover Cauchy's formula for repeated integration.
- 4 A simply supported beam: $u''''=f$, $u(0)=u''(0)=u(1)=u''(1)=0$. Verify that $G(x,t)=\tfrac16x(1-t)(2t-t^2-x^2)$ for $x\le t$ (extended symmetrically) is its Green's function, and find the midspan deflection under $f\equiv1$.
- 5 Prove that the Green's function of the cantilever in Example 7 is symmetric, and explain why symmetry was to be expected.
- 6 Find the Green's function of $-u''+u=f$ on $\mathbb{R}$ for bounded solutions, and use it to solve the problem with $f=\cos x$.
- 7 (Modelling.) A steel rod of length $L=0.4\ \text{m}$ and thermal conductivity $k=50\ \text{W m}^{-1}\text{K}^{-1}$ is held at $0\,^\circ\text{C}$ (relative temperature) at $x=0$ and insulated at $x=L$; it generates heat uniformly at $q_0=5000\ \text{W m}^{-3}$. The steady temperature satisfies $-ku''=q_0$, $u(0)=0$, $u'(L)=0$. Use the Green's function to find the temperature at the insulated end.
E1. CSIR Part B GATE MA Let $G(x,t)$ be the Green's function of $u''=f$, $u(0)=u(1)=0$ (so that $u=\int_0^1G(x,t)f(t)\,dt$). Then $G(\tfrac14,\tfrac12)$ equals (A) $\tfrac18$; (B) $-\tfrac18$; (C) $-\tfrac{3}{16}$; (D) $\tfrac{3}{16}$.
E2. CSIR Part B The Green's function of $-u''=f$, $u(0)=0$, $u'(1)=0$ is (A) $\min(x,t)$; (B) $\max(x,t)$; (C) $\min(x,t)\big(1-\max(x,t)\big)$; (D) $1-\max(x,t)$.
E3. CSIR Part B If $u$ solves $u''+u=x$, $u(0)=0$, $u(\tfrac{\pi}{2})=0$, then $u(\tfrac{\pi}{4})$ equals (A) $\dfrac{\pi(1-\sqrt2)}{4}$; (B) $\dfrac{\pi(\sqrt2-1)}{4}$; (C) $\dfrac{\pi}{4}$; (D) $0$.
E4. CSIR Part C Let $G$ be the Green's function of $-u''=f$, $u(0)=u(1)=0$. Which of the following are true? (One or more options may be correct.) (A) $G(x,t)=G(t,x)$ for all $x,t\in[0,1]$. (B) $G(x,t)\ge0$ on $[0,1]^2$. (C) $\partial G/\partial x$ is continuous on $[0,1]^2$. (D) $\int_0^1\!\int_0^1G(x,t)\,dx\,dt=\tfrac16$.
E5. CSIR Part C Consider $u''+k^2u=f$, $u(0)=u(\pi)=0$, with $k\gt0$ and $f$ continuous. Which of the following are true? (One or more options may be correct.) (A) The problem has a unique solution for every $f$ if and only if $k$ is not an integer. (B) For $k=1$ it is solvable if and only if $\int_0^\pi f(x)\sin x\,dx=0$. (C) For $k=\tfrac12$ the Green's function is symmetric. (D) For $k=\tfrac32$, $f\ge0$ implies $u\le0$ on $[0,\pi]$.
E6. CSIR Part C Consider $-u''=f$ on $[0,1]$ with $u'(0)=u'(1)=0$. Which of the following are true? (One or more options may be correct.) (A) The problem has a Green's function. (B) It is solvable if and only if $\int_0^1f(x)\,dx=0$. (C) When it is solvable, any two solutions differ by a constant. (D) For $f(x)=x$, $u(x)=-\tfrac{x^3}{6}$ is a solution.
Suggested plan — 2 lectures × 60 min.
- Construction. Derive the loaded-string Green's function by integrating twice (ten minutes) and list its five properties on the board; then Definition 2.14 and Theorem 2.30 with the full proof — emphasise that $pW$ is constant, which students can use as a check. Project Interactive 1 (first mode, then the mixed and Robin modes: ask the class to predict the shape before switching). Examples 1 and 2 on the board; Example 3 as the cautionary tale about the right-hand side.
- Beyond the basic case. Theorem 2.31 (Fredholm alternative) with the insulated rod (Example 4) as motivation; mention the modified Green's function briefly. Theorem 2.33 and Example 5 — students enjoy getting $\zeta(2)$ and $\zeta(4)$ from a string; then Interactive 1 in the $u''+k^2u$ mode to show the pole at $k=\pi$ and the loss of positivity (Example 6). Finish with Theorem 2.34, the causal kernel and the cantilever (Example 7), and Interactive 2 in both modes.
Discussion questions. (1) In what sense is $G$ "the inverse matrix" of the boundary value problem, and what plays the role of the identity matrix? (2) Why must a Green's function of a self-adjoint problem be symmetric, and what physical principle does this express for beams and strings? (3) The causal Green's function of $u''+u=f$ and the Green's function of the boundary value problem on $[0,\frac\pi2]$ are both built from $\sin$ and $\cos$. What is the essential structural difference?
Misconceptions to watch for. Using the jump $+1$ for $-u''$ (or forgetting the factor $1/p$); applying $G$ of the self-adjoint form to the original right-hand side; believing every BVP has a Green's function; expecting symmetry for non-self-adjoint problems or IVPs; forgetting to correct for non-homogeneous boundary values; confusing $\int\!\!\int G$ with the trace $\int G(x,x)$.
Suggested homework. I(1, 2, 5, 8), II(1, 3, 6, 7), III(2, 4, 6), IV(1, 2, 4, 7); Exam corner E1, E5.
Research question. Where should a heavy vehicle stand on a bridge to make a given point of the deck sag the most? Bridge engineers answer this with influence lines: the deflection at a fixed point $x_0$ caused by a unit load at a variable point $t$, i.e. $t\mapsto G(x_0,t)$. How does Maxwell–Betti reciprocity, $G(x_0,t)=G(t,x_0)$, turn this into a question about a single deflection curve?
Why it matters. Codes of practice for highway and railway bridges (for example the load models of the Indian Roads Congress or of the Eurocodes) prescribe moving vehicle loads, and the worst position of each vehicle is found from influence lines. Maxwell stated the reciprocal theorem in 1864 and Betti generalised it in 1872; in our language it is the symmetry of the Green's function of a self-adjoint problem.
What to do.
- For a simply supported beam of unit length and unit rigidity, $u''''=f$, $u(0)=u''(0)=u(1)=u''(1)=0$, take the Green's function of Exercise IV.4. Check its symmetry numerically on a grid.
- Plot the influence line $t\mapsto G(\tfrac14,t)$ for the deflection at the quarter point, and find the load position $t^*$ that maximises it — analytically (it is a cubic in $t$) and numerically. Explain, using reciprocity, why $t^*$ is also the point where the deflection curve $x\mapsto G(x,\tfrac14)$ under a load at $\tfrac14$ is largest.
- Model a two-axle vehicle as two unit loads a distance $0.2$ apart. Find the position that maximises the midspan deflection and compare it with a single load of size $2$ at midspan.
- Repeat step 2 for the taut string ($-u''=f$, Dirichlet). Why is the worst position for the string exactly at the point itself, but not for the beam?
Tools: Python or a spreadsheet; Interactive 1 for the second-order analogue.
Hand in: The influence-line plot, the values of $t^*$ and the maximal deflections, and a short explanation of reciprocity in your own words.
Going further. Influence lines for bending moment and shear are Green's functions of the same beam for different "observables". Read about the Müller-Breslau principle, which obtains them by imposing a unit kink or a unit jump at the observation point — a mechanical picture of the jump conditions of Definition 2.14.
🧪 Self-check quiz
Q1. For $L[u]=(p\,u')'+q\,u$ with separated boundary conditions, $\partial G/\partial x$ at $x=t$
Q2. The Green's function of $-u''=f$, $u(0)=u(1)=0$, for $0\le x\le t\le1$, is
Q3. Which boundary value problem has no Green's function?
Q4. The Green's function of the initial value problem $u''+u=f$, $u(0)=u'(0)=0$ (so that $u=\int_0^\infty G(x,t)f(t)\,dt$) is
Q5. Using $\min(x,t)(1-\max(x,t))=\sum_{n\ge1}\frac{2\sin n\pi x\sin n\pi t}{n^2\pi^2}$, the value of $\sum_{n\ge1}\frac1{n^2}$ follows from