1 Introduction

In 1940, Ulam [1] proposed the following stability problem: When is the statement of the theorem still true or nearly true, despite slight variations on the theorem’s hypotheses? In the following year, Hyers [2] gave the first positive answer to Ulam’s question by proving the stability of the additive functional equation in Banach spaces. Since then, Hyers’ result has been widely generalized in terms of control conditions used to define the concept of an approximate solution (see [37]).

The generalization of Ulam’s question has been relatively recently proposed by replacing functional equations with differential equations: Let I be a subinterval of R, let K denote either R or C, and let n be a positive integer. The differential equation \(\psi ( f, z, z', z'', \ldots , z^{(n)} ) = 0\) has the Hyers–Ulam stability if there exists a constant \(K > 0\) such that the following statement is true: for every \(\varepsilon > 0\), if an n times continuously differentiable function \(z : I \to {\mathbf{K}}\) satisfies the inequality

$$\begin{aligned} \bigl\vert \psi \bigl( f, z, z', z'', \ldots , z^{(n)} \bigr) \bigr\vert \leq \varepsilon \end{aligned}$$

for all \(t \in I\), then there exists a solution \(y : I \to {\mathbf{K}}\) of the differential equation that satisfies the inequality \(| z(t) - y(t) | \leq K \varepsilon \) for all \(t \in I\).

Obłoza seems to be the first author who investigated the Hyers–Ulam stability of linear differential equations (see [8, 9]). Then, in 1998, Alsina and Ger [10] continued the study of Obłoza’s Hyers–Ulam stability of differential equations. Indeed, they proved the following theorem.

Theorem 1.1

([10])

Let \(I \neq \emptyset \) be an open subinterval of R. If a differentiable function \(x : I \to {\mathbf{R}}\) satisfies the differential inequality \(\| x'(t) - x(t) \| \leq \varepsilon \) for any \(t \in I\) and for some \(\varepsilon > 0\), then there exists a differentiable function \(y : I \to {\mathbf{R}}\) satisfying \(y'(t) = y(t)\) and \(\| x(t) - y(t) \| \leq 3 \varepsilon \) for all \(t \in I\).

This result of Alsina and Ger has been generalized by Takahashi et al. [11]. They proved that the Hyers–Ulam stability holds true for the Banach space valued differential equation \(x'(t) = \lambda x(t)\). Indeed, the Hyers–Ulam stability has been proved for the first-order linear differential equations in more general settings (see [1218]).

In 2006, Jung [15] investigated the Hyers–Ulam stability of a system of first-order linear differential equations with constant coefficients by using matrix method. Then, in 2008, Wang et al. [19] studied the Hyers–Ulam stability of linear differential equations of first order using the integral factor method. Meanwhile, Rus [20] discussed various types of Hyers–Ulam stability of the ordinary differential equation of the form \(x'(t) = A x(t) + f(t, x(t))\).

In 2014, Alqifiary and Jung [21] proved the Hyers–Ulam stability of linear differential equation of the form

$$\begin{aligned} x^{(n)}(t) + \sum_{k=0}^{n-1} { \alpha _{k} x^{(k)}(t)} = f(t) \end{aligned}$$

by using the Laplace transform method, where \(\alpha _{k}\) are scalars and \(x(t)\) is an n times continuously differentiable function and of exponential order (see also [22, 23]).

In recent years, many authors are studying the Hyers–Ulam stability of differential equations, and a number of mathematicians are paying attention to new results of the Hyers–Ulam stability of differential equations (see [2437]). Recently, Murali et al. [38] have investigated the Hyers–Ulam stability of the linear differential equation using Fourier transform method (see also [39, 40]).

Very recently, Murali and Ponmana Selvan [41] studied the Mittag-Leffler–Hyers–Ulam stability of a linear differential equations of first order using Laplace transforms method.

Integral transform plays an important role in solving ordinary differential equation. The Laplace transform has been effectively used to solve linear and nonlinear ordinary and partial differential equations and it is used extensively in proving Ulam stability problem.

Aboodh integral transform [42, 43] was introduced by Aboodh in the year 2013, to facilitate the process of solving ordinary differential equations in the time domain. This transformation has deeper connection with the Laplace and Elzaki transform.

Based on the above results, our main intention is to more efficiently prove the Hyers–Ulam stability and Mittag-Leffler–Hyers–Ulam stability of the first-order linear differential equations of the forms

$$\begin{aligned} x'(t) + \lambda x(t) = 0 \end{aligned}$$
(1.1)

and

$$\begin{aligned} x'(t) + \lambda x(t) = r(t) \end{aligned}$$
(1.2)

with the help of the Aboodh transform method, where λ is a scalar and \(x(t)\) is a continuously differentiable function of exponential order.

2 Preliminaries and basic notations

In this section, we introduce some standard notations and definitions which will be useful to prove our main results.

Throughout this paper, K denotes either the real field R or the complex field C. A function \(f : [0, \infty ) \to {\mathbf{K}}\) is of exponential order if there exist constants \(A, B \in {\mathbf{R}}\) such that \(| f(t) | \leq A e^{Bt}\) for all \(t \geq 0\).

Consider the set S, which is defined by

$$ S = \bigl\{ f: [0, \infty ) \to {\mathbf{K}} / \exists M, k_{1}, k_{2} > 0, \bigl\vert f(t) \bigr\vert < M e^{-u t}, \forall u \in (k_{1} , k_{2}), \forall t \in [0, \infty ) \bigr\} . $$

For a given function \(f(t)\) in the set S, M must be a finite number, \(k_{1}\) and \(k_{2}\) may be finite or infinite [44]. Now, we define the Aboodh transform as follows.

Definition 2.1

([44, 45])

The Aboodh (integral) transform is defined, for a function \(f(t)\) of exponential order, by

$$\begin{aligned} \mathcal{A} \bigl\{ f(t) \bigr\} = \frac{1}{u} \int _{0}^{\infty } f(t) e^{- u t} \,dt = F(u), \quad t \geq 0, \end{aligned}$$

provided that the integral exists for some u, where \(u \in (k_{1} , k_{2})\). Here \(\mathcal{A}\) is called the Aboodh (integral) transform operator.

The Aboodh integral transform for a function \(f : [0, \infty ) \to {\mathbf{K}}\) exists if \(f(t)\) is piecewise continuous and of exponential order. These conditions are the only sufficient conditions for the existence of the Aboodh transform of a function \(f(t)\) (see [4446]).

Definition 2.2

([47] (Convolution of two functions))

The convolution of two functions \(f(t)\) and \(g(t)\) is denoted by \(f(t) \ast g(t)\) and is defined by

$$\begin{aligned} f(t) \ast g(t) = (f \ast g) (t) = \int _{0}^{t} f(s) g(t-s) \,ds = \int _{0}^{t} f(t-s) g(s) \,ds. \end{aligned}$$

Theorem 2.3

([47] (Convolution theorem for Aboodh transform))

Assume that \(f(t)\) and \(g(t)\) are given functions defined for \(t \geq 0\). If \(\mathcal{A} \{ f(t) \} = F(u)\) and \(\mathcal{A} \{ g(t) \} = G(u)\), then

$$\begin{aligned} \mathcal{A} \bigl\{ f(t) \ast g(t) \bigr\} = u \mathcal{A} \bigl\{ f(t) \bigr\} \mathcal{A} \bigl\{ g(t) \bigr\} = u F(u) G(u). \end{aligned}$$

Definition 2.4

([47] (Inverse Aboodh transform))

If \(\mathcal{A} \{ f(t) \} = F(u)\), then \(f(t)\) is called the inverse Aboodh (integral) transform of \(F(u)\) and is denoted as \(f(t) = \mathcal{A}^{-1} \{ F(u) \}\), where \(\mathcal{A}^{-1}\) is the inverse Aboodh transform operator.

Definition 2.5

([48])

The Mittag-Leffler function of one parameter is denoted by \(E_{\nu }(t)\) and it is defined as

$$\begin{aligned} E_{\nu }(t) = \sum_{k=0}^{\infty } \frac{t^{k}}{\Gamma (\nu k + 1)}, \end{aligned}$$

where \(t, \nu \in {\mathbf{C}}\) and \(\Re (\nu ) > 0\). If we put \(\nu = 1\), then the above equation becomes

$$\begin{aligned} E_{1}(t) = \sum_{k=0}^{\infty } \frac{t^{k}}{\Gamma (k + 1)} = \sum_{k=0}^{ \infty } \frac{t^{k}}{k!} = e^{t}. \end{aligned}$$

Definition 2.6

([48])

The generalization of \(E_{\nu }(t)\) is defined as a function

$$\begin{aligned} E_{\nu , \vartheta }(t) = \sum_{k=0}^{\infty } \frac{t^{k}}{\Gamma (\nu k + \vartheta )}, \end{aligned}$$

where \(t, \nu , \vartheta \in {\mathbf{C}}\), \(\Re (\nu ) > 0\) and \(\Re (\vartheta ) > 0\).

Now we give the definitions of the Hyers–Ulam stability and the Hyers–Ulam ϕ-stability of the differential equations (1.1) and (1.2).

Throughout this section, we set

$$\begin{aligned} \mathcal{F} := &\bigl\{ f : [0, \infty ) \to {\mathbf{K}} \mid \\ &\text{$f$ is a continuously differentiable function of exponential order} \bigr\} . \end{aligned}$$

Definition 2.7

The linear differential equation (1.1) is said to have the Hyers–Ulam stability (for the class \(\mathcal{F}\)) when there exists a constant \(K > 0\) such that the following statement is true for any \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) \bigr\vert \leq \varepsilon \end{aligned}$$
(2.1)

for all \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.1) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \varepsilon \end{aligned}$$

for all \(t \geq 0\).

Definition 2.8

We say that the non-homogeneous linear differential equation (1.2) has the Hyers–Ulam stability (for the class \(\mathcal{F}\)), if there exists a constant \(K > 0\) such that the following statement is true for each \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) - r(t) \bigr\vert \leq \varepsilon \end{aligned}$$
(2.2)

for all \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.2) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \varepsilon \end{aligned}$$

for any \(t \geq 0\). Then the constant K is called a Hyers–Ulam constant.

Definition 2.9

Let \(\phi : [0, \infty ) \to (0, \infty )\) be a function. We say that the homogeneous linear differential equation (1.1) has the Hyers–Ulam ϕ-stability (for the class \(\mathcal{F}\)), if there exists a constant \(K > 0\) such that the following statement is true for every \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) \bigr\vert \leq \phi (t) \varepsilon \end{aligned}$$
(2.3)

