Jump to content

File:Decision diagram for the root test.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 465 × 543 pixels, file size: 51 KB)

Summary

Description
English: Decision diagram for the root test
Date
Source Own work
Author Stephan Kulla (Stephan Kulla)
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This trigonometry was created with dvisvgm.

Source code

\documentclass[border=10pt]{standalone}

\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{tikz}
\usetikzlibrary{shapes,arrows}

\everymath{\displaystyle}

\begin{document}
\tikzstyle{decision} = [diamond, draw, fill=yellow!20,
  aspect=2, text badly centered, inner sep=0pt]

\tikzstyle{block} = [rectangle, draw, fill=blue!20,
  text centered, rounded corners]

\tikzstyle{convergence} = [rectangle, draw, fill=green!20,
  node distance=8cm, text centered, rounded corners]

\tikzstyle{divergence} = [rectangle, draw, fill=red!20,
  node distance=8cm, text centered, rounded corners]

  \tikzstyle{line} = [-stealth, thick, draw]

\begin{tikzpicture}[node distance=4cm, auto, text width=12em]
  \node [block] (init) {Calculate $\sqrt[k]{\left|a_k\right|}$};
  \node [decision, below of=init, node distance=3cm] (case1) {Is $\limsup_{k\to\infty} \sqrt[k]{|a_k|} < 1$?};
  \node [decision, below of=case1] (case2) {Is $\limsup_{k\to\infty} \sqrt[k]{|a_k|} > 1$?};
  \node [decision, below of=case2] (case3) {Is $\sqrt[k]{|a_k|} \ge 1$ for almost all $k\in\mathbb N$?};
  \node [convergence, right of=case1] (yes1) {$\sum_{k=1}^\infty a_k$ converges absolutely};
  \node [divergence, right of=case2] (no2) {$\sum_{k=1}^\infty a_k$ diverges};
  \node [divergence, right of=case3] (no3) {$\sum_{k=1}^\infty a_k$ diverges};
  \node [block, below of=case3, node distance=3.5cm] (final) {The root test cannot be applied};
  \path [line] (init) edge (case1);
  \path [line] (case1) -- node [xshift=5em] {Yes} (yes1);
  \path [line] (case2) -- node [xshift=5em] {Yes} (no2);
  \path [line] (case3) -- node [xshift=5em] {Yes} (no3);
  \path [line] (case1) -- node {No} (case2);
  \path [line] (case2) -- node {No} (case3);
  \path [line] (case3) -- node {No} (final);
\end{tikzpicture}

\end{document}

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

15 November 2015

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:05, 15 November 2015Thumbnail for version as of 17:05, 15 November 2015465 × 543 (51 KB)Stephan KullaUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata