File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 312312 This uses u- substitution: since ` 1/x = d/dx(ln(x))` , the integral becomes
313313 ` ∫ h'(x)/h(x) dx = ln|h(x)|` .
314314
315+ - ** Cyclic Integration for e^ x with Trigonometric Functions** : Added support for
316+ integrating products of exponentials and trigonometric functions that require
317+ the " solve for the integral" technique:
318+ ` ` ` javascript
319+ ce.parse('\\ int e^x \\ sin x dx').evaluate();
320+ // → -1/2·cos(x)·e^x + 1/2·sin(x)·e^x
321+
322+ ce.parse('\\ int e^x \\ cos x dx').evaluate();
323+ // → 1/2·sin(x)·e^x + 1/2·cos(x)·e^x
324+
325+ // Also works with linear arguments:
326+ ce.parse('\\ int e^x \\ sin(2x) dx').evaluate();
327+ // → -2/5·cos(2x)·e^x + 1/5·sin(2x)·e^x
328+
329+ ce.parse('\\ int e^x \\ cos(2x) dx').evaluate();
330+ // → 1/5·cos(2x)·e^x + 2/5·sin(2x)·e^x
331+ ` ` `
332+ These patterns cannot be solved by standard integration by parts (which would
333+ lead to infinite recursion) and instead use direct formulas:
334+ - ` ∫ e^x·sin(ax+b) dx = (e^x/(a²+1))·(sin(ax+b) - a·cos(ax+b))`
335+ - ` ∫ e^x·cos(ax+b) dx = (e^x/(a²+1))·(a·sin(ax+b) + cos(ax+b))`
336+
315337#### Logic
316338
317339- ** Boolean Simplification Rules** : Added absorption laws and improved boolean
You can’t perform that action at this time.
0 commit comments