\documentclass[reqno]{amsart}
\usepackage{hyperref}

\AtBeginDocument{{\noindent\small
\emph{Electronic Journal of Differential Equations},
Vol. 2012 (2012), No. 45, pp. 1--9.\newline
ISSN: 1072-6691. URL: http://ejde.math.txstate.edu or http://ejde.math.unt.edu
\newline ftp ejde.math.txstate.edu}
\thanks{\copyright 2012 Texas State University - San Marcos.}
\vspace{8mm}}

\begin{document}
\title[\hfilneg EJDE-2012/45\hfil Solvability of second-order boundary-value problems]
{Solvability of second-order boundary-value problems at resonance
involving integral conditions}

\author[Y. Cui\hfil EJDE-2012/45\hfilneg]
{Yujun Cui} 

\address{Yujun Cui \newline
 Institute of Mathematics,
 Shandong University of Science and Technology\\
 Qingdao 266590,  China}
\email{cyj720201@163.com}

\thanks{Submitted December 26, 2011. Published March 20, 2012.}
\subjclass[2000]{34B15}
\keywords{Coincidence degree; integral boundary-value problem; resonance}

\begin{abstract}
 This article concerns the  second-order differential
 equation with integral boundary conditions
 \begin{gather*}
 x''(t)=f(t,x(t),x'(t)),\quad t\in (0,1),\\
 x(0)=\int_0^1x(s)d\alpha(s),\quad x(1)=\int_0^1x(s)d\beta(s).
 \end{gather*}
 Under the resonance conditions, we construct a projector and then
 applying coincidence degree theory to establish the existence of solutions.
\end{abstract}

\maketitle
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{definition}[theorem]{Definition}
\allowdisplaybreaks

\section{Introduction}

We consider the nonlinear second-order differential equation with
integral boundary conditions
\begin{equation}
\begin{gathered}
 x''(t)=f(t,x(t),x'(t)),\quad t\in (0,1), \\
 x(0)=\int_0^1x(s)d\alpha(s),\quad x(1)=\int_0^1x(s)d\beta(s),
 \end{gathered} \label{e1.1}
\end{equation}
where $f\in  C([0,1]\times\mathbb{R}^2,\mathbb{R})$; $\alpha$ and $\beta$
are right continuous on $[0, 1)$,
left continuous at $t=1$; $\int_0^1u(s)d\alpha(s)$ and
$\int_0^1u(s)d\beta(s)$ denote the Riemann-Stieltjes integrals of $u$ with respect
to $\alpha$ and $\beta$, respectively.

The  boundary-value problem \eqref{e1.1} is at resonance in the sense
that the associated linear homogeneous boundary-value problem
\begin{equation}
 \begin{gathered}
 x''(t)=0,\quad t\in (0,1), \\
 x(0)=\int_0^1x(s)d\alpha(s),\quad x(1)=\int_0^1x(s)d\beta(s)
 \end{gathered}
\end{equation}
has nontrivial solutions. The resonance condition is
$\kappa_1\kappa_4-\kappa_2\kappa_3=0$, where
\begin{gather*}
\kappa_1=1-\int_0^1(1-t)d\alpha(t),\quad \kappa_2=\int_0^1td\alpha(t), \\
\kappa_3=\int_0^1(1-t)d\beta(t),\quad \kappa_4=1-\int_0^1td\beta(t).
\end{gather*}

Boundary value problems with integral boundary conditions for ordinary differential 
equations arise in different fields of applied mathematics and physics such as 
heat conduction, chemical engineering, underground water flow, thermo-elasticity, 
and plasma physics. Moreover, boundary-value problems with Riemann-Stieltjes 
integral conditions constitute a very interesting and important
class of problems. They include two, three, multi-point and integral boundary-value 
problems as special cases, see \cite{kar1,kar2,web1,web2}. 
The existence and multiplicity of  solutions for such problems have received a 
great deal of attention in the literature. We refer the reader to 
\cite{yang1,yang2,yang3,zhang} for some recent results at non-resonance 
and to \cite{bai,liu1,liu2,zhangxue,zhao} at resonance. 
Zhang, Feng and Ge \cite{zhangxue} obtained some excellent results for certain 
integral boundary conditions at resonance with $\text{dim ker}L=2$.
 Zhao and Liang \cite{zhao} studied the following second-order functional
boundary-value problem
 \begin{gather*}
 x''(t)=f(t,x(t),x'(t)),\quad t\in (0,1),\\
 \Gamma_1(x)=0,\quad \Gamma_2(x)=0,
 \end{gather*}
where $\Gamma_1, \Gamma_2:C^1[0,1]\to \mathbb{R}$ are continuous linear functionals.
We should note that all  boundary-value conditions  in the work of  Zhao and Liang
are relied on both $x$ and $x'$.
By using the Mawhin's continuation theorem \cite{maw1,maw2}, some existence results 
were obtained when certain resonance conditions hold. However, integral 
boundary-value problem is so complex that many problem still remain open. 
One problem is that all known results about resonance problem were done under 
special resonance conditions. For example, the
known works referred to \eqref{e1.1}, concentrate  on the resonance
condition that at least three constants of $\{\kappa_i\}_{i=1}^{4}$ is equals to 0,
see \cite{zhao}.

Motivated by all the above works, we give some sufficient conditions for the
existence of solutions to  \eqref{e1.1} at resonance. 
 Our method is based upon  the coincidence degree theory of Mawhin \cite{maw1,maw2}.

 Throughout this paper, we suppose that $\kappa_1, \kappa_2, \kappa_3, \kappa_4$ satisfy
\begin{itemize}
\item[(H0)] $\kappa_1\kappa_2\kappa_3\kappa_4\neq 0$;
 $\kappa_1\kappa_4-\kappa_2\kappa_3=0$.
\end{itemize}

\section{Preliminaries}

In this section, we provide some definitions and lemmas used 
for establishing the existence of solutions in $C^1[0,1]$. 

\begin{definition} \label{def2.1}\rm
 Let $Y, Z$ be real Banach spaces, $L: Y\supset \operatorname{dom} L\to Z$
 be a linear operator. $L$ is said to be the Fredholm operator of index zero
 provided that
\begin{itemize}
\item[(i)] $\text{Im }L$ is a closed subset of $Z$,

\item[(ii)] $\dim\ker L = \operatorname{codim}\operatorname{Im} L<+\infty$.
\end{itemize}
\end{definition}

Let $Y, Z$ be real Banach spaces and $L: Y\supset \operatorname{dom} L\to Z$ 
 be a Fredholm operator of index zero.
$P: Y\to Y$, $Q: Z\to Z$ are continuous projectors such that
 $\operatorname{Im}P=\ker L$, $\ker Q=\operatorname{Im}L$, 
$Y=\ker L\oplus \ker P$ and $Z=\operatorname{Im}L\oplus \operatorname{Im}Q$.
It follows that
$L|_{\operatorname{dom} L\cap \ker P}:\operatorname{dom}L\cap \ker P\to \operatorname{Im}L$ is reversible.
 We denote the inverse of the mapping by $K_P$ 
(generalized inverse operator of $L$). If $\Omega$ is an open bounded subset of $Y$ such that $\operatorname{dom}L\cap\Omega\neq \emptyset$, the mapping $N: Y\to Z$ will be called $L$-compact
on $\overline{\Omega}$, if $QN(\overline{\Omega})$ is bounded and
 $K_P(I-Q)N: \overline{\Omega}\to Y$ is compact.

Our main tools are \cite[Theorem 2.4]{maw1} and \cite[Theorem IV.13]{maw2}.

\begin{theorem} \label{thm2.1}
 Let $L$ be a Fredholm operator of index zero and let $N$ be $L$-compact
on $\overline{\Omega}$. Assume the following conditions are satisfied:
\begin{itemize}
\item[(i)] $Lx\neq \lambda Nx$ for every $(x,\lambda)\in [(\operatorname{dom}L\backslash \ker  L)\cap\partial\Omega]\times(0, 1)$.

\item[(ii)] $Nx\not\in Im L$ for every $x\in \ker  L\cap\partial\Omega$.

\item[(iii)] $\deg(QN|_{\ker L}, \ker  L\cap\Omega, 0)\neq 0$, where
$Q: Z\to Z$ is a projector as above with $\operatorname{Im}L=\ker Q$.
\end{itemize}
Then the equation $Lx=Nx$ has at least one solution in 
$\operatorname{dom}L\cap\overline{\Omega}$.
\end{theorem}

We use the classical spaces $C[0,1]$, $C^1[0,1]$ and $L^1[0,1]$. 
For $x\in C^1[0,1]$, we use the norm
$\|x\|=\max\{\|x\|_{\infty}, \|x'\|_{\infty}\}$, where
 $\|x\|_{\infty}=\max_{t\in [0,1]}|x(t)|$. And denote the norm in $L^1[0,1]$ 
by $\|\cdot\|_1$. We also use the Sobolev space $W^{2,1}(0, 1)$ defined by
$$
W^{2,1}(0, 1)=\{x:[0,1]\to \mathbb{R}\mid x, x'\text{ are absolutely cont.on }
 [0, 1],\; x''\in  L^1[0, 1]\}
$$
with its usual norm.

Let $Y=C^1[0, 1]$, $Z=L^1[0, 1]$.
Let the linear operator $L: Y\supset \operatorname{dom} L\to Z$ with
$$
\operatorname{dom}L=\{x\in W^{2,1}(0, 1):u(0)=\int_0^1u(s)d\alpha(s),\ 
 u(1)=\int_0^1u(s)d\beta(s)\}
$$
be define by
$Lx=x''$.
Let the nonlinear operator $N: Y\to Z$ be defined by
$$
(Nx)(t)=f(t, x(t), x'(t)).
$$
Then  \eqref{e1.1} can be written as
$$
Lx=Nx.
$$

\begin{lemma} \label{lem2.1} 
Let $L$ be the linear operator defined as above. If {\rm (H0)} holds then
$$
\ker L=\{x\in \operatorname{dom} L:c(1+(\rho-1)t),\; c\in \mathbb{R},\; t\in [0,1]\}
$$
and
$$
\operatorname{Im}L=\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\},
$$
where $\rho=\kappa_3/\kappa_4=\kappa_1/\kappa_2$, and
$$
k(t,s)=\begin{cases}
 t(1-s), & 0\leq t\leq s\leq1,\\
 s(1-t), & 0\leq s\leq t\leq1.
 \end{cases}
$$
\end{lemma}

\begin{proof} 
Let $x(t)=1+(\rho-1)t$. Considering $\rho=\kappa_3/\kappa_4=\kappa_1/\kappa_2$,  
$\int_0^1x(t)d\alpha(t)=\int_0^1((1-t)+\rho t)d\alpha(t)=1-\kappa_1+\rho\kappa_2=1=x(0)$ 
and $\int_0^1x(t)d\beta(t)=\int_0^1((1-t)+\rho t)d\beta(t)=\kappa_3+\rho(1-\kappa_4)=\rho=x(1)$.
So 
$$
\{x\in \operatorname{dom}L:c(1+(\rho-1)t),\; c\in \mathbb{R},;\ t\in [0,1]\}
\subset \ker L.
$$
If $Lx=x''=0$, then $x(t)=a(1-t)+bt$. Considering  $x(0)=\int_0^1u(t)d\alpha(t)$ 
and $x(1)=\int_0^1x(t)d\beta(t)$, we can obtain that 
$a=\int_0^1x(t)d\alpha(t)=\int_0^1(a(1-t)+b t)d\alpha(t)=a(1-\kappa_1)+b\kappa_2$.
It yields $ a\kappa_1=b\kappa_2$ and 
$\ker L\subset\{x\in \text{domL}:c(1+(\rho-1)t),\; c\in \mathbb{R},\; t\in [0,1]\}$.

We now show that
$$
\operatorname{Im}L=\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}.
$$
If $y\in \operatorname{Im}L$, then there exists $x\in \operatorname{dom}L$ 
such that $x''(t)=y(t)$. Hence
$$
x(t)=-\int_0^1k(t,s)y(s)ds+x(0)(1-t)+x(1)t.
$$
Integrating with respect to $d\alpha(t)$ and $ d\beta(t)$ respectively on $[0,1]$ gives
$$
\int_0^1x(t)d\alpha(t)
=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)+x(0)(1-\kappa_1)+x(1)\kappa_2
$$
and
$$
\int_0^1x(t)d\beta(t)
=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)+x(0)\kappa_3+x(1)(1-\kappa_4).
$$
Therefore,
$$
\begin{pmatrix}
   \kappa_1&-\kappa_2\\
   -\kappa_3&\kappa_4
   \end{pmatrix}
\begin{pmatrix}
    x(0)\\
   x(1)
   \end{pmatrix}
=\begin{pmatrix}
    -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)\\
   -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)
   \end{pmatrix}