for any \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.1) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon \end{aligned}$$

for any \(t \geq 0\).

Definition 2.10

Let \(\phi : [0, \infty ) \to (0, \infty )\) be a function. The differential equation (1.2) is said to have the Hyers–Ulam ϕ-stability (for the class \(\mathcal{F}\)) when there exists a constant \(K > 0\) such that the following statement is true for all \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) - r(t) \bigr\vert \leq \phi (t) \varepsilon \end{aligned}$$
(2.4)

for all \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.2) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon \end{aligned}$$

for all \(t \geq 0\). For the case, we call the constant K a Hyers–Ulam ϕ-constant.

Finally, we introduce the definitions of Mittag-Leffler–Hyers–Ulam stability and Mittag-Leffler–Hyers–Ulam ϕ-stability of the differential equations (1.1) and (1.2).

Definition 2.11

Let \(E_{\nu }(t)\) be the Mittag-Leffler function. We say that the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam stability (for the class \(\mathcal{F}\)), if there exists a constant \(K > 0\) such that the following statement holds true for any \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) \bigr\vert \leq \varepsilon E_{\nu }(t) \end{aligned}$$
(2.5)

for all \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.1) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \varepsilon E_{\nu }(t) \end{aligned}$$

for any \(t \geq 0\).

Definition 2.12

