Are my answers correct? Quadratic and logarithmic modeling

Click For Summary

Discussion Overview

The discussion revolves around developing equations to model two replacement pack options using quadratic and logarithmic functions. Participants explore the setup of these models, including monthly access fees, included gigabytes, and costs for additional gigabytes.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant proposes a quadratic model as y=(0.5(x-20))^2+20 for x>20 and a logarithmic model as y=30+0.5*ln|x-25| for x>25.
  • Another participant suggests using a general form for the quadratic model as f(x)=ax^2+b and provides equations based on specific conditions for gigabytes used.
  • There are discussions about the correct values for parameters a and b in both models, with some participants providing calculations and others questioning the steps taken.
  • Some participants express confusion about the logarithmic model and how to derive the correct values for a and b, leading to further clarification attempts.
  • One participant mentions using numeric root-finding techniques to find intersection points of the models, while others suggest using graphing calculators for accuracy.
  • There are multiple attempts to clarify the logarithmic model's setup, with participants correcting each other's equations and discussing the implications of their choices.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correctness of the logarithmic model, with some asserting errors in calculations while others provide alternative approaches. The discussion remains unresolved regarding the final forms of the models and their parameters.

Contextual Notes

Participants express uncertainty about specific calculations and the implications of their assumptions, particularly in the logarithmic model. There are also mentions of needing to clarify the domains for the models.

Who May Find This Useful

Students working on mathematical modeling, particularly in the context of quadratic and logarithmic functions, may find this discussion beneficial.

needalgebra
Messages
45
Reaction score
0
This is what i got...

For option 1 I think it's y=( .5(x-20))^2+20 for x>20

For option 2 I think it's y=30+.5*ln|x-25| for x>25Question:

develop equations that model the two replacement pack options

(option 1) quedratic model, monthly access fee \$20, included gigabytes 20, cost per additional gigabyte *see below (*)

(option 2) logarithmic model, monthly access fee \$30, included gigabytes 25, cost per additional gigabyte *see below (**)

(*) The charge option 1 will increase quadratically after 20 gigabytes with customers paying \$0.50.

(**) The charge option 2 will increase logarithmically in the form ƒ(x) = a + b 1n|x| after 25 gigabytes with customers paying \$0.50.
 
Last edited:
Mathematics news on Phys.org
Re: Are my answer correct?

I can't seem to set up correctly please help, its suppose to come up as normal text!
 
Re: Are my answer correct?

needalgebra said:
I can't seem to set up correctly please help, its suppose to come up as normal text!

I had it fixed, but you unfixed it...:D

Okay, I fixed it again...dollar signs need a backslash before them, otherwise they are parsed as $\LaTeX$ tags.
 
Re: Are my answer correct?

You are my hero. Thanks! (Sun)
 
Re: Are my answer correct?

I am assuming in both cases, we want the first additional gigabyte to cost \$0.50.

So, for the quadratic model, you want:

$$f(x)=ax^2+b$$

where:

$$f(20)=a(20)^2+b=400a+b=20$$

$$f(21)=a(21)^2+b=441a+b=20.5$$

I would solve by elimination.

For the logarithmic model, you want:

$$f(x)=a+b\ln(x)$$

where:

$$f(25)=a+b\ln(25)=30$$

$$f(26)=a+b\ln(26)=30.5$$

I would use elimination here as well.
 
Ok, is this right?Quadratic model:

f(21) - f(20):
41a = 0.5
a = (1/2)/41 = 1/82
b = 620/41
f(x) = (1/82)x^2 + (620/41)Logarithmic model:

f(26) - f(25):
bLn(26) - bLn(25) = 1/2
bLn(26/25) = 1/2
b = 1/(2Ln(26/25)) = 1/Ln(26/25)^2
a + Ln(25)/Ln(26/25)^2 = 30
a = 30 + Ln(16900)
f(x) = 30 + Ln(16900) + (Ln(x)/Ln(26/25)^2)
f(x) = 30 + 3Ln(25) + Ln(x)
 
The quadratic model is correct, but you have made an error in the logarithmic model. You have correctly found the value of $b$, but the error lies in the computation of $a$.

Here is the step where I see the error:

a + Ln(25)/Ln(26/25)^2 = 30

a = 30 + Ln(16900)

It appears you are saying:

$$\frac{\ln(25)}{2\ln\left(\frac{26}{25} \right)}=-\ln(16900)$$

How did you arrive at this?
 
Honestly,

I had almost no clue how to finish up the Logarithmic expression..
 
needalgebra said:
Honestly,

I had almost no clue how to finish up the Logarithmic expression..

You were doing well up to the point I cited. Instead of:

$$a=30+\ln(16900)$$

You want:

$$a=30-\frac{\ln(25)}{2\ln\left(\frac{26}{25} \right)}$$

Do you see why?
 
  • #10
no :confused:
 
  • #11
You stated (in a slightly different form):

$$a+\frac{\ln(25)}{2\ln\left(\frac{26}{25} \right)}=30$$

I have chosen to write $$2\ln\left(\frac{26}{25} \right)$$ where you have used the equivalent $$\ln\left(\left(\frac{26}{25} \right)^2 \right)$$.

So, to solve for $a$, you need to subtract $$\frac{\ln(25)}{2\ln\left(\frac{26}{25} \right)}$$ from both sides to obtain:

$$a=30-\frac{\ln(25)}{2\ln\left(\frac{26}{25} \right)}$$

It's just like if you had:

$$x+y=z$$

and you solved for $x$ to get:

$$x=z-y$$

Does this make sense?
 
  • #12
yeah i think i got it.

is this correct?

b=1/(2*log(26)-2*log(25))
b=12.74836584551409
 
  • #13
This is closer:

$$b\approx12.7483658455141791503275149034786729902710597570291566009838101858237$$

But...why use a decimal approximation when you can use the exact value? (Nerd)

I would use:

$$b=\frac{1}{2\ln\left(\frac{26}{25} \right)}$$
 
  • #14
I've been working on several different math tasks almost non-stop for the past 10 hours or so, i have a ton of work to do that i didnt know off. All of this is due in 3 days.. so you're going to have to excuse me if i don't make sense sometimes (feeling drowsy) - besides most of this work is stuff i haven't touched in a real long time. :D haha. what else would i have to do to the Quadratic model? how would i finish off the logarithmic model?
 
  • #15
You completed the quadratic model correctly, and you have the values of $a$ and $b$ for the logarithmic model as well.

Quadratic model:

$$f(x)=\frac{1}{82}x^2+\frac{620}{41}$$ where $$20\le x$$

Logarithmic model:

$$f(x)=\left(30-\frac{1}{2\ln\left(\frac{26}{25} \right)} \right)+\frac{1}{2\ln\left(\frac{26}{25} \right)}\ln(x)$$ where $$30\le x$$
 
  • #16
omg... i feel so dumb right now. haha

Thanks for your help! Is there anyway of giving you some kind of reward on here, like givin you 500000/10 for being an amazing helper? lol if i knew you in real life i'd take you to starbucks for a cup of coffee :D (Ninja)
 
  • #17
Hey, if you really want to give me a reward, tell your classmates about us and encourage them to register. :D

But, we enjoy helping here, and if you gained a bit of understanding from your time here, then our goal here at MHB has been met. I look forward to seeing you around!
 
  • #18
I actually study online, but i will definitely let my online - classmates know!
 
  • #19
needalgebra said:
I actually study online, but i will definitely let my online - classmates know!

Good deal! (Yes)

I have created a new topic for your next questions...we prefer new topics for new questions so that our topics do not become convoluted and hard to follow.

The new topic can be found here:

http://mathhelpboards.com/pre-algebra-algebra-2/mathematical-modeling-6006.html
 
  • #20
how would i graph the logarithm and quadratic models? having a little trouble here...
 
  • #21
Use the command:

piecewise[{{20,0<=x<=20},{x^2/82+620/41,20<x}}],piecewise[{{30,0<=x<=25},{(30-log(25)/(2log(26/25)))+1/(2log(26/25))log(x),25<x}}] where x=0 to 50

at W|A.
 
  • #22
i've been trying but can't seem to get it.
 
  • #24
How do i get the intersection points of the logarithm and quadratic models?
 
  • #25
ok so for x i got :

x^2/82+620/41=
(log(26/25)*log(x))/2-log(26/25)/2+30

x=34.98726

cant seem to get y.
 
  • #26
You don't seem to quite have the correct equation. To solve this would require using a numeric root finding technique. By the graph it looks like $x$ is closer to 42.
 
  • #27
i have no diea how to do that, do you mind showing me how?
 
  • #28
For the functions involved, Newton's method would be extremely tedious, and unless you understand differential calculus it would not be worth my effort to crank it out manually. For some reason, W|A will only give the root in which we are not interested.

I recommend you put the functions into your graphing calculator, and zoom in on the point of intersection until you have the desired accuracy.
 
  • #29
I got this...

36.9999 = y
42 = x
 
  • #30
$$(x,y)\approx(42,37)$$

seems pretty close to me, particularly if we can be satisfied with integral coordinates.

I "tricked" W|A into giving closer approximations:

$$(x,y)\approx(41.97171992699835,36.60518626378525)$$
 

Similar threads

  • · Replies 38 ·
2
Replies
38
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K