$$
and so 
$$
\kappa_1:(-\kappa_3)=(-\kappa_2):\kappa_4=\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
:\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t).
$$
It yields
$$
\operatorname{Im}L\subset\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}.
$$
On the other hand, $y\in Z$ satisfies
$$
\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0.
$$
Let
$$
x(t)=-\int_0^1k(t,s)y(s)ds+\frac{t}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t),
$$
then $Lx=x''=y(t)$, $x(0)=0$ and 
$x(1)=\frac{1}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)$.
Simple computations yield
$$
\int_0^1x(t)d\alpha(t)=-\int_0^1\int_0^1k(t,s)y(s)ds\alpha(t)
+\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)=0
$$
and
\begin{align*}
\int_0^1x(t)d\beta(t)
&= -\int_0^1\int_0^1k(t,s)y(s)ds\beta(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{\kappa_3}{\kappa_1}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{1}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)=x(1).
\end{align*}
Therefore,
$$
\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}\subset \operatorname{Im}L.
$$
\end{proof}


\begin{lemma} \label{lem2.2} 
 If {\rm (H0)} holds and
$$
\kappa=\frac{\kappa_3}{2}\int_0^1t(1-t)d\alpha(t)
+\frac{\kappa_1}{2}\int_0^1t(1-t)d\beta(t)\neq 0,
$$
then $L$ is a Fredholm operator of index zero and 
$\dim\ker L=\operatorname{codim\,Im}L=1$. Furthermore, the linear operator 
$K_p:\operatorname{Im}L\to \operatorname{dom}L\cap \ker P$ can be defined by
$$
(K_py)(t)=-\int_0^1k(t,s)y(s)ds-\frac{t}{\kappa_4}
\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t).
$$
Also
$$
\|K_py\|\leq \triangle \|y\|_1,\quad  \text{for all } y\in \operatorname{Im}L,
$$
where
$$
\triangle=1+\frac{\big|\int_0^1t d|\beta(t)|\big|}{|\kappa_4|}.
$$
\end{lemma}

\begin{proof}
Firstly, we construct the mapping $Q:Z\to Z$ defined by
$$
 Qy= \frac{1}{\kappa}\big(\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big).
$$
Note that $\int_0^1k(t,s)ds=\frac12t(1-t)$ and
$$
Q^2y=Qy.
$$
Thus  $Q:Z\to Z$ is a well-defined projector.

Now, it is obvious that $\operatorname{Im}L=\ker Q$. Noting that $Q$ is a linear projector, 
we have $Z=\operatorname{Im}Q\oplus \ker Q$. 
Hence $Z=\operatorname{Im}Q\oplus \operatorname{Im}L$ and
 $\dim\ker L=\operatorname{codim\,Im}L=$1.
