📉 Vẽ miền nghiệm
Biểu diễn tập nghiệm của hệ bất phương trình bậc nhất hai ẩn. Gạch sọc phần không phải là nghiệm.
📐 Giới hạn trục tọa độ
📉 Hệ bất phương trình

Nhập tối đa 5 phương trình. Nhập dạng ax+by+c (ví dụ: x+y-2, 2x-y, x). Hệ thống sẽ tự động gạch sọc phần không phải miền nghiệm.

👁 Xem trước
Code TikZ được tạo tự động
\usetikzlibrary{patterns}
\pgfplotsset{compat=1.18}
\begin{tikzpicture}
\begin{axis}[
  axis lines=middle,
  axis on top,
  xmin=-1.9, xmax=4.9,
  ymin=-1.9, ymax=4.9,
  xlabel={$x$}, ylabel={$y$},
  grid=major,
  grid style={dashed, gray!30},
  enlargelimits=false,
  ticklabel style={font=\footnotesize},
  width=8cm, height=8cm
]
  \fill[pattern=north east lines, pattern color=blue!50] (axis cs: -13.642135623731, 15.642135623731) -- (axis cs: 14.642135623731, -12.642135623731) -- (axis cs: 28.784271247462, 1.5) -- (axis cs: 0.5, 29.784271247462) -- cycle;
  \draw[thick, blue] (axis cs: -13.642135623731, 15.642135623731) -- (axis cs: 14.642135623731, -12.642135623731);
  \fill[pattern=north east lines, pattern color=red!50] (axis cs: 10.194271909999, 19.388543819998) -- (axis cs: -7.6942719099992, -16.388543819998) -- (axis cs: 10.194271909999, -25.332815729997) -- (axis cs: 28.082815729997, 10.444271909999) -- cycle;
  \draw[thick, red] (axis cs: 10.194271909999, 19.388543819998) -- (axis cs: -7.6942719099992, -16.388543819998);
  \fill[pattern=north east lines, pattern color=green!70!black!50] (axis cs: 0, 21.5) -- (axis cs: 0, -18.5) -- (axis cs: -20, -18.5) -- (axis cs: -20, 21.5) -- cycle;
  \draw[thick, green!70!black] (axis cs: 0, 21.5) -- (axis cs: 0, -18.5);
  \fill[pattern=north east lines, pattern color=orange!50] (axis cs: -18.5, 0) -- (axis cs: 21.5, 0) -- (axis cs: 21.5, -20) -- (axis cs: -18.5, -20) -- cycle;
  \draw[thick, orange] (axis cs: -18.5, 0) -- (axis cs: 21.5, 0);
\end{axis}
\end{tikzpicture}