.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old April 1st, 2004, 10:28 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Math Question

Allright, one of you geniuses help me to understand this.

I am getting back into school after being out for a few years. Taking a Trig class right now. This question really isn't trig though. More of a review of algebra and geometry before jumping into the trig part of the class. It's probably something I would understand if I had taken algebra more recently. But I don't want to sound stupid and ask the teacher.

Question is find the domain and range of
f(x)=sqrt(x+4) (The square root of x+4)

The domain is [-4,infinty)
The correct answer for the range is [0,infinity)

My question is, why isn't the range all real numbers? (-infinity,infinity) In class the teacher worked the problem and he said plug in any domain value for x and see what you get for f(x) is never less then zero.

But isn't there always a positive AND negative number for any square root? If x is 0 for example you get f(0)=sqrt(4) Isn't that 2 or -2? Can someone explain why you don't count the -2?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old April 1st, 2004, 10:32 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Math Question

You can not have numbers less than -4 in the domain, as then you would have the square root of a negative number, which is impossible in normal math. This leads to being unable to have a negative number in the range, as there is no way to get a negative number by taking a square root. Any value in the domain leads to a number that is either 0 or positive.

When you have y ^ 2 = x, y can be positive or negative because either a positive or negative value squared can lead to x. But when you have y = x ^ (1/2), you do not have negative numbers, as this is not at all the case of y ^ 2 = x. In the square root case (ignoring complex math, which you are not doing), you are limited to taking square roots of positive numbers (or 0), and square roots are always positive.

[ April 01, 2004, 20:35: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old April 1st, 2004, 10:33 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Math Question

In math class, sqrt(x) is defined as "The positive square root of x."
__________________
Cherry
Reply With Quote
  #4  
Old April 1st, 2004, 10:34 PM

Yef Yef is offline
Corporal
 
Join Date: Mar 2004
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Yef is on a distinguished road
Default Re: Math Question

I got a headache of just reading this thread.
__________________
-----------------------------
-----------------------------
Reply With Quote
  #5  
Old April 1st, 2004, 10:47 PM

Narrew Narrew is offline
Sergeant
 
Join Date: Feb 2003
Location: Tacoma, WA
Posts: 356
Thanks: 3
Thanked 5 Times in 3 Posts
Narrew is on a distinguished road
Default Re: Math Question

Why do I have the picture in my head of Scotty speaking to a modern day computer (they went back in time) "Computer?"..."Computer on"...then he had to do it by hand, just think when we can just ask a computer these tedious questions and can focus on the "ideas" yea right, thats the ticket...
Reply With Quote
  #6  
Old April 1st, 2004, 10:55 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Math Question

Ok, so my problem was simple I guess. I forgot the true mathematical definition of square root. I thought that the sqrt(x²)=x, but that is incorrect. Actually the sqrt(x²)=|x|
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.