Skip to content

[3.4 EXAMPLES OF](#page-9-0) DISCRETE-TIME SYSTEMS

← Back to LINEAR SYSTEMS AND SIGNALS Overview

3.4 EXAMPLES OF DISCRETE-TIME SYSTEMS

We shall give here four examples of discrete-time systems. In the first two examples, the signals are inherently of the discrete-time variety. In the third and fourth examples, a continuous-time signal is processed by a discrete-time system, as illustrated in Fig. 3.2, by discretizing the signal through sampling.

EXAMPLE 3.6 Savings Account

A person makes a deposit (the input) in a bank regularly at an interval of T (say, 1 month). The bank pays a certain interest on the account balance during the period T and mails out a periodic statement of the account balance (the output) to the depositor. Find the equation relating the output y[n] (the balance) to the input x[n] (the deposit).

In this case, the signals are inherently discrete time. Let

x[n] = deposit made at the nth discrete instant

y[n] = account balance at the nth instant computed

immediately after receipt of the nth deposit x[n]

r = interest per dollar per period T

The balance y[n] is the sum of (i) the previous balance y[n βˆ’ 1], (ii) the interest on y[n βˆ’ 1] during the period T, and (iii) the deposit x[n]

y[n]=y[nβˆ’1]+ry[nβˆ’1]+x[n]y[n] = y[n-1] + ry[n-1] + x[n]

= (1+r)y[n-1] + x[n]

or

y[n]βˆ’ay[nβˆ’1]=x[n]a=1+ry[n] - ay[n-1] = x[n] \qquad a = 1+r

\n(3.3)

In this example the deposit x[n] is the input (cause) and the balance y[n] is the output (effect).

254 CHAPTER 3 TIME-DOMAIN ANALYSIS OF DISCRETE-TIME SYSTEMS

A withdrawal from the account is a negative deposit. Therefore, this formulation can handle deposits as well as withdrawals. It also applies to a loan payment problem with the initial value y[0]=βˆ’M, where M is the amount of the loan. A loan is an initial deposit with a negative value. Alternately, we may treat a loan of M dollars taken at n = 0 as an input of βˆ’M at n = 0 (see Prob. 3.8-23).

We can express Eq. (3.3) in an alternate form. The choice of index n in Eq. (3.3) is completely arbitrary, so we can substitute n+1 for n to obtain

y[n+1]βˆ’ay[n]=x[n+1]y[n+1] - ay[n] = x[n+1]

\n(3.4)

We also could have obtained Eq. (3.4) directly by realizing that y[n+1], the balance at instant (n + 1), is the sum of y[n] plus ry[n] (the interest on y[n]) plus the deposit (input) x[n + 1] at instant (n+1).

The difference equation in Eq. (3.3) uses delays, whereas the form in Eq. (3.4) uses advances. Thus, Eq. (3.3) is said to be in delay form and Eq. (3.4) is said to be in advance form. The delay form is more natural because operation of delay is causal, hence realizable. In contrast, advance operation, being noncausal, is unrealizable. We use the advance form primarily for its mathematical convenience over the delay form.†

We shall now represent this system in a block diagram form, which is basically a road map to a hardware (or software) realization of the system. For this purpose, the causal (realizable) delay form in Eq. (3.3) will be used. There are three basic operations in this equation: addition, scalar multiplication, and delay. Figure 3.13 shows their schematic representation. In addition, we also have a pickoff node (Fig. 3.13d), which is used to provide multiple copies of a signal at its input.

Figure 3.13 Schematic representations of basic operations on sequences.

† Use of the advance form results in discrete-time system equations that are identical in form to those for continuous-time systems. This will become apparent later. In transform analysis, advance form leads to the more convenient variable z instead of the clumsy zβˆ’1 that arises from delay form.

Figure 3.14 Realization of the savings account system.

Figure 3.14 shows in block diagram form a system represented by Eq. (3.3). To understand this realization, it is helpful to rewrite Eq. (3.3) as y[n] = ay[n βˆ’ 1] + x[n] (a = 1 + r). Now, assume that the output y[n] is available at the pickoff node N. Unit delay of y[n] results in y[n βˆ’ 1], which is multiplied by a scalar of value a to yield ay[n βˆ’ 1]. Next, we generate y[n] by adding the input x[n] and ay[n βˆ’ 1]. † Observe that node N is a pickoff node, from which two copies of the output signal flow out: one as the feedback signal and the other as the output signal.

EXAMPLE 3.7 Sales Estimate

During semester n, x[n] students enroll in a course requiring a certain textbook while the publisher sells y[n] new copies of the same book. On the average, one-quarter of students with books in salable condition resell the texts at the end of the semester, and the book life is three semesters. Write the equation relating y[n], the new books sold by the publisher, to x[n], the number of students enrolled in the nth semester, assuming that every student buys a book.

In the nth semester, the total books x[n] sold to students must be equal to y[n] (new books from the publisher) plus the used books from students enrolled in the preceding two semesters (because the book life is only three semesters). There are y[n βˆ’ 1] new books sold in semester (n βˆ’ 1), and one-quarter of these books, that is, (1/4)y[n βˆ’ 1], will be resold in the nth semester. Also, y[n βˆ’ 2] new books are sold in semester n βˆ’ 2, and one-quarter of these, that is, (1/4)y[n βˆ’ 2], will be resold in semester (n βˆ’ 1). Again, a quarter of these, that is, (1/16)y[n βˆ’ 2], will be resold in the nth semester. Therefore, x[n] must be equal to the sum of y[n], (1/4)y[nβˆ’1], and (1/16)y[nβˆ’2].

y[n]+14y[nβˆ’1]+116y[nβˆ’2]=x[n]y[n] + \frac{1}{4}y[n-1] + \frac{1}{16}y[n-2] = x[n]

\n(3.5)

Equation (3.5) can also be expressed in an alternative form by realizing that this equation is valid for any value of n. Therefore, replacing n by n+2, we obtain

y[n+2]+14y[n+1]+116y[n]=x[n+2]y[n+2] + \frac{1}{4}y[n+1] + \frac{1}{16}y[n] = x[n+2]

\n(3.6)

This is the alternative form of Eq. (3.5).

† A unit delay represents 1 unit of time delay. In this example, 1 unit of delay in the output corresponds to period T for the actual output.

256 CHAPTER 3 TIME-DOMAIN ANALYSIS OF DISCRETE-TIME SYSTEMS

To facilitate a realization of a system with this input–output equation, we rewrite the delay-form Eq. (3.5) as y[n]=βˆ’1 4 y[n βˆ’ 1] βˆ’ 1 16 y[n βˆ’ 2] + x[n]. Figure 3.15 shows a corresponding hardware realization using two unit delays in cascade.†

Figure 3.15 Realization of the system representing sales estimate in Ex. 3.7.

EXAMPLE 3.8 Digital Differentiator

Design a discrete-time system, like the one in Fig. 3.2, to differentiate continuous-time signals. This differentiator is used in an audio system having an input signal bandwidth below 20 kHz.

In this case, the output y(t) is required to be the derivative of the input x(t). The discrete-time processor (system) G processes the samples of x(t) to produce the discrete-time output y[n]. Let x[n] and y[n] represent the samples T seconds apart of the signals x(t) and y(t), respectively, that is,

x[n]=x(nT)andy[n]=y(nT)(3.7)x[n] = x(nT) \qquad \text{and} \qquad y[n] = y(nT) \tag{3.7}

The signals x[n] and y[n] are the input and the output for the discrete-time system G. Now, we require that

y(t)=dx(t)dty(t) = \frac{dx(t)}{dt}

Therefore, at t = nT (see Fig. 3.16a),

y(nT)=dx(t)dt∣t=nT=lim⁑Tβ†’01T[x(nT)βˆ’x[(nβˆ’1)T]]y(nT) = \frac{dx(t)}{dt}\bigg|_{t=nT} = \lim_{T \to 0} \frac{1}{T} [x(nT) - x[(n - 1)T]]

† The comments in the preceding footnote apply here also. Although 1 unit of delay in this example is one semester, we need not use this value in the hardware realization. Any value other than one semester results in a time-scaled output.

Figure 3.16 Digital differentiator and its realization.

By using the notation in Eq. (3.7), the foregoing equation can be expressed as

y[n]=lim⁑Tβ†’01T{x[n]βˆ’x[nβˆ’1]}y[n] = \lim_{T \to 0} \frac{1}{T} \{x[n] - x[n-1]\}

This is the input–output relationship for G required to achieve our objective. In practice, the sampling interval T cannot be zero. Assuming T to be sufficiently small, the equation just given can be expressed as

y[n]=1T{x[n]βˆ’x[nβˆ’1]}y[n] = \frac{1}{T} \{x[n] - x[n-1]\}

\n(3.8)

The approximation improves as T approaches 0. A discrete-time processor G to realize Eq. (3.8) is shown inside the shaded box in Fig. 3.16b. The system in Fig. 3.16b acts as a differentiator. This example shows how a continuous-time signal can be processed by a

258 CHAPTER 3 TIME-DOMAIN ANALYSIS OF DISCRETE-TIME SYSTEMS

discrete-time system. The considerations for determining the sampling interval T are discussed in Chs. 5 and 8, where it is shown that to process frequencies below 20 kHz, the proper choice is

T≀12Γ—highestΒ frequency=140,000=25 μsT \le \frac{1}{2 \times \text{highest frequency}} = \frac{1}{40,000} = 25 \,\mu\text{s}

To see how well this method works, let us consider the differentiator in Fig. 3.16b with a ramp input x(t) = t, depicted in Fig. 3.16c. If the system were to act as a differentiator, then the output y(t) of the system should be the unit step function u(t). Let us investigate how the system performs this particular operation and how well the system achieves the objective.

The samples of the input x(t) = t at the interval of T seconds act as the input to the discrete-time system G. These samples, denoted by a compact notation x[n], are, therefore,

x[n]=x(t)∣t=nT=t∣t=nTtβ‰₯0x[n] = x(t)|_{t=nT} = t|_{t=nT} \qquad t \ge 0

= nT \qquad n \ge 0

Figure 3.16d shows the sampled signal x[n]. This signal acts as an input to the discrete-time system G. Figure 3.16b shows that the operation of G consists of subtracting a sample from the preceding (delayed) sample and then multiplying the difference with 1/T. From Fig. 3.16d, it is clear that the difference between the successive samples is a constant nT βˆ’(nβˆ’1)T = T for all samples, except for the sample at n = 0 (because there is no preceding sample at n = 0). The output of G is 1/T times the difference T, which is unity for all values of n, except n = 0, where it is zero. Therefore, the output y[n] of G consists of samples of unit values for n β‰₯ 1, as illustrated in Fig. 3.16e. The D/C (discrete-time to continuous-time) converter converts these samples into a continuous-time signal y(t), as shown in Fig. 3.16f. Ideally, the output should have been y(t) = u(t). This deviation from the ideal is due to our use of a nonzero sampling interval T. As T approaches zero, the output y(t) approaches the desired output u(t).

The digital differentiator in Eq. (3.8) is an example of what is known as the backward difference system. The reason for calling it so is obvious from Fig. 3.16a. To compute the derivative of y(t), we are using the difference between the present sample value and the preceding (backward) sample value. If we use the difference between the next (forward) sample at t = (n + 1)T and the present sample at t = nT, we obtain a forward difference form of differentiator as

y[n]=1T{x[n+1]βˆ’x[n]}y[n] = \frac{1}{T} \{x[n+1] - x[n]\}

\n(3.9)

EXAMPLE 3.9 Digital Integrator

Design a digital integrator along the same lines as the digital differentiator in Ex. 3.8.

For an integrator, the input x(t) and the output y(t) are related by

y(t)=βˆ«βˆ’βˆžtx(Ο„)dΟ„y(t) = \int_{-\infty}^{t} x(\tau) d\tau

3.4 Examples of Discrete-Time Systems 259

Therefore, at t = nT (see Fig. 3.16a),

y(nT)=lim⁑Tβ†’0βˆ‘k=βˆ’βˆžnx(kT)Ty(nT) = \lim_{T \to 0} \sum_{k=-\infty}^{n} x(kT)T

Using the usual notation x(kT) = x[k], y(nT) = y[n], and so on, this equation can be expressed as

y[n]=lim⁑Tβ†’0Tβˆ‘k=βˆ’βˆžnx[k]y[n] = \lim_{T \to 0} T \sum_{k=-\infty}^{n} x[k]

Assuming that T is small enough to justify the assumption T β†’ 0, we have

y[n]=Tβˆ‘k=βˆ’βˆžnx[k]y[n] = T \sum_{k=-\infty}^{n} x[k]

(3.10)

This equation represents an example of accumulator system. This digital integrator equation can be expressed in an alternate form. From Eq. (3.10), it follows that

y[n]βˆ’y[nβˆ’1]=Tx[n]y[n] - y[n-1] = Tx[n]

\n(3.11)

This is an alternate description for the digital integrator. Equations (3.10) and (3.11) are equivalent; the one can be derived from the other. Observe that the form of Eq. (3.11) is similar to that of Eq. (3.3). Hence, the block diagram representation of a digital integrator in the form of Eq. (3.11) is identical to that in Fig. 3.14 with a = 1 and the input multiplied by T.

RECURSIVE AND NONRECURSIVE FORMS OF DIFFERENCE EQUATION

If Eq. (3.11) expresses Eq. (3.10) in another form, what is the difference between these two forms? Which form is preferable? To answer these questions, let us examine how the output is computed by each of these forms. In Eq. (3.10), the output y[n] at any instant n is computed by adding all the past input values till n. This can mean a large number of additions. In contrast, Eq. (3.11) can be expressed as y[n] = y[nβˆ’1] +Tx[n]. Hence, computation of y[n] involves addition of only two values: the preceding output value y[n βˆ’ 1] and the present input value x[n]. The computations are done recursively by using the preceding output values. For example, if the input starts at n = 0, we first compute y[0]. Then we use the computed value y[0] to compute y[1]. Knowing y[1], we compute y[2], and so on. The computations are recursive. This is why the form of Eq. (3.11) is called recursive form and the form of Eq. (3.10) is called nonrecursive form. Clearly, β€œrecursive” and β€œnonrecursive” describe two different ways of presenting the same information. Equations (3.3), (3.5), and (3.11) are examples of recursive form, and Eqs. (3.8) and (3.10) are examples of nonrecursive form.

KINSHIP OF DIFFERENCE EQUATIONS TO DIFFERENTIAL EQUATIONS

We now show that a digitized version of a differential equation results in a difference equation. Let us consider a simple first-order differential equation

dy(t)dt+cy(t)=x(t)\frac{dy(t)}{dt} + cy(t) = x(t)

\n(3.12)

Consider uniform samples of x(t) at intervals of T seconds. As usual, we use the notation x[n] to denote x(nT), the nth sample of x(t). Similarly, y[n] denotes y[nT], the nth sample of y(t). From the basic definition of a derivative, we can express Eq. (3.12) at t = nT as

lim⁑Tβ†’0y[n]βˆ’y[nβˆ’1]T+cy[n]=x[n]\lim_{T \to 0} \frac{y[n] - y[n-1]}{T} + cy[n] = x[n]

Clearing the fractions and rearranging the terms yield (assuming nonzero, but very small T)

y[n]+Ξ±y[nβˆ’1]=Ξ²x[n]y[n] + \alpha y[n-1] = \beta x[n]

\n(3.13)

where

Ξ±=βˆ’11+cTandΞ²=T1+cT\alpha = \frac{-1}{1 + cT} \quad \text{and} \quad \beta = \frac{T}{1 + cT}

We can also express Eq. (3.13) in advance form as

y[n+1]+Ξ±y[n]=Ξ²x[n+1]y[n+1] + \alpha y[n] = \beta x[n+1]

It is clear that a differential equation can be approximated by a difference equation of the same order. In this way, we can approximate an nth-order differential equation by a difference equation of nth order. Indeed, a digital computer solves differential equations by using an equivalent difference equation, which can be solved by means of simple operations of addition, multiplication, and shifting. Recall that a computer can perform only these simple operations. It must necessarily approximate complex operation like differentiation and integration in terms of such simple operations. The approximation can be made as close to the exact answer as possible by choosing sufficiently small value for T.

At this stage, we have not developed tools required to choose a suitable value of the sampling interval T. This subject is discussed in Ch. 5 and also in Ch. 8. In Sec. 5.7, we shall discuss a systematic procedure (impulse invariance method) for finding a discrete-time system with which to realize an Nth-order LTIC system.

ORDER OF A DIFFERENCE EQUATION

Equations (3.3), (3.5), (3.9), (3.11), and (3.13) are examples of difference equations. The highest-order difference of the output signal or the input signal, whichever is higher, represents the order of the difference equation. Hence, Eqs. (3.3), (3.9), (3.11), and (3.13) are first-order difference equations, whereas Eq. (3.5) is of the second order.

DR ILL 3.8 Digital Integrator Design

Design a digital integrator in Ex. 3.9 using the fact that for an integrator, the output y(t) and the input x(t) are related by dy(t)/dt = x(t). Approximation (similar to that in Ex. 3.8) of this equation at t = nT yields the recursive form in Eq. (3.11).

ANALOG, DIGITAL, CONTINUOUS-TIME, AND DISCRETE-TIME SYSTEMS

The basic difference between continuous-time systems and analog systems, as also between discrete-time and digital systems, is fully explained in Secs. 1.7-5 and 1.7-6.† Historically, discrete-time systems have been realized with digital computers, where continuous-time signals are processed through digitized samples rather than unquantized samples. Therefore, the terms digital filters and discrete-time systems are used synonymously in the literature. This distinction is irrelevant in the analysis of discrete-time systems. For this reason, we follow this loose convention in this book, where the term digital filter implies a discrete-time system, and analog filter means continuous-time system. Moreover, the terms C/D (continuous-to-discrete-time ) and D/C will occasionally be used interchangeably with terms A/D (analog-to-digital) and D/A, respectively.

ADVANTAGES OF DIGITAL SIGNAL PROCESSING

    1. Digital systems operation can tolerate considerable variation in signal values, and hence are less sensitive to changes in the component parameter values due to temperature variation, aging, and other factors. This results in greater degree of precision and stability. Since digital systems are binary circuits, their accuracy can be increased by using more complex circuitry to increase word length, subject to cost limitations.
    1. Digital systems do not require any factory adjustment and can be easily duplicated in volume without having to worry about precise component values. They can be fully integrated, and even highly complex systems can be placed on a single chip by using VLSI (very-large-scale integrated) circuits.
    1. Digital filters are more flexible. Their characteristics can be easily altered simply by changing the program. Digital hardware implementation permits the use of microprocessors, miniprocessors, digital switching, and large-scale integrated circuits.
    1. A greater variety of filters can be realized by digital systems.
    1. Digital signals can be stored easily and inexpensively on various media (e.g., magnetic, optical, and solid state) without deterioration of signal quality. It is also possible (and increasingly popular) to search and select information from distant electronic storehouses, such as the cloud.
    1. Digital signals can be coded to yield extremely low error rates and high fidelity, as well as privacy. Also, more sophisticated signal-processing algorithms can be used to process digital signals.

† The terms discrete-time and continuous-time qualify the nature of a signal along the time axis (horizontal axis). The terms analog and digital, in contrast, qualify the nature of the signal amplitude (vertical axis).

262 CHAPTER 3 TIME-DOMAIN ANALYSIS OF DISCRETE-TIME SYSTEMS

    1. Digital filters can be easily time-shared and therefore can serve a number of inputs simultaneously. Moreover, it is easier and more efficient to multiplex several digital signals on the same channel.
    1. Reproduction with digital messages is extremely reliable without deterioration. Analog messages such as photocopies and films, for example, lose quality at each successive stage of reproduction and have to be transported physically from one distant place to another, often at relatively high cost.

One must weigh these advantages against such disadvantages as increased system complexity due to use of A/D and D/A interfaces, limited range of frequencies available in practice (affordable rates are gigahertz or less), and use of more power than is needed for the passive analog circuits. Digital systems use power-consuming active devices.

3.4-1 Classification of Discrete-Time Systems

Before examining the nature of discrete-time system equations, let us consider the concepts of linearity, time invariance (or shift invariance), and causality, which apply to discrete-time systems also.

LINEARITY AND TIME INVARIANCE

For discrete-time systems, the definition of linearity is identical to that for continuous-time systems, as given in Eq. (1.22). We can show that the systems in Exs. 3.6, 3.7, 3.8, and 3.9 are all linear.

Time invariance (or shift invariance) for discrete-time systems is also defined in a way similar to that for continuous-time systems. Systems whose parameters do not change with time (with n) are time-invariant or shift-invariant (also constant-parameter) systems. For such a system, if the input is delayed by k units or samples, the output is the same as before but delayed by k samples (assuming the initial conditions also are delayed by k). The systems in Exs. 3.6, 3.7, 3.8, and 3.9 are time-invariant because the coefficients in the system equations are constants (independent of n). If these coefficients were functions of n (time), then the systems would be linear time-varying systems. Consider, for example, a system described by

y[n]=eβˆ’nx[n]y[n] = e^{-n}x[n]

For this system, let a signal x1[n] yield the output y1[n], and another input x2[n] yield the output y2[n]. Then

y1[n]=eβˆ’nx1[n]y_1[n] = e^{-n}x_1[n]

and y2[n]=eβˆ’nx2[n]y_2[n] = e^{-n}x_2[n]

If we let x2[n] = x1[nβˆ’N0], then

y2[n]=eβˆ’nx2[n]=eβˆ’nx1[nβˆ’N0]β‰ y1[nβˆ’N0]y_2[n] = e^{-n}x_2[n] = e^{-n}x_1[n - N_0] \neq y_1[n - N_0]

Clearly, this is a time-varying parameter system.

CAUSAL AND NONCAUSAL SYSTEMS

A causal (also known as a physical or nonanticipative) system is one for which the output at any instant n = k depends only on the value of the input x[n] for n ≀ k. In other words, the value of the output at the present instant depends only on the past and present values of the input x[n], not on its future values. As we shall see, the systems in Exs. 3.6, 3.7, 3.8, and 3.9 are all causal.

INVERTIBLE AND NONINVERTIBLE SYSTEMS

A discrete-time system S is invertible if an inverse system Si exists such that the cascade of S and Si results in an identity system. An identity system is defined as one whose output is identical to the input. In other words, for an invertible system, the input can be uniquely determined from the corresponding output. For every input there is a unique output. When a signal is processed through such a system, its input can be reconstructed from the corresponding output. There is no loss of information when a signal is processed through an invertible system.

A cascade of a unit delay with a unit advance results in an identity system because the output of such a cascaded system is identical to the input. Clearly, the inverse of an ideal unit delay is ideal unit advance, which is a noncausal (and unrealizable) system. In contrast, a compressor y[n] = x[Mn] is not invertible because this operation loses all but every Mth sample of the input, and, generally, the input cannot be reconstructed. Similarly, operations, such as y[n] = cos x[n] or y[n]=|x[n]|, are not invertible.

DR ILL 3.9 Invertibility

Show that a system specified by equation y[n] = ax[n] + b is invertible but that the system y[n]=|x[n]|2 is noninvertible.

STABLE AND UNSTABLE SYSTEMS

The concept of stability is similar to that in continuous-time systems. Stability can be internal or external. If every bounded input applied at the input terminal results in a bounded output, the system is said to be stable externally. External stability can be ascertained by measurements at the external terminals of the system. This type of stability is also known as the stability in the BIBO (bounded-input/bounded-output) sense. Both internal and external stability are discussed in greater detail in Sec. 3.9.

MEMORYLESS SYSTEMS AND SYSTEMS WITH MEMORY

The concepts of memoryless (or instantaneous) systems and those with memory (or dynamic) are identical to the corresponding concepts of the continuous-time case. A system is memoryless if its response at any instant n depends at most on the input at the same instant n. The output at any instant of a system with memory generally depends on the past, present, and future values of the input. For example, y[n] =sinx[n] is an example of instantaneous system, and y[n]βˆ’y[nβˆ’1] =x[n] is an example of a dynamic system or a system with memory.

EXAMPLE 3.10 Investigating DT System Properties

Consider a DT system described as y[n + 1] = x[n + 1]x[n]. Determine whether the system is (a) linear, (b) time-invariant, (c) causal, (d) invertible, (e) BIBO-stable, and (f) memoryless.

Let us delay the input–output equation by one to obtain the equivalent but more convenient representation of y[n] = x[n]x[nβˆ’1].

(a) Linearity requires both homogeneity and additivity. Let us first investigate homogeneity. Assuming x[n] β‡’ y[n], we see that

ax[n]⟹(ax[n])(ax[nβˆ’1])=a2y[n]β‰ ay[n]ax[n] \Longrightarrow (ax[n])(ax[n-1]) = a^2y[n] \neq ay[n]

Thus, the system does not satisfy the homogeneity property.

The system also does not satisfy the additivity property. Assuming x1[n] β‡’ y1[n] and x2[n] β‡’ y2[n], we see that input x[n] = x1[n] +x2[n] produces output y[n] as

y[n]=(x1[n]+x2[n])(x1[nβˆ’1]+x2[nβˆ’1])y[n] = (x_1[n] + x_2[n])(x_1[n-1] + x_2[n-1])

= x1[n]x1[nβˆ’1]+x2[n]x2[nβˆ’1]+x1[n]x2[nβˆ’1]+x2[n]x1[nβˆ’1]x_1[n]x_1[n-1] + x_2[n]x_2[n-1] + x_1[n]x_2[n-1] + x_2[n]x_1[n-1]
= y1[n]+y2[n]+x1[n]x2[nβˆ’1]+x2[n]x1[nβˆ’1]y_1[n] + y_2[n] + x_1[n]x_2[n-1] + x_2[n]x_1[n-1]
β‰ y1[n]+y2[n]\neq y_1[n] + y_2[n]

Clearly, additivity is not satisfied.

Since the system does not satisfy both the homogeneity and additivity properties, we conclude that the system is not linear.

(b) To be time-invariant, a shift in any input should cause a corresponding shift in respective output. Assume that x[n] β‡’ y[n]. Applying a delay version of this input to the system yields

x[nβˆ’N]⟹x[nβˆ’N]x[nβˆ’1βˆ’N]=x[(nβˆ’N)]x[(nβˆ’N)βˆ’1]=y[nβˆ’N]x[n - N] \Longrightarrow x[n - N]x[n - 1 - N] = x[(n - N)]x[(n - N) - 1] = y[n - N]

Since shifting an input causes a corresponding shift in the output, we conclude that the system is time-invariant.

(c) To be causal, an output value cannot depend on any future input values. The output y at time n depends on the input x at present and past times n and nβˆ’1. Since the current output does not depend on future input values, the system is causal.

(d) For a system to be invertible, every input must generate a unique output, which allows exact recovery of the input from the output. Consider two inputs to this system: x1[n] = 1 and x2[n]=βˆ’1. Both inputs generate the same output: y1[n] = y2[n] = 1. Since unique inputs do not always generate unique outputs, we conclude that the system is not invertible.

(e) To be BIBO-stable, any bounded input must generate a bounded output. A bounded input satisfies |x[n]| ≀ Mx < ∞ for all n. Given this condition, the system output magnitude behaves as

|y[n]| = |x[n]x[nβˆ’1]| = |x[n]||x[nβˆ’1]| ≀ M2 x < ∞

Since any bounded input is guaranteed to produce a bounded output, it follows that the system is BIBO-stable.

(f) To be memoryless, a system’s output can only depend on the strength of the current input. Since the output y at time n depends on the input x not only at present time n but also on past time nβˆ’1, we see that the system is not memoryless.