]> Examples:

Examples:

  1. ex:=x^n
    exdiff := diff(ex,x)
    exdiffint := int(exdiff,x)
    exint := int(ex,x)
    exintdiff := diff(exint,x)
    simplify(exintdiff)

    Maple Screenshot

    Comments: We had to simplify the result of the integration followed by differentiation to get back to the same function.

  2. Integration by parts

    e2:= exp(-a*x)*cos(b*x)
    int2:= int(e2, x)
    simplify(int2)

    Maple Screenshot

    Comment: Note that Maple knows how to integrate by parts. You might try doing this integral yourself and see how long it takes you compared to letting Maple do it for you.

  3. Integration with a singularity

    e4 := (1+x^4-2*x^5) / (1-x^8)
    inte4 := int(e4, x)

    Maple Screenshot

    Comment: This integrand has a singularity, the denominator approaches zero as x approaches 1. To do the integral, you must express the integrand in partial fractions. Once again, you might try doing this integral yourself using partial fractions and compare this to the time required to use Maple. You should start becoming convinced that Maple can help you a lot in homework exercises where calculus is required.

  4. Integration by parts

    e1 := exp(-a*x)*cos(b*x)
    Right-click e1 and select the Integration option from the menu. Right-click the result and select simplify.

    Maple Screenshot

    Comment: Note that Maple knows how to integrate by parts. You might try doing this integral yourself and see how long it takes you compared to letting Maple do it for you.

  5. Integration with a singularity

    e2 := (1+x^4-2*x^5) / (1-x^8)
    Right-click the expression and select the Integrate option from the menu.

    Maple Screenshot

    Comment: This integrand has a singularity, the denominator approaches zero as x approaches 1. To do the integral, you must express the integrand in partial fractions. Once again, you might try doing this integral yourself using partial fractions and compare this to the time required to use Maple. You should start becoming convinced that Maple can help you a lot in homework exercises where calculus is required.