Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Calculus
Reply
 
Thread Tools Display Modes
  #1  
Old June 27th, 2009, 12:30 PM
sinewave85's Avatar
Member
 
Join Date: Oct 2006
Location: Lost in a series of tubes.
Posts: 201
Country:
Thanks: 74
Thanked 36 Times in 33 Posts
sinewave85 is on a distinguished road
Default Definite integral, wrong answer

I know my answer is wrong -- I just don't know why. What did I miss?

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(\int_{-\ln2}^{\ln2}e^{x} + \int_{\ln2}^{-\ln2}e^{-x}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(e^{\ln{2}}-e^{-\ln{2}}+ e^{-(-\ln{2})}-e^{-\ln{2}}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(2-2^{-1}+2-2^{-1}\right)=\frac{3}{2}

The answer is supposed to be zero. Any help is appreciated!
Reply With Quote
Advertisement
 
  #2  
Old June 27th, 2009, 12:38 PM
Banned
 
Join Date: Aug 2008
Posts: 530
Thanks: 19
Thanked 225 Times in 219 Posts
Shyam has a spectacular aura aboutShyam has a spectacular aura aboutShyam has a spectacular aura about
Default

Quote:
Originally Posted by sinewave85 View Post
I know my answer is wrong -- I just don't know why. What did I miss?

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(\int_{-\ln2}^{\ln2}e^{x} + \int_{\ln2}^{-\ln2}e^{-x}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(e^{\ln{2}}-e^{-\ln{2}}+ e^{-(-\ln{2})}-e^{-\ln{2}}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(2-2^{-1}+2-2^{-1}\right)=\frac{3}{2}

The answer is supposed to be zero. Any help is appreciated!
you have a sign mistake while integrating second integral.

=\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})

= \frac{1}{2}\left[ {e^x  + e^{ - x} } \right]_{ - \ln 2}^{\ln 2}  \hfill \\

= \frac{1}{2}\left[ {e^{\ln 2}  + e^{ - \ln 2}  - e^{\ln 2}  - e^{ - \ln 2} } \right] \hfill \\

= \frac{1}{2}\left[ {2 + 2^{ - 1}  - 2 - 2^{ - 1} } \right] \hfill \\

= 0 \hfill \\
Reply With Quote
The following users thank Shyam for this useful post:
Donate to MHF
  #3  
Old June 27th, 2009, 12:41 PM
sinewave85's Avatar
Member
 
Join Date: Oct 2006
Location: Lost in a series of tubes.
Posts: 201
Country:
Thanks: 74
Thanked 36 Times in 33 Posts
sinewave85 is on a distinguished road
Default

Quote:
Originally Posted by Shyam View Post
you have a sign mistake while integrating second integral.
I figured as much -- but I just don't see where I made the mistake. Could someone point it out to me?
Reply With Quote
  #4  
Old June 27th, 2009, 12:45 PM
Junior Member
 
Join Date: Jan 2009
Posts: 73
Country:
Thanks: 46
Thanked 3 Times in 3 Posts
TWiX is on a distinguished road
Default

in the second line

All signs between terms should be negative sgins :>
Reply With Quote
  #5  
Old June 27th, 2009, 12:49 PM
Banned
 
Join Date: Aug 2008
Posts: 530
Thanks: 19
Thanked 225 Times in 219 Posts
Shyam has a spectacular aura aboutShyam has a spectacular aura aboutShyam has a spectacular aura about
Default

Quote:
Originally Posted by TWiX View Post
in the second line

All signs between terms should be negative sgins :>
Please see my previous post.#2

Last edited by Shyam; June 27th, 2009 at 01:02 PM.
Reply With Quote
  #6  
Old June 27th, 2009, 12:52 PM
Junior Member
 
Join Date: Jan 2009
Posts: 73
Country:
Thanks: 46
Thanked 3 Times in 3 Posts
TWiX is on a distinguished road
Default

xD
Actually, i mean the 2nd integral lol
because its integration is -e^(-x) :>
Reply With Quote
  #7  
Old June 27th, 2009, 12:53 PM
sinewave85's Avatar
Member
 
Join Date: Oct 2006
Location: Lost in a series of tubes.
Posts: 201
Country:
Thanks: 74
Thanked 36 Times in 33 Posts
sinewave85 is on a distinguished road
Default

Quote:
Originally Posted by Shyam View Post
you have a sign mistake while integrating second integral.

=\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x}) How do you get from here

= \frac{1}
{2}\left[ {e^x  + e^{ - x} } \right]_{ - \ln 2}^{\ln 2}  \hfill \\ to here?

= \frac{1}
{2}\left[ {e^{\ln 2}  + e^{ - \ln 2}  - e^{\ln 2}  - e^{ - \ln 2} } \right] \hfill \\

= \frac{1}
{2}\left[ {2 + 2^{ - 1}  - 2 - 2^{ - 1} } \right] \hfill \\

= 0 \hfill \\
By what property did you get from the first to the second line? How do you drop the negative on the second e without reversing the parameters for the integral?
Reply With Quote
  #8  
