Discovering Patterns in Integrals: Investigating Families of Functions Using CAS

Click For Summary

Homework Help Overview

The discussion revolves around a project focused on discovering patterns in integrals, specifically investigating families of functions using a Computer Algebra System (CAS) like Maple. The original poster is exploring indefinite integrals of various functions and aims to derive a general formula based on observed patterns.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • The original poster shares their attempts at evaluating integrals of the form ∫x^n e^x dx and notes patterns in the results. They express uncertainty regarding their conjecture for the integral of the general case and seek clarification on mathematical induction.

Discussion Status

Participants are actively engaging with the original poster's attempts, offering alternative approaches and discussing the validity of conjectures. Some have provided insights into defining sequences and setting up difference equations, while others have expressed challenges with mathematical induction.

Contextual Notes

The original poster mentions that they are stuck on the last family of functions and have provided a PDF attachment with their work, which is pending approval for review. There is an emphasis on the need for clarity in the conjectures and the use of mathematical induction.

lunus
Messages
8
Reaction score
0

Homework Statement


Hi, I am doing this discovery project called patterns in integrals i found in my calculus textbook. I have to use a CAS (I'm using Maple) to investigate indefinite integrals of families of functions. Then by observing the patterns that occur in the integrals, i have to first guess, and then prove, a general formula for the integral of any member of the family. there are four different familes and I am done with three of them, but stuck on the last one. I would appreciate any help. The question and what I have done so far is on the pdf attachment.

The Attempt at a Solution



My attempt is on the pdf file i attached.
 

Attachments

Physics news on Phys.org
Please post the actual family here, since we have to wait for a mentor to approve the file first. I'm sure we can help you though, so that's some reassurance for you =] Welcome to Physicsforums!
 
(a) use a CAS to evaluate the following integrals (I used maple)

\int{xe^{x}}dx = \left( x-1 \right) {e^{x}}
\int{x^{2}e^{x}}dx = \left( 2-2\,x+{x}^{2} \right) {e^{x}}
\int{x^{3}e^{x}}dx = \left( -6+6\,x-3\,{x}^{2}+{x}^{3} \right) {e^{x}}
\int{x^{4}e^{x}}dx = \left( 24-24\,x+12\,{x}^{2}-4\,{x}^{3}+{x}^{4} \right) {e^{x}}
\int{x^{5}e^{x}}dx = \left( -120+120\,x-60\,{x}^{2}+20\,{x}^{3}-5\,{x}^{4}+{x}^{5}<br /> \right) {e^{x}}<br />

(b) based on the patterns of your responses in part (a), guess the value of \int{x^{6}e^{x}}dx Then use your CAS to check your answer.

This was my guess: e^{x}(x^{6}-6x^{5}+30x^{4}-120x^{3}+360x^{2}-720x+720) and maple returned the same answer.

(c) based on the pattern in parts (a) and (b), make a conjecture as to the value of the integral
\int{x^{n}e^{x}}dx
when n is a positive integer

This is what i came up with: \sum_{i=0}^{n}\frac{x!}{i!}n!e^{x}<br />
Now this is where I am stuck because i know this is not correct.
I figured it has something to do with factorial or series.

(d) use mathematical induction to prove the conjecture you made in part (c)
 
Last edited:
Hmm..not quite sure you got that right, here's a better approach:
Define a sequence as follows:
F_{n}=\int{x}^{n}e^{x}=x^{n}e^{x}-nF_{n-1}
Thus, we have:
F_{n}+nF_{n-1}=x^{n}e^{x}

Assume a solution as follows:
F_{n}=(-1)^{n}n!e^{x}{\sum_{i=0}^{n}a_{i}x^{i}
Thus, inserting in our difference equation, we get:
e^{x}n!(-1)^{n}a_{n}x^{n}=x^{n}e^{x}\to{a}_{n}=\frac{(-1)^{n}}{n!}

Therefore, we get:
F_{n}=}=(-1)^{n}n!e^{x}{\sum_{i=0}^{n}\frac{(-x)^{i}}{i!}
 
Last edited:
I appreciate your help arildno. thank you!
 
arildno said:
Hmm..not quite sure you got that right, here's a better approach:
Define a sequence as follows:
F_{n}=\int{x}^{n}e^{x}=x^{n}e^{x}-nF_{n-1}
Thus, we have:
F_{n}+nF_{n-1}=x^{n}e^{x}

Assume a solution as follows:
F_{n}=(-1)^{n}n!e^{x}{\sum_{i=0}^{n}a_{i}x^{i}
Thus, inserting in our difference equation, we get:
e^{x}n!(-1)^{n}a_{n}x^{n}=x^{n}e^{x}\to{a}_{n}=\frac{(-1)^{n}}{n!}

Therefore, we get:
F_{n}=}=(-1)^{n}n!e^{x}{\sum_{i=0}^{n}\frac{(-x)^{i}}{i!}

I have one more question. I am a little loss on how to use mathematical induction to prove this, can u help me. thank you.
 
The mathematical induction step is taken care of by setting up the difference equation, valid for all n
 
thanks
 
ive tried but no luck, I am not good with mathematical induction.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
12
Views
5K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K