This means $L$ is a Fredholm mapping of index zero.
Taking $P: Y\to Y$ as
$$
(Px)(t)=x(0)(1+(\rho-1)t),
$$
then the generalized inverse $K_p:\operatorname{Im}L\to \operatorname{dom}L\cap \ker P$ 
of $L$ can be rewritten
$$
(K_py)(t)=-\int_0^1k(t,s)y(s)ds-\frac{t}{\kappa_4}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t).
$$
In fact, for $y\in \operatorname{Im}L$, we have
$$
(LK_p)y(t)=((K_p)y(t))''=y(t)
$$
and for $x\in \operatorname{dom}L\cap \ker P$, we know
\begin{align*}
(K_pL)x(t)&= -\int_0^1k(t,s)x''(s)ds-
\frac{t}{\kappa_4}\int_0^1\int_0^1k(t,s)x''(s)\,ds\,d\beta(t) \\
&=  x(t)-x(0)(1-t)-x(1)t\\
&\quad +\frac{t}{\kappa_4}\int_0^1(x(t)-x(0)(1-t)-x(1)t)d\beta(t).
\end{align*}
In view of $x\in \operatorname{dom}L\cap \ker P$, $x(0)=0, x(1)=\int_0^1x(t)d\beta(t)$, 
thus
$$
(K_pL)x(t)=x(t).
$$
This shows that $K_P=(L|_{\operatorname{dom} L \cap \ker P})^{-1}$.
Since
$$
\|K_py\|_{\infty}\leq \int_0^1|y(s)|ds+\frac{1}{|\kappa_4|}
\big|\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big|
\leq \triangle\|y\|_1
$$
and
$$
\|(K_py)'\|\leq \int_0^1|y(s)|ds+\frac{1}{|\kappa_4|}
\big|\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big|
\leq \triangle\|y\|_1,
$$
it follows that $\|(K_py)'\|_{\infty} \leq \triangle\|y\|_1$.
\end{proof}

\section{Main results}

In this section, we will use Theorem \ref{thm2.1} to prove 
the existence of solutions to \eqref{e1.1}.
For the next theorem we use the assumptions:
\begin{itemize}

\item[(H1)] There exist functions $p, q, \gamma\in L^1[0,1]$, such that for all 
$(x,y)\in \mathbb{R}^2$ and $t\in [0,1]$,
$$
|f(t,x,y)|\leq p(t)|x|+q(t)|y|+\gamma(t);
$$

\item[(H2)] There exists a constant $A>0$ such that for $x\in \operatorname{dom}L$, 
if $|x(t)|>A$ or $|x'(t)|>A$ for all $t\in [0,1]$, then
$$
QN(x(t))\neq 0;
$$

\item[(H3)] There exists a constant $B>0$ such that for $a\in \mathbb{R}$, if $|a|>B$, 
then either
$$
aQN(a(1+(\rho-1)t))>0,\quad\text{or}\quad aQN(a(1+(\rho-1)t))<0.
$$
\end{itemize}

\begin{theorem} \label{thm3.1}
Let {\rm (H0)--(H3)} hold and $\kappa\neq 0$.
Then \eqref{e1.1}  has at least one solution in $C^1[0,1]$, provided
$$
\|p\|_1+\|q\|_1<\frac{1}{1+|\rho-1|+\triangle},
$$
where $\triangle$ is the same as Lemma \ref{lem2.2}.
\end{theorem}