Old June 27th, 2009, 01:00 PM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 11,373
Country:
Thanks: 667
Thanked 3,618 Times in 2,915 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by sinewave85 View Post
I know my answer is wrong -- I just don't know why. What did I miss?

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(\int_{-\ln2}^{\ln2}e^{x} + \int_{\ln2}^{-\ln2}e^{-x}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(e^{\ln{2}}-e^{-\ln{2}}+ e^{-(-\ln{2})}-e^{-\ln{2}}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(2-2^{-1}+2-2^{-1}\right)=\frac{3}{2}

The answer is supposed to be zero. Any help is appreciated!
let:

f(x)=e^x-e^{-x}

then:

f(-x)=e^{-x}-e^x=-f(x)

so f is odd and so your integral must be zero as it is the integrand is continuous and is integrated over a symmetric interval about 0.

CB

Last edited by CaptainBlack; June 28th, 2009 at 01:59 AM.
Reply With Quote
The following users thank CaptainBlack for this useful post:
Donate to MHF
  #9  
Old June 27th, 2009, 01:03 PM
Banned
 
Join Date: Aug 2008
Posts: 530
Thanks: 19
Thanked 225 Times in 219 Posts
Shyam has a spectacular aura aboutShyam has a spectacular aura aboutShyam has a spectacular aura about
Default

Quote:
Originally Posted by sinewave85 View Post
I figured as much -- but I just don't see where I made the mistake. Could someone point it out to me?
you have a sign mistake in your second integral, while integrating.

\int\limits_{ - \ln 2}^{\ln 2} {\frac{1}{2}\left[ {e^x  - e^{ - x} } \right]} dx \hfill \\

= \frac{1}{2}\left[ {\int\limits_{ - \ln 2}^{\ln 2} {e^x dx + \int\limits_{\ln 2}^{ - \ln 2} {e^{ - x} dx} } } \right] \hfill \\

= \frac{1}{2}\left\{ {\left[ {e^x } \right]_{ - \ln 2}^{\ln 2}  + \left[ { - e^{ - x} } \right]_{\ln 2}^{ - \ln 2} } \right\} \hfill \\

= \frac{1}{2}\left[ {e^{\ln 2}  - e^{ - \ln 2}  - e^{\ln 2}  + e^{ - \ln 2} } \right] \hfill \\

= \frac{1}{2}\left[ {2 - 2^{ - 1}  - 2 + 2^{ - 1} } \right] \hfill \\

= 0 \hfill \\

Did you figure out your mistake now? sinewave85?
Reply With Quote
The following users thank Shyam for this useful post:
Donate to MHF
  #10  
Old June 27th, 2009, 01:05 PM
Amer's Avatar
Super Member
 
Join Date: May 2009
Location: Jordan
Posts: 663
Thanks: 206
Thanked 251 Times in 241 Posts
Amer is a jewel in the roughAmer is a jewel in the roughAmer is a jewel in the rough
Send a message via MSN to Amer Send a message via Yahoo to Amer
Default

Quote:
Originally Posted by sinewave85 View Post
I know my answer is wrong -- I just don't know why. What did I miss?

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(\int_{-\ln2}^{\ln2}e^{x} + \int_{\ln2}^{-\ln2}e^{-x}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(e^{\ln{2}}-e^{-\ln{2}}{\color{red}-} e^{-(-\ln{2})}-e^{-\ln{2}}\right)

\int_{-\ln2}^{\ln2}\frac{1}{2}(e^{x}-e^{-x})=\frac{1}{2}\left(2-2^{-1}{\color{red}-}(2-2^{-1})\right)=\frac{3}{2}

The answer is supposed to be zero. Any help is appreciated!
that is your mistake the integrate of e^{-x} = -e^{-x}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
The following users thank Amer for this useful post:
Donate to MHF
  #11  
Old June 27th, 2009, 01:18 PM
sinewave85's Avatar
Member
 
Join Date: Oct 2006
Location: Lost in a series of tubes.
Posts: 201
Country:
Thanks: 74
Thanked 36 Times in 33 Posts
sinewave85 is on a distinguished road
Default

Quote:
Originally Posted by Shyam View Post
you have a sign mistake in your second integral, while integrating.

\int\limits_{ - \ln 2}^{\ln 2} {\frac{1}
{2}\left[ {e^x  - e^{ - x} } \right]} dx \hfill \\

= \frac{1}
{2}\left[ {\int\limits_{ - \ln 2}^{\ln 2} {e^x dx + \int\limits_{\ln 2}^{ - \ln 2} {e^{ - x} dx} } } \right] \hfill \\

= \frac{1}
{2}\left\{ {\left[ {e^x } \right]_{ - \ln 2}^{\ln 2}  + \left[ { - e^{ - x} } \right]_{\ln 2}^{ - \ln 2} } \right\} \hfill \\

= \frac{1}
{2}\left[ {e^{\ln 2}  - e^{ - \ln 2}  - e^{\ln 2}  + e^{ - \ln 2} } \right] \hfill \\

= \frac{1}
{2}\left[ {2 - 2^{ - 1}  - 2 + 2^{ - 1} } \right] \hfill \\

= 0 \hfill \\

Did you figure out your mistake now? sinewave85?
Yes, I got it! Thanks for your patience, Shyam. And, thanks for the help, everybody!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 10:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.