Jephian Lin
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 特徵多項式 Characteristic polynomial ![Creative Commons License](https://i.creativecommons.org/l/by/4.0/88x31.png) This work by Jephian Lin is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/). $\newcommand{\trans}{^\top} \newcommand{\adj}{^{\rm adj}} \newcommand{\cof}{^{\rm cof}} \newcommand{\inp}[2]{\left\langle#1,#2\right\rangle} \newcommand{\dunion}{\mathbin{\dot\cup}} \newcommand{\bzero}{\mathbf{0}} \newcommand{\bone}{\mathbf{1}} \newcommand{\ba}{\mathbf{a}} \newcommand{\bb}{\mathbf{b}} \newcommand{\bc}{\mathbf{c}} \newcommand{\bd}{\mathbf{d}} \newcommand{\be}{\mathbf{e}} \newcommand{\bh}{\mathbf{h}} \newcommand{\bp}{\mathbf{p}} \newcommand{\bq}{\mathbf{q}} \newcommand{\br}{\mathbf{r}} \newcommand{\bx}{\mathbf{x}} \newcommand{\by}{\mathbf{y}} \newcommand{\bz}{\mathbf{z}} \newcommand{\bu}{\mathbf{u}} \newcommand{\bv}{\mathbf{v}} \newcommand{\bw}{\mathbf{w}} \newcommand{\tr}{\operatorname{tr}} \newcommand{\nul}{\operatorname{null}} \newcommand{\rank}{\operatorname{rank}} %\newcommand{\ker}{\operatorname{ker}} \newcommand{\range}{\operatorname{range}} \newcommand{\Col}{\operatorname{Col}} \newcommand{\Row}{\operatorname{Row}} \newcommand{\spec}{\operatorname{spec}} \newcommand{\vspan}{\operatorname{span}} \newcommand{\Vol}{\operatorname{Vol}} \newcommand{\sgn}{\operatorname{sgn}} \newcommand{\idmap}{\operatorname{id}} \newcommand{\am}{\operatorname{am}} \newcommand{\gm}{\operatorname{gm}} \newcommand{\mult}{\operatorname{mult}} \newcommand{\iner}{\operatorname{iner}}$ ```python from lingeo import random_int_list, random_good_matrix ``` ## Main idea We have seen the power of matrix diagonalization and how it relies on the equation $$ A\bv = \lambda \bv. $$ To find the eigenvalues and the eigenvectors, we may may rewrite the equation as $A\bv = \lambda I\bv$ and obtain $$ (A - \lambda I) \bv = \bzero, $$ which means - $\lambda$ is an eigenvalue if and only if $A - \lambda I$ is singular; and - when $\lambda$ is an eigenvalue, then $\bv$ can be any nonzero vector in $\ker(A - \lambda I)$. We also know the determinant can be used to detect singularity. Therefore, $\lambda$ is an eigenvalue of $A$ if and only if $\det(A - \lambda I) = 0$. If we compute $p_A(x) = \det(A - x I)$, then $\lambda$ is an eigenvalue of $A$ if and only if $\lambda$ is a root of $p_A(x)$. We call $p_A(x)$ the **characteristic polyonimal** of $A$ and the multiset of its roots as the **spectrum** of $A$, denoted by $\spec(A)$. Not that even if $A$ is a real matrix, $\spec(A)$ might contains complex numbers. Note that if $A$ and $B$ are similar by $B = Q^{-1}AQ$, then $p_A(x) = p_B(x)$ since $$ \begin{aligned} p_B(x) &= \det(Q^{-1}AQ - xI) \\ &= \det(Q^{-1}AQ - Q^{-1}(xI)Q) \\ &= \det(Q^{-1}(A - xI)Q) \\ &= \det(Q^{-1})\det(A - xI)\det(Q) \\ &= p_A(x). \end{aligned} $$ Therefore, the **characteristic polynomial** of a linear function $f:V\rightarrow V$ is $p_f(x) = \det([f]_\beta^\beta - xI)$ for any basis $\beta$ of $V$, while the multiset of its roots is called the **spectrum** of $f$, denoted by $\spec(f)$. ## Side stories - continuity argument - differentiation ## Experiments ##### Exercise 1 執行以下程式碼。 <!-- eng start --> Run the code below. <!-- eng end --> ```python ### code set_random_seed(0) print_ans = False n = 2 spec = random_int_list(n, 3) D = diagonal_matrix(spec) Q = random_good_matrix(n,n,n) A = Q * D * Q.inverse() pretty_print(LatexExpr("A ="), A) if print_ans: pA = (-1)^n * A.charpoly() print("characteristic polyomial =", pA) print("spectrum is the set { " + ", ".join("%s"%val for val in spec) + " }") ``` ##### Exercise 1(a) 計算 $A$ 的特徵多項式。 <!-- eng start --> Find the characteristic polynomial of $A$. <!-- eng end --> ##### Exercise 1(a) -- answer here:) By running the code above, we can know $$ A = \begin{bmatrix} -3 & 30 \\ 0 & 3 \end{bmatrix}. $$ Find a $\lambda$ that $$ A\bv = \lambda \bv. $$ Hence, $$ \begin{bmatrix} -3 & -30 \\ 0 & 3 \\ \end{bmatrix}\bv = \begin{bmatrix} \lambda & 0 \\ 0 & \lambda \\ \end{bmatrix}\bv \Rightarrow \begin{bmatrix} -3-\lambda & -30 \\ 0 & 3-\lambda \\ \end{bmatrix}\bv =\bzero. $$ Then, we can know the $p_A(\lambda)$ is $$ \det \begin{bmatrix} -3-\lambda & -30 \\ 0 & 3-\lambda \\ \end{bmatrix} = \lambda^2-9. $$ ##### Exercise 1(b) 計算 $\spec(A)$。 <!-- eng start --> Find $\spec(A)$. <!-- eng end --> ##### Exercise 1(b) -- answer here:) The roots of $p_A(\lambda)$ is $\spec(A)$. $p_A(\lambda)$ = $\lambda^2-9$. $\lambda=\pm 3$. Hence, $\spec(A)=\{-3,3\}$. :::info What do the experiments try to tell you? (open answer) ... ::: ## Exercises ##### Exercise 2 令 $$ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} $$ 且 $\bv = (x, y)$。 把 $A\bv = \lambda \bv$ 和 $(A - \lambda I)\bv$ 分別寫成 $x,y$ 的聯立方程組, 並說明它們等價。 <!-- eng start --> Let $$ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} $$ and $\bv = (x, y)$. Then write each of $A\bv = \lambda \bv$ and $(A - \lambda I)\bv$ as a system of linear equations. Show that they are equivalent. <!-- eng end --> ##### Exercise 2 -- answer here:) $A\bv = \lambda \bv$: $$ \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \lambda \begin{bmatrix} x \\ y \end{bmatrix} \Rightarrow \begin{cases} x+2y = \lambda x \\ 3x+4y = \lambda y \end{cases} \Rightarrow \begin{cases} (1- \lambda)x+2y = 0 \\ 3x+(4- \lambda)y = 0 \end{cases}. $$ $(A - \lambda I)\bv$: $$ \left(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} - \begin{bmatrix} \lambda & 0 \\ 0 & \lambda \end{bmatrix} \right) \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 1-\lambda & 2 \\ 3 & 4-\lambda \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{cases} (1- \lambda)x+2y = 0 \\ 3x+(4- \lambda)y = 0 \end{cases}. $$ The two linear equations are equal. Hence, they are equivalent. ##### Exercise 3 計算以下矩陣 $A$ 的特徵多項式以及 $\spec(A)$。 <!-- eng start --> Find the characteristic polynomial and $\spec(A)$ for each of the following matrices $A$. <!-- eng end --> ##### Exercise 3(a) $$ A = \begin{bmatrix} 5 & -1 \\ -1 & 5 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 3(a)-- answer here: $$p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} 5-\lambda & -1 \\ -1 & 5-\lambda \end{bmatrix}=\lambda^2-10\lambda+24=(\lambda-4)(\lambda-6). $$ So $\spec(A)=\{4,6\}$. ##### Exercise 3(b) $$ A = \begin{bmatrix} 0 & 1 \\ -6 & 5 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 3(b)-- answer here: $$p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} -\lambda & 1 \\ -6 & 5-\lambda \end{bmatrix}=\lambda^2-5\lambda+6=(\lambda-2)(\lambda-3). $$ So $\spec(A)=\{2,3\}.$ ##### Exercise 3(c) $$ A = \begin{bmatrix} 0 & 1 \\ -4 & 0 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 3(c)-- answer here: $$p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} -\lambda & 1 \\ -4 & -\lambda \end{bmatrix}=\lambda^2+4. $$ So $\spec(A)=\{-2i,2i\}.$ ##### Exercise 3(d) $$ A = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 3(d)-- answer here: $$ p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} -\lambda & -1 \\ 1 & -\lambda \end{bmatrix}=\lambda^2+1. $$ So $\spec(A)=\{-i,i\}.$ ##### Exercise 4 計算以下矩陣 $A$ 的特徵多項式以及 $\spec(A)$。 <!-- eng start --> Find the characteristic polynomial and $\spec(A)$ for each of the following matrices $A$. <!-- eng end --> ##### Exercise 4(a) $$ A = \begin{bmatrix} 4 & 0 & -1 \\ 0 & 4 & -1 \\ -1 & -1 & 5 \end{bmatrix}. $$ ##### Exercise 4(a) -- answer here:) $$ p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} 4-\lambda & 0 & -1 \\ 0 & 4-\lambda & -1 \\ -1 & -1 & 5-\lambda \end{bmatrix} $$ $=(4-\lambda)(4-\lambda)(5-\lambda)-(-1)(4-\lambda) (-1)-(4-\lambda)(-1)(-1).$ We get characteristic polynomial: $$p_A(\lambda)=-\lambda^3+13\lambda^2-54\lambda+72.$$ After change the form of $p_A(\lambda)$, we get: $$p_A(\lambda)= -(\lambda-3)(\lambda-4)(\lambda-6). $$ Thus $\spec(A)=\{3,4,6\}.$ ##### Exercise 4(b) $$ A = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 6 & -11 & 6 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 4(b) -- answer here: $$ p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} -\lambda & 1 & 0 \\ 0 & -\lambda & 1 \\ 6 & -11 & 6-\lambda \end{bmatrix} =-\lambda^3+6\lambda^2-11\lambda+6. $$ One-time factorial test can be obtained $$ -\lambda^3+6\lambda^2-11\lambda+6=-(\lambda-1)(\lambda-2)(\lambda-3). $$ So $\spec(A)=\{1,2,3\}.$ ##### Exercise 4(c) $$ A = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0 \end{bmatrix}. $$ **[由孫心提供]** ##### Exercise 4(c) -- answer here: $$ p_A(\lambda) = \det(A-\lambda I)= \det\begin{bmatrix} -\lambda & 1 & 0 \\ 0 & -\lambda & 1 \\ 1 & 0 & -\lambda \end{bmatrix} =-\lambda^3+1. $$ Factorization can be obtained $$ -\lambda^3 + 1 = -(\lambda-1)(\lambda^2+\lambda+1)=-(\lambda-1)(\lambda- \frac{-1+\sqrt{3}{i}}{2})(\lambda- \frac{-1-\sqrt{3}{i}}{2}). $$ So $\spec(A)=\left\{ 1,\dfrac{-1+\sqrt{3}{i}}{2},\dfrac{-1-\sqrt{3}{i}}{2} \right\}.$ ##### Exercise 5 令 $J_n$ 為 $n\times n$ 的全 $1$ 矩陣。 求 $J_n$ 的特徵多項式及 $\spec(J_n)$。 提示:先用列運算把所有列加到第一列。 <!-- eng start --> Let $J_n$ be the $n\times n$ all-ones matrix. Find the characteristic polynomial of $J_n$ and $\spec(J_n)$. Hint: You may apply the row operations that add each row to the first row. <!-- eng end --> ##### Exercise 6 令 $A$ 和 $B$ 分別為 $m\times n$ 及 $n\times m$ 矩陣,並令 $$ M = \begin{bmatrix} O_{n,n} & B \\ A & O_{m,m} \end{bmatrix}. $$ <!-- eng start --> Let $A$ and $B$ be $m\times n$ and $n\times m$ matrices, respectively, and $$ M = \begin{bmatrix} O_{n,n} & B \\ A & O_{m,m} \end{bmatrix}. $$ <!-- eng end --> ##### Exercise 6(a) 假設 $x \neq 0$,參考 408-5 計算 $$ \det\begin{bmatrix} -xI_n & B \\ A & -xI_m \end{bmatrix}. $$ <!-- eng start --> Suppose $x \neq 0$. Use the techniques in 408-5 to find $$ \det\begin{bmatrix} -xI_n & B \\ A & -xI_m \end{bmatrix}. $$ <!-- eng end --> ##### Exercise 6(b) 利用行列式值的連續性來補足 $x = 0$ 的狀況。 求 $M$ 的特徵多項式。 <!-- eng start --> By the continuity of determinant, show your answer in the previous problem also holds when $x = 0$. Find the characteristict polynomial of $M$. <!-- eng end --> ##### Exercise 6(c) 若 $m\geq n$,證明 $AB$ 和 $BA$ 有相同的非零特徵值集合。 <!-- eng start --> Suppose $m\geq n$. Show that $AB$ and $BA$ have the same set of nonzero eigenvalues, including the multiplicities. <!-- eng end --> ##### Remark 以上的手法稱作連續性論證(continuity argument)。 由於矩陣不可逆的情況只發生在行列式值為零的時候, 一般來說我們都可以先假設矩陣可逆,再看看是否能用連續性處理不可逆的情況。 <!-- eng start --> The above method is an example of the continuity argument. Since a matrix is singular only when its determinant is $0$, we may generally assume that the matrices are invertible and then use the invertible case to deal with the singular case. <!-- eng end --> ##### Exercise 7 令 $J_{m,n}$ 為 $m\times n$ 的全 $1$ 矩陣,而 $$ A = \begin{bmatrix} O_{n,n} & J_{n,m} \\ J_{m,n} & O_{m,m} \end{bmatrix}. $$ 求 $A$ 的特徵多項式及 $\spec(A)$。 <!-- eng start --> Let $J_{m,n}$ be the $m\times n$ all-ones matrix and $$ A = \begin{bmatrix} O_{n,n} & J_{n,m} \\ J_{m,n} & O_{m,m} \end{bmatrix}. $$ Find the characteristic polynomial of $A$ and $\spec(A)$. <!-- eng end --> ##### Exercise 8 令 $V$ 為 $\mathbb{R}^3$ 中的一個二維空間, 而 $f:\mathbb{R}^3 \rightarrow \mathbb{R}^3$ 將向量 $\bv\in\mathbb{R}^3$ 投影到 $V$ 上。 求 $f$ 的特徵多項式。 <!-- eng start --> Let $V$ be a $2$-dimensional subspace in $\mathbb{R}^3$. Let $f:\mathbb{R}^3 \rightarrow \mathbb{R}^3$ be the projection that sends vectors in $\bv\in\mathbb{R}^3$ onto $V$. Find the characteristic polynomial of $f$. <!-- eng end --> ##### Exercise 9 令 $V$ 為 $\mathbb{R}^3$ 中的一個二維空間, 而 $f:\mathbb{R}^3 \rightarrow \mathbb{R}^3$ 將向量 $\bv\in\mathbb{R}^3$ 鏡射到 $V$ 的對面。 求 $f$ 的特徵多項式。 <!-- eng start --> Let $V$ be a $2$-dimensional subspace in $\mathbb{R}^3$. Let $f:\mathbb{R}^3 \rightarrow \mathbb{R}^3$ be the reflection that sends vectors in $\bv\in\mathbb{R}^3$ to the other side of $V$. Find the characteristic polynomial of $f$. <!-- eng end --> ##### Exercise 10 令 $A$ 為一 $n\times n$ 矩陣。 對 $i = 1,\ldots,n$,令 $A(i)$ 為將 $A$ 的第 $i$ 行及第 $i$ 列拿掉所得的子矩陣。 證明 $$ \frac{dp_A(x)}{dx} = -\sum_{i = 1}^n p_{A(i)}(x). $$ 提示: 在計算 $\det(A - xI)$ 時可以先把裡面的 $n$ 個 $x$ 當作獨立的變數 $x_1,\ldots, x_n$。 接下來搭配 409-2 及連鎖律 $$ \frac{dp_A(x)}{dx} = \sum_{i = 1}^n \frac{\partial p_A(x)}{\partial x_i} \frac{d x_i}{dx} $$ 來計算微分。 <!-- eng start --> Let $A$ be an $n\times n$ matrix. For $i = 1,\ldots,n$, let $A(i)$ be the matrix obtained from $A$ by removing its $i$-th row and column. Show that $$ \frac{dp_A(x)}{dx} = -\sum_{i = 1}^n p_{A(i)}(x). $$ Hint: You may consider the $n$ occurrences of $x$ in $\det(A - xI)$ as independent variables $x_1,\ldots, x_n$. Then use 409-2 and the chain rule $$ \frac{dp_A(x)}{dx} = \sum_{i = 1}^n \frac{\partial p_A(x)}{\partial x_i} \frac{d x_i}{dx} $$ to find its derivative. <!-- eng end --> :::info collaboration: 3 2 problems: 2 - 2, 4 moderator: 1 qc: 1 :::

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully