LHS

From iMath
Jump to navigation Jump to search

Syntax

LHS ( equation )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Accesses the left-hand side of the given equation.


Example

Given the equation EQDEF f(x) = 3 x^2 + 7, we want to show integrals on both sides of the equation. This is achieved by EQDEF INT {LHS(@prev@) differential(x)} = INT {RHS(@prev@) differential(x)} .

Using INTEGRATE will not result in the desired output because it evaluates the integrals immediately (in this example the right-hand side would be evaluated).

See also

RHS