Off-topic Talk Where overpaid, underworked S2000 owners waste the worst part of their days before the drive home. This forum is for general chit chat and discussions not covered by the other off-topic forums.

Computer Functions = Polynomials :eek:

Thread Tools
 
Old Mar 19, 2001 | 10:46 AM
  #1  
Rowland's Avatar
Thread Starter
Registered User
Member (Premium)
 
Joined: Feb 2001
Posts: 1,408
Likes: 0
From: Havre de Grace, Maryland
Default

Can someone give me a good simplified explanation on Polynomials in form. I am trying to grasp an understanding of:

Constant Function f(x)=asub0
Linear Function f(x)=asub1x + asub0
Quadratic Function f(x)=asub2xsquared + asub1x + asub0

I am taking a Discrete Structures course and it has been over 15 years since I worked with this stuff.

Sample problem:

Draw a graph of the following polynomial function. Find all the intercepts and note where the functions are increasing and decreasing:

a. f(x)=xsquared -4

b. g(x)=xsquared -2x + 1

If someone knows a good reference that would be good too.

I have read the chapter 3 times and still lost.
Reply
Old Mar 19, 2001 | 12:25 PM
  #2  
Luder94's Avatar
Moderator
25 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2000
Posts: 12,904
Likes: 93
From: Big Box suburb, IL
Default

In your sample you can find intercepts by having both equations equal to each other and add/subtract all the variables to one side. Have the remaining variables equal to the constant. Find the value for x. Now plug in the x value(s) to get your y, g(x), f(x) value.

(x squared)-4 = (x squared) - 2x + 1
(x squared)-(x squared)-4 = (x squared) - 2x + 1 -(x squared)

-4 = -2x + 1
-4 - 1 = -2x + 1 - 1
-5 = -2x
2.5 = x

Now plug the value of x back into one of the original equations to get your g(x) co-ordinate....g(x) = y = 2.25

Where the two equations meet each other is at (2.5, 2.25)

Is any of this coming back?
Reply
Old Mar 19, 2001 | 12:34 PM
  #3  
Luder94's Avatar
Moderator
25 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2000
Posts: 12,904
Likes: 93
From: Big Box suburb, IL
Default

To find where the transition point (the point where a function changes from an increasing to decreasing or vice versa) of each function without graphing each equation is fairly easy also. First take the first equation and set it equal to 0. Now take its first derivative.

(x squared) - 4 = 0
f prime is now 2x - 0 = 0
(2x)(.5) = (0)(.5)
x = 0
Now plug 0 back into the equation to get the y-coordinate
This equation's transitions occurs at (0,-4)

Now do the same for the second equation:

(x squared) - 2x + 1 = 0
f prime is now 2x - 2 + 0 = 0
2x-2 = 0
2x = 2
x = 1

Now plug x back into the original equation and we get y = 0.
This equation's transition occurs at (1,0).


If you need help with how to find how to find whether a function is increasing or decreasing at a given point or range, let me know. . .I can explain that too.
Reply
Old Mar 19, 2001 | 12:41 PM
  #4  
Rowland's Avatar
Thread Starter
Registered User
Member (Premium)
 
Joined: Feb 2001
Posts: 1,408
Likes: 0
From: Havre de Grace, Maryland
Default

Luder94,

Thank you! I think the light has come on finally.
Reply
Old Mar 19, 2001 | 01:00 PM
  #5  
Luder94's Avatar
Moderator
25 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2000
Posts: 12,904
Likes: 93
From: Big Box suburb, IL
Default

Not a problem. . .just for quick explanation before it may come up. To find whether a function is increasing or decreasing at a given point, take the second derivative of the function in question. Plug in a value for x within the range, or the value of the given point. If the result is positive, the function at that point is increasing, if it is negative then the equation at that point is decreasing.


Rowland, thanx for letting me stretch my mind a little, I haven't had to "flex my skills" for the past nine years. I finished Calculus my junior year of high school, took the equivolency test for college and got all my math credits out of the way. The only recent "mathematics" I've had to take in college was Discrete Math, Stats, Medical Stats, Numerical Analysis, Computational Stats, and Compiler Construct. Theory (which is a computer science class that is strictly number language based). All these "math" classes were for my comp. sci. and major along with the Medical Stats for my Masters in Physical Therapy major. I'd say they were more number theory based classes rather than math classes.

PS. All the things you didn't think you wanted to know about Luder94...hehehe
Reply
Old Mar 19, 2001 | 01:23 PM
  #6  
Rowland's Avatar
Thread Starter
Registered User
Member (Premium)
 
Joined: Feb 2001
Posts: 1,408
Likes: 0
From: Havre de Grace, Maryland
Default

Luder94,

I am sure glad you needed the exercise! I appreciate the help. I am going for a BS in Computer Science at night school and even though I work with software I have never had to use anything like this. Lucky I guess. I graduated from HS in 1976 and used math during my Warrant Officer Training Course (15 or 16 years ago/retired in 1997) but never used math after that. The mind was definately not moving on this problem.

Take care - I am sure glad we have a good mix of folks on the board so that we can help each other out.
Reply
Old Mar 19, 2001 | 01:45 PM
  #7  
Luder94's Avatar
Moderator
25 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2000
Posts: 12,904
Likes: 93
From: Big Box suburb, IL
Default

Originally posted by Rowland
Luder94,

....I am sure glad we have a good mix of folks on the board so that we can help each other out.
Wow, we sure do have a good mix of folks. You seem to be pretty established in your occupation, if you don't mind me asking, why are you going after a BS Degree in Comp. Sci. now? From what I've seen in the industry, it seems to me that the ones that haven't gotten the degree are making the most money as programmers and analysts, seeing that they have had more experience than the ones that went to school and got started two to three years earlier than their degreed counterparts.

Hell if I had to do it again and knew then what I know now, I wouldn't have done the Human Biology major and Masters in Physical Therapy degree. I would have finished college in 2.5 years with Comp. Sci. and started working as soon as I could. . .especially at the time period of when I could have come out of college. The earning potential would have risen at least three fold from where I'm at now had I come out of college in 1996....I graduated high school in 1993.

Well anyway, Rowland, keep us posted how night school's going. If there's anything I can try to help with, I'd love to help.
Reply
Old Mar 19, 2001 | 04:01 PM
  #8  
MotorMan's Avatar
Registered User
20 Year Member
 
Joined: Oct 2000
Posts: 32
Likes: 0
From: Houston
Default

Rowland, Wow way to go, still educating! I am an old f*rt now by most standards on this board, got out of HS in '65, but I use calculus just about every day in my job. Luder94 did an excellent job answering your question, so will not espouse on that other than good job! I'm curious, retired Warrent Officer, RA helicopter pilot?
Reply
Old Mar 19, 2001 | 07:54 PM
  #9  
Rowland's Avatar
Thread Starter
Registered User
Member (Premium)
 
Joined: Feb 2001
Posts: 1,408
Likes: 0
From: Havre de Grace, Maryland
Default

MotorMan,
I was one of the oxymoron types - Military Intelligence.
Spent most of my time out and about, you might say, with DIA.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
vader1
Off-topic Talk
1
Nov 22, 2004 08:58 AM
wantone
Off-topic Talk
9
Aug 22, 2004 10:54 AM
joeking1978
Off-topic Talk
7
Feb 4, 2004 09:15 AM
DC5 Kid
Off-topic Talk
6
Apr 9, 2002 10:13 AM




All times are GMT -8. The time now is 03:10 AM.