Wolfram Calculus & Algebra | Things to Try
Wolfram Calculus & Algebra | Things to Try
Make edits and run any piece of code by clicking inside the code and pressing .
+
Symbolic & Numeric Mathematical Computation. For everyone from middle-school students to advanced math researchers. Centuries of mathematical development packed into a set of exceptionally powerful functions tightly integrated with advanced visualization and immediately computable built-in data.
Simplify, Factor or Expand Algebraic Expressions
Simplify, Factor or Expand Algebraic Expressions
Simplify an expression involving rational functions: |
In[]:=
Simplify-
1
x+1
1
2
(x+1)
Specify assumptions that affect the result of a calculation: |
In[]:=
Assumingx<0,Simplify
2
x
Efficiently factor polynomials of high degree: |
In[]:=
Factor[-1]
15
x
Check factorization by multiplying polynomials: |
In[]:=
Expand[(-1+x)(1+x+)(1+x+++)(1-x+-+-+)]
2
x
2
x
3
x
4
x
3
x
4
x
5
x
7
x
8
x
Solve an Equation or System of Equations
Solve an Equation or System of Equations
Obtain the values that solve equations with symbolic parameters: |
In[]:=
SolveValues[a+bx+c==0,x]
2
x
Obtain replacement rules that solve a system of equations for specified variables: |
In[]:=
Solve[{x+y+z==4,x-z==2,x-2y+z==2},{x,y,z}]
Solve the linear system m.xb |
In[]:=
LinearSolve
,
-3 | 6 | -3 |
7 | -1 | 5 |
8 | 8 | -3 |
2 |
9 |
8 |
Compute Derivatives of Functions
Compute Derivatives of Functions
Compute the derivative of a function with respect to specified variables: |
In[]:=
D[Sin[x],x]
Compute the th n |
In[]:=
D[,{x,n}]
ax
Evaluate Integrals
Evaluate Integrals
Evaluate symbolic indefinite integrals: |
In[]:=
∫xx
Evaluate integrals numerically: |
In[]:=
NIntegrate,{x,0,24}
-
2
x
Evaluate integrals with multiple variables of integration: |
In[]:=
∞
∫
0
∞
∫
0
-+
2
x
2
y
Solve Differential Equations
Solve Differential Equations
Solve ordinary differential equations symbolically: |
In[]:=
DSolve[u''[x]+u[x]==0,u[x],x]
2
k
Obtain numerical solutions to differential equations: |
In[]:=
lorenzsolution=NDSolve[{[t]-3(x[t]-y[t]),[t]26.5`x[t]-y[t]-x[t]z[t],[t]x[t]y[t]-z[t],x[0]z[0]0,y[0]1},{x,y,z},{t,0,202},MaxSteps∞]
′
x
′
y
′
z
Visualize solutions with 3D graphics: |
In[]:=
ParametricPlot3DEvaluate[{x[t],y[t],z[t]}/.lorenzsolution],{t,0,200},
Compute Dot Products, Cross Products, etc.
Compute Dot Products, Cross Products, etc.
Compute the dot product of two vectors: |
In[]:=
{a,b,c}.{x,y,z}
Compute the cross product of two vectors: |
In[]:=
{a,b,c}{x,y,z}
Compute the norm of a vector: |
In[]:=
Norm[{3,4,12}]
Compute Gradient, Divergence and Curl
Compute Gradient, Divergence and Curl
Compute the gradient of a function to obtain a vector field: |
In[]:=
vfield[x,y,z]=Grad[x,{x,y,z}]
2
y
3
z
Compute the divergence of a vector field: |
In[]:=
Div[vfield[x,y,z],{x,y,z}]
Compute the curl of a vector field: |
In[]:=
Curl[vfield[x,y,z],{x,y,z}]
Perform Matrix Arithmetic
Perform Matrix Arithmetic
Compute the sum or difference of matrices: |
In[]:=
a | b |
c | d |
e | f |
g | h |
Compute the product of matrices: |
In[]:=
a | b |
c | d |
x |
y |
Efficiently compute powers of matrices: |
In[]:=
MatrixPower
,4//MatrixForm
1 | -2 | 3 |
-2 | 3 | -1 |
3 | -1 | 2 |
Compute Matrix Determinant, Inverse, Transpose, etc.
Compute Matrix Determinant, Inverse, Transpose, etc.
Compute the determinant of a matrix: |
In[]:=
Det
a | b |
c | d |
Compute the inverse of a matrix: |
In[]:=
Inverse
//MatrixForm
a | b |
c | d |
Transpose a matrix: |
In[]:=
Transpose
//MatrixForm
1 | 2 |
3 | 4 |
Find the conjugate transpose of a matrix (also known as the Hermitian transpose): |
In[]:=
ConjugateTranspose
//MatrixForm
1 | 2 |
3 | 4 |
Matrix Decompositions
Matrix Decompositions
Find a similarity matrix to transform into the Jordan canonical form of a matrix: |
In[]:=
JordanDecomposition
//Map[MatrixForm]
9 | -7 | 3 |
12 | -10 | 3 |
16 | -16 | 1 |
Find the singular value decomposition (SVD) of a matrix: |
In[]:=
SingularValueDecomposition
//Map[MatrixForm]
1 | 2 |
1 | 2 |
Use and Visualize Mathematical Functions
Use and Visualize Mathematical Functions
Numerically evaluate functions to specified precision: |
In[]:=
N[BesselJ[2,3],50]
Use a variety of special functions as part of inputs or outputs: |
Compute Limits of Sequences or Functions
Compute Limits of Sequences or Functions
Find Asymptotic Relations
Find Asymptotic Relations
Compute Integral and Summation Transformations
Compute Integral and Summation Transformations