1 Introduction

In this paper we investigate the mathematical model of the product goodwill. For the first time in this type of models, we consider segmentation with respect the consumer usage experience, moreover we propose the new way of creating goodwill among potential customers by taking into account electronic word of mouth (eWOM). We are interested in goodwill because it is one of the most important phenomena in the context of increasing competition in global markets. It refers to the difference between the price paid by the buyer for the company and the book value of the assets of that company. This value may be created by the positive experiences of its clients, and may be improved by investment in marketing instruments such as advertising or other promotional tools. Thus goodwill translates to an enhancement in the competitiveness of the company and to the acquisition of future earning power Cañibano et al. (2000). Many times it can be observed that a company making a loss is bought at a high price because of its well-known brands. Some real examples of this type of merger and acquisition may be found in Kapferer (2012), p. 18. Although many researchers have studied this phenomenon, there are still some gaps that prevent a full understanding of the nature of the dynamics of goodwill.

Modelling is one way to explore the properties of company goodwill. Nerlove and Arrow in 1962 took the first steps in modelling the concept of goodwill. They interpreted goodwill as the part of the demand for products that is created by current and past advertising efforts, see Nerlove and Arrow (1962), and assumed that the stock of goodwill depreciates over time at a constant rate and depends positively on the advertising effort. They described the dynamics of goodwill in a non-segmented market by an ordinary differential equation.

The model proposed by Nerlove and Arrow has been modified and analysed by many scientists, see eg. Fruchter et al. (2006) and Huang et al. (2012). Recently they have taken into account dynamic games, see Jørgensen and Zaccour (2014) and Lambertini (2014), or market segmentation (Buratto et al. 2006). In goodwill models with segmented market it is often assumed that the firm sells one product in infinitely many segments, indicated by the age of the customers a, and the demand in segment a and time t depends on the level G(ta) of goodwill for this product. This assumption results in the representation of the goodwill dynamics by a first-order hyperbolic partial differential equation, see Grosset and Viscolani (2005) and Faggian and Grosset (2013). The same state equation but with a different interpretation is proposed by Barucci and Gozzi (1999). They consider also a goodwill model with market segmentation and describe a monopolistic firm selling infinitely many products with new goods continuously launched onto the market.

The model proposed in this paper has few important modifications which may improve the description and explanation of complex real-world phenomena. First, we consider a new way of market segmentation which is based on customer experience in using a product. The usage experience reflects a consumer’s perceptions, responses, attitudes, and emotions about using a particular product and has a strong influence over purchasing decisions. This observation is confirmed by the usage dominance theory described in Deighton et al. (1994). As far as we know, this type of market segmentation has not previously been included in goodwill models.

Moreover, since the empirical studies summarized by Bagwell (2007) indicate the existence of decreasing returns to marketing efforts, we include this observation in the new model and we assume a non-linear relationship between marketing communication efforts and goodwill. A similar assumption was used by Weber (2005) and by Mosca and Viscolani (2004) in a goodwill model expressed by an ordinary differential equation. In addition, we have expanded the existing models by allowing the depreciation of goodwill to be non-constant, but rather heterogeneous with respect to the usage experience of the product. The main difference between the existing models and that presented in this paper is the process of building the goodwill among consumers with no usage experience. We assume that goodwill on the part of new consumers depends on offensive marketing instruments, and on eWOM communication which can be amplified by defensive marketing efforts aimed at existing consumers. Consumers consider eWOM to be credible, reliable and relevant communication channel (Gruen et al. 2006). Word of mouth is taken into account in modelling the sales of many products (for example Monahan 1984), but so far, have not yet been taken into account in models describing the dynamics of goodwill involving firms operating in a segmented market. Our idea of using eWOM in modelling goodwill is based on the empirical evidence, see, for example, Bruce et al. (2012) and Agliari et al. (2010), in which the authors claim that consumer to consumer communication have a strong influence on the level of goodwill.

The goodwill control problem analysed in this paper is interpreted as an optimal double control problem. Dynamics of the state variable is described by a partial differential equation of Lotka–Sharp–McKendrick typeFootnote 1. Our aim is to choose marketing instruments that maximize the sum of the discounted profits in the finite time horizon. A general class of optimal control models with heterogeneous state variables which include age structured systems is introduced in Veliov (2008) and the existence and uniqueness of an optimal solution is proved. In our goodwill equation, the dependence on the controls is not Lipschitz continuous, hence the existence result from Veliov (2008) can not be applied directly. Following the semigroup approach, see Pazy (1983), Prato and Iannelli (1994) and Lasiecka and Triggiani (2000), the existence and uniqueness of the state equation is proven (see Theorem 4 in “Appendix 1”). The existence of a unique optimal solution is contained in “Appendix 2” (Theorem 1). Proposition 5 in “Appendix 1” shows that the semigroup-based generalised mild solution (see Definition 3) is the solution on the characteristic lines introduced in Feichtinger et al. (2003), Definition 1. Hence we are able to use the maximum principle from Feichtinger et al. (2003) to construct a numerical solution to the optimal control problem. Finally, using the new numerical algorithm we examine several examples on the optimal goodwill model and discover two types of marketing strategies: ‘supportive’ and ‘strengthening’.

