Symbolics > Working with Symbolics > To Solve Equations Symbolically
  
To Solve Equations Symbolically
Type the equation to solve using the Boolean equal to operator. Insert the symbolic evaluation operator, type the keyword solve in the placeholder, and then press Enter or click anywhere. PTC Mathcad returns symbolic solutions to the equation, if possible. Otherwise, it returns numeric solutions. If the equation you are trying to solve has more than one solution, PTC Mathcad returns the solutions in a vector, unless the solution is periodic.
To solve an equation whose right-hand side is set to 0, you only need to type the left-hand side of the equation.
If the equation contains more than one variable, specify a comma-separated list of variables you want to solve for after solve.
If your equation includes numbers with decimal points, solve returns a decimal answer.
To solve an equation subject to restrictions on the domain of the variable, for example, solving over the real numbers, use the keyword assume and a modifier with solve.
If an equation has a periodic solution, solve returns a single value from the set of solutions.
To see a more detailed solution, add the modifier fully after solve.
PTC Mathcad returns the solution in terms of a newly generated variable that represents an arbitrary integer. The generated variable is preceded by an underscore to avoid conflicts with other variables you might have defined elsewhere in the worksheet.
To solve a system of equations symbolically, you can create a column vector with each element holding one equation in the system, and solve using the symbolics operator, specifying a column vector or a comma-separated list of system variables after the solve keyword.
To solve an inequality, use >, <, ≤ , or ≥ in place of =.
You can include constraint equations in a column vector to restrict the solution to a range, for example, y > 0.
Solving systems of equations, inequality equations, or periodic equations may produce some special results that do not have meaning when evaluated numerically.
You can find roots numerically using the root function, solve linear systems numerically using the lsolve function, or solve linear or nonlinear systems using a solve block.