KaTeX Playground

123
Rendered Preview

Rendered output will appear here

Rendered with KaTeX 0.16.9 engine

Describe the math you want (e.g. quadratic formula, integral of x squared)

Characters: 0Lines: 1
Live Sync Active

KaTeX Cheatsheet

Symbol
Greek Uppercase
\AlphaAlphaGreek AOften denotes angles or parametersType variable; constant in algorithmsGreek Uppercase
\BetaBetaGreek BRegression coefficients; anglesType parameter; false positive rateGreek Uppercase
\DeltaDeltaDeltaFinite change; discriminant; LaplacianDelta encoding; version diffGreek Uppercase
\GammaGammaGamma functionGeneralizes factorial; Euler gammaGamma distribution; type contextGreek Uppercase
\LambdaLambdaLambdaEigenvalue; cosmological constantLambda calculus; anonymous functionGreek Uppercase
\OmegaOmegaOmegaBig Omega asymptotic boundLower bound complexity; sample spaceGreek Uppercase
\PhiPhiPhiCDF; golden ratio conjugatePhase; feature mapGreek Uppercase
\PiPiPiProduct notation; projectionProduct over sequenceGreek Uppercase
\PsiPsiPsiWave function; digammaNeural network layerGreek Uppercase
\SigmaSigmaSigmaSum; covariance matrixSummation; alphabetGreek Uppercase
\ThetaThetaThetaBig Theta asymptotic boundModel parameters; tight complexityGreek Uppercase
\XiXiXiRandom variable; slack variableState variable in systemsGreek Uppercase
Greek Lowercase
\alphaalphaAlphaAngles; significance levelLearning rate; hyperparameterGreek Lowercase
\betabetaBetaRegression coefficientsType parameter; decay rateGreek Lowercase
\chichiChiChi-square; Euler characteristicChi-square testGreek Lowercase
\deltadeltaDeltaInfinitesimal change; Dirac deltaGradient; change variableGreek Lowercase
\digammadigammaDigammaDigamma functionSpecial functionGreek Lowercase
\epsilonepsilonEpsilonSmall positive; machine epsilonTolerance; exploration rateGreek Lowercase
\etaetaEtaLearning rate; efficiencyStep size; decayGreek Lowercase
\gammagammaGammaLorentz factor; Euler constantDiscount factor in RLGreek Lowercase
\iotaiotaIotaInclusion mapIndex; iteratorGreek Lowercase
\kappakappaKappaCurvature; condition numberCohen kappa; rateGreek Lowercase
\lambdalambdaLambdaEigenvalue; wavelengthLambda; decay constantGreek Lowercase
\mumuMuMean; measureMean; micro-Greek Lowercase
\nunuNuFrequency; degrees of freedomNeutrino; variantGreek Lowercase
\omegaomegaOmegaAngular frequencyBig omega; frequencyGreek Lowercase
\omicronomicronOmicronLittle o notationSmall orderGreek Lowercase
\phiphiPhiAngle; golden ratioActivation; phaseGreek Lowercase
\pipiPiCircle constant 3.14159Pi constant; projectionGreek Lowercase
\psipsiPsiWave function; digammaWave functionGreek Lowercase
\rhorhoRhoDensity; correlationSpearman rho; densityGreek Lowercase
\sigmasigmaSigmaStandard deviation; sumSigmoid; sigma algebraGreek Lowercase
\tautauTauTime constant; torsionTime constant; typeGreek Lowercase
\thetathetaThetaAngles; parametersModel parameters; weightsGreek Lowercase
\upsilonupsilonUpsilonLambdabar in physicsSymbol variantGreek Lowercase
\varepsilonvarepsilonCurly epsilonVariant epsilonAlternative epsilon glyphGreek Lowercase
\varphivarphiCurly phiVariant phiAlternative phiGreek Lowercase
\varpivarpiCurly piAngular frequency variantAlternative piGreek Lowercase
\varrhovarrhoCurly rhoVariant rhoAlternative rhoGreek Lowercase
\varsigmavarsigmaFinal sigmaWord-final sigmaVariant sigmaGreek Lowercase
\varthetavarthetaScript thetaVariant thetaAlternative thetaGreek Lowercase
\xixiXiRandom variable; stateState; inputGreek Lowercase
\zetazetaZetaRiemann zeta functionDamping ratioGreek Lowercase
Accents
\acute{a}acuteAcute accentAccent markCharacter accentAccents
\bar{x}barBar accentMean; conjugate; complementAverage; negationAccents
\breve{a}breveBreveShort accentCharacter accentAccents
\check{a}checkCaronHacek accentCharacter accentAccents
\ddddot{x}ddddotQuadruple dotFourth derivativeHigher derivativeAccents
\dddot{x}dddotTriple dotThird derivativeJerk derivativeAccents
\ddot{x}ddotDouble dotSecond derivative; accelerationAccelerationAccents
\dot{x}dotDot accentFirst derivative wrt timeTime derivativeAccents
\grave{a}graveGrave accentAccent markCharacter accentAccents
\hat{x}hatHat accentUnit vector; estimate; FourierPredicted value; estimateAccents
\mathring{a}mathringRingRing accentCharacter accentAccents
\overbrace{a+b+c}overbraceOver braceBrace above with labelGroup annotationAccents
\overline{AB}overlineOverlineLine over expressionComplement; closureAccents
\tilde{x}tildeTildeApproximation; asymptoticallyApproximate; homotopyAccents
\underbrace{a+b+c}underbraceUnder braceBrace below with labelGroup annotationAccents
\vec{v}vecVectorVector quantityVector; embeddingAccents
\widehat{xy}widehatWide hatHat over multiple charsEstimate over expressionAccents
\widetilde{xy}widetildeWide tildeTilde over multiple charsApprox over expressionAccents
Big Operators
\bigcapbigcapBig intersectionIntersection of familySet intersectionBig Operators
\bigcupbigcupBig unionUnion of familySet unionBig Operators
\bigodotbigodotBig odotDirect sum; circled dotTensor product sumBig Operators
\bigoplusbigoplusBig oplusDirect sumXOR; direct sumBig Operators
\bigotimesbigotimesBig otimesTensor productTensor productBig Operators
\bigsqcupbigsqcupBig sqcupDisjoint unionDisjoint unionBig Operators
\biguplusbiguplusBig uplusDisjoint unionDisjoint unionBig Operators
\bigveebigveeBig veeDisjunction over setLogical OR over setBig Operators
\bigwedgebigwedgeBig wedgeConjunction over setLogical AND over setBig Operators
\coprodcoprodCoproductDisjoint union; coproductCoproduct in categoryBig Operators
\iiintiiintTriple integralTriple integralVolume integralBig Operators
\iintiintDouble integralDouble integralSurface integralBig Operators
\intintIntegralDefinite/indefinite integralIntegral; continuous sumBig Operators
\oiiintoiiintVolume integralClosed volume integralClosed volumeBig Operators
\oiintoiintSurface integralClosed surface integralFlux integralBig Operators
\ointointContour integralClosed path integralLine integral closedBig Operators
\prod_{i=1}^{n}prodProductProduct of sequenceJoint probability; productBig Operators
\sum_{i=1}^{n}sumSummationSum of sequenceLoop sum; aggregateBig Operators
Binary Operators
\amalgamalgAmalgamationFree productAmalgamationBinary Operators
\astastAsteriskConvolution; multiplicationConvolution; wildcardBinary Operators
\bulletbulletBulletMultiplication dotItem markerBinary Operators
\capcapIntersectionSet intersectionSet intersection; meetBinary Operators
\cdotcdotCenter dotDot product; multiplicationDot productBinary Operators
\circcircCompositionFunction compositionComposition; degreeBinary Operators
\cupcupUnionSet unionSet union; joinBinary Operators
\divdivDivisionDivisionDivision operatorBinary Operators
\landlandLogical ANDConjunctionAND; logical andBinary Operators
\lorlorLogical ORDisjunctionOR; logical orBinary Operators
\mpmpMinus plusMinus or plusAlternate valueBinary Operators
\odotodotOdotHadamard productElement-wise productBinary Operators
\ominusominusOminusSymmetric differenceCircled minusBinary Operators
\oplusoplusXORDirect sum; XORXOR; exclusive orBinary Operators
\oslashoslashOslashQuotientCircled divisionBinary Operators
\otimesotimesTensorTensor productTensor product; KroneckerBinary Operators
\pmpmPlus minusPlus or minusOptional valueBinary Operators
\setminussetminusSet minusSet differenceSet differenceBinary Operators
\starstarStarDual; Hodge starKleene starBinary Operators
\timestimesTimesCross product; multiplicationCartesian productBinary Operators
\veeveeWedge/VeeJoin; maxLattice joinBinary Operators
\wedgewedgeWedgeMeet; minLattice meetBinary Operators
Fractions and Binomials
\binom{n}{k}binomBinomialn choose kCombinations; PascalFractions and Binomials
{n \brace k}braceStirling subsetStirling numbers 2nd kindPartition countFractions and Binomials
{n \brack k}brackStirling cycleStirling numbers 1st kindCycle countFractions and Binomials
\cfrac{2}{1+\cfrac{2}{1}}cfracContinued fractionContinued fractionNested fractionFractions and Binomials
{n \choose k}chooseChoose (inline)n choose kCombinationsFractions and Binomials
\dbinom{n}{k}dbinomDisplay binomialDisplay binomialLarge binomialFractions and Binomials
\dfrac{a}{b}dfracDisplay fractionDisplay-style fractionLarge fractionFractions and Binomials
\frac{a}{b}fracFractiona over bDivision; ratioFractions and Binomials
{a \over b}overOver (inline)Fraction shorthandDivisionFractions and Binomials
\tbinom{n}{k}tbinomText binomialText binomialSmall binomialFractions and Binomials
\tfrac{a}{b}tfracText fractionText-style fractionSmall fractionFractions and Binomials
Relations
\approxapproxApproximatelyApproximate equalityFloating-point approxRelations
\congcongCongruentGeometric congruenceCongruence relationRelations
\dashvdashvDashvLeft adjointAdjunctionRelations
=equalsEqualsEqualityAssignment; equalityRelations
\equivequivEquivalentCongruence; equivalenceType equivalenceRelations
\gegeGe (alias)Same as geqGreater or equalRelations
\geqgeqGreater or equalGreater than or equalComparison; boundRelations
\ggggMuch greaterMuch greater thanAsymptoticRelations
\gtgtGreater thanStrict greater thanComparisonRelations
\ininElement ofSet membershipMembership; iterationRelations
\leleLe (alias)Same as leqLess or equalRelations
\leqleqLess or equalLess than or equalComparison; boundRelations
\llllMuch lessMuch less thanAsymptoticRelations
\ltltLess thanStrict less thanComparisonRelations
\midmidSuch thatDivides; such thatCondition; separatorRelations
\modelsmodelsModelsSatisfies; entailsLogical entailmentRelations
\neqneqNot equalInequalityNot-equal comparisonRelations
\niniContainsContains as elementReverse membershipRelations
\notinnotinNot inNot element ofNot membershipRelations
\parallelparallelParallelParallel linesParallel relationRelations
\perpperpPerpendicularPerpendicularOrthogonalRelations
\proptoproptoProportionalProportional toProportionalRelations
\simsimSimilarSimilarity; distributionAsymptoticRelations
\simeqsimeqApprox equalAsymptotically equivalentIsomorphic approxRelations
\subsetsubsetSubsetProper subsetSubset relationRelations
\subseteqsubseteqSubset or equalSubset including equalitySubtypeRelations
\supsetsupsetSupersetProper supersetSuperset relationRelations
\supseteqsupseteqSuperset or equalSuperset including equalitySupertypeRelations
\vdashvdashProvesProvable; entailsType judgmentRelations
Negated Relations
\ncongncongNot congruentNot congruentNot congruentNegated Relations
\ngeqngeqNot geqNot greater or equalNegated boundNegated Relations
\ngtrngtrNot greaterNot greater thanNegated comparisonNegated Relations
\nleqnleqNot leqNot less or equalNegated boundNegated Relations
\nlessnlessNot lessNot less thanNegated comparisonNegated Relations
\nmidnmidDoes not divideDoes not divideNot divisorNegated Relations
\not =notNot equalsNegate relationNegationNegated Relations
\nsubseteqnsubseteqNot subseteqNot subsetNot subtypeNegated Relations
\nsupseteqnsupseteqNot supseteqNot supersetNot supertypeNegated Relations
Arrows
\downarrowdownarrowDown arrowDecreases toDecreasingArrows
\getsgetsGets (alias)Same as leftarrowAssignmentArrows
\iffiffIffIf and only ifLogical equivalenceArrows
\impliedbyimpliedbyImplied byReverse implicationConverseArrows
\impliesimpliesImpliesLogical implicationImplicationArrows
\leadstoleadstoLeadstoLeads toReductionArrows
\leftarrowleftarrowLeft arrowMaps fromAssignment; pullbackArrows
\LeftarrowLeftarrowDouble leftImplied byReverse implicationArrows
\leftrightarrowleftrightarrowLeft-right arrowBidirectionalIff; bijectionArrows
\LeftrightarrowLeftrightarrowDouble iffIf and only ifLogical iffArrows
\mapstomapstoMaps toElement mappingLambda; mapArrows
\nearrownearrowNE arrowNortheastDiagonal arrowArrows
\nwarrownwarrowNW arrowNorthwestDiagonal arrowArrows
\rightarrowrightarrowRight arrowMaps to; impliesFunction type; reductionArrows
\RightarrowRightarrowDouble rightImplies; thereforeImplicationArrows
\searrowsearrowSE arrowSoutheastDiagonal arrowArrows
\swarrowswarrowSW arrowSouthwestDiagonal arrowArrows
\totoTo (alias)Same as rightarrowFunction typeArrows
\uparrowuparrowUp arrowIncreases toIncreasingArrows
\updownarrowupdownarrowUp-downBidirectional verticalVertical arrowArrows
Logic and Quantifiers
\becausebecauseBecausePremiseBecauseLogic and Quantifiers
\complementcomplementComplementSet complementComplement setLogic and Quantifiers
\existsexistsExistsExistential quantifierExistential quantificationLogic and Quantifiers
\forallforallFor allUniversal quantifierUniversal quantificationLogic and Quantifiers
\lnotlnotLnot (alias)Same as negNegationLogic and Quantifiers
\negnegNegationLogical notNOT; negationLogic and Quantifiers
\nexistsnexistsNot existsThere does not existNo witnessLogic and Quantifiers
\thereforethereforeThereforeConclusionThereforeLogic and Quantifiers
Sets and Misc Symbols
\alephalephAlephCardinal numberCardinalitySets and Misc Symbols
\ComplexComplexComplex numbersComplex numbersComplex setSets and Misc Symbols
\degdegDegreeDegree of polynomialDegree; graph degreeSets and Misc Symbols
\dimdimDimensionVector space dimensionDimensionSets and Misc Symbols
\ellellCurly lAvoid confusion with 1Length; dimensionSets and Misc Symbols
\emptysetemptysetEmpty setSet with no elementsEmpty set; nullSets and Misc Symbols
\hbarhbarH-barPlanck constant over 2piQuantum; reduced PlanckSets and Misc Symbols
\homhomHomHomomorphism setMorphism setSets and Misc Symbols
\ImImImaginary partImaginary partImaginary componentSets and Misc Symbols
\inftyinftyInfinityInfinityUnbounded; sentinelSets and Misc Symbols
\kerkerKernelKernel of mapNull spaceSets and Misc Symbols
\NNNatural numbersNatural numbersNatural number setSets and Misc Symbols
\nablanablaNablaGradient; del operatorGradient; backpropSets and Misc Symbols
\partialpartialPartialPartial derivativePartial derivativeSets and Misc Symbols
f'primePrimeDerivative; primeFirst derivativeSets and Misc Symbols
\RRReal numbersReal numbersReal number setSets and Misc Symbols
\ReReReal partReal part of complexReal componentSets and Misc Symbols
\varnothingvarnothingVarnothingVariant empty setAlternative emptySets and Misc Symbols
\wpwpWeierstrass PWeierstrass ellipticPower set (alternative)Sets and Misc Symbols
\ZZIntegersIntegersInteger setSets and Misc Symbols
Delimiters
\big(bigBig delimiter1.5x sizeScaled delimiterDelimiters
\Big(BigBig2x sizeLarger delimiterDelimiters
\bigg(biggBigg2.5x sizeLarge delimiterDelimiters
\Bigg(BiggBigg3x sizeExtra largeDelimiters
\langle x \ranglelangle rangleAngle bracketsInner product; expectationBra-ket; inner productDelimiters
\lbrace \rbracelbrace rbraceBracesSet notationSet delimitersDelimiters
\lbrack \rbracklbrack rbrackBracketsSquare bracketsArray; intervalDelimiters
\lceil x \rceillceil rceilCeilingLeast integer >= xCeiling; up roundDelimiters
\left( x \right)left rightAuto-sized parensScale with contentScaled delimitersDelimiters
\lfloor x \rfloorlfloor rfloorFloorGreatest integer <= xFloor; down roundDelimiters
\lvert x \rvertlvert rvertAbsolute valueAbsolute valueAbs; normDelimiters
\lVert x \rVertlVert rVertNormNormVector normDelimiters
\middle|middleMiddleScaled middle delimConditionalDelimiters
Math Functions
\arccosarccosArc cosineInverse cosineInverse cosMath Functions
\arcsinarcsinArc sineInverse sineInverse sinMath Functions
\arctanarctanArc tangentInverse tangentInverse tanMath Functions
\argmaxargmaxArg maxArgument of maximumArgmaxMath Functions
\argminargminArg minArgument of minimumArgminMath Functions
\coscosCosineTrigonometric cosineCosine; embeddingMath Functions
\coshcoshHyperbolic cosineHyperbolic cosineCoshMath Functions
\cotcotCotangentReciprocal of tanCotangentMath Functions
\cothcothHyperbolic cotangentHyperbolic cotCothMath Functions
\csccscCosecantReciprocal of sinCosecantMath Functions
\detdetDeterminantMatrix determinantDeterminantMath Functions
\expexpExponentiale^xExponential; softmaxMath Functions
\gcdgcdGCDGreatest common divisorGCD; EuclidMath Functions
\infinfInfimumGreatest lower boundInfimumMath Functions
\lglgLog base 2Binary logarithmBinary logMath Functions
\limlimLimitLimitLimit; asymptoticMath Functions
\liminfliminfLimit inferiorLimit infLim infMath Functions
\limsuplimsupLimit superiorLimit supLim supMath Functions
\lnlnNatural logLog base eNatural log; lossMath Functions
\loglogLogarithmLog (base 10 or e)Log; complexityMath Functions
\maxmaxMaximumMaximumMax; argmaxMath Functions
\minminMinimumMinimumMin; argminMath Functions
\PrPrProbabilityProbabilityProbabilityMath Functions
\secsecSecantReciprocal of cosSecantMath Functions
\sinsinSineTrigonometric sineSine; activationMath Functions
\sinhsinhHyperbolic sineHyperbolic sineSinhMath Functions
\supsupSupremumLeast upper boundSupremumMath Functions
\tantanTangentTrigonometric tangentTangentMath Functions
\tanhtanhHyperbolic tangentHyperbolic tangentTanh activationMath Functions
Roots and Powers
\overset{!}{=}oversetOversetPut aboveAnnotationRoots and Powers
\sqrt{x}sqrtSquare rootPrincipal square rootSqrt; distanceRoots and Powers
\sqrt[3]{x}sqrt[n]Nth rootNth rootNth rootRoots and Powers
\stackrel{!}{=}stackrelStack relationStack symbol aboveAnnotationRoots and Powers
\underset{n}{\sum}undersetUndersetPut belowSubscript underRoots and Powers
Spacing and Dots
a \! b!Negative thinNegative thinTightenSpacing and Dots
a \, b\,Thin spaceSmall spaceThin spaceSpacing and Dots
a \; b\;Thick spaceLarger spaceThick spaceSpacing and Dots
a \: b\:Medium spaceMedium spaceMedium spaceSpacing and Dots
\cdotscdotsCenter dotsHorizontal ellipsisContinuationSpacing and Dots
\ddotsddotsDiagonal dotsDiagonal ellipsisDiagonalSpacing and Dots
\dotsdotsDots (auto)Smart ellipsisEllipsisSpacing and Dots
\dotsbdotsbDots (binary)Between binary opsSum ellipsisSpacing and Dots
\dotscdotscDots (comma)After commaList ellipsisSpacing and Dots
\dotsmdotsmDots (mult)Between productsProduct ellipsisSpacing and Dots
\ldotsldotsLow dotsBaseline ellipsisEllipsisSpacing and Dots
\qquadqquad2em spaceDouble quadLarger spacingSpacing and Dots
\quadquad1em spaceHorizontal spaceSpacingSpacing and Dots
\vdotsvdotsVertical dotsVertical ellipsisVerticalSpacing and Dots
Text and Formatting
\bcancel{5}bcancelBack cancelStrike backslashCancelText and Formatting
\boxed{x=5}boxedBoxedHighlight resultEmphasizeText and Formatting
\cancel{5}cancelCancelStrike throughCancelText and Formatting
\mathbb{R}mathbbBlackboardNumber setsType; setText and Formatting
\mathbf{v}mathbfBoldBold mathVectorText and Formatting
\mathcal{L}mathcalCalligraphicLagrangian; setClass; langText and Formatting
\mathfrak{g}mathfrakFrakturLie algebraFrakturText and Formatting
\mathit{var}mathitItalicMath italicVariableText and Formatting
\mathrm{id}mathrmRomanUpright romanFunction nameText and Formatting
\sout{abc}soutStrikethroughStrike throughStrikethroughText and Formatting
\text{hello}textTextPlain text in mathLabel; commentText and Formatting
\textbf{bold}textbfBold textBoldBoldText and Formatting
\textit{italic}textitItalic textItalicItalicText and Formatting
\xcancel{5}xcancelX cancelStrike XCancelText and Formatting
Environments
\begin{align}a&=b+c\\d+e&=f\end{align}alignAlignAligned equationsMulti-lineEnvironments
\begin{array}{cc}a&b\\c&d\end{array}arrayArrayTabular with alignmentTableEnvironments
\begin{bmatrix}a&b\\c&d\end{bmatrix}bmatrixMatrix (brackets)Matrix with [ ]MatrixEnvironments
\begin{Bmatrix}a&b\\c&d\end{Bmatrix}BmatrixMatrix (braces)Matrix with { }Set of vectorsEnvironments
\begin{cases}a&\text{if }b\\c&\text{if }d\end{cases}casesCasesPiecewise functionCase analysisEnvironments
\begin{gather}a=b\\e=b+c\end{gather}gatherGatherCentered equationsStack equationsEnvironments
\begin{matrix}a&b\\c&d\end{matrix}matrixMatrix (plain)Matrix no brackets2D arrayEnvironments
\begin{pmatrix}a&b\\c&d\end{pmatrix}pmatrixMatrix (parens)Matrix with ( )MatrixEnvironments
\begin{smallmatrix}a&b\\c&d\end{smallmatrix}smallmatrixSmall matrixInline small matrixInline matrixEnvironments
\begin{split}a&=b+c\\&=e+f\end{split}splitSplitSplit equationMulti-lineEnvironments
\begin{vmatrix}a&b\\c&d\end{vmatrix}vmatrixMatrix (determinant)Determinant barsDeterminantEnvironments
\begin{Vmatrix}a&b\\c&d\end{Vmatrix}VmatrixMatrix (norm)Double norm barsNorm matrixEnvironments
Misc Symbols
\angleangleAngleAngle symbolAngleMisc Symbols
\bigstarbigstarBig starLarge starEmphasisMisc Symbols
a \bmod bbmodBmodBinary modModuloMisc Symbols
\bulletbulletBulletMultiplicationList itemMisc Symbols
\checkmarkcheckmarkCheckCheck markVerifiedMisc Symbols
\circcircCircleDegree; compositionCompositionMisc Symbols
\copyrightcopyrightCopyrightCopyright symbolCopyrightMisc Symbols
\daggerdaggerDaggerAdjoint; footnoteHermitian adjointMisc Symbols
\ddaggerddaggerDouble daggerSecond footnoteAdjointMisc Symbols
90^\circdegreeDegreeDegree symbolAngle degreeMisc Symbols
\diamonddiamondDiamondDiamondOperatorMisc Symbols
\lozengelozengeLozengeDiamond shapeModal operatorMisc Symbols
x \pmod npmodPmodParenthetical modModuloMisc Symbols
\squaresquareSquareEnd of proofQEDMisc Symbols
\starstarStarDual; convolutionKleene starMisc Symbols
\triangletriangleTriangleTriangleDeltaMisc Symbols