Let \(E_{\nu }(t)\) be the Mittag-Leffler function. We say that the non-homogeneous differential equation (1.2) has the Mittag-Leffler–Hyers–Ulam stability (for the class \(\mathcal{F}\)) when there exists a constant \(K > 0\) such that the following statement is true for each \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) - r(t) \bigr\vert \leq \varepsilon E_{\nu }(t) \end{aligned}$$
(2.6)

for every \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.2) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \varepsilon E_{\nu }(t) \end{aligned}$$

for any \(t \geq 0\). We call the constant K a Mittag-Leffler–Hyers–Ulam constant.

Definition 2.13

Let \(E_{\nu }(t)\) be the Mittag-Leffler function and let \(\phi : [0, \infty ) \to (0, \infty )\) be a function. We say that the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam ϕ-stability (for the class \(\mathcal{F}\)), if there exists a constant \(K > 0\) such that the following statement is true for any \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) \bigr\vert \leq \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$
(2.7)

for each \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.1) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$

for any \(t \geq 0\).

Definition 2.14

Let \(E_{\nu }(t)\) be the Mittag-Leffler function and let \(\phi : [0, \infty ) \to (0, \infty )\) be a function. We say that the differential equation (1.2) has the Mittag-Leffler–Hyers–Ulam ϕ-stability (for the class \(\mathcal{F}\)) when there exists a constant \(K > 0\) such that the following statement is true for any \(\varepsilon > 0\): If a function \(x \in \mathcal{F}\) satisfies the inequality

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) - r(t) \bigr\vert \leq \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$
(2.8)

for any \(t \geq 0\), then there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of differential equation (1.2) such that \(y \in \mathcal{F}\) and

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$

for any \(t \geq 0\). For this case, we call K a Mittag-Leffler–Hyers–Ulam ϕ-constant.

If, in addition, minimum of such K’s exists, then we call it as the best Ulam constant.

3 Hyers–Ulam stability of (1.1)

In this section, we prove several types of Hyers–Ulam stability of the homogeneous first-order linear differential equation (1.1) using the Aboodh transform.

It should be noted that in this and the next sections we investigate various types of Hyers–Ulam stability in the class of continuously differentiable functions of exponential order.

Theorem 3.1

Assume that λ is a constant with \(\Re (\lambda ) > 0\). The differential equation (1.1) is Hyers–Ulam stable in the class of continuously differentiable functions of exponential order.

Proof

Assume that \(x : [0, \infty ) \to {\mathbf{K}}\) is a continuously differentiable function of exponential order which satisfies the inequality (2.1) for all \(t \geq 0\). Let us define a function \(p : [0, \infty ) \to {\mathbf{K}}\) by \(p(t) := x'(t) + \lambda x(t)\) for all \(t \geq 0\). In view of (2.1), the inequality \(| p(t) | \leq \varepsilon \) holds for all \(t \geq 0\). The Aboodh transform of \(p(t)\) gives the following result:

$$\begin{aligned} P(u) := \mathcal{A} \bigl\{ p(t) \bigr\} = \mathcal{A} \bigl\{ x'(t) + \lambda x(t) \bigr\} = \mathcal{A} \bigl\{ x'(t) \bigr\} + \lambda \mathcal{A} \bigl\{ x(t) \bigr\} = u X(u) - \frac{x(0)}{u} + \lambda X(u), \end{aligned}$$

since \(\mathcal{A} \{ x'(t) \} = u \mathcal{A} \{ x(t) \} - \frac{x(0)}{u}\). Thus

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} = X(u) = \frac{\frac{x(0)}{u} + P(u)}{\lambda + u}. \end{aligned}$$
(3.1)

If we put \(y(t) = e^{-\lambda t} x(0)\), then \(y(0) = x(0)\) and \(y(t)\) is a function of exponential order. The Aboodh transform of \(y(t)\) gives the following result:

$$\begin{aligned} \mathcal{A} \bigl\{ y(t) \bigr\} = Y(u) = \frac{ x(0)}{u (\lambda + u)}. \end{aligned}$$
(3.2)

Thus,

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = \mathcal{A} \bigl\{ y'(t) \bigr\} + \lambda \mathcal{A} \bigl\{ y(t) \bigr\} = u Y(u) - \frac{y(0)}{u} + \lambda Y(u). \end{aligned}$$

Using (3.2), we have \(\mathcal{A} \{ y'(t) + \lambda y(t) \} = 0\). Since \(\mathcal{A}\) is a one-to-one operator, \(y'(t) + \lambda y(t) = 0\). Hence \(y(t)\) is a solution of the differential equation (1.1). By (3.1) and (3.2), we obtain

$$\begin{aligned} \begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} - \mathcal{A} \bigl\{ y(t) \bigr\} & = X(u) - Y(u) = \frac{P(u)}{\lambda + u} = u P(u) Q(u) = \mathcal{A} \bigl\{ p(t) \ast q(t) \bigr\} , \end{aligned} \end{aligned}$$

where \(Q(u) = \frac{1}{u(\lambda + u)}\), which gives \(q(t) = \mathcal{A}^{-1} \{ \frac{1}{\lambda u + u^{2}} \} = e^{-\lambda t}\).

Consequently, \(\mathcal{A} \{ x(t) - y(t) \} = \mathcal{A} \{ p(t) \ast q(t) \}\) and thus, \(x(t) - y(t) = p(t) \ast q(t)\). Taking the modulus on both sides, we have

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast q(t) \bigr\vert = \biggl\vert \int _{0}^{t} p(s) q(t-s) \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert q(t-s) \bigr\vert \,ds \\ & \leq \varepsilon \int _{0}^{t} \bigl\vert q(t-s) \bigr\vert \,ds = \varepsilon e^{-\Re ( \lambda ) t} \int _{0}^{t} e^{\Re (\lambda ) s} \,ds = \frac{\varepsilon }{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \varepsilon \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\), which implies that the differential equation (1.1) has the Hyers–Ulam stability. □

Similar to Theorem 3.1, we will prove the Hyers–Ulam ϕ-stability for the differential equation (1.1). For the sake of the completeness of this paper, the proof is introduced here in detail.

Theorem 3.2

Assume that \(\phi : [0, \infty ) \to (0, \infty )\) is an increasing function and λ is a constant with \(\Re (\lambda ) > 0\). Then the differential equation (1.1) has the Hyers–Ulam ϕ-stability.

Proof

Let \(x : [0, \infty ) \to {\mathbf{K}}\) be a continuously differentiable function of exponential order and \(\phi : [0, \infty ) \to (0, \infty )\) be an increasing function satisfying the inequality (2.3) for all \(t \geq 0\). If we define a function \(p : [0, \infty ) \to {\mathbf{K}}\) by \(p(t) := x'(t) + \lambda x(t)\) for all \(t \geq 0\), then we have \(| p(t) | \leq \phi (t) \varepsilon \) for all \(t \geq 0\).

As we did in the first part of the proof of Theorem 3.1, we can prove that \(y(t) = e^{-\lambda t} x(0)\) is a solution of the differential equation (1.1). On the other hand, \(Q(u) = \frac{1}{u(\lambda + u)}\) shows that \(q(t) = \mathcal{A}^{-1} \{ \frac{1}{u(\lambda + u)} \} = e^{-\lambda t}\).

Moreover, it follows from (3.1) and (3.2) that

$$\begin{aligned} \begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} - \mathcal{A} \bigl\{ y(t) \bigr\} & = X(u) - Y(u) = \frac{P(u)}{\lambda + u} = u P(u) Q(u) \\ & = u \mathcal{A} \bigl\{ p(t) \bigr\} \mathcal{A} \bigl\{ q(t) \bigr\} = \mathcal{A} \bigl\{ p(t) \ast q(t) \bigr\} , \end{aligned} \end{aligned}$$

which yields \(\mathcal{A} \{ x(t) - y(t) \} = \mathcal{A} \{ p(t) \ast e^{- \lambda t} \}\). Therefore, \(x(t) - y(t) = p(t) \ast e^{-\lambda t}\).

Similar to the proof of Theorem 3.1, we can show that

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast e^{-\lambda t} \bigr\vert = \biggl\vert \int _{0}^{t} p(s) e^{-\lambda (t-s)} \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert e^{-\lambda (t-s)} \bigr\vert \,ds \\ & \leq \phi (t) \varepsilon e^{-\Re (\lambda ) t} \int _{0}^{t} e^{ \Re (\lambda ) s} \,ds = \frac{\phi (t) \varepsilon }{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \phi (t) \varepsilon \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). This completes the proof. □

Now, we are going to establish the Mittag-Leffler–Hyers–Ulam stability of differential equation (1.1) using the Aboodh transform.

Theorem 3.3

Let λ and ν be constants satisfying \(\Re (\lambda ) > 0\) and \(\nu > 0\). Then the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam stability.

Proof

Suppose that \(x : [0, \infty ) \to {\mathbf{K}}\) is a continuously differentiable function of exponential order which satisfies the inequality (2.5) for all \(t \geq 0\). Let \(p : [0, \infty ) \to {\mathbf{K}}\) be a function defined by \(p(t) := x'(t) + \lambda x(t)\) for all \(t \geq 0\). In view of (2.5), we have \(| p(t) | \leq \varepsilon E_{\nu }(t)\) for all \(t \geq 0\).

The Aboodh transform of \(p(t)\) yields the following result:

$$\begin{aligned} P(u) := \mathcal{A} \bigl\{ p(t) \bigr\} = \mathcal{A} \bigl\{ x'(t) + \lambda x(t) \bigr\} = u X(u) - \frac{x(0)}{u} + \lambda X(u). \end{aligned}$$

Thus, we get

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} = X(u) = \frac{x(0) + u P(u)}{\lambda u + u^{2}}. \end{aligned}$$
(3.3)

If we put \(y(t) = e^{-\lambda t} x(0)\), then \(y(0) = x(0)\) and \(y(t)\) is a function of exponential order. Moreover, the Aboodh transform of \(y(t)\) yields

$$\begin{aligned} \mathcal{A} \bigl\{ y(t) \bigr\} = Y(u) = \frac{x(0)}{u^{2} + \lambda u}. \end{aligned}$$
(3.4)

It follows from (3.4) that

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} & = \mathcal{A} \bigl\{ y'(t) \bigr\} + \lambda \mathcal{A} \bigl\{ y(t) \bigr\} \\ & = u Y(u) - \frac{y(0)}{u} + \lambda Y(u) = 0. \end{aligned}$$

Since \(\mathcal{A}\) is a one-to-one operator, \(y'(t) + \lambda y(t) = 0\). Hence \(y(t)\) is a solution of the differential equation (1.1). If we set \(Q(u) = \frac{1}{\lambda u + u^{2}}\), then the equality \(\mathcal{A} \{ q(t) \} = \frac{1}{(\lambda + u )u}\) implies that \(q(t) = e^{-\lambda t}\). By (3.3) and (3.4), we obtain

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} - \mathcal{A} \bigl\{ y(t) \bigr\} = X(u) - Y(u) = \frac{P(u)}{\lambda + u} = u P(u) Q(u). \end{aligned}$$

Consequently, \(\mathcal{A} \{ x(t) - y(t) \} = \mathcal{A} \{ p(t) \ast e^{- \lambda t} \} \), which gives \(x(t) - y(t) = p(t) \ast e^{-\lambda t}\). Taking modulus on both sides and using the fact that \(| p(t) | \leq \varepsilon E_{\nu }(t)\) for all \(t \geq 0\) and since \(E_{\nu }(t)\) is increasing for \(t \geq 0\), we have

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast e^{-\lambda t} \bigr\vert = \biggl\vert \int _{0}^{t} p(s) e^{-\lambda (t-s)} \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert e^{-\lambda (t-s)} \bigr\vert \,ds \\ & \leq \varepsilon E_{\nu }(t) e^{-\Re (\lambda ) t} \int _{0}^{t} e^{ \Re (\lambda ) s} \,ds = \varepsilon E_{\nu }(t) \frac{1}{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & = K \varepsilon E_{\nu }(t) \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we choose \(K = \frac{1}{\Re (\lambda )}\). Then, referring to Definition 2.11, we can confirm that the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam stability. □

Similar to the case of Theorem 3.3, the Mittag-Leffler–Hyers–Ulam ϕ-stability of the differential equation (1.1) can be proved. For the sake of this paper’s completeness, we present the whole proof.

Theorem 3.4

Assume that \(\phi : [0, \infty ) \to (0, \infty )\) is an increasing function and that λ and ν are constants which satisfy \(\Re (\lambda ) > 0\) and \(\nu > 0\). Then the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam ϕ-stability.

Proof

Let \(x : [0, \infty ) \to {\mathbf{K}}\) be a continuously differentiable function of exponential order and \(\phi : [0, \infty ) \to (0, \infty )\) be a function that satisfies the inequality (2.7) for all \(t \geq 0\). We will prove that there exist a positive constant \(K > 0\) (independent of ε) and a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of the differential equation (1.1) such that

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$

for all \(t \geq 0\).

If we define a function \(p : [0, \infty ) \to {\mathbf{K}}\) by \(p(t) := x'(t) + \lambda x(t)\) for all \(t \geq 0\), then we have \(| p(t) | \leq \phi (t) \varepsilon E_{\nu }(t)\) for all \(t \geq 0\). Then by applying the same method as in the proof of Theorem 3.3, we can easily get

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast e^{-\lambda t} \bigr\vert = \biggl\vert \int _{0}^{t} p(s) e^{-\lambda (t-s)} \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert e^{-\lambda (t-s)} \bigr\vert \,ds \\ & \leq \phi (t) \varepsilon E_{\nu }(t) e^{-\Re (\lambda ) t} \int _{0}^{t} e^{\Re (\lambda ) s} \,ds = \phi (t) \varepsilon E_{\nu }(t) \frac{1}{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). Then, referring to Definition 2.13, we confirm that the differential equation (1.1) has the Mittag-Leffler–Hyers–Ulam ϕ-stability. □

4 Hyers–Ulam stability of (1.2)

In this section, we prove several types of Hyers–Ulam stability of the homogeneous first-order linear differential equation (1.2) using the Aboodh transform.

Theorem 4.1

Assume that \(r : [0, \infty ) \to {\mathbf{K}}\) is a continuous function of exponential order and λ is a constant with \(\Re (\lambda ) > 0\). The differential equation (1.2) has the Hyers–Ulam stability.

Proof

Suppose that \(x : [0, \infty ) \to {\mathbf{K}}\) is a continuously differentiable function of exponential order which satisfies the inequality (2.2) for all \(t \geq 0\). Consider the function \(p : [0, \infty ) \to {\mathbf{K}}\) defined by

$$\begin{aligned} p(t) := x'(t) + \lambda x(t) - r(t) \end{aligned}$$

for all \(t \geq 0\). Then \(| p(t) | \leq \varepsilon \) for all \(t \geq 0\). The Aboodh transform of \(p(t)\) gives the following result: \(\mathcal{A} \{ p(t) \} = \mathcal{A} \{ x'(t) + \lambda x(t) - r(t) \} \). That is,

$$\begin{aligned} P(u) := \mathcal{A} \bigl\{ x'(t) \bigr\} + \lambda \mathcal{A} \bigl\{ x(t) \bigr\} - \mathcal{A} \bigl\{ r(t) \bigr\} = u X(u) - \frac{x(0)}{u} + \lambda X(u) - R(u), \end{aligned}$$

which implies that

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} = X(u) = \frac{x(0) + uP(u) + uR(u)}{u (\lambda + u)}. \end{aligned}$$
(4.1)

We set \(y(t) = e^{-\lambda t} x(0) + (r(t) \ast e^{-\lambda t})\). The Aboodh transform of \(y(t)\) yields the following result:

$$\begin{aligned} \mathcal{A} \bigl\{ y(t) \bigr\} = Y(u) = \frac{ x(0) + u R(u)}{u(\lambda + u)}. \end{aligned}$$
(4.2)

On the other hand,

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = u Y(u) - \frac{y(0)}{u} + \lambda Y(u) = (\lambda + u) Y(u) - \frac{x(0)}{u}, \end{aligned}$$

since \(x(0) = y(0)\). Then, by (4.2), we have

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = R(u) = \mathcal{A} \bigl\{ r(t) \bigr\} \end{aligned}$$

and thus, \(y'(t) + \lambda y(t) = r(t)\). Hence \(y(t)\) is a solution of the differential equation (1.2).

In addition, by applying (4.1) and (4.2), we can obtain

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} - \mathcal{A} \bigl\{ y(t) \bigr\} = X(u) - Y(u) = \frac{P(u)}{\lambda + u} = u P(u) Q(u) = u \mathcal{A} \bigl\{ p(t) \bigr\} \mathcal{A} \bigl\{ q(t) \bigr\} , \end{aligned}$$

where we set \(Q(u) = \frac{1}{u\lambda + u^{2}}\) which gives \(q(t) = \mathcal{A}^{-1} \{ \frac{1}{u\lambda + u^{2}} \} = e^{- \lambda t}\). Therefore, we have

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) - y(t) \bigr\} = \mathcal{A} \bigl\{ p(t) \ast e^{- \lambda t} \bigr\} , \end{aligned}$$

which yields \(x(t) - y(t) = p(t) \ast e^{-\lambda t}\). Furthermore,

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast e^{-\lambda t} \bigr\vert = \biggl\vert \int _{0}^{t} p(s) e^{-\lambda (t-s)} \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert e^{-\lambda (t-s)} \bigr\vert \,ds \\ & \leq \varepsilon e^{-\Re (\lambda ) t} \int _{0}^{t} e^{\Re ( \lambda ) s} \,ds \leq K \varepsilon \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). This completes the proof. □

For the Hyers–Ulam ϕ-stability of the non-homogeneous linear differential equation (1.2), we obtain the following theorem.

Theorem 4.2

Assume that \(r : [0, \infty ) \to {\mathbf{K}}\) is a continuous function of exponential order, \(\phi : [0, \infty ) \to (0, \infty )\) is an increasing function and that λ is a constant with \(\Re (\lambda ) > 0\). The differential equation (1.2) has the Hyers–Ulam ϕ-stability.

Proof

We consider a continuously differentiable function \(x : [0, \infty ) \to {\mathbf{K}}\) of exponential order that satisfies the inequality (2.4) for all \(t \geq 0\). Now we define a function \(p : [0, \infty ) \to {\mathbf{K}}\) by \(p(t) := x'(t) + \lambda x(t) - r(t)\) for all \(t \geq 0\). Then \(| p(t) | \leq \phi (t) \varepsilon \) for all \(t \geq 0\). It is not difficult to check

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) \bigr\} = X(u) = \frac{ x(0) + uP(u) + u R(u)}{u^{2} + \lambda u}. \end{aligned}$$
(4.3)

Let \(y(t) = e^{-\lambda t} x(0) + (r(t) \ast e^{-\lambda t})\) and we apply the Aboodh transform on both sides to get

$$\begin{aligned} \mathcal{A} \bigl\{ y(t) \bigr\} = Y(u) = \frac{ x(0) + R(u)}{u^{2} + \lambda u}. \end{aligned}$$
(4.4)

On the other hand,

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = (\lambda + u) Y(u) - \frac{x(0)}{u}. \end{aligned}$$

Equation (4.4) implies that \(\mathcal{A} \{ y'(t) + \lambda y(t) \} = R(u) = \mathcal{A} \{ r(t) \} \) and thus, \(y'(t) + \lambda y(t) = r(t)\), that is, \(y(t)\) is a solution of the differential equation (1.2). Using (4.3) and (4.4), we obtain

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) - y(t) \bigr\} = X(u) - Y(u) = \frac{P(u)}{\lambda + u} = u \mathcal{A} \bigl\{ p(t) \bigr\} \mathcal{A} \bigl\{ q(t) \bigr\} , \end{aligned}$$

where \(Q(u) = \frac{1}{u(\lambda + u)}\) which gives \(q(t) = e^{-\lambda t}\). Hence \(\mathcal{A} \{ x(t) - y(t) \} = \mathcal{A} \{ p(t) \ast q(t) \}\), which gives \(x(t) - y(t) = p(t) \ast q(t)\).

Similar to the proof of Theorem 3.2, we have

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast q(t) \bigr\vert = \biggl\vert \int _{0}^{t} p(s) q(t-s) \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert q(t-s) \bigr\vert \,ds \\ & \leq \phi (t) \varepsilon e^{-\Re (\lambda ) t} \int _{0}^{t} e^{ \Re (\lambda ) s} \,ds = \frac{\phi (t) \varepsilon }{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \phi (t) \varepsilon \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). This completes the proof. □

We now prove the Mittag-Leffler–Hyers–Ulam stability of the non-homogeneous linear differential equation (1.2) using the Aboodh transform method.

Theorem 4.3

Assume that λ and ν are constants satisfying \(\Re (\lambda ) > 0\) and \(\nu > 0\). Then the differential equation (1.2) has the Mittag-Leffler–Hyers–Ulam stability.

Proof

Suppose that \(x : [0, \infty ) \to {\mathbf{K}}\) is a continuously differentiable function of exponential order that satisfies (2.6) for all \(t \geq 0\). Consider the function \(p : [0, \infty ) \to {\mathbf{K}}\) defined by \(p(t) := x'(t) + \lambda x(t) - r(t)\) for all \(t \geq 0\). Then it follows from (2.6) that \(| p(t) | \leq \varepsilon E_{\nu }(t)\) for all \(t \geq 0\).

The Aboodh transform of \(p(t)\) yields the following result:

$$\begin{aligned} P(u) = \mathcal{A} \bigl\{ p(t) \bigr\} = \mathcal{A} \bigl\{ x'(t) + \lambda x(t) - r(t) \bigr\} = u X(u) - \frac{x(0)}{u} + \lambda X(u) - R(u), \end{aligned}$$

which further implies that

$$\begin{aligned} X(u) = \mathcal{A} \bigl\{ x(t) \bigr\} = \frac{\frac{x(0)}{u} + P(u) + R(u)}{\lambda + u}. \end{aligned}$$
(4.5)

If we set \(y(t) = e^{-\lambda t} x(0) + (r(t) \ast e^{-\lambda t})\) and apply the Aboodh transform on both sides of the last equality, then we obtain that

$$\begin{aligned} Y(u) = \mathcal{A} \bigl\{ y(t) \bigr\} = \frac{ x(0) + u R(u)}{u^{2} + \lambda u}. \end{aligned}$$
(4.6)

On the other hand,

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = u Y(u) - \frac{x(0)}{u} + \lambda Y(u) = (\lambda + u) Y(u) - \frac{x(0)}{u}. \end{aligned}$$

Then, by (4.6), we have

$$\begin{aligned} \mathcal{A} \bigl\{ y'(t) + \lambda y(t) \bigr\} = R(u) = \mathcal{A} \bigl\{ r(t) \bigr\} \end{aligned}$$

and thus, \(y'(t) + \lambda y(t) = r(t)\) for all \(t \geq 0\). Hence \(y(t)\) is a solution of the differential equation (1.2). In addition, by applying (4.5) and (4.6), we get

$$\begin{aligned} \mathcal{A} \bigl\{ x(t) - y(t) \bigr\} = \frac{P(u)}{\lambda + u} = u \mathcal{A} \bigl\{ p(t) \bigr\} \mathcal{A} \bigl\{ q(t) \bigr\} , \end{aligned}$$

where \(\mathcal{A} \{ q(t) \} = \frac{1}{u(\lambda + u)}\), which gives \(q(t) = e^{-\lambda t}\). Therefore, \(\mathcal{A} \{ x(t) - y(t) \} = \mathcal{A} \{ p(t) \ast q(t) \}\) which yields \(x(t) - y(t) = p(t) \ast q(t)\) for all \(t \geq 0\). Furthermore,

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast q(t) \bigr\vert = \biggl\vert \int _{0}^{t} p(s) q(t-s) \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert q(t-s) \bigr\vert \,ds \\ & \leq \varepsilon E_{\nu }(t) e^{-\Re (\lambda ) t} \int _{0}^{t} e^{ \Re (\lambda ) s} \,ds = \varepsilon E_{\nu }(t) \frac{1}{\Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \varepsilon E_{\nu }(t) \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). This completes the proof. □

Similar to the case of Theorem 4.3, the Mittag-Leffler–Hyers–Ulam ϕ-stability of the differential equation (1.2) can be proved. For the sake of this paper’s completeness, we present the whole proof.

Theorem 4.4

Assume that \(\phi : [0, \infty ) \to (0, \infty )\) is an increasing function and that λ and ν are constants which satisfy \(\Re (\lambda ) > 0\) and \(\nu > 0\). Then the differential equation (1.2) has the Mittag-Leffler–Hyers–Ulam ϕ-stability.

Proof

Assume that \(x : [0, \infty ) \to {\mathbf{K}}\) is a continuously differentiable function of exponential order which satisfies the inequality (2.8) for all \(t \geq 0\). It is to be proved that there exist a constant \(K > 0\) (independent of ε) and a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of the differential equation (1.2) such that

$$\begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned}$$

for all \(t \geq 0\).

If we define a function \(p : [0, \infty ) \to {\mathbf{K}}\) by \(p(t) := x'(t) + \lambda x(t) - r(t)\) for all \(t \geq 0\), then we have \(| p(t) | \leq \phi (t) \varepsilon E_{\nu }(t)\) for all \(t \geq 0\). By applying similar methods to Theorem 4.3, we can easily get

$$\begin{aligned} \begin{aligned} \bigl\vert x(t) - y(t) \bigr\vert & = \bigl\vert p(t) \ast e^{-\lambda t} \bigr\vert = \biggl\vert \int _{0}^{t} p(s) e^{-\lambda (t-s)} \,ds \biggr\vert \leq \int _{0}^{t} \bigl\vert p(s) \bigr\vert \bigl\vert e^{-\lambda (t-s)} \bigr\vert \,ds \\ & \leq \phi (t) \varepsilon E_{\nu }(t) \frac{1}{\Re (\lambda )} \bigl( 1- e^{-\Re (\lambda ) t} \bigr) \\ & \leq K \phi (t) \varepsilon E_{\nu }(t) \end{aligned} \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )}\). This completes the proof. □

5 Examples

In this section, we will introduce some examples to make it easier to understand the main results of this paper.

Example 5.1

We consider the following non-homogeneous linear differential equation:

$$\begin{aligned} x'(t) + 5 x(t) = 0. \end{aligned}$$
(5.1)

with initial condition \(x(0) = 1\) and \(\lambda = 5\).

If a continuously differentiable function \(z : [0, \infty ) \to {\mathbf{K}}\) of exponential order satisfies

$$\begin{aligned} \bigl\vert z'(t) + 5 z(t) \bigr\vert \leq \varepsilon \end{aligned}$$

for all \(t \geq 0\) and for some \(\varepsilon > 0\), then Theorem 3.1 implies that there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of the differential equation (5.1) such that

$$\begin{aligned} \bigl\vert z(t) - y(t) \bigr\vert \leq K \varepsilon \end{aligned}$$

for all \(t \geq 0\), where \(K = \frac{1}{\Re (\lambda )} = \frac{1}{5}\). In particular, \(y(t) = c e^{-5t} \) for some constant \(c \in {\mathbf{K}}\).

Example 5.2

We consider the following non-homogeneous linear differential equation:

$$\begin{aligned} x'(t) + x(t) = 2 \cos t. \end{aligned}$$
(5.2)

We know that \(r(t) = 2 \cos t\) is a function of exponential order and \(\lambda = 1\).

If a continuously differentiable function \(z : [0, \infty ) \to {\mathbf{K}}\) of exponential order satisfies

$$\begin{aligned} \bigl\vert z'(t) + z(t) - 2 \cos t \bigr\vert \leq \varepsilon \end{aligned}$$

for all \(t \geq 0\) and for some \(\varepsilon > 0\), then Theorem 4.1 implies that there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of the differential equation (5.2) such that

$$\begin{aligned} \bigl\vert z(t) - y(t) \bigr\vert \leq K \varepsilon \end{aligned}$$

for all \(t \geq 0\), where \(K = \frac{1}{\Re (\lambda )} = 1\). In particular, \(y(t) = c e^{-t} + \sin t + \cos t\) for some constant \(c \in {\mathbf{K}}\).

Example 5.3

We consider the following non-homogeneous linear differential equation:

$$\begin{aligned} x'(t) + 3 x(t) = t, \end{aligned}$$
(5.3)

where \(r(t) = t\) is a function of exponential order and \(\lambda = 3\).

If a continuously differentiable function \(z : [0, \infty ) \to {\mathbf{K}}\) of exponential order satisfies

$$\begin{aligned} \bigl\vert z'(t) + 3 z(t) - t \bigr\vert \leq \varepsilon \end{aligned}$$

for all \(t \geq 0\) and for some \(\varepsilon > 0\), then Theorem 4.1 implies that there exists a solution \(y : [0, \infty ) \to {\mathbf{K}}\) of the differential equation (5.3) such that

$$\begin{aligned} \bigl\vert z(t) - y(t) \bigr\vert \leq K \varepsilon \end{aligned}$$

for all \(t \geq 0\), where we set \(K = \frac{1}{\Re (\lambda )} = \frac{1}{3}\). In particular, \(y(t) = c e^{-3t} + \frac{1}{3} t - \frac{1}{9}\) for some constant \(c \in {\mathbf{K}}\).

6 Remarks

Remark 6.1

Let λ be a constant in K with \(\Re (\lambda ) > -1\). Then we have

$$\begin{aligned} \begin{aligned} e^{-\Re (\lambda ) t} \int _{0}^{t} e^{\Re (\lambda ) s} \,ds = \frac{1}{ \Re (\lambda )} \bigl( 1 - e^{-\Re (\lambda ) t} \bigr) . \end{aligned} \end{aligned}$$

In the following remark, we show that there exists an integrable function \(\phi : [0, \infty ) \to (0, \infty )\) satisfying the condition

$$ \int _{0}^{t} e^{\Re (\lambda ) (t-s)} \phi (s) \,ds \leq K \phi (t) . $$

Remark 6.2

Let λ be a constant in K with \(\Re (\lambda ) > -1\). If we define \(\phi (t) = A e^{t}\) for all \(t \geq 0\) and for some \(A > 0\), then we have

$$\begin{aligned} \begin{aligned} \int _{0}^{t} e^{\Re (\lambda ) (t-s)} \phi (s) \,ds & = e^{- \Re (\lambda ) t} \int _{0}^{t} e^{\Re (\lambda ) s} A e^{s} \,ds \\ & = \frac{1}{1 + \Re (\lambda )} \bigl( A e^{t} - A e^{-\Re ( \lambda ) t} \bigr) \le \frac{1}{1 + \Re (\lambda )} \phi (t). \end{aligned} \end{aligned}$$

Remark 6.3

The above examples are also true when we replace ε and with \(\phi (t) \varepsilon \) and \(K \phi (t) \varepsilon \), respectively, where \(\phi (t)\) is an increasing function. In this case, we see that the corresponding differential equations have the Hyers–Ulam ϕ-stability.

Remark 6.4

The differential equations (5.2) and (5.3) have the Mittag-Leffler–Hyers–Ulam stability if \(\nu > 0\). In particular, they also have the Mittag-Leffler–Hyers–Ulam ϕ-stability when \(\phi (t)\) is an increasing function and \(\nu > 0\).

7 Discussion

What results can be expected for the Hyers–Ulam stability of the differential equation (1.2) when the relevant domain is the set of all non-positive real numbers?

For any given constant \(\varepsilon > 0\), we consider the following inequality:

$$\begin{aligned} \bigl\vert x'(t) + \lambda x(t) - r(t) \bigr\vert \leq \varepsilon \quad ( \text{for }t \leq 0), \end{aligned}$$
(7.1)

where \(x : (-\infty , 0] \to {\mathbf{K}}\) is a continuously differentiable function of exponential order and \(r : (-\infty , 0] \to {\mathbf{K}}\) is a continuous function of exponential order.

If we set \(x_{1}(t) = x(-t)\) and \(r_{1}(t) = r(-t)\) for all \(t \geq 0\), then it follows from (7.1) that

$$\begin{aligned} \bigl\vert x_{1}'(t) - \lambda x_{1}(t) + r_{1}(t) \bigr\vert \leq \varepsilon \quad (\text{for }t \geq 0). \end{aligned}$$
(7.2)

Since \(x_{1}(t)\) is a continuously differentiable function of exponential order and \(r_{1}(t)\) is a continuous function of exponential order, if we additionally assume that \(\Re (\lambda ) < 0\), then Theorem 4.1 and its proof imply that there exists a continuously differentiable function \(y : [0, \infty ) \to {\mathbf{K}}\) of exponential order which satisfies

$$\begin{aligned} y'(t) - \lambda y(t) + r_{1}(t) = 0 \end{aligned}$$
(7.3)

and

$$\begin{aligned} \bigl\vert x_{1}(t) - y(t) \bigr\vert \leq \frac{1}{ \vert \Re (\lambda ) \vert } \varepsilon \end{aligned}$$
(7.4)

for all \(t \geq 0\).

If we define a function \(z : (-\infty , 0] \to {\mathbf{K}}\) by \(z(t) = y(-t)\) for each \(t \leq 0\), then \(z'(t) = -y'(-t)\) and so, by (7.3), we see that \(z'(t) + \lambda z(t) = -y'(-t) + \lambda y(-t) = r(t)\) for any \(t \leq 0\), i.e., \(z(t)\) satisfies the differential equation (1.2) for all \(t \leq 0\). Moreover, it follows from (7.4) that

$$\begin{aligned} \bigl\vert x(t) - z(t) \bigr\vert \leq \frac{1}{ \vert \Re (\lambda ) \vert } \varepsilon \end{aligned}$$

for all \(t \leq 0\).

Putting all of the above facts together, we get the following theorem.

Theorem 7.1

Assume that \(r : (-\infty , 0] \to {\mathbf{K}}\) is a continuous function of exponential order and λ is a constant with \(\Re (\lambda ) < 0\). The differential equation (1.2) has the Hyers–Ulam stability for the class of all continuously differentiable functions \(x : (-\infty , 0] \to {\mathbf{K}}\) of exponential order.

Assuming \(r(t) \equiv 0\) in Theorem 7.1, we obtain the Hyers–Ulam stability of the differential equation (1.1) when the relevant domain is the set of all non-positive real numbers. Other types of Hyers–Ulam stability of the differential equation (1.2) can be similarly established when the relevant domain is the set of all non-positive real numbers.

8 Conclusion

In this paper, we proved the Hyers–Ulam stability, Hyers–Ulam ϕ-stability, Mittag-Leffler–Hyers–Ulam stability, and Mittag-Leffler–Hyers–Ulam ϕ-stability of the linear differential equations of first order with constant coefficients using the Aboodh transform method. In other words, we established sufficient criteria for the Hyers–Ulam stability of first-order linear differential equations with constant coefficients using the Aboodh transform method.

Moreover, we provided a new method to investigate the Hyers–Ulam stability of differential equations. This is the first attempt to use the Aboodh transform to prove the Hyers–Ulam stability for linear differential equations of the first order. Furthermore, we showed that the Aboodh transform method is more convenient for investigating the stability problems for linear differential equations with constant coefficients.