\begin{proof}  Set
$$
\Omega_1=\{x\in \operatorname{dom}L\backslash\ker L: Lx=\lambda Nx \
\text{for some } \lambda\in [0,1]\}.
$$
For $x\in \Omega_1$, since $Lx=\lambda Nx$, so $\lambda\neq 0$, 
$Nx\in \operatorname{Im}L$, hence
$$
QN(x(t))=0.
$$
Thus, from (H2), there exist $t_0, t_1\in [0,1]$ such that 
$|x(t_0)|\leq A,\ |x'(t_1)|\leq A$. Since $x,x'$ are absolutely continuous 
for all $t\in [0,1]$,
\begin{gather*}
|x'(t)|=|x'(t_1)-\int_{t}^{t_1}x''(s)ds\leq |x'(t_1)|+\|x''\|_{1}\leq A+\|Nx\|_{1},\\
|x(0)|=|x(t_0)-\int_{0}^{t_0}x'(s)ds|\leq |x(t_0)|+t_0(A+\|Nx\|_{1})\leq 2A+\|Nx\|_{1}.
\end{gather*}
Thus
\begin{equation}
\|Px\|\leq |x(0)|(1+|\rho-1|)\leq (1+|\rho-1|)(2A+\|Nx\|_{1}).\label{e3.1}
\end{equation}
Also for $x\in \Omega_1$, $x\in \operatorname{dom}L\backslash\ker L$, 
then $(I-P)x\in \operatorname{dom}L\cap\ker L$, $LPx=0$, thus from Lemma 
\ref{lem2.2}, we have
\begin{equation}
\|(I-P)x\|=\|K_{P}L(I-P)x\|\leq \triangle\|L(I-P)x\|_1
=\triangle\|Lx\|_1\leq \triangle\|Nx\|_1.\label{e3.2}
\end{equation}
By using \eqref{e3.1} and \eqref{e3.2}, we obtain
$$
\|x\|=\|Px+(I-P)x\|\leq \|Px\|+\|(I-P)x\|\leq 2A(1+|\rho-1|)+(1+|\rho-1|+\triangle)\|Nx\|_1
$$
By this and  (H1), we have
\begin{align*}
\|x\|&\leq  2A(1+|\rho-1|)+(1+|\rho-1|+\triangle)
(\|\alpha\|_1\|x\|_{\infty}+\|\beta\|_1\|x'\|_{\infty}+\|\gamma\|_1)\\
&\leq  2A(1+|\rho-1|)+(1+|\rho-1|+\triangle)
(\|\alpha\|_1\|x\|+\|\beta\|_1\|x\|+\|\gamma\|_1),
\end{align*}
and
$$
\|x\|\leq \frac{2A(1+|\rho-1|)+\|\gamma\|_1(1+|\rho-1|+\triangle)}
{1-(1+|\rho-1|+\triangle)(\|\alpha\|_1+\|\beta\|_1)}.
$$
Therefore, $\Omega_1$ is bounded. Let
$$
\Omega_2=\{x\in \ker L: Nx\in \operatorname{Im}L\}.
$$
For $x\in\Omega_2$, $x\in  \ker L$ implies that $x$ can be defined by
$x=a(1+(\rho-1)t)$, $t\in [0,1]$, $a\in \mathbb{R}$.
By (H2), there exist $t_0, t_1\in [0,1]$ such that $|x(t_0)|\leq A,\ |x'(t_1)|\leq A$,
then
$$
\|x'\|_{\infty}=|a(\rho-1)|\leq A.
$$
Moreover,
$$
\|x\|_{\infty}\leq \|x'\|_{\infty}+A.
$$
So
$\|x\|\leq 2A$. Thus, $\Omega_2$ is bounded.

Next, according to the condition (H3), for any $a\in \mathbb{R}$, if $|a|>B$, then either
\begin{equation}
aQN(a(1+(\rho-1)t)>0,\label{e3.3}
\end{equation}
or
\begin{equation}
aQN(a(1+(\rho-1)t)<0.\label{e3.4}
\end{equation}
When \eqref{e3.3} holds, set
$$
\Omega_3=\{x\in \ker L: \lambda Jx+(1-\lambda)QNx=0,\;\lambda\in [0,1] \},
$$
where $J: \ker L \to \operatorname{Im}Q$ is the linear isomorphism given 
by $J(a(1+(\rho-1)t))=a$, for all $a\in \mathbb{R}$.
Since for any $x=a(1+(\rho-1)t)$, we have
$$
\lambda a =-(1-\lambda)QN(a(1+(\rho-1)t),
$$
if $\lambda=1$, then $a=0$. Otherwise, if $|a|>B$, in view of \eqref{e3.3}, we have
$$
-(1-\lambda)aQN(a(1+(\rho-1)t)<0,
$$
which contradict $\lambda a\geq 0$. Thus $\Omega_3$ is bounded. If \eqref{e3.4} holds, 
then let
$$
\Omega_3=\{x\in \ker L: -\lambda Jx+(1-\lambda)QNx=0,\;\lambda\in [0,1] \}.
$$
By the same method as above, we obtain that $\Omega_3$ is bounded.

In the following, we shall prove that the all conditions of Theorem \ref{thm2.1} are
satisfied. Set $\Omega$ be a bound open subset of $Y$ such that
$\cup_{i=1}^{3}\overline{\Omega_i}\subset \Omega$. By using the
Ascoli-Arzela theorem, we can prove that $K_{P}(I-Q)N: \Omega\to Y$ is compact, thus
$N$ is $L$-compact on $\overline{\Omega}$. Then by the above argument we have
\begin{itemize}
\item[(i)] $Lx\neq \lambda Nx$, for every $(x,\lambda)\in
[(\operatorname{dom}L\backslash\ker L)\cap\partial\Omega]\times (0,1)$,


\item[(ii)] $Nx\not\in \operatorname{Im}L$ for $x\in \ker L\cap\partial\Omega$.

\end{itemize}
At last we will prove that (iii) of Theorem \ref{thm2.1} is satisfied.
Let $H(t,\lambda)=\pm\lambda Jx+(1-\lambda)QNx$. According to above argument, we know
$$
H(t,\lambda)\neq 0\ \text{for}\ x\in \ker L\cap\partial\Omega,
$$
thus, by the homotopy property of degree
\begin{align*}
\deg(QN|_{\ker L}, \ker L\cap\Omega,0)
&=\deg(H(\cdot,0), \ker L\cap\Omega,0)\\
&= \deg(H(\cdot,1), \ker L\cap\Omega,0)\\
&= \deg(\pm J, \ker L\cap\Omega,0)\neq 0.
\end{align*}
Then by Theorem \ref{thm2.1}, $Lx=Nx$ has at least one solution in 
$\operatorname{dom}L\cap\overline{\Omega}$, so that
 \eqref{e1.1} has solution in $C^1[0,1]$. 
\end{proof}

To illustrate our main results we present an example.
 Consider the  boundary-value problem
 \begin{gather*}
 x''=\cos t-1+\frac{1}{7}\sin x+\frac{1}{12}(|x|+|x'|),\quad t\in (0,1),\\
 x(0)=-\frac12x(\frac16)+2x(\frac12),\;x(1)=\frac{5}{8}\int_0^1x(s)ds.
 \end{gather*}
Let
\begin{gather*}
f(t,x,y)=\cos t-1+\frac{1}{7}\sin x+\frac{1}{12}(|x|+|y|),\quad
 \beta(t)=\frac{5}{8}t,\\
\alpha(t)=  \begin{cases}
 0 & t\in [0,\frac16),\\
 -\frac12 &t\in [\frac16,\frac12),\\
 \frac32 &t\in [\frac12,1].
 \end{cases}
\end{gather*}
then
\begin{gather*}
|f(t,x,y)|\leq \frac{19}{84}|x|+\frac{1}{12}|y|+2,\quad
\kappa_1=\frac{5}{12},\quad \kappa_2=\frac{11}{12},\quad \kappa_3=\frac{5}{16},
\\
\kappa_4=\frac{11}{16},\quad \kappa=\frac{205}{2304},\quad
\rho=\frac{5}{11},\quad \triangle=\frac{16}{11}.
\end{gather*}
Again taking $p=\frac{19}{84}$ and $q=\frac{1}{12}$, we have
$$
\|p\|_1+\|q\|_1=\frac{19}{84}+\frac{1}{12}=\frac{13}{42}<\frac{1}{3}
=\frac{1}{1+|\rho-1|+\triangle}.
$$
Finally taking $A=36$. So, as $|x(t)|\geq 36$ or $|x'(t)|\geq 36$,
we have $f(t,x(t),x'(t))>0$.
Therefore,
\begin{align*}
&QN(x(t))\\
&= \frac{\kappa_3}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\alpha(t)\\
&\quad+\frac{\kappa_1}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\beta(t)\\
&> \frac{\kappa_3}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\alpha(t)\\
&= \frac{\kappa_3}{\kappa}\Big(-\frac12\int_0^1k(\frac16,s)f(s,x(s),x'(s))ds+
2\int_0^1k(\frac12,s)f(s,x(s),x'(s))ds\Big)\\
&\geq \frac{\kappa_3}{\kappa}
 \Big(2\int_0^1\frac12(1-\frac12)s(1-s)f(s,x(s),x'(s))ds\\
&\quad -\frac12\int_0^1s(1-s)f(s,x(s),x'(s))ds\Big)=0.
\end{align*}
Thus condition (H2) holds. Again taking $B=50$, for any $a\in \mathbb{R}$,
when $|a|>50$, we have $N(a(1+(\rho-1)t))>0$.
So  condition (H3) holds. Hence from Theorem \ref{thm3.1},  BVP \eqref{e1.1} has at
least one solution $x\in C^1[0,1]$.


\subsection*{Acknowledgments}

The author was supported by grants 10971179 and 11126094 from  the National Science
Foundation of China,  and BS2010SF023 from the Research Award Fund for
Outstanding Young Scientists of Shandong Province.
The author wants to thank the anonymous reviewers for their valuable suggestions
and useful comments that  led to the improvement of this article.

\begin{thebibliography}{00}

\bibitem{bai} Z. Bai, W. Li, W. Ge;
Existence and multiplicity ofsolutions for
four-point boundary-value problems at resonance,  
\emph{Nonlinear Analysis, } \textbf{60} (2005): 1151-1162.

\bibitem{kar1} G. L. Karakostas, P.Ch. Tsamatos;
 Multiple positive solutions of some Fredholm integral equations
arisen from nonlocal boundary-value problems, \emph{Electron. J. Differential Equations.}
\textbf{2002} 30, (2002) 1-17.

\bibitem{kar2}  G. L. Karakostas, P. Ch. Tsamatos;
 Existence of multiple positive solutions for a nonlocal boundary-value problem, 
\emph{Topol. Methods Nonlinear Anal. } \textbf{19} (2002): 109-121.

\bibitem{liu1}B. Liu;
Solvabilityof multi-point boundary-value problem at resonance(II), 
\emph{Appl. Math. Comput. } \textbf{136}(2003):353-377.

\bibitem{liu2} B. Liu, J. Yu;
 Solvability of multi-point boundary-value problem at resonance(I),  
\emph{Indian J. Pure Appl. Math.} \textbf{33} (2002): 475-494.

\bibitem{maw1} J. Mawhin;
 Topological degree and boundary-value problems for nonlinear differential equations,
in: P.M. Fitzpertrick, M. Martelli, J. Mawhin, R. Nussbaum (Eds.), 
\emph{Topological Methods for Ordinary Differential Equations},
 Lecture Notes in Mathematics, vol. 1537, Springer, NewYork/Berlin, 1991.

\bibitem{maw2} J. Mawhin;
 Topological degree methods in nonlinear boundary-value problems, in
 \emph{NSFCBMS Regional Conference Series in Mathematics, American Mathematical Society}, 
Providence, RI, 1979.

\bibitem{web1} J. R. L. Webb, G. Infante;
 Positive solutions of nonlocal boundary-value problems involving integral conditions.  
\emph{NoDEA Nonlinear Differential Equations Appl.} \textbf{15} (2008): 45-67.

\bibitem{web2} J. R. L. Webb, G. Infante; 
Positive solutions of nonlocal boundary-value problems: a unified approach. 
 \emph{J. London Math. Soc. } \textbf{74} (2006): 673-693.

\bibitem{yang1} Z. Yang;
 Existence and uniqueness of positive solutions for an integral boundary-value problem,
  \emph{Nonlinear Analysis.} \textbf{69} (2008): 3910-3918.

\bibitem{yang2} Z. Yang;
 Existence and nonexistence results for positive solutions of an integral 
boundary value problem; \emph{Nonlinear Anal. } \textbf{65} (2006): 1489-1511.

\bibitem{yang3} Z. Yang;
Positive solutions of a second-order integral boundary-value problem, 
\emph{J. Math. Anal. Appl. } \textbf{321} (2006): 751-765.

\bibitem{zhangxue} X. Zhang, M. Feng, W. Ge;
Existence result of second-order differential equations with integral
boundary conditions at resonance,  \emph{J. Math. Anal. Appl. } 
\textbf{353}(2009):311-319.

\bibitem{zhang} X. Zhang, J. Sun;
 On multiple sign-changing solutions for some second-order integral
boundary-value problems, 
\emph{Electronic Journal of Qualitative Theory of Differential Equations.}
 \textbf{2010}, 44 (2010): 1-15.

\bibitem{zhao} Z. Zhao, J. Liang,
Existence of solutions to functional boundary-value problem of
second-order nonlinear differential equation,  \emph{J. Math. Anal. Appl. } 
\textbf{373} (2011): 614-634.

% new references 

\bibitem{fran}  Franco Daniel, Infante Gennaro, Zima  Miroslawa; 
Second order nonlocal boundary value problems at resonance.
\emph{ Math. Nachr.} \textbf{284} (2011), no. 7, 875-884.

\bibitem{inf} G. Infante,  M.  Zima; 
Positive solutions of multi-point boundary
value problems at resonance. \emph{ Nonlinear Anal..} 
\textbf{69} (2008), no. 8, 2458-2465.

\bibitem{web3} J. R. L. Webb, M. Zima; 
Multiple positive solutions of resonant and
nonresonant nonlocal boundary value problems.  \emph{Nonlinear Anal.} \textbf{71}(2009), no. 3-4,
1369-1378.

\bibitem{web4} J. R. L. Webb, G. Infante;  
Non-local boundary value problems of arbitrary order.  
\emph{J. Lond. Math. Soc.} \textbf{(2)} 79 (2009), no. 1, 238-258.

\bibitem{yang4} A. Yang, B. Sun, W. Ge; 
Existence of positive solutions for self-adjiont
boundary-value problems with integral
boundary condition at resonance, \emph{Electron. J. Differential Equations.}
\textbf{2011} 11, (2011) 1-8.

\bibitem{yang5} A. Yang, W. Ge; 
Positive solutions for second-order  boundary value problems with
with integral boundary condition at resonance on a half-line, 
\emph{Journal of Inequalities in Pure and Applied Mathematics.} 
\textbf{10} 1 (2009)  art. 9, 1-20.

\bibitem{yang6} A. Yang, Ch. Miao, W. Ge; 
Solvability for second-order nonlocal boundary value problems with a
p-Laplacian at resonance on a half-line, 
\emph{Electronic Journal of Qualitative Theory of Differential Equations.}
\textbf{2009} 19 (2009) 1-15.

\end{thebibliography}

\section*{Addendum posted on March 30, 2012}

In response to the comments from a reader, the author wanted to make
several corrections and add references \cite{fran}--\cite{yang6} to the original article.
However, due to the large number of corrections,
the editors decided to attached a revised version of all the sections
at the end of the article, and to keep original sections for
historical purposes.

\section{Introduction}

We consider the nonlinear second-order differential equation with
integral boundary conditions
\begin{equation}
\begin{gathered}
 x''(t)=f(t,x(t),x'(t)),\quad t\in (0,1), \\
 x(0)=\int_0^1x(s)d\alpha(s),\quad x(1)=\int_0^1x(s)d\beta(s),
 \end{gathered} \label{ne1.1}
\end{equation}
where $f\in  C([0,1]\times\mathbb{R}^2,\mathbb{R})$; $\alpha$ and $\beta$
are  functions of bounded variation; $\int_0^1u(s)d\alpha(s)$ and
$\int_0^1u(s)d\beta(s)$ denote the Riemann-Stieltjes integrals of $u$ with respect
to $\alpha$ and $\beta$, respectively.

The  boundary-value problem \eqref{ne1.1} is at resonance in the sense
that the associated linear homogeneous boundary-value problem
\begin{equation}
 \begin{gathered}
 x''(t)=0,\quad t\in (0,1), \\
 x(0)=\int_0^1x(s)d\alpha(s),\quad x(1)=\int_0^1x(s)d\beta(s)
 \end{gathered}
\end{equation}
has nontrivial solutions. The resonance condition is
$\kappa_1\kappa_4-\kappa_2\kappa_3=0$, where
\begin{gather*}
\kappa_1=1-\int_0^1(1-t)d\alpha(t),\quad \kappa_2=\int_0^1td\alpha(t), \\
\kappa_3=\int_0^1(1-t)d\beta(t),\quad \kappa_4=1-\int_0^1td\beta(t).
\end{gather*}

Boundary value problems with integral boundary conditions for ordinary differential
equations arise in different fields of applied mathematics and physics such as
heat conduction, chemical engineering, underground water flow, thermo-elasticity,
and plasma physics. Moreover, boundary-value problems with Riemann-Stieltjes
integral conditions constitute a very interesting and important
class of problems. They include two, three, multi-point and integral boundary-value
problems as special cases, see \cite{kar1,kar2,web1,web2}.
The existence and multiplicity of  solutions for such problems have received a
great deal of attention in the literature. 

We refer the reader to
\cite{web1,web2,yang1,yang2,yang3,zhang,web4}
 for some recent results at non-resonance
and to \cite{bai,liu1,liu2,zhangxue,zhao,fran,inf,web3,web4,yang4,yang5,yang6}
at resonance.
Zhang, Feng and Ge \cite{zhangxue} obtained some excellent results for certain
integral boundary conditions at resonance with $\text{dim ker}L=2$.
 Zhao and Liang \cite{zhao} studied the following second-order functional
boundary-value problem
 \begin{gather*}
 x''(t)=f(t,x(t),x'(t)),\quad t\in (0,1),\\
 \Gamma_1(x)=0,\quad \Gamma_2(x)=0,
 \end{gather*}
where $\Gamma_1, \Gamma_2:C^1[0,1]\to \mathbb{R}$ are continuous linear 
functionals.

We should note that all  boundary-value conditions  in the work of  Zhao and Liang
are relied on both $x$ and $x'$.
By using the Mawhin's continuation theorem \cite{maw1,maw2}, some existence results
were obtained when certain resonance conditions hold. However, the work of Zhao and Liang
concentrate  on the resonance
condition that at least two constants of $\{\kappa_i\}_{i=1}^{4}$ is equals to 0.
In particular, there has been no work done
for  \eqref{ne1.1} under the resonance condition
$$\kappa_1\kappa_2\kappa_3\kappa_4\neq 0;\
 \kappa_1\kappa_4-\kappa_2\kappa_3=0.
$$

Motivated by all the above works, we give some sufficient conditions for the
existence of solutions to  \eqref{ne1.1} at resonance.
 Our method is based upon  the coincidence degree theory of Mawhin \cite{maw1,maw2}.

 Throughout this paper, we suppose that $\kappa_1, \kappa_2, \kappa_3, \kappa_4$ satisfy
\begin{itemize}
\item[(H0)] $\kappa_1\kappa_2\kappa_3\kappa_4\neq 0$;
 $\kappa_1\kappa_4-\kappa_2\kappa_3=0$.
\end{itemize}


\section{Preliminaries}

In this section, we provide some definitions and lemmas used
for establishing the existence of solutions in $C^1[0,1]$.

\begin{definition} \label{ndef2.1}\rm
 Let $Y, Z$ be real Banach spaces, $L: \operatorname{dom}L\subset Y\operatorname\to Z$
 be a linear operator. $L$ is said to be the Fredholm operator of index zero
 provided that
\begin{itemize}
\item[(i)] $\text{Im }L$ is a closed subset of $Z$,

\item[(ii)] $\dim\ker L = \operatorname{codim}\operatorname{Im} L<+\infty$.
\end{itemize}
\end{definition}

Let $Y, Z$ be real Banach spaces and $L: \operatorname{dom} L\subset Y\operatorname\to Z$
 be a Fredholm operator of index zero.
$P: Y\to Y$, $Q: Z\to Z$ are continuous projectors such that
 $\operatorname{Im}P=\ker L$, $\ker Q=\operatorname{Im}L$,
$Y=\ker L\oplus \ker P$ and $Z=\operatorname{Im}L\oplus \operatorname{Im}Q$.
It follows that
$L|_{\operatorname{dom} L\cap \ker P}:\operatorname{dom}L\cap \ker P\to \operatorname{Im}L$ is invertible.
 We denote the inverse of the mapping by $K_P$
(generalized inverse operator of $L$). If $\Omega$ is an open bounded subset of $Y$ such that $\operatorname{dom}L\cap\Omega\neq \emptyset$, the mapping $N: Y\to Z$ will be called $L$-compact
on $\overline{\Omega}$, if $QN(\overline{\Omega})$ is bounded and
 $K_P(I-Q)N: \overline{\Omega}\to Y$ is compact.

Our main tools are \cite[Theorem 2.4]{maw1} and \cite[Theorem IV.13]{maw2}.

\begin{theorem} \label{nthm2.1}
 Let $L$ be a Fredholm operator of index zero and let $N$ be $L$-compact
on $\overline{\Omega}$. Assume the following conditions are satisfied:
\begin{itemize}
\item[(i)] $Lx\neq \lambda Nx$ for every $(x,\lambda)\in [(\operatorname{dom}L\backslash \ker  L)\cap\partial\Omega]\times(0, 1)$.

\item[(ii)] $Nx\not\in Im L$ for every $x\in \ker  L\cap\partial\Omega$.

\item[(iii)] $\deg(QN|_{\ker L}, \ker  L\cap\Omega, 0)\neq 0$, where
$Q: Z\to Z$ is a projector as above with $\operatorname{Im}L=\ker Q$.
\end{itemize}
Then the equation $Lx=Nx$ has at least one solution in
$\operatorname{dom}L\cap\overline{\Omega}$.
\end{theorem}

We use the classical spaces $C[0,1]$, $C^1[0,1]$ and $L^1[0,1]$.
For $x\in C^1[0,1]$, we use the norm
$\|x\|=\max\{\|x\|_{\infty}, \|x'\|_{\infty}\}$, where
 $\|x\|_{\infty}=\max_{t\in [0,1]}|x(t)|$. And denote the norm in $L^1[0,1]$
by $\|\cdot\|_1$. We also use the Sobolev space $W^{2,1}(0, 1)$ defined by
$$
W^{2,1}(0, 1)=\{x:[0,1]\to \mathbb{R}\mid x, x'\text{ are absolutely cont.on }
 [0, 1],\; x''\in  L^1[0, 1]\}
$$
with its usual norm.

Let $Y=C^1[0, 1]$, $Z=L^1[0, 1]$.
Let the linear operator $L: \operatorname{dom} L\subset Y\to Z$ with
$$
\operatorname{dom}L=\{x\in W^{2,1}(0, 1):u(0)=\int_0^1u(s)d\alpha(s),\
 u(1)=\int_0^1u(s)d\beta(s)\}
$$
be define by
$Lx=x''$.
Let the nonlinear operator $N: Y\to Z$ be defined by
$$
(Nx)(t)=f(t, x(t), x'(t)).
$$
Then  \eqref{ne1.1} can be written as
$$
Lx=Nx.
$$

\begin{lemma} \label{nlem2.1}
Let $L$ be the linear operator defined as above. Then
$$
\ker L=\{x\in \operatorname{dom} L:c(1+(\rho-1)t),\; c\in \mathbb{R},\; t\in [0,1]\}
$$
and
$$
\operatorname{Im}L=\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\},
$$
where $\rho=\kappa_3/\kappa_4=\kappa_1/\kappa_2$, and
$$
k(t,s)=\begin{cases}
 t(1-s), & 0\leq t\leq s\leq1,\\
 s(1-t), & 0\leq s\leq t\leq1.
 \end{cases}
$$
\end{lemma}

\begin{proof}
Let $x(t)=1+(\rho-1)t$. Considering $\rho=\kappa_3/\kappa_4=\kappa_1/\kappa_2$,
$$
\int_0^1x(t)d\alpha(t)=\int_0^1((1-t)+\rho t)d\alpha(t)=1-\kappa_1+\rho\kappa_2=1=x(0)
$$
and $\int_0^1x(t)d\beta(t)=\int_0^1((1-t)+\rho t)d\beta(t)=\kappa_3+\rho(1-\kappa_4)=\rho=x(1)$.
So
$$
\{x\in \operatorname{dom}L:c(1+(\rho-1)t),\; c\in \mathbb{R},\ t\in [0,1]\}
\subset \ker L.
$$
If $Lx=x''=0$, then $x(t)=a(1-t)+bt$. Considering  $x(0)=\int_0^1u(t)d\alpha(t)$
and $x(1)=\int_0^1x(t)d\beta(t)$, we can obtain that
$$
a=\int_0^1x(t)d\alpha(t)=\int_0^1(a(1-t)+b t)d\alpha(t)=a(1-\kappa_1)+b\kappa_2.
$$
It yields $ a\kappa_1=b\kappa_2$ and
$\ker L\subset\{x\in \text{domL}:c(1+(\rho-1)t),\; c\in \mathbb{R},\; t\in [0,1]\}$.

We now show that
$$
\operatorname{Im}L=\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}.
$$
If $y\in \operatorname{Im}L$, then there exists $x\in \operatorname{dom}L$
such that $x''(t)=y(t)$. Hence
$$
x(t)=-\int_0^1k(t,s)y(s)ds+x(0)(1-t)+x(1)t.
$$
Integrating with respect to $d\alpha(t)$ and $ d\beta(t)$ respectively on $[0,1]$ gives
$$
\int_0^1x(t)d\alpha(t)
=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)+x(0)(1-\kappa_1)+x(1)\kappa_2
$$
and
$$
\int_0^1x(t)d\beta(t)
=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)+x(0)\kappa_3+x(1)(1-\kappa_4).
$$
Therefore,
$$
\begin{pmatrix}
   \kappa_1&-\kappa_2\\
   -\kappa_3&\kappa_4
   \end{pmatrix}
\begin{pmatrix}
    x(0)\\
   x(1)
   \end{pmatrix}
=\begin{pmatrix}
    -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)\\
   -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)
   \end{pmatrix}
$$
and so
$$\displaystyle
-\frac{\kappa_1}{\kappa_3}=-\frac{\kappa_2}{\kappa_4}
=\frac{\displaystyle\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)}
{\displaystyle\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)}.
$$
It yields
$$
\operatorname{Im}L\subset\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}.
$$
On the other hand, suppose $y\in Z$ satisfies
$$
\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0.
$$
Let
$$
x(t)=-\int_0^1k(t,s)y(s)ds+\frac{t}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t),
$$
then $Lx=x''=y(t)$, $x(0)=0$ and
$x(1)=\frac{1}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)$.
Simple computations yield
$$
\int_0^1x(t)d\alpha(t)=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)=0
$$
and
\begin{align*}
\int_0^1x(t)d\beta(t)
&= -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{\kappa_3}{\kappa_1}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
  +\frac{1-\kappa_4}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t) \\
&= \frac{1}{\kappa_2}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)=x(1).
\end{align*}
Therefore,
$$
\{y\in Z:\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=0\}\subset \operatorname{Im}L.
$$
\end{proof}


\begin{lemma} \label{nlem2.2}
 If
$$
\kappa=\frac{\kappa_3}{2}\int_0^1t(1-t)d\alpha(t)
+\frac{\kappa_1}{2}\int_0^1t(1-t)d\beta(t)\neq 0,
$$
then $L$ is a Fredholm operator of index zero and
$\dim\ker L=\operatorname{codim\,Im}L=1$. Furthermore, the linear operator
$K_p:\operatorname{Im}L\to \operatorname{dom}L\cap \ker P$ can be defined by
$$
(K_py)(t)=-\int_0^1k(t,s)y(s)ds-\frac{t}{\kappa_4}
\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t).
$$
Also
$$
\|K_py\|\leq \triangle \|y\|_1,\quad  \text{for all } y\in \operatorname{Im}L,
$$
where
$$
\triangle=1+\frac{\big|\int_0^1t d|\beta(t)|\big|}{|\kappa_4|}.
$$
\end{lemma}

\begin{proof}
Firstly, we construct the mapping $Q:Z\to Z$ defined by
$$
 Qy= \frac{1}{\kappa}\big(\kappa_3\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
+\kappa_1\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big).
$$
Note that $\int_0^1k(t,s)ds=\frac12t(1-t)$ and
$$
Q^2y=Qy.
$$
Thus  $Q:Z\to Z$ is a well-defined projector.

Now, it is obvious that $\operatorname{Im}L=\ker Q$. Noting that $Q$ is a linear projector,
we have $Z=\operatorname{Im}Q\oplus \ker Q$.
Hence $Z=\operatorname{Im}Q\oplus \operatorname{Im}L$ and
 $\dim\ker L=\operatorname{codim\,Im}L=$1.
This means $L$ is a Fredholm mapping of index zero.
Taking $P: Y\to Y$ as
$$
(Px)(t)=x(0)(1+(\rho-1)t),
$$
then the generalized inverse $K_p:\operatorname{Im}L\to \operatorname{dom}L\cap \ker P$
of $L$ can be rewritten
$$
(K_py)(t)=-\int_0^1k(t,s)y(s)ds-\frac{t}{\kappa_4}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t).
$$
In fact,  for $y\in \operatorname{Im}L$,  we have
\begin{align*}
\int_0^1(K_py)(t)d\alpha(t)
&=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
-\frac{\kappa_2}{\kappa_4}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\\
&=-\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\alpha(t)
-\frac{\kappa_1}{\kappa_3}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\\
&=0=(K_py)(0)
\end{align*}
and
\begin{align*}
\int_0^1(K_py)(t)d\beta(t)
&= -\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)
  -\frac{1-\kappa_4}{\kappa_4}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t) \\
&= -\frac{1}{\kappa_4}\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)=(K_py)(1)
\end{align*}
which implies that $K_p$ is well defined on $\operatorname{Im}L$. Moreover,  for $y\in \operatorname{Im}L$,
 we have
$$
(LK_p)y(t)=((K_py)(t))''=y(t)
$$
and for $x\in \operatorname{dom}L\cap \ker P$, we know
\begin{align*}
(K_pL)x(t)&= -\int_0^1k(t,s)x''(s)ds-
\frac{t}{\kappa_4}\int_0^1\int_0^1k(t,s)x''(s)\,ds\,d\beta(t) \\
&=  x(t)-x(0)(1-t)-x(1)t\\
&\quad +\frac{t}{\kappa_4}\int_0^1(x(t)-x(0)(1-t)-x(1)t)d\beta(t).
\end{align*}
In view of $x\in \operatorname{dom}L\cap \ker P$, $x(0)=0, x(1)=\int_0^1x(t)d\beta(t)$,
thus
$$
(K_pL)x(t)=x(t).
$$
This shows that $K_P=(L|_{\operatorname{dom} L \cap \ker P})^{-1}$.
Since
$$
\|K_py\|_{\infty}\leq \int_0^1|y(s)|ds+\frac{1}{|\kappa_4|}
\big|\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big|
\leq \triangle\|y\|_1
$$
and
$$
\|(K_py)'\|_{\infty}\leq \int_0^1|y(s)|ds+\frac{1}{|\kappa_4|}
\big|\int_0^1\int_0^1k(t,s)y(s)\,ds\,d\beta(t)\big|
\leq \triangle\|y\|_1,
$$
it follows that $\|K_py\| \leq \triangle\|y\|_1$.
\end{proof}

