Calculus
Derivative
Differentiate an expression in Solve Equation.
d/dx (3x³ − 5x² + 7x − 4) uses the power rule term by term: 9x² − 10x + 7. The second example, d/dx (x²·sin x), needs the product rule: 2x·sin(x) + x²·cos(x).
The derivative is a new expression in x, not a number, until you evaluate it at a point. Both examples are indefinite in that sense. The steps name the rule before they simplify.
Equation
d/dx (3*x^3 - 5*x^2 + 7*x - 4)
How the calculus steps are organized
Calculus in the equation workflow returns the symbolic result and the steps. A derivative applies the relevant rule. An integral looks for an antiderivative, and a definite integral evaluates it on the bounds. A limit simplifies before it substitutes the point when substitution would divide by zero.
Multivariable operations stay symbolic and, when the expression has two variables, DGS can also show the surface. A partial derivative treats the other variables as constants. A tangent plane uses both partials at the chosen point. The page states the command that produces each of those results.
Reading the input
d/dx (3*x^3 - 5*x^2 + 7*x - 4)— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Other versions of this example
These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.
Polynomial Derivative
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
d/dx (3*x^3 - 5*x^2 + 7*x - 4)
Product Rule
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
d/dx (x^2*sin(x))
First through Third Derivatives
This line defines an explicit function. The left side is the vertical coordinate, and the right side is evaluated for each x.
y = x^4 - 3*x^3 + 2*x^2 + 5*x
dy/dx
d^2y/dx^2
d^3y/dx^3
Higher Derivative
Use a positive integer order from 1 to 20.
diff(sin(x^2), x, 4)
Try a change
- Edit one number in the field, then use Solve Equation. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.