How Do You Test if a System is Linear?

Click For Summary

Homework Help Overview

The discussion revolves around testing the linearity of a system described by the equation y(t) = x(t-2) + x(2-t). Participants are exploring the definitions and properties of linear systems, particularly the role of the operator H and the nature of the inputs involved.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to understand the definition of linearity in the context of the given system, questioning what constitutes the operator H and the nature of the inputs x(t-2) and x(2-t). There are discussions about whether x represents a function or a scalar, and how this affects the linearity of y.

Discussion Status

There is an ongoing exploration of the definitions and implications of linearity, with some participants providing clarifications on notation and the roles of different variables. Questions remain regarding the interpretation of the inputs and the operator, indicating a productive dialogue without a clear consensus.

Contextual Notes

Participants are grappling with notation and definitions, particularly concerning the distinction between functions and scalars in the context of the linearity test. The discussion reflects a desire to understand the underlying principles rather than simply applying a formula.

FrogPad
Messages
801
Reaction score
0
I basically need to know how to test a system to see if it is linear or not. The professor gave us a "recipe" to check a system. I can kinda follow the recipe, but I would like to understand it, so I have reached out to other sources. The other sources deal with operators from the beginning... thus, I am trying to understand them. The following simple example is throwing me for a loop.

Question:
Determine if the following system is linear.

[tex]y(t) = x(t-2) + x(2-t)[/tex]


Answer:
A system is linear if:
[tex]H \{ \alpha x_1 +\beta x_2 \} = \alpha H\{ x_1 \} + \alpha H\{ x_2 \}[/tex]

I have the solution (the answer is yes - linear), however I do not understand it. What is [tex]H\{ \}[/tex] in this case?

It makes sense to me in examples such as:
[tex]y(t) = \sin(t)x(t)[/tex] so [itex]\sin(t)[/itex] is acting on the input [itex]x(t)[/itex]. But... what is acting on the input here (the x(t-2) + x(2-t) example)?

In words I imagine [itex]H[/itex] to be something that yields an ouput by adding a shifted input to a shifted input. I'm kinda lost... guidance would be helpful.

thanks !
 
Last edited:
Physics news on Phys.org
FrogPad said:
I basically need to know how to test a system to see if it is linear or not. The professor gave us a "recipe" to check a system. I can kinda follow the recipe, but I would like to understand it, so I have reached out to other sources. The other sources deal with operators from the beginning... thus, I am trying to understand them. The following simple example is throwing me for a loop.

Question:
Determine if the following system is linear.

[tex]y(t) = x(t-2) + x(2-t)[/tex]


Answer:
A system is linear if:
[tex]H \{ \alpha x_1 +\beta x_2 \} = \alpha H\{ x_1 \} + \alpha H\{ x_2 \}[/tex]

I have the solution (the answer is yes - linear), however I do not understand it. What is [tex]H\{ \}[/tex] in this case?
Well, what was "H" in your definition- it was the given system. Here H is y(t). Now, I have a question- is your "x" in the definition of y(t) a number (so that "x(t-2)" means x times t-2) or is it a function (so that x(t-2) mean x applied to t-2)? I'm going to assume that it is a number. In that case, y(t)= x(t-2)+ x(2-t)= xt- 2x+ 2x- xt= 0 for all x!

Okay, just apply your definition with y in place of H:
[itex]y(\{ \alpha t_1 +\beta t_2 \} = 0[/itex] while [itex]\alpha y(t_1)= \alpha(0)= 0[/itex] and [itex]\beta y(t_2)= \beta(0)= 0[/itex].

It makes sense to me in examples such as:
[tex]y(t) = \sin(t)x(t)[/tex] so [itex]\sin(t)[/itex] is acting on the input [itex]x(t)[/itex]. But... what is acting on the input here (the x(t-2) + x(2-t) example)?
No, x(t-2)+ x(2-t) is NOT the "input"- it's the definition of the function. Because the problem says "y(t)= ", t is the "input" and y is acting on it.

In words I imagine [itex]H[/itex] to be something that yields an ouput by adding a shifted input to a shifted input. I'm kinda lost... guidance would be helpful.

thanks !
Once again, the "input" is t and y is the function. A rather trivial function if my guess about x being a number is correct. If, on the other hand, x is a function then whether y is linear depends upon whether x is linear.
 
I'm sorry I wasn't specific with my notation. I should have been.

The condition for a system to be linear would be more appropriately written as:
[tex]H \{ \alpha x_1(t) +\beta x_2(t) \} = \alpha H\{ x_1(t) \} + \alpha H\{ x_2(t) \}[/tex]

[tex]\alpha, \,\,\, \beta[/tex] are scalars
[tex]x_1(t) , \,\,\, x_2(t)[/tex] are functions with independent variables [itex]t[/itex]

Thus,
[tex]y(t) = x(t-2) + x(2-t)[/tex]

If we defined an operator such that [itex]S_\lambda x(t) = x(t - \lambda)[/itex]. (By the way, I don't really know how to write this properly.)

Then we could write the above system as:
[tex]y(t) = S_2 x(t) + S_{-2}x(t)[/tex]

I hope this explains it better. Thanks for the help HallsofIvy!
 
The reason I assumed that you were just multiplying numbers x1 and x2 is that if they are functions then whether or not y is a linear function is entirely dependent upon whether x1 and x2 are. In fact, y is linear if and only if x1 and x2 are linear.
 

Similar threads

Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
2K