Author Topic: math stuffs  (Read 10054 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
math stuffs
« on: October 01, 2010, 08:25:29 pm »
Today my calc teacher started off the class with a pop quiz, one of the questions of which has been a source of contention among my classmates and myself....

wow gotta lay off the ap english lol

anyway here is the problem:
Quote
f(x)={ 3-x  x<1
       { ax2+bx   x≥1

Find the unique values of a and b such that f(x) is continuous

so what i did is I used the definition of continuity:

f(x) is continuous at c IF

f(c)=limx→c-f(c)=limx→c+f(c)

a(1)2+b(1) = limx→1-f(c)=limx→1+f(c)
a(1)2+b(1)=3-1=a(1)2+b(1)
a+b=2

This is where I stopped. Some other people have told me that in order to find unique values, you have to make f(x) differentiable at 1 as well. I say that the question never says that that is necessary, so the correct answer is that there is no answer (or more accurately, any a and b such that a+b=2). Differentiability implies continuity, but continuity does not imply differentiability.

Who's right?
« Last Edit: October 01, 2010, 08:36:10 pm by squidgetx »

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: math stuffs
« Reply #1 on: October 01, 2010, 08:33:27 pm »
Hmmm.....I haven't taken calculus yet (I'm in precalc/AP Stats) I would find the value of 3-x at 1, then set the second equation equal to that, and solve for one the variables.  I guess that would get the same answer as you.  Can't be much help, sorry.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: math stuffs
« Reply #2 on: October 01, 2010, 09:30:33 pm »
Today my calc teacher started off the class with a pop quiz, one of the questions of which has been a source of contention among my classmates and myself....

wow gotta lay off the ap english lol

anyway here is the problem:
Quote
f(x)={ 3-x  x<1
       { ax2+bx   x≥1

Find the unique values of a and b such that f(x) is continuous

so what i did is I used the definition of continuity:

f(x) is continuous at c IF

f(c)=limx→c-f(c)=limx→c+f(c)

a(1)2+b(1) = limx→1-f(c)=limx→1+f(c)
a(1)2+b(1)=3-1=a(1)2+b(1)
a+b=2

This is where I stopped. Some other people have told me that in order to find unique values, you have to make f(x) differentiable at 1 as well. I say that the question never says that that is necessary, so the correct answer is that there is no answer (or more accurately, any a and b such that a+b=2). Differentiability implies continuity, but continuity does not imply differentiability.

Who's right?

Hmm, seems like any value of A and B such that A+B=2 would work. Not sure what your teacher'd mean by "unique", though.

1024!




Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: math stuffs
« Reply #3 on: October 02, 2010, 06:38:58 pm »
well, not really.
The tangent lines for the two functions have to be the same.  So, what you do is find the derivative of the functions. So:
f(x)={ -1  x<1
       { 2ax+b   x≥1
which means that at 1, since the tangent lines need to be the same, and therefore the slope, and therefore the derivative, -1 = 2ax+b. So at x=1, -1=2a+b.  This can be rearranged to get b=-1-2ax

So, at x=1, the two functions must equal each other to connect, as well as have their derivatives be the same.  so 3-x=ax2+bx. See, now we're having fun. So, they must equal at x=1, so 3-1=a+b. or 2=a+b as you have pointed out.

Now we have two equations that equal b at x=1.  So, 2=a-1-2a, or 2=-a-1, or -2=a+1, or a=-3.  WHOA!  So, with either of our equations, b=-1-2(-3), or b=-1+6=5.  With the other one, 2=a+b, we have 2=-3+b, or b=5.

So, -3X2+5x is your second function.

f(x)={ 3-x  x<1
       { -3x2+5x   x≥1

The point at x=1 is (1,2) for both equations, and the tangent line is -1 for both equations.  That wasn't too bad, was it?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: math stuffs
« Reply #4 on: October 02, 2010, 06:47:18 pm »
Well glad graphmastur got this. Without looking at my Calculus notes from last year all I could have told you is that you need to know what "a" and "b" equal. Without those being known you can't really solve it, or at least not at the calculus level :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: math stuffs
« Reply #5 on: October 02, 2010, 07:21:04 pm »
The value of the function and the slope have to be equal at 1+ and 1-

3-x = ax2+bx
-1 = 2ax + b

Both occur at x=1 so:
2 = a + b
-1 = 2a + b

solving:
a = -3
b = 5
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: math stuffs
« Reply #6 on: October 02, 2010, 07:36:37 pm »
Well my main issue was that I wasn't sure whether "continuous" means that the function is differentiable at that point. I say that it doesn't have to be differentiable, it just has to satisfy f(c)=limx->cf(c)

Quote from: wikipedia
In general, we say that the function f is continuous at some point c of its domain if, and only if, the following holds:
The limit of f(x) as x approaches c through domain of f does exist and is equal to f(c); If the point c in the domain of f is not a limit point of the domain, then this condition is vacuously true, since x cannot approach c through values not equal c. Thus, for example, every function whose domain is the set of all integers is continuous.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: math stuffs
« Reply #7 on: October 02, 2010, 07:46:44 pm »
[ Differentiability implies continuity, but continuity does not imply differentiability.

Actually, continuity does imply differentiability. Let's define a function f(x) as continuous on some interval [a, b] if Limx->c+f(x) = Limx->c-f(x) =f(c) ∀ {c|a≤c≤b} This suggests that a change in c results in a finite change in f(c), which implies that the function has a finite rate of change for all points in the range [a, b]. Thus the derivative exists for the continuous function. It's not a mathematically rigorous proof, but you get the idea.

Note: I might actually know what I'm talking about or be completely wrong. I have no idea which one is right. Feel free to correct me.
« Last Edit: October 02, 2010, 08:00:57 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: math stuffs
« Reply #8 on: October 02, 2010, 08:18:14 pm »
[ Differentiability implies continuity, but continuity does not imply differentiability.

Actually, continuity does imply differentiability. Let's define a function f(x) as continuous on some interval [a, b] if Limx->c+f(x) = Limx->c-f(x) =f(c) ∀ {c|a≤c≤b} This suggests that a change in c results in a finite change in f(c), which implies that the function has a finite rate of change for all points in the range [a, b]. Thus the derivative exists for the continuous function. It's not a mathematically rigorous proof, but you get the idea.

Note: I might actually know what I'm talking about or be completely wrong. I have no idea which one is right. Feel free to correct me.

Continuity only means that there are no asymptotes or holes. Differentiability, on the other hand, requires a continuous derivative (meaning no "corners"). So no, continuity would not imply differentiability.

well, not really.
The tangent lines for the two functions have to be the same.  So, what you do is find the derivative of the functions. So:
f(x)={ -1  x<1
       { 2ax+b   x≥1
which means that at 1, since the tangent lines need to be the same, and therefore the slope, and therefore the derivative, -1 = 2ax+b. So at x=1, -1=2a+b.  This can be rearranged to get b=-1-2ax

So, at x=1, the two functions must equal each other to connect, as well as have their derivatives be the same.  so 3-x=ax2+bx. See, now we're having fun. So, they must equal at x=1, so 3-1=a+b. or 2=a+b as you have pointed out.

Now we have two equations that equal b at x=1.  So, 2=a-1-2a, or 2=-a-1, or -2=a+1, or a=-3.  WHOA!  So, with either of our equations, b=-1-2(-3), or b=-1+6=5.  With the other one, 2=a+b, we have 2=-3+b, or b=5.

So, -3X2+5x is your second function.

f(x)={ 3-x  x<1
       { -3x2+5x   x≥1

The point at x=1 is (1,2) for both equations, and the tangent line is -1 for both equations.  That wasn't too bad, was it?

The tangents don't have to be the same. It doesn't have to be differentiable, only continuous.




Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: math stuffs
« Reply #9 on: October 02, 2010, 08:28:36 pm »
Quote
Continuity only means that there are no asymptotes or holes. Differentiability, on the other hand, requires a continuous derivative (meaning no "corners"). So no, continuity would not imply differentiability.

http://mathworld.wolfram.com/ContinuousFunction.html

You'll notice that the more formal definition of a continuous function is equivalent to the definition I gave.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: math stuffs
« Reply #10 on: October 02, 2010, 08:32:42 pm »
That has nothing to do with the derivative, though. I think you're getting derivatives and limits mixed up :)




Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: math stuffs
« Reply #11 on: October 02, 2010, 08:38:21 pm »
Continuity does *not* imply differentiability. For example, abs(x) is continuous but not differentiable at x=0.
@OP: The quiz probably had a mistake - it probably wanted the unique pair (a,b) such that f is differentiable at x=1.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: math stuffs
« Reply #12 on: October 02, 2010, 08:41:09 pm »
Continuity does *not* imply differentiability. For example, abs(x) is continuous but not differentiable at x=0.
@OP: The quiz probably had a mistake - it probably wanted the unique pair (a,b) such that f is differentiable at x=1.

Exactly, and yeah, a mistake in the quiz would make sense.

EDIT: As clarification, Qwerty.55, the site says that the limit as X approaches any value A in a single-interval domain must exist on both sides for continuity, not the derivative. I think you're getting the two mixed up :)
« Last Edit: October 02, 2010, 08:42:34 pm by Deep Thought »




Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: math stuffs
« Reply #13 on: October 02, 2010, 08:44:05 pm »
That has nothing to do with the derivative, though. I think you're getting derivatives and limits mixed up :)
That is always a probability.

And the abs(x) example caused me to see the error.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: math stuffs
« Reply #14 on: October 02, 2010, 08:47:26 pm »
That has nothing to do with the derivative, though. I think you're getting derivatives and limits mixed up :)
That is always a probability.

And the abs(x) example caused me to see the error.

Yeah, don't worry, I once got integrals and limits mixed up for no apparent reason. They have almost nothing in common x.x