\section{Main results}

In this section, we will use Theorem \ref{nthm2.1} to prove
the existence of solutions to \eqref{ne1.1}.
For the next theorem we use the assumptions:
\begin{itemize}

\item[(H1)] There exist functions $p, q, \gamma\in L^1[0,1]$, such that for all
$(x,y)\in \mathbb{R}^2$ and $t\in [0,1]$,
$$
|f(t,x,y)|\leq p(t)|x|+q(t)|y|+\gamma(t);
$$

\item[(H2)] There exists a constant $A>0$ such that for $x\in \operatorname{dom}L$,
if $|x(t)|>A$ or $|x'(t)|>A$ for all $t\in [0,1]$, then
$$
QN(x(t))\neq 0;
$$

\item[(H3)] There exists a constant $B>0$ such that for $a\in \mathbb{R}$, if $|a|>B$,
then either
$$
aQN(a(1+(\rho-1)t))>0,\quad\text{or}\quad aQN(a(1+(\rho-1)t))<0.
$$
\end{itemize}

\begin{theorem} \label{nthm3.1}
Let {\rm (H1)--(H3)} hold and $\kappa\neq 0$.
Then \eqref{ne1.1}  has at least one solution in $C^1[0,1]$, provided
$$
\|p\|_1+\|q\|_1<\frac{1}{\delta+\triangle},
$$
where $\delta=\text{max}\{1, |\rho|, |\rho-1| \}$ and $\triangle$ is the same as Lemma \ref{nlem2.2}.
\end{theorem}