The remainder of this paper is organized as follows. Section 2 presents the new model of product goodwill and discusses the economic background of the new idea of market segmentation based on usage experience. Moreover, a mathematical description of heterogeneous eWOM communication is introduced. Section 3 establishes the existence and uniqueness of an optimal solution to the goodwill model. Furthermore, in Sect. 3.1 the necessary optimality conditions are derived. Section 4 presents the results of simulations of the optimal goodwill model obtained by means of the numerical algorithm from Sect. 3.2.

2 Optimal goodwill control problem with eWOM recommendations

We shall consider a company in a market with a monopolistic structure divided into segments by the consumer usage experience \(e\in [0,1]\). More precisely, the variable e indicates the time spent using the product. The segment \(e=0\) includes consumers who have already purchased the product. The maximal usage experience is normalized to the value 1. This means that consumers in segment \(e=1\) will not use the product in the next periods. For example a service of mobile operators can be used by consumers for a whole lifetime starting from childhood, hence for these goods the unit of time can be greater than 70 years. On the other hand there are many products which are used only for a certain period of life, eg nappies, where the time unit is about 4 years.

In the previous models it is assumed that goodwill in created only by advertising efforts. In the paper Heiman et al. (2001) it is observed that goodwill is built not only through advertising efforts but also through other promotional mechanism such as sampling. This idea is also consistent with the Spremann model (1985), where the author considers two types of firm’s image: goodwill and reputation. The former is created from advertising whereas the later is built through price promotion. Both stocks of reputation and goodwill influence the product demand. According to the well known four C’s classification by Lauterborn (1990) the marketing communication is one of the business tools used to create a dialogue with the customers and it includes advertising, public relations, sales organisation and sales promotion. One of the basic objectives of marketing communication is to increase demand. Taking into account the above observations we extend the classical Nerlove-Arrow goodwill model and assume that goodwill is created by all kinds of current and past marketing communication efforts.

We assume that the company operates in finite horizon \(T>0\). Moreover, in each segment e and at each moment of time \(t\in [0,T]\) we consider the product goodwill G(te) defined as a part of demand which comes from current and past marketing communication activities. In order to formalize the concept of eWOM recommendation, we assume that G(te) is equal to the number of consumers who have been using the product for \(e\in [0,1]\) units of time and they continue buying the product at time \(t\ge 0\) as the effect of marketing communication. Since the product demand can be reasonably well approximated by the number of consumers, our definition of product goodwill reflects the Nerlove and Arrow (1962) seminal statement. There are many methods of measuring goodwill. For instance in Heiman et al. (2001) the authors define goodwill as the average likelihood of purchasing a product, which is a similar measure of the phenomenon to our proposition.

The company is able to stimulate different levels of product goodwill by marketing communication tools. The company instruments (control variables) u(te) and \(u_0(t)\) represent the intensiveness of defensive and offensive marketing efforts at time t directed to consumer segment e, and to new consumers, respectively. The offensive marketing \(u_0\) is identified with every marketing activity that attracts new consumers. Similar to Martín-Herrán et al. (2012) we define the defensive marketing strategy u as all marketing activities which are focused on retaining existing consumers and fostering brand loyalty. Both marketing strategies make a distinction between the consumers with different usage experience. This phenomenon is commonly used by service companies. For example mobile phone providers offer clients discounts depending on their usage experience. This information is transmitted by marketing communication channels such as direct advertising. In our model, we assume a linear and non-linear effect of marketing communication efforts on goodwill, which is reflected in the parameter \(\rho =1\) and \(\rho \in (0,1)\), respectively. Therefore, \(\lambda ^\rho u^\rho (t,e)\) and \(\lambda ^\rho u^\rho _0(t)\) positively influence the product goodwill G(te) in segment e and the level of product goodwill G(t, 0) of new consumers, respectively. Here \(\lambda ^\rho \) is the effectiveness of marketing channel. Furthermore, there is a natural depreciation rate of goodwill \(\delta (e)\ge 0\), different for each consumer segment e. This expresses a situation in which the depreciation rate depends on the time spent using the product, and it is natural for an experience product, see Nelson (1974). For this type of goods during the use of the product, consumers learn about its features and they may update their judgement about it. This results in changes in the depreciation rate of the goodwill. Therefore, the dynamics of the goodwill is governed by the following PDE:

$$\begin{aligned} \frac{\partial G(t,e)}{\partial t}=-\frac{\partial G(t,e)}{\partial e}-\delta (e) G(t,e)+\lambda ^\rho u^\rho (t,e). \end{aligned}$$
(1)

