Git Product home page Git Product logo

math-docs's Introduction

Exploring github markdown for math

Quadratic equations

$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$

$(a+b)^2$

$$\eqalign{ (a+b)^2 &= (a+b)(a+b) \\ &= a^2 + ab + ba + b^2 \\ &= a^2 + 2ab + b^2 }$$

$(a-b)^2$

$$\eqalign{ (a-b)^2 &= (a-b)(a-b) \\ &= a^2 - ab - ba + b^2 \\ &= a^2 - 2ab + b^2 }$$

$(a-b)(a+b)$

$$\eqalign{ (a+b)(a-b) &= a^2 - ab + ba - b^2 \\ &= a^2 - b^2 }$$

Functions

$$ f(x) = {\sqrt{5x^2+2x-1}+(x-2)^2 } $$

$$ g(x) = {\frac{a}{1-a^2} }$$

$$ f(x) = {(x + 2) \over (2x + 1)} $$

$$ f(x) = { \sqrt[3]{x^2} }$$

$$ \sqrt[5]{34}$$

Trigonometry

$$ cos^2 \theta + sin^2 \theta = 1 $$

$$ tan 2 \theta = {2tan \theta \over 1 - tan^2 \theta} $$

$$\eqalign{ cos 2 \theta = cos^2 \theta - sin^2 \theta \\ &= 2 cos^2 \theta -1 \\ &= 1 - 2sin^2 \theta }$$

Prove $ \sqrt{ 1 - cos^2 \theta \over 1- sin^2 \theta} = tan \theta $

$$ \sqrt{ 1 - cos^2 \theta \over 1- sin^2 \theta} = \sqrt{ sin^2 \theta \over cos^2 \theta} = {sin \theta \over cos \theta} = Tan \theta $$

Calculus

$$\eqalign{ f(x) = {3x^4} \implies {dy \over dx} = 12x^3 }$$

$$\eqalign{ f(x) = {2x^{-3/2}} \implies {dy \over dx} = -3x^{-5/2} &= - {3 \over \sqrt{x^5}} }$$

If $x = 2t + 1$ and $ y = t^2$ find ${dy \over dx}$ ?

$$\eqalign{ x = 2t + 1 \implies {dx \over dt} = 2 \\ y = t^2 \implies {dy \over dt} = 2t \\ {dy \over dx} = {dy \over dt} \div {dx \over dt} \\ \implies 2t \div 2 = t }$$

Integration

Evaluate $\int_1^2 (x + 4)^2 dx $

$$\eqalign{ \int_1^2 (x + 4)^2 dx = \int_1^2 (x^2 + 8x + 16) dx \\ &= \left\lbrack {x^3 \over 3} + {8x^2 \over 2} + 16x \right\rbrack_1^2 \\ &= \left\lbrack {8 \over 3} + {8 * 4 \over 2} + 16 * 2 \right\rbrack - \left\lbrack {1 \over 3} + {8 \over 2} + 16 \right\rbrack }$$

Matrix

$$ {\left\lbrack \matrix{2 & 3 \cr 4 & 5} \right\rbrack} * \left\lbrack \matrix{1 & 0 \cr 0 & 1} \right\rbrack = \left\lbrack \matrix{2 & 3 \cr 4 & 5} \right\rbrack $$

Sum

$$\sum_{n=1}^n n = {n \over 2} (n + 1) $$

$$\sum_{n=1}^n n^2 = {n \over 6} (n + 1)(2n + 1) $$

Links

https://github.blog/changelog/2022-05-19-render-mathematical-expressions-in-markdown/

https://www.mathjax.org/

http://docs.mathjax.org/en/latest/

https://docs.mathjax.org/en/v2.7-latest/tex.html

https://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm

math-docs's People

Contributors

damienbod avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.