Skip to main content

Is y[n] = 2x[n] + 5 linear

Short answer

The system y[n] = 2x[n] + 5 is non‑linear because zero input yields output 5, and superposition does not hold; it is incrementally linear.

Check whether the discrete-time system described by the following input-output relation is linear or non-linear. y[n] = 2 × x[n] + 5

A system is linear if it satisfies superposition (additivity and homogeneity):

a1x1[n]+a2x2[n] → a1y1[n]+a2y2[n]a_1x_1[n]+a_2x_2[n]\ \rightarrow\ a_1y_1[n]+a_2y_2[n]

Test

Let x1[n]→y1[n]=2x1[n]+5x_1[n]\rightarrow y_1[n]=2x_1[n]+5 and x2[n]→y2[n]=2x2[n]+5x_2[n]\rightarrow y_2[n]=2x_2[n]+5.

Response to the combined input x3=a1x1+a2x2x_3=a_1x_1+a_2x_2:

y3[n]=2(a1x1[n]+a2x2[n])+5=2a1x1[n]+2a2x2[n]+5y_3[n]=2\big(a_1x_1[n]+a_2x_2[n]\big)+5=2a_1x_1[n]+2a_2x_2[n]+5

Weighted sum of the individual outputs:

a1y1[n]+a2y2[n]=2a1x1[n]+2a2x2[n]+5(a1+a2)a_1y_1[n]+a_2y_2[n]=2a_1x_1[n]+2a_2x_2[n]+5(a_1+a_2)

These are equal only if a1+a2=1a_1+a_2=1, not for all constants. So y3[n]≠a1y1[n]+a2y2[n]y_3[n]\ne a_1y_1[n]+a_2y_2[n] in general.

Quick check (zero-input test): for a linear system, zero input gives zero output. Here x[n]=0x[n]=0 gives y[n]=5≠0y[n]=5\ne0.

Numerical example: x[n]=1→y=7x[n]=1\rightarrow y=7; doubling the input, x[n]=2→y=9≠14x[n]=2\rightarrow y=9\ne 14.

Answer: the system y[n]=2x[n]+5y[n]=2x[n]+5 is non-linear. It is called incrementally linear: it is a linear system (2x[n]2x[n]) plus a constant offset (5), so differences of outputs do respond linearly to differences of inputs. (It is memoryless, causal, time-invariant and stable.)

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →