← Math simulations  ·  EE263, Stanford

Linear or not?

Each button below is a hidden map f that turns a 2-D input x into a 2-D output y = f(x). You cannot see its formula, only its inputs and outputs. Feed it values: type x, or drag the blue arrow in the left plane, and watch y move in the right plane. Your job: decide whether the map is linear.

Choose a map

Input x

x =

Type the two components, or drag x in the left plane.

x(1.00, 1.00)
y = f(x)(0.00, 0.00)
∥x∥, ∥y∥0.00, 0.00

Quick probes

input x   output y
pinned probes (faded)

Input plane  drag x

Output plane  y = f(x)