0% found this document useful (0 votes)
10 views3 pages

Wolfram Mathematica Notations

Bsc Maths hons

Uploaded by

Sunny Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

Wolfram Mathematica Notations

Bsc Maths hons

Uploaded by

Sunny Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Wolfram Mathematica Notations and Meanings

This document provides a comprehensive overview of key Wolfram Mathematica notations


and their meanings.

Basic Syntax
Notation Meaning
x=y Assigns the value y to the variable x.
x := y Delayed assignment; y is evaluated every
time x is used.
== Tests equality between two expressions.
!= Tests inequality between two expressions.
-> Rule, replaces expressions on the left with
those on the right.
: Specifies a pattern; e.g., x_ matches any
expression.
_ Matches any single expression (wildcard).
__ Matches one or more expressions.
___ Matches zero or more expressions.
/. Replaces parts of an expression using rules.
; Suppresses output.
, Separates elements in lists, function
arguments, etc.
(* ... *) Comments.

Arithmetic Operators
Notation Meaning
+ Addition.
- Subtraction.
* Multiplication.
/ Division.
^ Power.
// Postfix application; e.g., expr // f is f[expr].

Lists and Structures


Notation Meaning
{a, b, c} List containing elements a, b, and c.
Range[n] Generates a list of numbers from 1 to n.
Table[expr, {i, n}] Generates a table of values by evaluating
expr over i from 1 to n.
MatrixForm[] Displays a list or array in matrix format.

Functions and Patterns


Notation Meaning
f[x] Function application; applies function f to
argument x.
Function[x, expr] Defines an anonymous function where x is
the argument and expr is the body.
# Placeholder for arguments in pure
functions.
& Marks the end of a pure function.

Logical Operators
Notation Meaning
&& Logical AND.
|| Logical OR.
! Logical NOT.
True / False Boolean values.

Special Characters
Notation Meaning
\[Pi] Symbol for π.
\[Infinity] Symbol for infinity.
\[Sum] Summation operator.
\[Integral] Integral operator.

Plotting and Visualization


Notation Meaning
Plot[f[x], {x, a, b}] Plots the function f[x] for x from a to b.
ListPlot[data] Plots a list of points.
Graphics[expr] Creates a graphical object based on expr.

Mathematical Functions
Notation Meaning
Sin[x], Cos[x], etc. Trigonometric functions.
Exp[x] Exponential function e^x.
Log[x] Natural logarithm of x.
Sqrt[x] Square root of x.

Control Structures
Notation Meaning
If[cond, trueExpr, falseExpr] If cond is true, evaluate trueExpr,
otherwise falseExpr.
While[cond, body] Repeats body while cond is true.
For[start, cond, incr, body] Traditional for-loop structure.
Do[body, {i, n}] Repeats body n times, incrementing i from
1 to n.

Set Operations
Notation Meaning
Union[a, b] Union of sets a and b.
Intersection[a, b] Intersection of sets a and b.
Complement[a, b] Elements in a but not in b.
Differentiation and Integration
Notation Meaning
D[f[x], x] Derivative of f[x] with respect to x.
Integrate[f[x], x] Indefinite integral of f[x] with respect to x.
Integrate[f[x], {x, a, b}] Definite integral of f[x] from a to b.

Linear Algebra
Notation Meaning
Det[matrix] Determinant of a matrix.
Inverse[matrix] Inverse of a matrix.
Eigenvalues[matrix] Eigenvalues of a matrix.
Dot[v1, v2] Dot product of vectors v1 and v2.

You might also like