Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-04-06 13:10:55

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Minima and geogebra

Find all values of p such that 2(x+4)(x-2p) has a minimum value of -18

This problem appears in another thread and is answered algebraically there. We will do it using geogebra.

1) Create a slider on the screen and call it p and range it from -20 to 20.

2) Enter in the input bar 2(x+4)(x-2p) and the f(x) = 2(x+4)(x-2 *1) will be created. Zoom the screen to see the parabola you have just made.

3) Enter in the input bar Min(f(x), -20, 20) and the point A will be created at the minima of the parabola.

4) Notice that the default values find the first p that is a minimum with a value of -18. Told you book problems are easy.

5) Move slider with the arrow keys and find the other value for p.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2 2014-04-06 22:32:36

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,810

Re: Minima and geogebra

Well, that works very well! up

But I'm sorry, I don't know how it works. Could you explain it to me? I don't understand parabolas (although I think I came across them in high school), nor what f(x) is/does, or how it helped create the parabola.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#3 2014-04-07 05:08:57

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

Sorry for the delay but I am attending a meeting and will be tied up all day.

f(x) is fancy math notation for the statement y = f(x) which is read y is a function of x, meaning y depends on x.

Are you familiar with functions in programming? You can think of it here as x being the argument for the expression f(x) = 2(x+4)(x-2p).

I should not have used the term parabola. Here we are graphing a quadratic equation y = a x^2 + b * x + c. Just expand out 2(x+4)(x-2p) to see that.

f(x) = 2(x+4)(x-2p) is what geogebra used to make the curve you see on your screen.

For much more about parabolas go here:

http://www.mathsisfun.com/geometry/parabola.html

How can I help further?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#4 2014-04-07 05:31:52

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

How do you know that p is within -20 to 20? What happens if there is a value of p but we carelessly slide past it?

Last edited by Agnishom (2014-04-07 05:32:07)


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#5 2014-04-07 05:33:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

You can demonstrate that with geogebra sort of but it is easier using M.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2014-04-07 05:46:24

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

With M? How?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#7 2014-04-07 05:51:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

Solving:

Notice they are both the same so we have:

Solving this for p we get:

Substituting in 1)

The proof that there is only 2 p's should be apparent to you.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2014-04-07 06:02:35

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

What about my M code?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#9 2014-04-07 06:11:34

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

Hmmm, you can not translate to M?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#10 2014-04-07 06:14:04

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

My post does not make sense because you've edited the post above it. Do you remember my M code?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#11 2014-04-07 06:19:55

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

I am not following you, I have edited no post recently. I do not remember your code line by line.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#12 2014-04-07 06:22:10

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

You've edited post 7 ofcourse.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#13 2014-04-07 06:25:27

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

You've edited post 7 ofcourse.

I made some changes in the latex as I was doing it yes. I also deleted the line saying I was going to post the answer there. Why should I leave that?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#14 2014-04-07 13:14:49

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,974
Website

Re: Minima and geogebra

I am not saying that you have done something wrong. I am just stating that post 8 does not make sense because post 7 was changed.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#15 2014-04-07 13:32:13

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Minima and geogebra

Post #7 answers post #6. I see what you are saying.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB