1
0

Agregue binomio conjugado.

This commit is contained in:
Miguel Salgado 2023-11-08 16:03:04 -08:00
parent 60b283ce15
commit a010905e6c

65
src/d1-02-extras.tex Normal file
View File

@ -0,0 +1,65 @@
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
% -- Cuerpo del documento
\begin{document}
\section{Ejemplo}
\begin{figure}[h!]
\centering
\begin{tikzpicture}
\draw[thick, OliveGreen, fill=OliveGreen!25] (0, 0) rectangle (3, 3);
\node at (1.5, 1.5) {$a^2$};
\draw[thick, OliveGreen, fill=OliveGreen!25] (3, 3) rectangle (4, 4);
\node at (3.5, 3.5) {$b^2$};
\draw[thick, OliveGreen, fill=OliveGreen!10] (0, 3) rectangle (3, 4);
\node at (1.5, 3.5) {$ab$};
\draw[thick, OliveGreen, fill=OliveGreen!10] (3, 0) rectangle (4, 3);
\node at (3.5, 1.5) {$ab$};
\draw[|-|] ( 0,-0.5) to node[fill = white] {$a$} ( 3,-0.5);
\draw[|-|] ( 3,-0.5) to node[fill = white] {$b$} ( 4,-0.5);
\draw[|-|] ( -0.5, 0) to node[fill = white, rotate=90] {$a$} ( -0.5, 3);
\draw[|-|] ( -0.5, 3) to node[fill = white, rotate=90] {$b$} ( -0.5, 4);
\end{tikzpicture}
\caption{Representacion grafica del binomio cuadrado.}
\end{figure}
\begin{figure}[h!]
\centering
\begin{tikzpicture}
\def\myColor {NavyBlue}
\def\A {3}
\def\B {1}
\draw[dashed, gray] (0, 0) rectangle +(\A, \A);
\draw[dashed, gray] (\A - \B, 0) rectangle +(\B, \A - \B);
\draw[thick, \myColor, fill=\myColor!25]
(0, 0) rectangle +(\A - \B, \A);
\node at (0.5*\A - 0.5*\B, 0.5*\A) {$A_2$};
\draw[thick, \myColor, fill=\myColor!25]
(0, \A) rectangle +(\A - \B, \B);
\node at (0.5*\A - 0.5*\B, \A + 0.5*\B) {$A_2$};
\draw[|-|] (0, -0.25) to node[fill=White] {$a$} (\A, -0.25);
\draw[|-|] (\A - \B, -0.5) to node[fill=White] {$b$} (\A, -0.5);
\draw[|-|] (-0.5, 0) to node[fill=White] {$a$} (-0.5, \A);
\draw[|-|] (-0.5, \A) to node[fill=White] {$b$} (-0.5, \A + \B);
\end{tikzpicture}
\caption{Binomio conjugado}
\end{figure}
\end{document}