Velog Markdown Manual

DalKum·2023년 6월 17일
0

Writing Mathematical expressions

Use Markdown to display mathematical expressions on velog.

We can represent mathematical expressions, such as x=0x=0, by using the dollar symbol ($) on both sides.

$ x=0 $

This sentence uses $ delimiters to show math inline: 3x1+(1+x)2\sqrt{3x-1}+(1+x)^2

$\sqrt{3x-1}+(1+x)^2$

for examples,

  • When a0a \ne 0, there are two solutions to ax2+bx+c=0ax^2 + bx + c = 0 and they are x=b±b24ac2ax = {-b \pm \sqrt{b^2-4ac} \over 2a}

    	$ax^2 + bx + c = 0$
    	$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
  • The Cauchy-Schwarz Inequality
    (k=1nakbk)2(k=1nak2)(k=1nbk2)\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)

    $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
  • To split $ 100 in half, we calculate 100/2100/2

    	To split <span> $ </span>100 in half, we calculate $100/2$

profile
But many who are first will be last, and many who are last will be first. Mattityahu (Mat) 19:30

0개의 댓글