## Solve(f(x), x, [guess])

f(x)
The expression to solve.

x
The variable to solve.

[guess]
The initial guess value to solve the equation. If a list of two values is given such as Solve(sin(x)=0,x,[0,6@pi]), Solve will return the solutions within the given range.

## Description

Solves the expression for the given variable.

When no equals sign is given, Solve assumes the expression is equal to zero. For example, Solve(x^2-3) will solve the expression as x^2-3=0.

Quadratic equations can be solved by entering each coefficient as a parameter. For instance, Solve(5x^2+3x+4) may also be entered as Solve(5,3,4).

Solve can also solve a system of equations.
Solve(equation1, equation2, equation3, ...)

## Linear equations

Solve(3x+5=0, x)
Solve(3x+5)

Solve(x^2-5x+6=0)
Solve(1, -5, 6)

## Solving a system of equations

Solve(x+y+z=5, x+2y=6, z-x=3)
Solve(x^2+y^2=25, y^2=x^2+3)
Solve(y=x^2, y=8-x^2)
Solve(3x-y=-2, 2x^2-y=0)
Solve(3.3330x+15920y+10.333z=7953, 2.2220x+16.710y+9.6120z=0.965, -1.5611x+5.1792y-1.6855z=2.714)

## More examples

Solve(x^6+16x^3+64, x)
Solve(sin(3x)+cos(3x)=0)
Solve(4sin(x)^3+2sin(x)^2-2sin(x)=1, x)
Solve(3*tan(x)^2=1, x)
Solve(exp(3x)=2, x)
Solve(tan(x)^2=3)
Solve(ln(x)=1, x)
Solve(3sin(x)+exp(x)=2, x, [-2@pi, 2@pi])
Solve(asin(x)=@pi/4, x)

## Special functions

Solve(Si(x)=1/2)
Solve(BesselJ(0, x)=2/3)
Solve(LegendreP(3, x)-1=0)
Solve(Gamma(x)=5040, x, [1, 10])

## Related Functions

Eval, SolveSystem