File:Completing the square.svg

原始文件(SVG文件,尺寸为170 × 513像素,文件大小:39 KB)


摘要

描述
English: Geometric derivation of completing the square.
日期
来源 自己的作品
作者 Krishnavedala
SVG开发
InfoField
 
SVG的源代码为有效代码
 
矢量图使用LaTeX创作。
源代码
InfoField

LaTeX code

Source code
\documentclass[10pt,border=1pt,crop,multi=false,tikz,class=scrartcl]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{mathtools}

\usetikzlibrary{arrows,shapes,calc,positioning}

\begin{document}
  \begin{tikzpicture}[>=stealth,semithick,auto,remember picture]
    \node at (0,0) (b1) {Completing the Square};
    \node [rectangle,draw=green!60!black] at (0,-.5) (b2) {$x^2+bx=a$};
    \node [below=1em of b2] (b3) {
    	\begin{tikzpicture}
    		\draw [fill=gray!70] (0,-.5) -- ++(0,1) node [pos=.5,left] {$x$} 
			-- ++(1,0) -- ++(0,-1) -- ++(-1,0) node [pos=.5,below] {$x$};
		\node at (1.25,.25) {$+$};
		\draw [fill=gray!70] (1.5,-.5) -- ++(0,1) -- ++(.5,0) -- ++(0,-1) node [pos=.5,right] {$x$}
			-- ++(-.5,0) node [pos=.5,below] (b31) {$b$};
		\draw [dashed] (1.75,-.5) -- ++(0,1);
		\node at (2.6,0.15) {$=$};
		\node [fill=gray!70,ellipse,minimum width=2em] at (3.25,0.25) {$a$};
    	\end{tikzpicture}
	};
    \node [below=.5em of b3] (b4) {
    	\begin{tikzpicture}
    		\draw [fill=gray!70] (0,-.5) -- ++(0,1) node [pos=.5,left] {$x$} 
			-- ++(1,0) -- ++(0,-1) -- ++(-1,0) node [pos=.5,below] {$x$};
		\node at (1.25,.25) {$+$};
		\draw [fill=gray!70] (1.5,-.5) -- ++(0,1) node [pos=1] (b41) {}
			-- ++(.25,0) -- ++(0,-1) node [pos=.5,right] {$x$}
			-- ++(-.25,0) node [pos=.5,below] (b43) {$\frac{b}{2}$};
		\node at (2.25,.25) {$+$};
		\draw [fill=gray!70] (2.5,-.5) -- ++(0,1) node [pos=1] (b42) {} 
			-- ++(.25,0) -- ++(0,-1) node [pos=.5,right] {$x$}
			-- ++(-.25,0) node [pos=.5,below] (b44) {$\frac{b}{2}$};
		\draw [dashed] (1.75,-.5) -- ++(0,1);
		\node at (3.3,0.15) {$=$};
		\node [fill=gray!70,ellipse,minimum width=2em] at (3.9,0.25) {$a$};
    	\end{tikzpicture}
	};
    \node [below=.5em of b4] (b5) {
    	\begin{tikzpicture}
    		\draw [fill=gray!70] (0,-.5) -- ++(0,1) node [pos=.5,left] {$x$} 
			-- ++(1,0) -- ++(0,-1) -- ++(-1,0) node [pos=.5,below] {$x$};
    		\draw [fill=gray!70] (0,.65) -- ++(0,.25) node [pos=.5,left] {$\frac{b}{2}$} 
			-- ++(1,0) node [pos=.5,above] (b51) {} -- ++(0,-.25) -- ++(-1,0);
    		\draw [fill=gray!70] (1.15,-.5) -- ++(0,1) -- ++(.25,0) 
			-- ++(0,-1) node [pos=.5,above] (b52) {} -- ++(-.25,0) node [pos=.5,below] {$\frac{b}{2}$};
		\node at (1.75,.15) {$=$};
		\node [fill=gray!70,ellipse,minimum width=2em] at (2.4,0.25) {$a$};
    	\end{tikzpicture}
	};
    \node [below=.1em of b5] (b6) {
    	\begin{tikzpicture}
    		\draw [fill=gray!70] (0,-.5) -- ++(0,1) node [pos=.5,left] {$x$} 
			-- ++(1,0) -- ++(0,-1) -- ++(-1,0) node [pos=.5,below] {$x$};
    		\draw [fill=gray!70] (0,.65) -- ++(0,.25) node [pos=.5,left] {$\frac{b}{2}$} 
			-- ++(1,0) node [pos=.5,above] (b61) {} -- ++(0,-.25) -- ++(-1,0);
    		\draw [fill=gray!70] (1.15,-.5) -- ++(0,1) -- ++(.25,0) 
			-- ++(0,-1) node [pos=.5,above] (b62) {} -- ++(-.25,0) node [pos=.5,below] {$\frac{b}{2}$};
		\draw [fill=blue!70] (1.15,.65) -- ++(0,.25) -- ++(.25,0) -- ++(0,-.25) -- ++(-.25,0);
		\node at (1.75,.15) {$=$};
		\node [fill=gray!70,ellipse,minimum width=2em] at (2.4,0.25) {$a$};
		\node at (3,.25) {$+$};
		\draw [fill=blue!70] (3.25,-.125) -- ++(0,.25) -- ++(.25,0) node [pos=.5,above] {$\frac{b}{2}$}
			-- ++(0,-.25) node [pos=.5,right] {$\frac{b}{2}$} -- ++(-.25,0);
    	\end{tikzpicture}
	};
    \node [below=.1em of b6] (b7) {
    	\begin{tikzpicture}
    		\draw [fill=gray!70] (0,-.5) -- ++(0,1.25) node [pos=.5,left] {$x+\frac{b}{2}$} 
			-- ++(1.25,0) -- ++(0,-1.25) -- ++(-1.25,0) node [pos=.5,below] {$x+\frac{b}{2}$};
		\draw [dash pattern=on 2pt off 1pt] (0,.5) -- ++(1.25,0)
			(1,-.5) -- ++(0,1.25);
		\node at (1.75,.15) {$=$};
		\node [fill=gray!70,ellipse,minimum width=2em] at (2.4,0.25) {$a$};
		\node at (3,.25) {$+$};
		\draw [fill=gray!70] (3.25,-.125) -- ++(0,.25) -- ++(.25,0) node [pos=.5,above] {$\frac{b}{2}$}
			-- ++(0,-.25) node [pos=.5,right] {$\frac{b}{2}$} -- ++(-.25,0);
    	\end{tikzpicture}
	};
    \node [below=.1em of b7] (b8) {$\left(x+\frac{b}{2}\right)^2=a+\left(\frac{b}{2}\right)^2$};
    \node [below=.1em of b8,draw=red] (b9) {$x=-\frac{b}{2}+\sqrt{a+\frac{b^2}{4}}$};
    \draw [dashed,gray!70] (-2.2,-2.9) -- ++(4.5,0)
    	(-2.2,-5) -- ++(4.5,0)
    	(-2.2,-7.75) -- ++(4.5,0)
    	(-2.2,-10.4) -- ++(4.5,0);
    \draw [->,shorten >= 2pt, shorten <= 2pt] (b31.north west) parabola (b41.north east);
    \draw [->,shorten >= 2pt, shorten <= 2pt] (b31.north east) parabola (b42.north east);
    \draw [->,shorten >= 1pt, shorten <= 2pt] (b43.north) .. controls +(south west:5mm) and +(north:2mm) .. (b51.south);
    \draw [->,shorten >= -2pt, shorten <= 1pt] (b44.north) .. controls +(south west:7mm) and +(north east:5mm) .. (b52.north east);
  \end{tikzpicture}
\end{document}

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
w:zh:知识共享
署名 相同方式共享
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
您可以选择您需要的许可协议。

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

image/svg+xml

a5ef565a57aee7212af6617a4cfd3c3d445b31ae

39,776 字节

513 像素

170 像素

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2014年12月13日 (六) 07:402014年12月13日 (六) 07:40版本的缩略图170 × 513(39 KB)Krishnavedalafinal result using "plus-or-minus"
2014年11月30日 (日) 06:582014年11月30日 (日) 06:58版本的缩略图190 × 520(53 KB)Krishnavedala{{Information |Description ={{en|1=Geometric derivation of completing the square.}} |Source ={{own}} |Author =Krishnavedala |Date =2014-11-30 |Permission = |other_versions = }} {{validSVG}} {{cot|...

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据