The main novelty in the presented model of goodwill is in the construction of goodwill in the segment of new consumers. In each time t we assume that the value of goodwill in the segment of new consumers G(t, 0) is influenced by the positive eWOM recommendation and defensive and offensive marketing efforts. Given the distinct characteristic of Internet communication, eWOM is defined in Hennig-Thurau et al. (2004) as “any positive or negative statement made by potential, actual, or former customers about a product or company, which is made available to a multitude of people and institutions via the Internet”. A number of empirical studies have concluded that eWOM are a credible source of information, see Andreassen and Streukens (2009) and Gruen et al. (2006), in particular for consumers without any experience in using the product. Therefore consumer recommendations reduce the risk of purchase decisions and facilitate consumer choice, see Trusov et al. (2009).

For reasons of clarity, let N(te) represent consumers who at time t buy the good for the first time and their purchase propensity stems from the eWOM recommendations coming from segment e or from defensive marketing campaigns directed to segment e. We distinguish two disjoint groups \(N_1(t,e)\) and \(N_2(t,e)\) of new consumers such that \(N(t,e)=N_1(t,e)+N_2(t,e)\). The first group \(N_1(t,e)\) includes new consumers who want to buy the product influenced by eWOM recommendations given by consumers with usage experience e. The size of \(N_1(t,e)\) depends on the amount of existing consumers and the effectiveness of eWOM in segment e, thus it is equal to

$$\begin{aligned} N_1(t,e)=R(e)G(t,e). \end{aligned}$$
(2)

Here R(e) reflects the share of consumers in segment e who assess positively the product attributes and are willing to effectively recommend it, thus R(e) is a measure of the effectiveness of consumer recommendations. Since eWOM recommendations are closely connected with the product quality, which is assumed to be constant in the decision making horizon, R(e) is time homogeneous. On the other hand, usually the quality of the product can only be recognised after some amount of time spent using the product, see Godes and Mayzlin (2004), therefore, R(e), is heterogeneous with respect to usage experience e.

Defensive marketing efforts u(te) influence not only the level of goodwill G(te) but also the strength of eWOM recommendations in segment e by reminding consumers of the reasons for a positive judgement of the product, and thus encouraging them to share their opinion about the product with potential consumers (Keller 2009). In conclusion, defensive marketing efforts u(te) act as a reinforcement of the effectiveness of eWOM recommendations in segment e. As a result, a new group of people \(N_2(t,e)\) buy the product, which can be calculated by

$$\begin{aligned} N_2(t,e)=R(e)\lambda ^\rho u^\rho (t,e), \end{aligned}$$
(3)

where \(\lambda ^\rho u^\rho (t,e)\) is the effectiveness of defensive marketing in consumer generation e at time t.

Finally, by (2)–(3) we obtain that the number of new consumers who buy the product at time t as a result of eWOM recommendations is equal to

$$\begin{aligned} \int _0^1 N(t,e)de&=\int _0^1(N_1(t,e)+N_2(t,e))de\nonumber \\&=\int _0^1R(e)\left( G(t,e)+\lambda ^\rho u^\rho (t,e)\right) de. \end{aligned}$$
(4)

The value of goodwill G(t, 0) in the segment of new consumers is also affected by offensive marketing instruments \(u_0(t)\) directed at consumers with no usage experience. Hence, adding the effect of eWOM and defensive and offensive marketing activities (cf. (4)), we obtain

$$\begin{aligned} G(t,0)=\int _0^1R(e)\left( G(t,e)+\lambda ^\rho u^\rho (t,e)\right) de+\lambda ^\rho u^\rho _0(t). \end{aligned}$$
(5)

From the above considerations the dynamics of goodwill is given by