\begin{proof}  Set
$$
\Omega_1=\{x\in \operatorname{dom}L\backslash\ker L: Lx=\lambda Nx \
\text{for some } \lambda\in [0,1]\}.
$$
For $x\in \Omega_1$, since $Lx=\lambda Nx$, so $\lambda\neq 0$,
$Nx\in \operatorname{Im}L$, hence
$$
QN(x(t))=0.
$$
Thus, from (H2), there exist $t_0, t_1\in [0,1]$ such that
$|x(t_0)|\leq A,\ |x'(t_1)|\leq A$. Since $x,x'$ are absolutely continuous
for all $t\in [0,1]$,
\begin{gather*}
|x'(t)|=|x'(t_1)-\int_{t}^{t_1}x''(s)ds|\leq |x'(t_1)|+\|x''\|_{1}\leq A+\|Nx\|_{1},\\
|x(0)|=|x(t_0)-\int_{0}^{t_0}x'(s)ds|\leq |x(t_0)|+t_0(A+\|Nx\|_{1})\leq 2A+\|Nx\|_{1}.
\end{gather*}
Thus
\begin{equation}
\|Px\|=\max\{\|Px\|_{\infty}, \|(Px)'\|_{\infty}\}
\leq \delta |x(0)|\leq \delta(2A+\|Nx\|_{1}).\label{ne3.1}
\end{equation}
Also for $x\in \Omega_1$, $x\in \operatorname{dom}L\backslash\ker L$,
then $(I-P)x\in \operatorname{dom}L\cap\ker L$, $LPx=0$, thus from Lemma
\ref{nlem2.2}, we have
\begin{equation}
\|(I-P)x\|=\|K_{P}L(I-P)x\|\leq \triangle\|L(I-P)x\|_1
=\triangle\|Lx\|_1\leq \triangle\|Nx\|_1.\label{ne3.2}
\end{equation}
By using \eqref{ne3.1} and \eqref{ne3.2}, we obtain
$$
\|x\|=\|Px+(I-P)x\|\leq \|Px\|+\|(I-P)x\|\leq 2A\delta+(\delta+\triangle)\|Nx\|_1
$$
By this and  (H1), we have
\begin{align*}
\|x\|&\leq  2A\delta+(\delta+\triangle)
(\|p\|_1\|x\|_{\infty}+\|q\|_1\|x'\|_{\infty}+\|\gamma\|_1)\\
&\leq  2A\delta+(\delta+\triangle)
(\|p\|_1\|x\|+\|q\|_1\|x\|+\|\gamma\|_1),
\end{align*}
and
$$
\|x\|\leq \frac{2A\delta+\|\gamma\|_1(\delta+\triangle)}
{1-(\delta+\triangle)(\|p\|_1+\|q\|_1)}.
$$
Therefore, $\Omega_1$ is bounded. Let
$$
\Omega_2=\{x\in \ker L: Nx\in \operatorname{Im}L\}.
$$
For $x\in\Omega_2$, $x\in  \ker L$ implies that $x$ can be defined by
$x=a(1+(\rho-1)t)$, $t\in [0,1]$, $a\in \mathbb{R}$.
By (H2), there exist $t_0, t_1\in [0,1]$ such that $|x(t_0)|\leq A,\ |x'(t_1)|\leq A$,
then
$$
\|x'\|_{\infty}=|a(\rho-1)|\leq A.
$$
Moreover,
$$
\|x\|_{\infty}\leq \|x'\|_{\infty}+A.
$$
So
$\|x\|\leq 2A$. Thus, $\Omega_2$ is bounded.

Next, according to the condition (H3), for any $a\in \mathbb{R}$, if $|a|>B$, then either
\begin{equation}
aQN(a(1+(\rho-1)t)>0,\label{ne3.3}
\end{equation}
or
\begin{equation}
aQN(a(1+(\rho-1)t)<0.\label{ne3.4}
\end{equation}
When \eqref{ne3.3} holds, set
$$
\Omega_3=\{x\in \ker L: \lambda Jx+(1-\lambda)QNx=0,\;\lambda\in [0,1] \},
$$
where $J: \ker L \to \operatorname{Im}Q$ is the linear isomorphism given
by $J(a(1+(\rho-1)t))=a$, for all $a\in \mathbb{R}$.
Since for any $x=a(1+(\rho-1)t)$, we have
$$
\lambda a =-(1-\lambda)QN(a(1+(\rho-1)t),
$$
if $\lambda=1$, then $a=0$. Otherwise, if $|a|>B$, in view of \eqref{ne3.3}, we have
$$
-(1-\lambda)aQN(a(1+(\rho-1)t)<0,
$$
which contradict $\lambda a^2\geq 0$. Thus $\Omega_3$ is bounded. If \eqref{ne3.4} holds,
then let
$$
\Omega_3=\{x\in \ker L: -\lambda Jx+(1-\lambda)QNx=0,\;\lambda\in [0,1] \}.
$$
By the same method as above, we obtain that $\Omega_3$ is bounded.

In the following, we shall prove that the all conditions of Theorem \ref{nthm2.1} are
satisfied. Set $\Omega$ be a bound open subset of $Y$ such that
$\cup_{i=1}^{3}\overline{\Omega_i}\subset \Omega$. By using the
Ascoli-Arzela theorem, we can prove that $K_{P}(I-Q)N: \Omega\to Y$ is compact, thus
$N$ is $L$-compact on $\overline{\Omega}$. Then by the above argument we have
\begin{itemize}
\item[(i)] $Lx\neq \lambda Nx$, for every $(x,\lambda)\in
[(\operatorname{dom}L\backslash\ker L)\cap\partial\Omega]\times (0,1)$,


\item[(ii)] $Nx\not\in \operatorname{Im}L$ for $x\in \ker L\cap\partial\Omega$.

\end{itemize}
At last we will prove that (iii) of Theorem \ref{nthm2.1} is satisfied.
Let $H(t,\lambda)=\pm\lambda Jx+(1-\lambda)QNx$. According to above argument, we know
$$
H(t,\lambda)\neq 0\ \text{for}\ x\in \ker L\cap\partial\Omega,
$$
thus, by the homotopy property of degree
\begin{align*}
\deg(QN|_{\ker L}, \ker L\cap\Omega,0)
&=\deg(H(\cdot,0), \ker L\cap\Omega,0)\\
&= \deg(H(\cdot,1), \ker L\cap\Omega,0)\\
&= \deg(J, \ker L\cap\Omega,0)\neq 0.
\end{align*}
Then by Theorem \ref{nthm2.1}, $Lx=Nx$ has at least one solution in
$\operatorname{dom}L\cap\overline{\Omega}$, so that
 \eqref{ne1.1} has solution in $C^1[0,1]$.
\end{proof}

To illustrate our main results we present an example.
 Consider the  boundary-value problem
 \begin{gather*}
 x''=\cos t-1+\frac{1}{7}\sin x+\frac{1}{12}(|x|+|x'|),\quad t\in (0,1),\\
 x(0)=-\frac12x(\frac16)+2x(\frac12),\;x(1)=\frac{5}{8}\int_0^1x(s)ds.
 \end{gather*}
Let
\begin{gather*}
f(t,x,y)=\cos t-1+\frac{1}{7}\sin x+\frac{1}{12}(|x|+|y|),\quad
 \beta(t)=\frac{5}{8}t,\\
\alpha(t)=  \begin{cases}
 0 & t\in [0,\frac16),\\
 -\frac12 &t\in [\frac16,\frac12),\\
 \frac32 &t\in [\frac12,1].
 \end{cases}
\end{gather*}
then
\begin{gather*}
|f(t,x,y)|\leq \frac{19}{84}|x|+\frac{1}{12}|y|+2,\quad
\kappa_1=\frac{5}{12},\quad \kappa_2=\frac{11}{12},\quad \kappa_3=\frac{5}{16},
\\
\kappa_4=\frac{11}{16},\quad \kappa=\frac{205}{2304},\quad
\rho=\frac{5}{11},\quad \delta=1,\quad\triangle=\frac{16}{11}.
\end{gather*}
Again taking $p=\frac{19}{84}$ and $q=\frac{1}{12}$, we have
$$
\|p\|_1+\|q\|_1=\frac{19}{84}+\frac{1}{12}=\frac{13}{42}<\frac{11}{27}
=\frac{1}{\delta+\triangle}.
$$
Finally taking $A=36$. So, as $|x(t)|\geq 36$ or $|x'(t)|\geq 36$,
we have $f(t,x(t),x'(t))>0$.
Therefore,
\begin{align*}
&QN(x(t))\\
&= \frac{\kappa_3}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\alpha(t)\\
&\quad+\frac{\kappa_1}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\beta(t)\\
&> \frac{\kappa_3}{\kappa}\int_0^1\int_0^1k(t,s)f(s,x(s),x'(s))\,ds\,d\alpha(t)\\
&= \frac{\kappa_3}{\kappa}\Big(-\frac12\int_0^1k(\frac16,s)f(s,x(s),x'(s))ds+
2\int_0^1k(\frac12,s)f(s,x(s),x'(s))ds\Big)\\
&\geq \frac{\kappa_3}{\kappa}
 \Big(2\int_0^1\frac12(1-\frac12)s(1-s)f(s,x(s),x'(s))ds\\
&\quad -\frac12\int_0^1s(1-s)f(s,x(s),x'(s))ds\Big)=0.
\end{align*}
Thus condition (H2) holds. Again taking $B=50$, for any $a\in \mathbb{R}$,
when $|a|>50$, we have $N(a(1+(\rho-1)t))>0$.
So  condition (H3) holds. Hence from Theorem \ref{nthm3.1},  BVP \eqref{ne1.1} has at
least one solution $x\in C^1[0,1]$.

\subsection*{Acknowledgments}
The author wants to thank the anonymous reader who suggested the above
corrections. These corrections correspond to a referee report
that was overlooked by the author.


\end{document}