$$\begin{aligned} \left\{ \begin{array}{l} \frac{\partial G(t,e)}{\partial t}+\frac{\partial G(t,e)}{\partial e}+\delta (e) G(t,e)=\lambda ^\rho u^\rho (t,e),\\ G(t,0)=\int _0^{1}R(e)\left( G(t,e)+\lambda ^\rho u^\rho (t,e)\right) de+\lambda ^\rho u^\rho _0(t), \\ G(0,e)=G_0(e),\end{array}\right. \end{aligned}$$
(6)

where \(G_0(e)\ge 0\) is the initial stock of goodwill in segment e.

Remark 1

Equation (6) is known in the literature as the Lotka–Sharpe–McKendrick and it provides a framework for the mathematical modelling of many other real world phenomena. The most popular application of the equation is a description of age-structured population dynamics with a boundary condition describing the reproduction process of the population. Population dynamics with an appropriate goal functional is of interest for many biological issues, such as harvesting and birth control, see Chan and Zhu (1989), Prato and Iannelli (1994), Park et al. (1998), Anita (2000) and references therein.

The product goodwill can be only accumulated by marketing communication, see (6), therefore if we stop investing in marketing activities (\(u_0=u=0\)), then in each market segment the product goodwill G(te) should decrease to zero. Therefore, we assume that

Assumption 1

Let the function \(R:[0,1]\rightarrow [0,\infty )\) belongs to \(L^\infty (0,1)\) and let \(\delta :[0,1]\rightarrow [0,1]\) be a measurable function such that

$$\begin{aligned} \int _0^{1}R(e)e^{-\int _0^{e}\delta (s)ds}de<1. \end{aligned}$$
(7)

We assume similarly as in Nerlove and Arrow (1962) that the demand function q is of the form

$$\begin{aligned} q(t,e)=p(t,e)^{-\epsilon _p}G(t,e)^{\epsilon _g}, \end{aligned}$$
(8)

where p(te) is the price of the product for consumers in segment e, \(-\epsilon _p<-1\) is the price elasticity of demand, and \(\epsilon _g\) is the goodwill elasticity of demand. Let \(C(t,e)=C(q(t,e))\) be the total operating cost function at time t in segment e and the optimal price \(p^*(t,e)\) be the solution to the problem:

$$\begin{aligned} \max _{p(t,e)}(p(t,e)q(t,e)-C(q)). \end{aligned}$$
(9)

Then

$$\begin{aligned} p^*(t,e)=\frac{dC}{dq}(q(t,e))\cdot m, \end{aligned}$$
(10)

where \(m=\frac{\epsilon _p}{\epsilon _p-1}\) is a monopolistic mark-up. We assume that \(C(q)=q^\alpha +c_f\), where \(c_f> 0\) is fixed cost, \(\alpha \ge 1\) is the elasticity of variable cost with respect to output. Thus, based on (8) and (10) the optimal price is given by

$$\begin{aligned} p^*(t,e)&=\left( m\cdot \alpha \right) ^{\frac{1}{ 1+\epsilon _p(\alpha -1) }}G(t,e)^{\frac{\epsilon _g(\alpha -1)}{1+\epsilon _p(\alpha -1)}}. \end{aligned}$$
(11)

Observe that the optimal production \(q^*(t,e)\) which meets the demand in consumer segment e is given by

$$\begin{aligned} q^*(t,e)&=p^*(t,e)^{-\epsilon _p}G(t,e)^{\epsilon _g}= KG(t,e)^{\frac{\epsilon _g}{1+\epsilon _p(\alpha -1)}}, \end{aligned}$$
(12)

where \(K=\left( m\cdot \alpha \right) ^{\frac{-\epsilon _p}{1+\epsilon _p(\alpha -1)}}\).

We assume similarly to Grosset and Viscolani (2005) that the instantaneous costs of defensive and offensive marketing instruments are given by

$$\begin{aligned} C_M(u(t,e))=\frac{\beta }{2} u^2(t,e),\quad C_M(u_0(t))=\frac{\beta }{2}u_0^2(t), \end{aligned}$$
(13)

respectively, where \(\frac{\beta }{2} > 0\) is the unit price of marketing activities. Therefore, from (10) to (13), it follows that the firm’s profit at time t from market segment e is

$$\begin{aligned} \varPi (t,e)&=p^*(t,e)\cdot q^*(t,e)-C(q^*(t,e))-C_M(u(t,e))-C_M(u_0(t)) \nonumber \\&=K_\varPi G^{\gamma }(t,e)-c_f-\frac{\beta }{2}(u^2(t,e)+u_0^2(t)) \end{aligned}$$
(14)

for a.e. \((t,e)\in [0,T]\times (0,1]\), where \(K_\varPi =K^{1-\frac{1}{\epsilon _p}}-K^\alpha \) and \(\gamma =\frac{\epsilon _g\alpha }{1+\epsilon _p(\alpha -1)}\). In the sequel, we assume that \(K_\varPi >0\). The firm wants to maximise the sum of discounted profits in the finite horizon T. Hence the goal functional for the firm takes the form

$$\begin{aligned} J(G,u_0,u)&=\int _0^{1}\int _0^{T}e^{-r t}\varPi (t,e)dtde \nonumber \\&=\int _0^{1}\int _0^{T}e^{-rt}\left( K_\varPi G^{\gamma }(t,e)-\frac{\beta }{2}(u^2(t,e)+u_0^2(t))-c_f\right) dtde, \end{aligned}$$
(15)

where G is a solution to (6), and \(r>0\) is the force of interest.

In conclusion the company faces the goodwill control problem of the form:

$$\begin{aligned} \max _{(u_0,u)\in U_{0,ad}\times U_{ad}} J(G,u_0,u) \text { subject to } (6), \end{aligned}$$
(16)

where for the maximal marketing communication efforts (possibly infinite) \(I\in (0,\infty ]\) we denote by

$$\begin{aligned} U_{ad}=\{u\in L^{\infty }((0,T)\times (0,1)): 0 \le u(t,e)\le I\ \text { for a.e. }(t,e)\in [0,T]\times [0,1]\} \end{aligned}$$

and

$$\begin{aligned} U_{0,ad}=\{u_0\in L^{\infty }(0,T): 0 \le u_0(t)\le I\ \text { for a.e. } t\in [0,T]\} \end{aligned}$$

the sets of admissible controls.

Theorem 4 in “Appendix 1” shows that for each pair of admissible controls there exists a generalised mild solution to (6) (see Definition 3 from “Appendix 1”).

3 The optimal solution to the goodwill control problem

Definition 1

The triple \((G^*,u_0^*,u^*)\) is an optimal solution to the goodwill control problem (16) if \(G^*\) is a generalised mild solution (see Definition 3 in “Appendix 1”) to (6) with \((u_0^*,u^*)\in U_{0,ad}\times U_{ad}\) and

$$\begin{aligned} J(G^*,u_0^*,u^*)\ge J(G,u_0,u) \end{aligned}$$

holds for any admissible controls \((u_0,u)\in U_{0,ad}\times U_{ad}\) and G satisfying (6).

Theorem 1

Assume that (7) holds and let \(G_0\in L^2(0,1)\) be an almost everywhere non-negative function. The optimal control problem (16) admits a unique solution.

The existence of an optimal solution to (16) is proven using the classical results for general extreme problems in a Hilbert space H. Details are presented in “Appendix 2”.

3.1 Necessary optimality conditions

In this section we assume that (7) hold and \(G_0\in L^{\infty }(0,1)\) is non-negative a.e. Then by Remark 7 in “Appendix 1” and Theorem 1 there exists an unique optimal solution \((G^*,u_0^*,u^*)\in L^{\infty }(0,T;L^{\infty }(0,1))\cap C(0,T;L^2(0,1))\times U_{0,ad}\times U_{ad}\) to the goodwill control problem (16). Furthermore, from Proposition 2 in Feichtinger et al. (2003) it follows that there exists a unique solution \(\xi :\left[ 0,T\right] \times \left[ 0,1\right] \rightarrow {\mathbb {R}}\) to the adjoint system:

$$\begin{aligned} \left\{ \begin{array}{l} \frac{\partial \xi (t,e)}{\partial t}+\frac{\partial \xi (t,e)}{\partial e}=K_\varPi e^{-rt}\gamma (G^*(t,e))^{\gamma -1}+\xi (t,e)\delta (e)- \xi (t,0)R(e),\\ \xi (T,e)=0, \\ \xi (t,1)=0.\end{array}\right. \end{aligned}$$
(17)

We follow Feichtinger et al. (2003) in defining the Hamiltonian associated with boundary condition

$$\begin{aligned} H_b(t,u_0)=&\,\xi (t,0)\left( \int _0^{1}R(e)\left( G^*(t,e)+\lambda ^\rho \left( u^*(t,e)\right) ^\rho \right) de+\lambda ^\rho u_0^\rho \right) \\ {}&-\int _0^{1}e^{-rt}\left( K_\varPi (G^*(t,e))^\gamma -\frac{\beta }{2}(u^*(t,e))^2\right) de+e^{-rt}\frac{\beta }{2}u_{0}^2 \end{aligned}$$

for a.e. \(t\in [0,T]\) and every \(u_0\in [0,I]\), and the distributed Hamiltonian

$$\begin{aligned} H(t,e,u)=&\,e^{-rt}\left( \frac{\beta }{2}u^2+\frac{\beta }{2}(u^*_0)^2(t)+C_f-K_\varPi (G^*(t,e))^\gamma \right) \\&+\xi (t,e)\left( -\delta (e)G^*(t,e)+\lambda ^\rho u^\rho \right) \\&+\xi (t,0)R(e)\left( G^*(t,e)+\lambda ^\rho u^\rho \right) \end{aligned}$$

for a.e. \((t,e)\in [0,T]\times [0,1]\) and every \(u\in [0,I]\).

Based on maximum principle introduced in Feichtinger et al. (2003) the optimal solution (16) satisfies

$$\begin{aligned} u_0^*(t)=\left\{ \begin{array}{ll} 0 &{} \text { for } \xi (t,0)> 0,\\ \left( - \frac{\rho \lambda ^\rho }{\beta }e^{rt}\xi (t,0)\right) ^\frac{1}{ 2-\rho }&{} \text { for } \xi (t,0)\in \left[ -\frac{\beta }{\rho \lambda ^\rho }e^{-rt}I^{2-\rho },0\right] ,\\ I &{} \text { for } \xi (t,0)<-\frac{\beta }{\rho \lambda ^\rho }e^{-rt}I^{2-\rho } \end{array}\right. \end{aligned}$$
(18)

and

$$\begin{aligned} u^*(t,e)=\left\{ \begin{array}{ll} 0 &{} \text { for }\quad R(e)\xi (t,0)+\xi (t,e)> 0,\\ \left( -\frac{\rho \lambda ^\rho }{\beta }e^{rt}\left( \xi (t,e)+R(e)\xi (t,0)\right) \right) ^{\frac{1}{ 2-\rho }}&{} \text { for }\quad R(e)\xi (t,0)+\xi (t,e)\in \left[ -\frac{\beta }{\rho \lambda ^\rho }e^{-rt}I^{2-\rho },0\right] ,\\ I &{} \text { for }\quad R(e)\xi (t,0)+\xi (t,e)<-\frac{\beta }{\rho \lambda ^\rho }e^{-rt}I^{2-\rho } \end{array}\right. \end{aligned}$$
(19)

for a.e. \((t,e)\in [0,T]\times [0,1]\).

Summarizing the above considerations, the optimal triple \((G^*,u_0^*,u^*)\) is the solution of the following system

$$\begin{aligned} \left\{ \begin{array}{l} \frac{\partial G^*(t,e)}{\partial t}+\frac{\partial G^*(t,e)}{\partial e}+\delta (e) G^*(t,e)=\lambda ^\rho (u^*(t,e))^\rho ,\\ G^*(t,0)=\int _0^{1}R(e)\left( G^*(t,e)+\lambda ^\rho (u^*(t,e))^{\rho }\right) de+\lambda ^\rho (u^*_0(t))^{\rho }, \\ G^*(0,e)=G_0(e),\\ \frac{\partial \xi (t,e)}{\partial t}+\frac{\partial \xi (t,e)}{\partial e}=K_\varPi e^{-rt}\gamma (G^*(t,e))^{\gamma -1}+\xi (t,e)\delta (e)- \xi (t,0)R(e),\\ \xi (T,e)=0, \\ \xi (t,1)=0, \end{array}\right. \end{aligned}$$
(20)

where \(u_0^*, u^*\) are given by (18) and (19).

3.2 Numerical algorithm

The system of equations (20) does not possess an explicit solution. Therefore, in order to analyse the properties of optimal trajectories, we describe an algorithm to solve (20) numerically. For this purpose we apply well-known approach in the numerical analysis of PDEs - so-called method of lines (MOL) (cf. Kamont 1999; Schiesser and Griffiths 2009). In the first step we use a finite difference approximation to discretize the space variable e on a selected space mesh. Thus, let \(\{ e_0=0,e_1,e_2,\ldots ,e_N=1\}\) be uniform grid of the consumers’ segments and \(\varDelta e=\varDelta e_i=e_i-e_{i-1}\) be the diameter of this division. In the segment \(e_i\) for \(i=0,1,\ldots ,N\) we set up the notation: \(G_i^*(t)=G^* (t,e_i)\), \(\xi _i (t)=\xi (t,e_i)\), \(R_i=R(e_i)\), \(\delta _i=\delta (e_i)\), \(u_i^*(t)=u^*(t,e_i )\).

Moreover, we apply the composite trapezoidal rule for the approximation of the definite integral (Gautschi 1997, p. 153)

$$\begin{aligned} \int _0^{1}\left( R(e)G^*(t,e)+(\lambda u^*(t,e))^{\rho }\right) de \approx \varDelta e\left( \frac{1}{2}f_1(t)+\sum _{i=2}^{N-1}f_i(t)+\frac{1}{2}f_N(t)\right) , \end{aligned}$$

where

$$\begin{aligned} f_i(t)=R_i\left( G_i^*(t)+\left( \lambda u_i^*(t)\right) ^{\rho }\right) \quad \text {for}\quad i=1,\ldots ,N, \end{aligned}$$

and the explicit and the implicit Euler schemes as the approximations of derivativesFootnote 2:

$$\begin{aligned} \frac{\partial G^*(t,e_i )}{\partial e}=\frac{G_i^* (t)-G_{i-1}^* (t)}{\varDelta e},\quad \text { for } i \approx 1,2,\ldots ,N,\\ \frac{\partial \xi (t,e_i )}{\partial e}=\frac{\xi _{i+1}(t)-\xi _i (t)}{\varDelta e},\quad \text { for } i \approx 0,1,\ldots ,N-1. \end{aligned}$$

Therefore, the system (20) is transformed to the system of 2N ordinary differential equations

$$\begin{aligned} \left\{ \begin{array}{l@{\quad }l} \frac{dG_i^* (t)}{dt}=-G_i^* (t)\left( \delta _i+\frac{1}{\varDelta a}\right) + \frac{1}{\varDelta a}G_{i-1}^* (t)+\left( \lambda u_i^* (t)\right) ^{\rho }, &{} i=1,\ldots ,N,\\ G_0^* (t)=\varDelta a\left( \frac{1}{2}f_1(t)+\sum \limits _{i=2}^{N-1}f_i(t)+\frac{1}{2}f_N(t)\right) +\left( \lambda u_0^* (t)\right) ^{\rho }, &{}\\ G_i^* (0)=G^*_{0,i}, &{} i=0,\ldots ,N,\\ \frac{d\xi _i (t)}{dt}=K_\varPi e^{-rt}\gamma (G_i^* (t))^{\gamma -1}-\xi _0(t)R_i+\xi _i (t)\left( \delta _i +\frac{1}{\varDelta a}\right) -\frac{1}{\varDelta a}\xi _{i+1}(t),&{} i=1,\ldots ,N-1,\\ \xi _N(t)=0,&{}\\ \xi _i(T)=0,&{} i=0,\ldots ,N-1,\\ f_i(t)=R_i\left( G_i^*(t)+\left( \lambda u_i^*(t)\right) ^{\rho }\right) &{} i=0,\ldots ,N,\\ \end{array} \right. \end{aligned}$$
(21)

where the controls \(u_0, u_i^*\) with \(i=1,\ldots ,N\) are of the forms

$$\begin{aligned} u_0^*(t)=\left\{ \begin{array}{ll} 0 &{} \text { for } \xi _0(t)> 0,\\ \left( - \frac{\rho \lambda ^\rho }{\beta }e^{rt}\xi _0(t)\right) ^\frac{1}{ 2-\rho }&{} \text { for } \xi _0(t)\in \left[ -\frac{\beta }{\rho }e^{-rt}I^{2-\rho },0\right] ,\\ I &{} \text { for } \xi _0(t)<-\frac{\beta }{\rho }e^{-rt}I^{2-\rho } \end{array}\right. \end{aligned}$$

and

$$\begin{aligned} u_i^*(t)=\left\{ \begin{array}{ll} 0 &{} \text { for } R_i\xi _0(t)+\xi _i(t)> 0,\\ \left( -\frac{\lambda ^\rho \rho }{\beta }e^{rt}\left( \xi _i(t)+R_i\xi _0(t)\right) \right) ^{\frac{1}{ 2-\rho }}&{} \text { for } R_i\xi _0(t)+\xi _i(t)\in \left[ -\frac{\beta }{\rho }e^{-rt}I^{2-\rho },0\right] ,\\ I &{} \text { for } R_i\xi _0(t)+\xi _i(t)<-\frac{\beta }{\rho }e^{-rt}I^{2-\rho }, \end{array}\right. \end{aligned}$$

respectively. The system (21) is a non-linear boundary value problem (BVP) and it can be solved with the Matlab solver bvp5c.

The challenge with implementation of the Matlab solver bvp5c is providing an initial approximation to the solution i.e. guess function such that bvp5c solver leads to convergence, see Shampine et al. (2003). Therefore, we apply the iterative procedure for solving the system (21). At the beginning, we establish a very sparse mesh for space division and based on the polynomial interpolation with respect to the initial condition in (21) we obtain first guess function and then, using bvp5c procedure we find the initial solution to (21). Next, we increase the division of space and find a new guess function based on polynomial interpolation of the initial solution to (21) and using it we solve the system (21) again. This scheme is repeated until we obtain a sufficient degree of accuracy of the solutions, i.e. the next increase in number of spatial grid points causes no significant change in a solution.

The analysis of convergence of some numerical MOL schemes can be found in Verwer and Sanz-Serna (1984) and Kamont (1999), but the convergence of the solutions of (21) to the solution of PDEs (20) is still an open problem.

4 Illustrative examples of the goodwill model

In this section, we verify the validity and practicability of the results from Sect. 3. Therefore, we find optimal defensive and offensive marketing strategies and the corresponding optimal trajectories of goodwill. In particular, we draw attention to the impact of different values of the goodwill elasticity of demand (\(\epsilon _g\)) and the parameter of the marketing response function (\(\rho \)) on the optimal solution and the level of the company profit. We consider an experience good. Hence the consumers learn about the attributes of the product after using it for some time, see Nelson (1974). Moreover, we assume that the product is low conformance quality and the longer consumers use it, the lower the proportion of them evaluate it positively. Therefore, we assume that the rate of eWOM recommendation R(e) is decreasing with respect to a segment e and it takes the form \(R(e)=0.48-0.12\sqrt{e}\). The assumption causes also that the depreciation rate of goodwill is increasing and it takes the form: \(\delta (e)=0.8-\frac{0.4}{1-\exp (-1)}\exp (-e)\). It reflects the fact that as time goes by, more and more consumers might become disappointed about the product’s functionality. Different values of the goodwill elasticity of demand \(\epsilon _g\) are related to the consumer response to marketing communication efforts. A low goodwill elasticity of demand may occur in a situation where the consumer has commitments which block the use of a substitute product. Therefore, despite the fact that marketing activities have convinced the consumer to use another product, the consumer is only able to purchase an additional part of the service. Thus, their contribution to demand is relatively small. A good example is that of mobile operators, where post-paid service requires the consumers to sign a contract. By contrast, pre-paid customers do not have any obligation to the mobile operator and may change firms at any time. Therefore, the goodwill elasticity of demand for this group of users is high. In addition, we examine how the non-linear shape of the marketing response function in the goodwill equation affects the optimal defensive and offensive marketing strategies, optimal goodwill path, and the firm’s profit. For these reasons, we analyse the linear \(\rho =1\) and concave-downward \(\rho =0.5\) responses of marketing instruments. Besides, we assume that the rate of interest r is equal to 2.8%, the length of the product life cycle \(T=1\), the unit advertising cost \(\beta =0.000001\), and the parameter \(K_\varPi =0.34\). The initial level of goodwill is \(G_0(e)=100\).

Fig. 1
figure 1

The optimal marketing strategies \(u^*\) and \(u_0^*\), and optimal goodwill path \(G^*\) in the experiment for \(\epsilon _g=0.2\) and \(\rho =0.5\)

Fig. 2
figure 2

The optimal marketing strategies \(u^*\) and \(u_0^*\), and optimal goodwill path \(G^*\) in the experiment for \(\epsilon _g=0.2\) and \(\rho =1\)

Fig. 3
figure 3

The optimal marketing strategies \(u^*\) and \(u_0^*\), and optimal goodwill path \(G^*\) in the experiment for \(\epsilon _g=1\) and \(\rho =0.5\)

Fig. 4
figure 4

The optimal marketing strategies \(u^*\) and \(u_0^*\), and optimal goodwill path \(G^*\) in the experiment for \(\epsilon _g=1\) and \(\rho =1\)

The results of the simulations are shown in Figs. 123 and 4. Each graphical presentation consist of the following three plots (from left to right): a contour plot of the optimal defensive marketing strategy, a contour plot of the optimal goodwill paths, a plot of the optimal offensive marketing strategy. We find two types of optimal marketing strategies: we will refer to them as ‘supportive’ and ‘strengthening’. The first maintains the level of goodwill at most at its initial level, while the latter causes a significant increase in the level of goodwill from its initial value. Different types of optimal marketing strategies are responsible for different shapes of the associated optimal goodwill paths. The optimal paths of product goodwill \(G^*\) for a strengthening strategy reaches a maximum value for segments of consumers with a little experience and these values spread over time to the segments of consumers with long experience (see Fig. 4). Whereas for the second type, the maximum value of \(G^*\) is achieved in all segments at the beginning of the product life cycle and then decreases, moreover, the rate of decline is the greatest among consumers with a little usage experience (see Figs. 123). Furthermore, the maximum values of optimal offensive marketing efforts are smaller by 25% for \(\rho =0.5\) and by 50% for \(\rho =1\) than the maximum values of optimal defensive efforts (cf. Table 1).

For the low value of goodwill elasticity of demand (\(\epsilon _g=0.2\)) we recognize that all optimal marketing strategies are supportive (see Figs. 12). One may observe that the rate of decline of goodwill is lower for larger value of parameter \(\rho \). More precisely, at the end of the product life cycle the mean value of optimal goodwill path for model with \(\rho =0.5\) decreases by 70% of its initial value (cf. Table 1), whereas for \(\rho =1\) we observe 30% decline in the average level of product goodwill. Moreover, in each market segment e one may observe two shapes of optimal marketing strategies: for \(\rho = 0.5\) we have parabolic shape with a maximum (see Fig. 1) and for \(\rho =1\) we receive decreasing concave shape (see Fig. 2). Strictly speaking, a non-linear marketing response function in the goodwill model results that the maximum defensive marketing efforts occur much later. However, the maximum level of optimal strategies with a parabolic shape is more than three times smaller than for the strategy with a decreasing concave shape.

For the high value of goodwill elasticity of demand (\(\epsilon _g=1\)) we observe both supportive and strengthening marketing strategies (see Figs. 3, 4). The differences between linear and non-linear models for \(\epsilon _g=1\) are more striking. The strengthening policy occurs in the experiment for a linear marketing response function, \(\rho =1\) (see Fig. 4). It causes that the optimal goodwill path reaches level of 590, which is almost six times bigger than its initial value. Furthermore, the average goodwill at the end of the product life cycle increases four times. As for the model with supportive strategy (\(\rho =0.5\)) we observe a four-fold average decrease in goodwill at the end of the time horizon.

In the experiments presented on Figs. 3 and 4 the curves of optimal marketing communication efforts posses two shapes depending on the marketing response function. Supportive strategies, \(u^*\) and \(u_0^*\) have a concave decreasing shape in each market segment (see Fig. 3). Moreover, their maximum level is achieved at the beginning of the product life cycle and for consumers with little usage experience. For the linear model (see Fig. 4) marketing strategies change shape into a serpentine, piecewise linear. In comparison with the non-linear model the greatest values of strengthening defensive and offensive polices are nearly seven and six times larger, respectively (see Table 1).

Finally, we compare financial consequences of investments in defensive and offensive marketing communication efforts. They are presented in Table 1.

Table 1 The essential values for optimal solutions: \(J_0\) is the company profit with no marketing investment, \(\frac{\varDelta J}{J_0}=\frac{J-J_0}{J_0}\), \(\max G^*\)—the maximal value of goodwill \(G^*\), \(\text {mean } G^*_T\)—the mean value of goodwill \(G^*\) at final time T

The ratio \(\frac{\varDelta J}{J_0}\) is a measure of the benefit from investments in marketing and is equal to the percentage change of the company profits caused by introducing the optimal marketing polices. Our experiments confirm that a low level of goodwill elasticity of demand causes a small percentage increase in the company profits \(\frac{\varDelta J}{J_0}\) for both values of parameter \(\rho \). In case of a high goodwill elasticity of demand the company benefit form marketing investments is higher compared to the previous experiments and for the linear marketing response function \(\frac{\varDelta J}{J_0}\) reaches 92%.

The above analysis highlights the importance of eWOM and the levels of goodwill elasticity of demand in creating an optimal defensive and offensive marketing campaign. Moreover, the non-linear effect of marketing communication efforts has a strong impact on optimal goodwill path in every market segment. Finally, conducted experiments have confirmed that the defensive and offensive marketing strategies have different magnitudes and it should be taken into account by managers.